CN100518140C - SPI4II interface remote transmission realizing method and apparatus - Google Patents

SPI4II interface remote transmission realizing method and apparatus Download PDF

Info

Publication number
CN100518140C
CN100518140C CNB2005100770591A CN200510077059A CN100518140C CN 100518140 C CN100518140 C CN 100518140C CN B2005100770591 A CNB2005100770591 A CN B2005100770591A CN 200510077059 A CN200510077059 A CN 200510077059A CN 100518140 C CN100518140 C CN 100518140C
Authority
CN
China
Prior art keywords
information
interface
spi4ii
xaui
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100770591A
Other languages
Chinese (zh)
Other versions
CN1881932A (en
Inventor
邓抄军
叶锦华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100770591A priority Critical patent/CN100518140C/en
Publication of CN1881932A publication Critical patent/CN1881932A/en
Application granted granted Critical
Publication of CN100518140C publication Critical patent/CN100518140C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for realizing SPI4II interface remote transmission, and relative device, wherein at the sending terminal, the information transmitted via the SPE4II interface, based on the character of 10kilo-mega additive unit interface XUAI, is transformed into the information transmitted by the XAUI interface; then, the transformed information, via XAUI interface, is sent to the information receiving terminal. The invention uses XAUI interface to transmit the information of SPI4II, to make the SPI4II interface able to realize the remote adjustment transmission. The invention makes the SPI4II interface used in remote high-speed transmission, as over OP plate transmission.

Description

The implementation method and the device of the transmission of SPI4 II interface remote
Technical field
The present invention relates to data communication technology field, relate in particular to a kind of implementation method and device of SPI4II interface remote transmission.
Background technology
Along with the high speed development of data communication field, the interconnect bandwidth between the chip is had higher requirement.Lot of data need be sent to an other chips from a chips, has just produced the high bandwidth protocols that interconnects between the chip for this reason.Wherein, SPI4II (second stage of system's packet interface standard 4) interface protocol is the high bandwidth transmission agreement that chip chamber interconnects.
Described SPI4II interface is the interconnection agreement between the chip that is put forward by light interconnection forum (OIF, OpticalInterworking Forum) in order to adapt to the transmission of ten thousand megabits.Its interconnection structure as shown in Figure 1, the SPI4II interface has been realized the physical layer (PHY Device) of chip and the data interconnect between the link layer (Link LayerDevice).Data/address bus (data) realizes that by LVDS (low-voltage differential signal transmission) difference transmission lines of 16 pairs of high speeds Flow Control (Flow Control) is separated transmission with data.
The SPI4II agreement has realized the high-speed interconnect between the chip, but because its number of buses is a lot, its data transmission level is LVDS simultaneously, therefore, it is not suitable for carrying out remote backboard and transmits, so the application scenario of SPI4II agreement is generally the interconnection between the chip of this plate, and is not applied to usually interconnect between plate.
Therefore, the characteristic of SPI4II interface makes that its application scenario is limited, can't be applied in the occasion of long-distance transmissions.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of implementation method and device of SPI4II interface remote transmission, thus can be so that the SPI4II interface can be applied even more extensively.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of implementation method of SPI4II interface remote transmission, comprising:
A, at the transmitting terminal of information SPI4II interface information transmitted being converted to it according to the characteristic of XAUI interface can information transmitted; Comprise: send the control information that is used to indicate the follow-up type by the XAUI interface before by XAUI interface transmission information, it is flow-control information that described control information is used to indicate the follow-up information that sends by the XAUI interface, have the data message or the clear data information of control head information;
B, the information after will changing send to information receiving end by the XAUI interface; Comprise: when the data wire of SPI4II interface is effective, then control flow-control information, the data message that has control head information or clear data transmission of Information after changing by described XAUI interface.
Method of the present invention also comprises:
C, receive described transmitting terminal information transmitted by the XAUI interface at information receiving end;
D, the information that the information translation that receives can be discerned for the SPI4II interface and the SPI4II interface of giving receiving terminal.
Described step D also comprises:
At information receiving end, determine corresponding flow-control information according to the information that the SPI4II interface receives, described flow-control information is converted to the flow-control information bag that the XAUI interface can transmit, and the return information transmitting terminal;
Carrying out Flow Control at the SPI4II of information transmitting terminal interface according to the flow-control information that returns handles.
Method of the present invention also comprises:
Before the XAUI interface powers on operate as normal, perhaps, when the data wire of SPI4II interface is invalid, is used for the transmission of the control information of registration process by the XAUI interface, and carries out the registration process of the multi transmission channel of XAUI interface according to this control information that is used for registration process that transmits.
The described control information that is used to indicate the follow-up type and the control information that is used for registration process are provided with the concrete implication of control information by different K values, and described K value is for definite based on the K value that defines in the XAUI interface 8B/10B encoding and decoding standard.
The invention provides a kind of implement device of the SPI4II of zooming out interface transmission range, comprising:
The SPI4II interface module: the SPI4II interface module is determined to carry out information transmitted, and sends to the conversion process module, receives the information that the XAUI interface module is sent by the conversion process module simultaneously;
The conversion process module: the information translation that the SPI4II interface module is sent is the information of XAUI interface format, and sends to the XAUI interface module; The information translation that the XAUI interface module is sent is the information of SPI4II interface format, and sends to the SPI4II interface module;
The XAUI interface module: the needs after the conversion process that the conversion process module is sent carry out information transmitted to be transmitted by the XAUI interface, and the information that needs is sent to the SPI4II interface module sends to the conversion process module;
Wherein, described conversion process module also comprises the control information generation module;
Described control information generation module is used for generating the control information that is used to indicate the follow-up type accordingly according to the data type of SPI4II interface module transmission, and sends by described XAUI interface module; Described control information is used to indicate the information of follow-up transmission to be flow-control information, has the data message or the clear data information of control head information; When the data wire of SPI4II interface module is effective, transmission flow-control information, the data message that has control head information or clear data information.
As seen from the above technical solution provided by the invention, owing to having adopted the information that the SPI4II interface transmits is zoomed out transmission among the present invention by the XAUI interface, thereby make the SPI4II interface can realize adjusting transmission process at a distance, overcome traditional SPI4II interface and can't realize remote transmission flaws.
Therefore, realization of the present invention makes the SPI4II interface can be applied in the application scenario of remote high-speed transfer, as strides backboard transmission etc.
In addition, among the present invention, owing to carry out transmission of Information by 4 couples of high speed SERDES of XAUI interface, thus reduced the pin scale of chip chamber interconnection, make chip chamber interconnected more succinct.
Description of drawings
Fig. 1 is the schematic network structure based on the interconnection of SPI4 interface;
Fig. 2 is an Ethernet hierarchical model structural representation;
Fig. 3 is the process chart of method of the present invention;
Fig. 4 is the structural representation of device of the present invention.
Embodiment
Existing XAUI (10G extra cell interface) interface protocol is the standard interface of formulating along with the development of ten thousand mbit ethernets.
The hierarchical model of corresponding Ethernet as shown in Figure 2, the interface that is usually located between physical layer and the media access control layer is XGMII (Media Independent Interface), this interface is made up of parallel bus and 4 control buss of 32, and its bus number is a lot, is not suitable for the long-distance transmissions of backboard.
For this reason, just adopted the problem that solves the long-distance transmissions of backboard by the XAUI interface, described XAUI interface is made up of the SERDES (deserializer) of the 3.125G of four pairs of high speeds, can carry out remote data transmits, therefore, employing XAUI interface just can be realized the long-distance transmissions between media access control layer and physical layer.
Described SPI4II interface is a kind of and interface independent of service, and it is widely used in the high-speed data transfer occasion.If the SPI4II interface also can transmit at a distance, its application will be more extensive, not only can carry out interconnection in the plate, also can realize transmitting between remote plate by backboard.
Consider that the XAUI interface can realize the characteristic of long-distance transmissions, if also regard the XAUI interface protocol as interface standard that a kind of data transmit, do not consider the occasion of its application, then the information translation to be transmitted of SPI4II interface can be transmitted to the XAUI interface, so just can realize the remote transmission of SPI4II interface, thereby expand the application scenario of SPI4II interface.
Core of the present invention zooms out SPI4II interface transmission range by the XAUI interface just, thereby makes the SPI4II interface can be fit to the application of more occasions, as carries out application such as backboard transmission.
The present invention is transformed into SPI4II interface information transmitted on the XAUI interface to transmit, the conversion back just can provide remote information transfer function by the transmission that the XAUI interface carries out information, to realize being undertaken by the SPI4II interface demand of long-distance transmissions.
Describe below in conjunction with the specific implementation of accompanying drawing method of the present invention.
The specific implementation of method of the present invention specifically may further comprise the steps as shown in Figure 3:
Step 31: determine in device chip that the SPI4II interface has and to carry out information transmitted, promptly need to determine the information that sends by the SPI4II interface in information transmitting terminal;
Described information specifically comprises control information and data message, and described control information comprises flow-control information, be used to indicate the control information of follow-up type, be used for the control information of registration process, or the like;
Step 32: in information transmitting terminal, described information is carried out conversion process according to the characteristic of XAUI interface, be specially the information format that the form of SPI4II interface message is mapped as the XAUI interface, promptly carry out corresponding format conversion processing, the form that described information translation can be transmitted for the XAUI interface;
That is to say, when transmitting terminal is changed, to be divided into four groups from the data that the SPI4II interface is come, every group of a pair of SERDES corresponding to XAUI, align between these four groups of data simultaneously, when every transmission control head information or flow-control information, transmit specific K value simultaneously at four passages earlier, and then transmit control head information or flow-control information content; When packet transmits, then quadripartite parallel data is given simultaneously SERDES and carry out and go here and there conversion;
Wherein, comprise, be specially the control head information processing in the information of SPI4II interface:
The SPI4II agreement is defined in when passing each burst, all must transmit a control head information, and described control head information transmits by data channel, altogether two bytes; So will each burst when adopting the XAUI interface to carry out message transmission and control head information as a delivery unit, just needing to send corresponding control information before the business packet that has control head information is sent in transmission, is the business packet that has control head information by the follow-up business packet of this control information indication; Like this, when whenever receiving a burst, untie two bytes of burst earlier, just can know the information content that the control head information of this burst comprises, described control head information comprises: channel number, packet header indication, the indication of bag tail, mistake indication etc.;
Step 33:, the information after the conversion process is sent processing by described XAUI interface in information transmitting terminal;
Because in the SPI4II agreement, if it is effective to have defined data wire, then control line is a high level, if data wire is invalid, then control line is a low level, so can control the control information (being the K value) that the XAUI interface sends SERDES (parallel converters) by control line among the present invention, concrete XAUI interface sends processing procedure: if the control line of SPI4II interface is a low level, then the XAUI interface sends the K value, if be high level, then send data, still needing to determine corresponding K value and transmission according to the type of the data that send before sending data, is flow-control information to indicate follow-up data, the data message or the clear data information that have control head information;
Step 34:, receive described information by the XAUI interface at the receiving terminal of information;
Step 35: the information that receives is carried out conversion process, be converted to the information that the SPI4II interface can be discerned processing, and send to the SPI4II interface;
Be specially: receiving terminal is distinguished Flow Control and data message according to specific K value, carried out the alignment of four passages by the K value, the rule of the data based transmission that the SERDES of four passages is got back is recombinated then, like this, just can restore corresponding SPI4II data;
Step 36: the SPI4II interface of information receiving end receives described information, thereby the information that realized is by the transmission of transmitting terminal SPI4II interface to receiving terminal SPI4II interface;
Because the XAUI interface can long-distance transmissions information, so, also can realize the transmission of zooming out of information through above-mentioned processing procedure SPI4II interface.
Among the present invention, because the SPI interface has the outer Flow Control line of special band to transmit multichannel flow-control information, promptly under the situation of Ethernet, if receiving terminal receives the information of q.s, as when receiving formation and having expired, then the control line by the SPI4II interface sends a flow-control information frame and notifies transmitting terminal to stop to send; For this reason, in the information receiving end processing of the flow-control information of SPI4II can being packed, and return to transmitting terminal, like this when transmitting terminal transmits data fragmentation by the XAUI interface, just can determine the Flow Control situation, promptly need determine the Flow Control measure of employing according to the flow-control information that obtains.
In addition, among the present invention, in order to guarantee four SERDES alignment of XAUI interface, the present invention also comprises in implementation procedure: before the XAUI interface powers on operate as normal, send the K value earlier, carry out the registration process of the four-way of XAUI interface by the K value; And, in course of normal operation,, also send the K value if there are not data, carry out the registration process of four SERDES, can exactly the data that receive be recovered out to guarantee data receiver;
After described registration process can all receive the K value that is used for registration process for four passages when receiving terminal, then the formation with receiving data information emptied, and afterwards, can guarantee that just the data that receive are one group of data that transmitting terminal sends simultaneously.
Certainly, also can adopt other processing mode to carry out registration process, the purpose of registration process is can exactly the data that receive be re-assemblied the data message that reverts to the transmitting terminal transmission in order to be implemented in receiving terminal.
Be not difficult to find out that by above-mentioned processing procedure the present invention adopts the mode of XAUI physical criterion transmission SPI4II logic interfacing, realized the remote of SPI4II interface and backboard transmission.
Described XAUI interface is made up of 4 pairs of high speed SERDES bindings, thereby can realize remote high-speed transfer.The present invention utilizes these characteristics of XAUI interface to add a conversion sublayer just between SPI4II interface and XAUI interface, and the SPI4II interface is changed the back by the transmission of XAUI interface.
The specific implementation of the implement device that zooms out SPI4II interface transmission range provided by the invention specifically comprises as shown in Figure 4:
SPI4II interface module: when the time as information transmitting terminal, corresponding SPI4II interface module is determined to carry out information transmitted, and sends to the conversion process module, simultaneously, during as information receiving end, this module also receives the information that the XAUI interface module is sent by the conversion process module;
The conversion process module: when as information transmitting terminal, the information translation that this module is sent the SPI4II interface module is the information of XAUI interface format, and sends to the XAUI interface module, so that carry out the transmission of zooming out of information by the XAUI interface module; When as information receiving end, the information translation that this module is used for the XAUI interface module is sent is the information of SPI4II interface format, and sends to the SPI4II interface, so that the SPI4II interface can receive and identify corresponding information; Wherein, described conversion process module also comprises the control information generation module: be used for generating corresponding control information according to the data type of SPI4II interface, and by described XAUI interface module transmission, for example, when needs transmission flow-control information, then generate the K value of flow-control information correspondence, and send, so that the type of the information of reception is known in the opposite end by the XAUI interface module;
The XAUI interface module: during as information transmitting terminal, the needs after the conversion process that the conversion process module is sent carry out information transmitted to be transmitted by the XAUI interface; When as information receiving end, the information that needs is sent to the SPI4II interface sends to the conversion process module.
In sum, the present invention adopts the XAUI interface to realize the high-speed transfer that zooms out of SPI4II interface, thereby makes the SPI4II interface can be applied to more conditions, as strides backboard transmission etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (5)

1, a kind of implementation method of SPI4II interface remote transmission is characterized in that, comprising:
A, at the transmitting terminal of information SPI4II interface information transmitted being converted to it according to the characteristic of XAUI interface can information transmitted; Comprise: send the control information that is used to indicate the follow-up type by the XAUI interface before by XAUI interface transmission information, it is flow-control information that described control information is used to indicate the follow-up information that sends by the XAUI interface, have the data message or the clear data information of control head information;
B, the information after will changing send to information receiving end by the XAUI interface; Comprise: when the data wire of SPI4II interface is effective, then control flow-control information, the data message that has control head information or clear data transmission of Information after changing by described XAUI interface;
C, receive described transmitting terminal information transmitted by the XAUI interface at information receiving end;
D, the information that the information translation that receives can be discerned for the SPI4II interface and the SPI4II interface of giving receiving terminal.
2, the implementation method of SPI4II interface remote transmission according to claim 1 is characterized in that described step D also comprises:
At information receiving end, determine corresponding flow-control information according to the information that the SPI4II interface receives, described flow-control information is converted to the flow-control information bag that the XAUI interface can transmit, and the return information transmitting terminal;
Carrying out Flow Control at the SPI4II of information transmitting terminal interface according to the flow-control information that returns handles.
3, the implementation method of SPI4II interface remote transmission according to claim 1 is characterized in that this method also comprises:
Before the XAUI interface powers on operate as normal, perhaps, when the data wire of SPI4II interface is invalid, is used for the transmission of the control information of registration process by the XAUI interface, and carries out the registration process of the multi transmission channel of XAUI interface according to this control information that is used for registration process that transmits.
4, the implementation method of SPI4II interface remote transmission according to claim 3, it is characterized in that, the described control information that is used to indicate the follow-up type and the control information that is used for registration process are provided with the concrete implication of control information by different K values, and described K value is for definite based on the K value that defines in the XAUI interface 8B/10B encoding and decoding standard.
5, a kind of implement device of SPI4II interface remote transmission is characterized in that, comprising:
The SPI4II interface module: the SPI4II interface module is determined to carry out information transmitted, and sends to the conversion process module, receives the information that the XAUI interface module is sent by the conversion process module simultaneously;
The conversion process module: the information translation that the SPI4II interface module is sent is the information of XAUI interface format, and sends to the XAUI interface module; The information translation that the XAUI interface module is sent is the information of SPI4II interface format, and sends to the SPI4II interface module;
The XAUI interface module: the needs after the conversion process that the conversion process module is sent carry out information transmitted to be transmitted by the XAUI interface, and the information that needs is sent to the SPI4II interface module sends to the conversion process module;
Wherein, described conversion process module also comprises the control information generation module;
Described control information generation module: be used for generating the control information that is used to indicate the follow-up type accordingly, and send by described XAUI interface module according to the data type of SPI4II interface module transmission; Described control information is used to indicate the information of follow-up transmission to be flow-control information, has the data message or the clear data information of control head information; When the data wire of SPI4II interface module is effective, transmission flow-control information, the data message that has control head information or clear data information.
CNB2005100770591A 2005-06-15 2005-06-15 SPI4II interface remote transmission realizing method and apparatus Expired - Fee Related CN100518140C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100770591A CN100518140C (en) 2005-06-15 2005-06-15 SPI4II interface remote transmission realizing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100770591A CN100518140C (en) 2005-06-15 2005-06-15 SPI4II interface remote transmission realizing method and apparatus

Publications (2)

Publication Number Publication Date
CN1881932A CN1881932A (en) 2006-12-20
CN100518140C true CN100518140C (en) 2009-07-22

Family

ID=37519913

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100770591A Expired - Fee Related CN100518140C (en) 2005-06-15 2005-06-15 SPI4II interface remote transmission realizing method and apparatus

Country Status (1)

Country Link
CN (1) CN100518140C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242284B (en) * 2008-03-20 2012-09-05 杭州华三通信技术有限公司 Communication method and network device based on SPI bus
CN101656576B (en) * 2009-09-02 2012-06-06 中兴通讯股份有限公司 Phase adjusting method and device for SPI4.2 bus
CN101707592B (en) * 2009-09-25 2013-07-10 曙光信息产业(北京)有限公司 Method for processing SPI4 interface data packet
CN101854402B (en) * 2010-05-31 2015-05-20 中兴通讯股份有限公司 Interface conversion device and stream control implementing method
CN104780333A (en) * 2014-12-03 2015-07-15 中国航天科工集团第三研究院第八三五七研究所 High-bandwidth video source interface adaptation device based on FPGA (Field Programmable Gate Array)
CN112446474B (en) 2019-08-31 2022-11-22 安徽寒武纪信息科技有限公司 Chip, multichip system, electronic equipment and data transmission method
WO2021036404A1 (en) * 2019-08-31 2021-03-04 安徽寒武纪信息科技有限公司 Data transmission method and related device

Also Published As

Publication number Publication date
CN1881932A (en) 2006-12-20

Similar Documents

Publication Publication Date Title
USRE48506E1 (en) Method and system for a multi-rate gigabit media independent interface
CN100518140C (en) SPI4II interface remote transmission realizing method and apparatus
CA2450825C (en) Protocol independent transmission using a 10 gigabit attachment unit interface
US8661313B2 (en) Device communication techniques
EP2020104B1 (en) Multiple fiber optic gigabit ethernet links channelized over single optical link
CN109194679B (en) Multi-protocol interface data acquisition device and acquisition method based on SpaceFibre interface
EP1715618B1 (en) A networking equipment of broadband accessing and method thereof
CN1881979B (en) Ethernet physical layer low-speed transmission realizing method and its applied network apparatus
CN111131091A (en) Inter-chip interconnection method and system for network on chip
EP0685951B1 (en) Line interface devices for fast-packet networks
AU751233B2 (en) Parallel backplane physical layer interface with scalable data bandwidth
CN112865880B (en) System and method for one-way data transmission through optical port
US7643504B2 (en) Credit based flow control in an asymmetric channel environment
CN105635176A (en) Network data transmission method based on RapidIO
CN101640568A (en) Method, device and system for transmitting and receiving client signals
CN100372334C (en) Device and method for realizing Infini Band data transmission in optical network
CN203761399U (en) Optical communication equipment of single-fiber bi-directional symmetrical rate and system
US6185190B1 (en) Method and apparatus for using synthetic preamble signals to awaken repeater
CN100550756C (en) A kind of method that on the SPI4.2 bus, realizes multicast
CN102457426B (en) Convergent type Ethernet over plesiochronous digital hierarchy (EoPDH) network bridge equipment and data transmission method thereof
EP3700170A1 (en) Device and method for transferring identification and/or data flow control information between devices
CN100563239C (en) A kind of method and apparatus of realizing that Flow Control is handled in the high band wide data transmission
CN1264315C (en) Apparatus for realizing SPI4 Phase II bus support multi path physical device
CN201286102Y (en) Double Ethernet optical fiber transceiver and system
CN110297790B (en) System and method for realizing multi-channel serial data transmission based on Ethernet PHY chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20150615

EXPY Termination of patent right or utility model