CN101557275A - Method and device for fluid controller information transfer in interconnection application - Google Patents

Method and device for fluid controller information transfer in interconnection application Download PDF

Info

Publication number
CN101557275A
CN101557275A CN 200810103556 CN200810103556A CN101557275A CN 101557275 A CN101557275 A CN 101557275A CN 200810103556 CN200810103556 CN 200810103556 CN 200810103556 A CN200810103556 A CN 200810103556A CN 101557275 A CN101557275 A CN 101557275A
Authority
CN
China
Prior art keywords
flow
control
control information
information
signal
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.)
Granted
Application number
CN 200810103556
Other languages
Chinese (zh)
Other versions
CN101557275B (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.)
Shenzhen Zhitong World Technology Service 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 CN 200810103556 priority Critical patent/CN101557275B/en
Publication of CN101557275A publication Critical patent/CN101557275A/en
Application granted granted Critical
Publication of CN101557275B publication Critical patent/CN101557275B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for fluid controller information transfer in interconnection application. When fluid controller information is transferred, firstly, a port fluid controller with an inner fluid controller is divided into a plurality of groups according to the port number, and each group includes at least one port fluid controller; then, each group is provided with an independent error detection mechanism; and finally, each group is transmitted after being sealed into a data frame, therefore, detection errors generated in one group can be restrained in a port fluid controller range contained in the group, current detection errors can not influence the fluid controller information of other ports, and errors can not be spread, thereby the update and transfer speed of the fluid controller information is improved and the efficiency and the reliability of system interconnection are increased.

Description

Flow-control information transmits in the interconnection applications method and device
Technical field
The present invention relates to network communication field, relate in particular to flow-control information transmits in a kind of interconnection applications method and device.
Background technology
At present, in that (SerDes, Serializer-Deserializer) as in the application that interconnection and chip chamber interconnect between plate, the pass through mechanism of flow-control information is directly to have influence on the efficient of interconnection and reliability with serializer-deserializer.Interlaken is as a HSSI High-Speed Serial Interface standard commonly used at present, pass through mechanism to flow-control information is stipulated, this agreement can be used to realize port rank and other flow-control information transmission of link level, has specifically comprised Flow Control and the definition of being with two kinds of transfer modes of outer Flow Control in the band.
Flow Control (In-Band Flow Control) refers to and carry out the mechanism that flow-control information transmits in data transmission channel in the described band.Be illustrated in figure 1 as the transmission schematic diagram of Flow Control in the Interlaken band, wherein in a synchronizing cycle, comprise a plurality of control words, the quantity of control word can define, the interior Flow Control data field of band that includes 16 bits in each control word, form with calendar item is being carried flow-control information, and each calendar item can be mapped to link flow or port traffic control.Include two control words as shown in Figure 1, each control suffix includes cyclic redundancy check (CRC) (CRC, Cyclical Redundancy Check) position; In control word, also include the Flow Control synchronization field of 1 bit, be used for synchronous calendar item.From above technical scheme as can be seen, the transmission of flow-control information realizes by a series of control words, if mistake appears in certain control word in transmission course, will cause the flow-control information of follow-up port all insincere, until after some pulses, till next Flow Control is synchronous, that is to say that current mistake can be diffused in the flow-control information of follow-up port, make the flow-control information of follow-up port all insincere, bigger to the transmission influence of flow-control information.
The outer Flow Control (Out-of-Band Flow Control) of described band refers to and provides one group of bus that is independent of data transmission channel, the signalling channel outside data transmission channel to carry out the mechanism that flow-control information transmits.The signal that is illustrated in figure 2 as the outer Flow Control of Interlaken band transmits the sequential schematic diagram, and the outer Flow Control signal of band wherein is made up of three holding wires, comprises channel associated clock signal (FC_CLK), flow control signal (FC_DATA), synchronizing signal (FC_SYNC).Synchronizing signal is alignd with the flow control signal of port 0; On flow control signal, transmit successively from the flow-control information of port 0 beginning; Follow corresponding cyclic redundancy check (CRC) (CRC, CyclicalRedundancy Check) check word at last.Port number in the flow control signal is 4 as shown in Figure 2, and successively from port 0~port 3, corresponding 4 CRC check words are being followed in the back.In technique scheme, only after the Flow Control postamble carries out whole CRC check, could assert whether flow-control information is effective, under the more situation of port number, the transmission speed of flow-control information can be very slow, postpones comparatively serious; The flow-control information mistake of any one port all will cause the failure of CRC check simultaneously, will cause the flow-control information of other port on this frame insincere like this, that is to say that this technical scheme can make current error diffusion equally in the flow-control information of other ports, make the flow-control information of other ports all insincere, bring influence for the transmission of flow-control information.
In sum, in realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: the defined flow-control information pass through mechanism of Interlaken in the prior art, current mistake can be diffused in the flow-control information of other ports, cause the flow-control information of other ports insincere, reduce flow-control information and upgraded the speed of transmitting, influenced the efficient and the reliability of system interconnection.
Summary of the invention
Embodiment of the present invention technical problem to be solved is to provide method and the device that flow-control information transmits in a kind of interconnection applications, make current mistake can not have influence on the flow-control information of other ports, mistake can not spread, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection.
Embodiment of the present invention is achieved through the following technical solutions:
The method that flow-control information transmits in a kind of interconnection applications comprises:
The port traffic control of Flow Control in the band is divided into a plurality of groupings according to port numbers, comprises at least one port traffic control in each grouping;
For described each grouping is provided with independently error-detection mechanism respectively;
Described each grouping is transmitted after being packaged into Frame respectively.
Embodiment of the present invention also provides the method that flow-control information transmits in a kind of interconnection applications, comprising:
For the flow-control information with outer Flow Control is provided with the synchronization check signal;
By described synchronization check signal described flow-control information is carried out verification by turn.
Embodiment of the present invention also provides the device that flow-control information transmits in a kind of interconnection applications, comprising:
The grouping division unit is used for the port traffic control of Flow Control in the band is divided into a plurality of groupings according to port numbers, comprises at least one port traffic control in each grouping;
Error-detection mechanism is provided with the unit, is used to described each grouping that independently error-detection mechanism is set respectively;
The encapsulated delivery unit is used for described each grouping is transmitted after being packaged into Frame respectively.
Embodiment of the present invention also provides the device that flow-control information transmits in a kind of interconnection applications, comprising:
The synchronization check signal is provided with the unit, is used to the flow-control information of the outer Flow Control of band that the synchronization check signal is set;
Wherein, described synchronization check signal is used for described flow-control information is carried out verification by turn.
By the above-mentioned technical scheme that provides as can be seen, when carrying out the transmission of flow-control information, at first will be divided into a plurality of groupings according to port numbers, comprise at least one port traffic control in each grouping with the port traffic control of interior Flow Control; For described each grouping independently error-detection mechanism is set respectively then; Transmit after more described each grouping being packaged into Frame respectively.The check mistake that occurs in some like this groupings will be limited in the port traffic control scope that this grouping comprises, current check errors just can not have influence on the flow-control information of other ports, feasible mistake can not spread, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection.
In addition, can also be when carrying out the transmission of flow-control information, for the flow-control information with outer Flow Control is provided with a synchronization check signal; By described synchronization check signal described flow-control information is carried out verification by turn, like this in the transmission course of flow-control information, if a certain position of flow-control information transmission has produced check errors, the check errors of this position so, the check errors that is single port just can not have influence on the flow-control information of other ports, also can make wrong indiffusion, improve flow-control information and upgrade the speed of transmitting, thereby improved the efficient and the reliability of system interconnection equally.
Description of drawings
Fig. 1 is the transmission schematic diagram of Flow Control in the Interlaken band;
Fig. 2 transmits the sequential schematic diagram for the signal of the outer Flow Control of Interlaken band;
Fig. 3 is a kind of schematic flow sheet of the method that flow-control information transmits in the described interconnection applications of embodiment of the present invention;
Fig. 4 is the another kind of schematic flow sheet of the method that flow-control information transmits in the described interconnection applications of embodiment of the present invention;
Fig. 5 is a kind of structural representation of flow-control information transfer device in the described interconnection applications of embodiment of the present invention;
Fig. 6 is the another kind of structural representation of flow-control information transfer device in the described interconnection applications of embodiment of the present invention;
Fig. 7 is lifted the interior Flow Control data frame structure schematic diagram of band in the instantiation 1 by embodiment of the present invention;
Fig. 8 transmits the sequential schematic diagram for the signal of the outer Flow Control of band in the instantiation that embodiment of the present invention is lifted 2.
Embodiment
Embodiment of the present invention provides method and the device that flow-control information transmits in a kind of interconnection applications.For Flow Control in the band, flow-control information is adopted the block encoding transmission manner, make each grouping that marks off can transmit the port traffic control of some, and to the in addition independent error-detection mechanism of each grouping; Carry out transmitted in packets after then each grouping being packaged into Frame respectively.The port traffic control of transmitted in packets just can not influence each other like this, the port traffic control after promptly current mistake can not influence, and mistake can not spread yet, and upgrades the speed of transmitting thereby improved flow-control information.
For the outer Flow Control of band, the synchronization check signal by setting carries out independent verification to each flow-control information, promptly flow-control information is carried out verification by turn.The check errors of single port just can not have influence on the flow-control information of other ports like this, makes mistake can not spread; If the result of verification is errorless, can also upgrade the Flow Control state of this flow-control information immediately simultaneously, improve flow-control information and upgrade the speed of transmitting.
For better describing embodiment of the present invention, now in conjunction with the accompanying drawings the specific embodiment of the present invention is described, be illustrated in figure 3 as a kind of schematic flow sheet of the described method of embodiment of the present invention, described method comprises:
Step 31: will be divided into a plurality of groupings according to port numbers with the port traffic control of interior Flow Control;
When carrying out the transmission of flow-control information, at first will be divided into a plurality of groupings according to port numbers with the port traffic control of interior Flow Control, comprise at least one port traffic control in each grouping.Specifically, the order that can earlier the port traffic control of being with interior Flow Control be increased progressively successively according to port numbers is divided into a plurality of groupings, makes the port traffic control that comprises identical or different quantity in each grouping.
For instance, if the maximum port number of port traffic control is N, the order that increases progressively successively according to port numbers so, N is divided into a plurality of groupings with port traffic control from port 0~port, the packet count that is marked off decides according to the port traffic control number that is comprised in each grouping, the maximum port number of for example supposing port traffic control is 30, comprises the port traffic control of equal number in the grouping that is marked off, and can be redefined for 5; The order that increases progressively successively according to port numbers just has been divided into 6 groupings from port 0~port 30 so, comprises 5 port traffic controls in each grouping, and concrete corresponding relation is as shown in table 1 below:
Grouping Corresponding port traffic control
0 Port 0~port 4
1 Port 5~port 9
2 Port one 0~port one 4
3 Port one 5~port one 9
4 Port 20~port 24
5 Port 25~port 29
Table 1
The sequence number of grouping can also can begin definition from other numeral since 0 definition in the last table 1, as long as grouping serial number just can meet the demands with the port traffic control in the grouping is corresponding.
In addition, also can comprise the port traffic control of varying number in the above-mentioned grouping that marks off, that is to say in some grouping and can comprise 1 port traffic control, can comprise the port traffic control more than 1 in some grouping, just can meet the demands as long as all groupings can be covered the port traffic control of all of the port.For example go up in the grouping 0 in the table 1 and can only comprise port 0, and divide into groups can comprise port one~port 9 in 1, can to cover the port traffic control of all 30 ports just passable as long as go up 6 groupings in the table 1; And, can in each grouping, increase the field of indication port number for the grouping that comprises the various numbers of ports Flow Control, the corresponding ports Flow Control can be discerned and receive to receiving terminal also like this.
Step 32: for each grouping is provided with independently error-detection mechanism respectively.
After port traffic control has been divided into a plurality of groupings, just can independently error-detection mechanism be set respectively for each grouping.Error-detection mechanism described here specifically can comprise: Cyclic Redundancy Check, diagonal angle interweave odd even coding checkout (DIP verification) or hamming code verification (Hamming verification).
Step 33: each grouping is transmitted after being packaged into Frame respectively.
Be exactly specifically, with the grouping serial number of each grouping and with the corresponding port traffic control of described grouping serial number, and for each the grouping set independent error-detection mechanism be packaged into Frame, here this independent error-detection mechanism can be packaged in the afterbody of Frame, the whole payload information of cover data frame carries out the verification protection to the integral body of Frame; According to the order of described grouping serial number, the Frame after the encapsulation is carried out transmitted in packets then.
Just include independently error-detection mechanism in each Frame after the encapsulation like this, and corresponding port Flow Control, when the error-detection mechanism verification of some Frames makes mistake, in the port traffic control scope that this check errors just just is limited to current data frame and is covered, mistake just can not be diffused into the Frame of other groupings, to the not influence of transmission of other packet data frames, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection.
In addition, can also encapsulate the link flow indication information in described Frame, this link flow indication information is used to indicate described Frame to carry out the transmission of link flow; Wherein, if described link flow indication information is effectively, represent that then the back-pressure state appears in data link, the back-pressure state also appears in all of the port, and promptly described Frame carries out the transmission of link flow and port traffic control; Otherwise, represent that then back-pressure does not appear in data link, this moment, described Frame transmitted according to the port traffic control state.
Above-described link flow indication information can comprise specific indication field, for instance: in described Frame, can encapsulate a specific indication field, for example represent with XOFF, when described specific indication field is 1, represent this link flow indication information for effective, then described Frame carries out the transmission of link flow and port traffic control; Otherwise, when described specific indication field is 0, represent that this link flow indication information is invalid, then described Frame transmits according to the port traffic control state, just according to the order of grouping serial number, the Frame after the encapsulation is carried out transmitted in packets.
So just can make user side can directly obtain port traffic control and link flow, and not need to do again extra mapping, saved system resource, improved the efficient that flow-control information transmits realize the synchronous transmission of link flow and port traffic control with interior Flow Control.
In addition, the form of above-described Frame can be data/idle pulse frame structure, also can be other data frame structures that remain with the respective extension field.
Embodiment of the present invention also provides the method that flow-control information transmits in the another kind of interconnection applications, is illustrated in figure 4 as the another kind of schematic flow sheet of described method, and described method comprises:
Step 41: for the flow-control information with outer Flow Control is provided with the synchronization check signal.
Be exactly specifically, when carrying out the transmission of flow-control information, for the flow-control information with outer Flow Control is provided with a synchronization check signal, the error-detection mechanism of synchronization check signal described here can be an odd by turn, also can be by turn even parity check or the parity check of iteration; Simultaneously, flow-control information and synchronization check signal are in synchronous regime, that is to say that the synchronization check signal all can carry out the error detection verification to each variation of flow-control information.For instance, can a channel associated clock signal be set, make flow-control information and synchronization check signal Synchronization in this channel associated clock signal for being with outer Flow Control, like this sometime the section in, the verification of synchronization signal just can be realized the verification by turn to flow-control information.
Step 42: flow-control information is carried out verification by turn by described synchronization check signal.
After the flow-control information of Flow Control is provided with the synchronization check signal outside for band, just can carry out verification by turn to flow-control information by this synchronization check signal.Like this in the transmission course of flow-control information, if a certain position of flow-control information transmission has produced check errors, the check errors of this position so, the check errors that is single port just can not have influence on the flow-control information of other ports, feasible mistake can not spread, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection.
In addition, after the synchronization check signal carries out verification by turn to flow-control information, can also judge whether corresponding Flow Control transmission of Information is wrong, and handle accordingly according to the check results by turn of described synchronization check signal.Specifically, if judge that corresponding Flow Control transmission of Information is errorless, then upgrade the Flow Control state of this flow-control information immediately, be about to output to user side after this flow-control information decoding, just will after the flow-control information that the line side is obtained is decoded, output on the Flow Control state interface of user side; If judge that corresponding Flow Control transmission of Information is wrong, then just can abandon this flow-control information, be determined further.By to the verification by turn of flow-control information and judgment processing by turn, just can upgrade the Flow Control state of flow-control information fast like this, improve the speed of flow-control information renewal transmission.
In addition, outside above-described band, can also come the Flow Control transmission of Information is carried out control operation by control signal and Flow Control status signal are set on the Flow Control.It is port traffic control or link flow that wherein said control signal is used to indicate the flow-control information that is transmitted on the Flow Control status signal, be exactly specifically, when control signal when being effective, can set the flow-control information that is transmitted on the described Flow Control status signal is link flow; When control signal when being invalid, can set the flow-control information that is transmitted on the described Flow Control status signal is port traffic control.
For instance, the setting control signal is a useful signal when being in high level, and when control signal was high level, the flow-control information that is transmitted on the Flow Control status signal was exactly a link flow like this; Otherwise when control signal was low level, the flow-control information that is transmitted on the Flow Control status signal was exactly port traffic control.Here control signal is useful signal under what state, can set according to the power of circuit environment and control signal, is useful signal in the time of for example also can setting control signal and be in low level; And the flow-control information that is transmitted on the Flow Control status signal is to belong to link flow or belong to port traffic control, also can set according to the actual interconnect situation, for example also can set when control signal is high level, the flow-control information that is transmitted on the Flow Control status signal is port traffic control.
Above-described Flow Control status signal is the transmission state of the business datum that is used to represent that current flow-control information is indicated, is exactly specifically, and when described Flow Control status signal when being effective, then service data transmission is forbidden in expression; When described Flow Control status signal when being invalid, then expression allows service data transmission.
For instance, can set when the Flow Control status signal is in high level is useful signal, like this when the Flow Control status signal is high level, just service data transmission is forbidden in expression, here the transmission state of business datum is indicated by current flow-control information, and current flow-control information can be a link flow, also can be port traffic control, specifically is that the state by the above control signal decides; Otherwise when the Flow Control status signal was low level, just expression allowed service data transmission.In addition, Flow Control status signal described here is useful signal under what state, equally also can set according to the power of circuit environment and control signal, and for example can set when the Flow Control status signal is in low level is useful signal; And the condition of whether forbidding service data transmission also can be set according to the actual interconnect situation, for example can set when the Flow Control status signal is high level, and then expression allows service data transmission.
Like this, control signal and Flow Control status signal by above setting, just can control flow-control information transmission with outer Flow Control, realize the synchronous transmission of link flow and port traffic control, make user side can directly obtain port traffic control and link flow, and do not need to do again extra mapping, and saved system resource, improved the efficient that flow-control information transmits.
Embodiment of the present invention also provides the device that flow-control information transmits in a kind of interconnection applications, be illustrated in figure 5 as a kind of structural representation of the described device of embodiment of the present invention, described device comprises that grouping division unit 51, error-detection mechanism are provided with unit 52 and encapsulated delivery unit 53, wherein said grouping division unit 51 is used for the port traffic control of Flow Control in the band is divided into a plurality of groupings according to port numbers, comprise at least one port traffic control in each grouping, the concrete dividing mode as above step 31 of method execution mode is described.
In addition, can comprise sequential packet division module 511 in the grouping division unit 51 described here, the order that the port traffic control of Flow Control increased progressively successively according to port numbers in described sequential packet division module 511 was used for being with is divided into a plurality of groupings, comprises the port traffic control of identical or different quantity in each grouping.For instance, the maximum port number of supposing port traffic control is N, so described sequential packet is divided module 511 just can be according to this maximum port number N, and the order that increases progressively successively according to port numbers, N is divided into a plurality of groupings with port traffic control from port 0~port, and the packet count that is marked off decides according to the port traffic control number that is comprised in each grouping.For example, comprise the port traffic control of equal number in the grouping that is marked off, can be redefined for 5 if the maximum port number of port traffic control is 30; The order that increases progressively successively according to port numbers just has been divided into 6 groupings from port 0~port 30 so, comprises 5 port traffic controls in each grouping.
Described error-detection mechanism is provided with unit 52 and is used to described each grouping that independently error-detection mechanism is set respectively.
Described encapsulated delivery unit 53 is used for described each grouping is transmitted after being packaged into Frame respectively.Be exactly specifically, with the grouping serial number of each grouping and with the corresponding port traffic control of described grouping serial number, and for each the grouping set independent error-detection mechanism be packaged into Frame, here this independent error-detection mechanism can be packaged in the afterbody of Frame, the whole payload information of cover data frame carries out the verification protection to the integral body of Frame; According to the order of described grouping serial number, the Frame after the encapsulation is carried out transmitted in packets then.
Just include independently error-detection mechanism in each Frame after the encapsulation like this, and corresponding port Flow Control, when the error-detection mechanism verification of some Frames makes mistake, in the port traffic control scope that this check errors just just is limited to current data frame and is covered, mistake just can not be diffused into the Frame of other groupings, to the not influence of transmission of other packet data frames, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection
In addition, also comprise link flow indication information package module 531 in the above encapsulated delivery unit 53, described link flow indication information package module 531 is used for the link flow indication information is encapsulated in described Frame; Wherein said link flow indication information is used to indicate described Frame whether to carry out the transmission of link flow, when described link flow indication information is that effectively then described Frame carries out the transmission of link flow and port traffic control; Otherwise then described Frame carries out the transmission of port traffic control.
The device of the above flow-control information transmission can be arranged on the network equipment, also can be arranged to independent functional entity.
Embodiment of the present invention also provides the device that flow-control information transmits in the another kind of interconnection applications, be illustrated in figure 6 as another structural representation of the described device of embodiment of the present invention, described device comprises that the synchronization check signal is provided with unit 61, and described synchronization check signal is provided with unit 61 and is used to the flow-control information of the outer Flow Control of band that the synchronization check signal is set; Wherein said synchronization check signal is used for described flow-control information is carried out verification by turn, and the error-detection mechanism of synchronization check signal described here can be an odd by turn, also can be by turn even parity check or the parity check of iteration.
Like this by of the by turn verification of described synchronization check signal to flow-control information, make in the transmission course of flow-control information, if a certain position of flow-control information transmission has produced check errors, the check errors of this position so, the check errors that is single port just can not have influence on the flow-control information of other ports, feasible mistake can not spread, and upgrades the speed of transmitting thereby improved flow-control information, has improved the efficient and the reliability of system interconnection.
In addition, can also comprise flow-control information transmission processing unit 62 in the above device, described flow-control information transmission processing unit 62 is used for the check results by turn according to described synchronization check signal, judges whether corresponding Flow Control transmission of Information is wrong, and handles accordingly; If judge that corresponding Flow Control transmission of Information is errorless, then upgrade the Flow Control state of this flow-control information; If judge that corresponding Flow Control transmission of Information is wrong, then abandon this flow-control information, and be determined further.By to the verification by turn of flow-control information and judgment processing by turn, just can upgrade the Flow Control state of flow-control information fast like this, improve the speed of flow-control information renewal transmission.
In addition, can also comprise that flow control signal is provided with unit 63 in the above device, described flow control signal is provided with unit 63 and is used to the flow-control information of the outer Flow Control of described band that control signal and Flow Control status signal are set.It is port traffic control or link flow that control signal wherein is used to indicate the flow-control information that is transmitted on the Flow Control status signal, and specifically: when described control signal when being effective, the flow-control information that is transmitted on the described Flow Control status signal is a link flow; When described control signal when being invalid, the flow-control information that is transmitted on the described Flow Control status signal is port traffic control.Here control signal is useful signal under what state, can set according to the power of circuit environment and control signal, is useful signal in the time of for example also can setting control signal and be in low level; And the flow-control information that is transmitted on the Flow Control status signal is to belong to link flow or belong to port traffic control, also can set according to the actual interconnect situation, for example also can set when control signal is high level, the flow-control information that is transmitted on the Flow Control status signal is port traffic control.
The transmission state of the business datum that described Flow Control status signal is used to represent that current flow-control information is indicated, specifically: when described Flow Control status signal when being effective, then service data transmission is forbidden in expression; When described Flow Control status signal when being invalid, then expression allows service data transmission.Flow Control status signal described here is useful signal under what state, equally also can set according to the power of circuit environment and control signal, and for example can set when the Flow Control status signal is in low level is useful signal; And the condition of whether forbidding service data transmission also can be set according to the actual interconnect situation, for example can set when the Flow Control status signal is high level, and then expression allows service data transmission.
The device of above-described flow-control information transmission can be arranged on the network equipment, also can be arranged to independent functional entity.
For further describing embodiment of the present invention, now in conjunction with specific embodiments its technical scheme is described further:
Embodiment 1: be transmitted as example with the block encoding with interior Flow Control, at first according to port numbers, the port traffic control of Flow Control is divided into a plurality of groupings in will being with.In the present embodiment, suppose that maximum port number is 32, the port traffic control quantity that comprises in each grouping is 4, and the grouping that is marked off is exactly 8 so.
Then for each grouping is provided with independent verification scheme, corresponding port Flow Control in such each grouping that marks off, each grouping, and set independent verification scheme has just formed corresponding relation.
With corresponding port Flow Control in above-mentioned each grouping that marks off, each grouping, and set independent verification scheme is packaged into the form of Frame respectively again.In the present embodiment, can be each grouping and setting grouping serial number, represent that with field FC Group wherein the span of FC Group is 0~7, i.e. 8 groupings; And corresponding, set the range of port number that a field FC Bitmap represents port traffic control for the port traffic control in each grouping, as shown in table 2 below is the corresponding relation of respective field in the packet data frame:
Time FC Input[31:0] FC Group FC Bitmap[3:0]
t0 00100000001101000110010111000100 0 0100(FC Input[3:0])
t1 00100000001101000110010111000100 1 1100(FC Input[7:4])
t2 00100110011100000110011111000000 2 0111(FC Input[11:8])
…… …… …… ……
t7 01101110011000000010011011000000 7 0110(FC Input[31:28])
t8 01101110011000000010011011000000 0 0000(FC Input[3:0])
Table 2
First classifies time shaft as in the last table 2; Second classifies corresponding port as; The 3rd classifies the value of FC Group as; The 4th classifies the value of corresponding FC Bitmap as.When the value of FC Group was 0, FC Bitmap value was 0~3, and expression port 0 is to the port traffic control of port 3; When FC Group value was 1, FC Bitmap value was 4~7, and expression port 4 is to the port traffic control of port 7; The rest may be inferred, and when FC Group rose to 7, FC Bitmap just can cover maximum port numbers 31; FC Group comes back to 0 more then, begins increasing progressively of a new round.
After through above division and setting; just can be with the respective field FC Group and the FC Bitmap of above-mentioned setting; and set verification scheme is packaged into the form of Frame; be illustrated in figure 7 as the interior Flow Control data frame structure schematic diagram of band in the present embodiment 1; comprise FC Group field and FC Bitmap field in the data frame structure among the figure; verification scheme is encapsulated in postamble portion; in present embodiment 1, be CRC check; it can certainly be other verification scheme; for example interweave odd even coding checkout (DIP verification) or hamming code verification (Hamming verification) etc. of diagonal angle; here the CRC check of Frame afterbody has covered the whole payload information of Frame, and the integral body of Frame is carried out the verification protection.
Just include independently error-detection mechanism in each Frame after the encapsulation like this, when the error-detection mechanism verification of a certain Frame makes mistakes, in the port traffic control scope that this check errors just just is limited to current data frame and is covered, mistake just can not be diffused into the Frame of other groupings, not influence of transmission to other packet data frames, upgrade the speed of transmitting thereby improved flow-control information, improved the efficient and the reliability of system interconnection.
In addition, in present embodiment 1, can also comprise an XOFF field in the data frame structure as shown in Figure 7, this XOFF field is the link flow indication information.When this XOFF field when being effective, can set this XOFF field in the present embodiment 1 and get at 1 o'clock for effectively, represent that then described data-frame sync carries out the transmission of link flow and port traffic control; Otherwise, when this XOFF field gets 0, be invalid, then described Frame only carries out the transmission of port traffic control, just according to the order of grouping serial number, the Frame after the encapsulation is carried out transmitted in packets.Pass through the value of the XOFF field of this setting like this, just can realize the synchronous transmission of link flow and port traffic control, make user side can directly obtain port traffic control and link flow, and do not need to do again extra mapping, save system resource, improved the efficient that flow-control information transmits.
In present embodiment 1, data frame format as shown in Figure 7 can be data/idle pulse frame structure, also can be other data frame structures that remain with the respective extension field.
Embodiment 2: to be verified as example by turn with outer Flow Control, at first the flow-control information for the outer Flow Control of band is provided with a synchronization check signal, this synchronization check signal and flow-control information are in synchronous regime, that is to say that the synchronization check signal all can carry out the error detection verification to each variation of flow-control information.In present embodiment 2, can a channel associated clock signal be set for being with outer Flow Control, make flow-control information and synchronization check signal Synchronization in this channel associated clock signal, like this sometime the section in, the verification of synchronization signal just can have been realized the verification by turn of flow-control information.
So, in the transmission course of flow-control information, if a certain position of flow-control information transmission has produced check errors, the check errors of this position so, promptly the check errors of single port makes mistake can not spread with regard to not having influence on the flow-control information of other ports.
In present embodiment 2, be with outer Flow Control except being provided with channel associated clock signal and synchronization check signal, a control signal and a Flow Control status signal can also be set, and it is port traffic control or link flow that control signal described here is used to indicate the flow-control information that is transmitted on the Flow Control status signal; The transmission state of the business datum that described Flow Control status signal is used to represent that current flow-control information is indicated.
The signal that is illustrated in figure 8 as the outer Flow Control of present embodiment 2 bands transmits the sequential schematic diagram, comprise a channel associated clock signal (fc_clk) among the figure, a control signal (fc_ctrl), a Flow Control status signal (fc_stat) and a synchronization check signal (fc_prty), the Flow Control status signal among the figure, control signal and synchronization check signal Synchronization are in channel associated clock signal.Wherein, the transmission state of the Flow Control status signal business datum that can be used for representing that current flow-control information is indicated; It is port traffic control or link flow that control signal is used to refer to the flow-control information that is transmitted on the Flow Control status signal, and as shown in table 3 below is the value corresponding relation of each holding wire:
Sequence number Fc_ctrl Fc_stat Describe
1 0 0 Port traffic control: allow business data transmission.
2 0 1 Port traffic control: forbid business data transmission.
3 1 0 Link flow: allow business data transmission.
4 1 1 Link flow: forbid business data transmission.
Table 3
The list item implication of sequence number 4 is an example in the above table 3: when control signal when being effective, what transmit on the expression Flow Control status signal is link flow, setting control signal in present embodiment 2 is effectively when high level (promptly getting 1), when being effective as if the Flow Control status signal simultaneously, then business data transmission is forbidden in expression, and setting the Flow Control status signal in present embodiment 2 is effectively when high level (promptly getting 1).
Same, for the list item of sequence number 3: control signal gets 1, and the Flow Control status signal was got 0 o'clock, and what transmit on the expression Flow Control status signal is link flow, and allows business data transmission.
List item for sequence number 1: control signal gets 0, and the Flow Control status signal was got 0 o'clock, and what transmit on the expression Flow Control status signal is port traffic control, and allows business data transmission.
List item for sequence number 2: control signal gets 0, and the Flow Control status signal was got 1 o'clock, and what transmit on the expression Flow Control status signal is port traffic control, and forbids business data transmission.
In addition, synchronization check signal as shown in Figure 8 can be used for realizing verification error detection by turn, and detailed process is as follows:
Constantly: 012 ... 64 65 66 67 ...
Control signal: 100 ... 0100 ...
Flow Control status signal: link ch0 ch1 ... ch63 link ch0 ch1 ...
Synchronization check signal: p0 p1 p2 ... p64 p65 p66 p67 ...
In the moment 0, what Flow Control was sent in the band is the link flow of link, sends the synchronization check signal p0 in this moment simultaneously; After receiving terminal is received this link flow link, just can judge according to the error detection verification of p0 whether transmission is wrong immediately,, then upgrade the Flow Control state of flow-control information immediately, be about to output to user side after this flow-control information decoding if judge that transmission is errorless; If judge that transmission is wrong, then abandon this flow-control information.
In other processing constantly also is identical, because the synchronization check signal carries out verification by turn, front and back do not have dependence in time, and the check errors of a certain like this position just can not have influence on the flow-control information of other ports, makes mistake can not spread.
In sum, embodiment of the present invention can make current check errors can not have influence on the flow-control information of other ports, makes mistake can not spread, and upgrades the speed of transmitting thereby improved flow-control information, has improved the efficient and the reliability of system interconnection.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the 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 (21)

1, the method that flow-control information transmits in a kind of interconnection applications is characterized in that,
The port traffic control of Flow Control in the band is divided into a plurality of groupings according to port numbers, comprises at least one port traffic control in each grouping;
For described each grouping is provided with independently error-detection mechanism respectively;
Described each grouping is transmitted after being packaged into Frame respectively.
2, the method that flow-control information transmits in the interconnection applications as claimed in claim 1 is characterized in that, described will band in the port traffic control of Flow Control be divided into a plurality of groupings according to port numbers, each comprises at least one port traffic control in dividing into groups, and specifically comprises:
The order that the port traffic control of being with interior Flow Control is increased progressively successively according to port numbers is divided into a plurality of groupings, comprises the port traffic control of identical or different quantity in each grouping.
3, the method that flow-control information transmits in the interconnection applications as claimed in claim 1 is characterized in that, described will be described each transmit after dividing into groups to be packaged into Frame respectively, specifically comprise:
For described each grouping is provided with grouping serial number, with described grouping serial number and with the corresponding port traffic control of described grouping serial number, and for each the grouping set independent error-detection mechanism be packaged into Frame;
According to the order of described grouping serial number, the Frame after the encapsulation is carried out transmitted in packets.
4, the method for transmitting as flow-control information in one of them described interconnection applications of claim 1-3 is characterized in that,
Also comprise the link flow indication information in the described Frame, described link flow indication information is used to indicate described Frame to carry out the transmission of link flow;
Wherein, if described link flow indication information is that effectively then described Frame carries out the transmission of link flow and port traffic control; Otherwise then described Frame carries out the transmission of port traffic control.
5, the method that flow-control information transmits in the interconnection applications as claimed in claim 4 is characterized in that,
Described link flow indication information specifically comprises specific indication field;
When described specific indication field was 1, described link flow indication information was that effectively then described Frame carries out the transmission of link flow and port traffic control; When described specific indication field was 0, described link flow indication information was invalid, and then described Frame carries out the transmission of port traffic control.
6, the method for transmitting as flow-control information in one of them described interconnection applications of claim 1-3 is characterized in that,
Described error-detection mechanism specifically comprises: cyclic redundancy check (CRC), diagonal angle interweave odd even coding checkout or hamming code verification.
7, the method for transmitting as flow-control information in one of them described interconnection applications of claim 1-3 is characterized in that,
Described Frame is specially data/idle pulse frame structure, or remains with the data frame structure of respective extension field.
8, the method that flow-control information transmits in a kind of interconnection applications is characterized in that,
For the flow-control information with outer Flow Control is provided with the synchronization check signal;
By described synchronization check signal described flow-control information is carried out verification by turn.
9, the method for transmitting as flow-control information in the interconnection applications as described in the claim 8 is characterized in that described method also comprises:
According to the check results by turn of described synchronization check signal, judge whether corresponding Flow Control transmission of Information is wrong;
Wherein, if judge that corresponding Flow Control transmission of Information is errorless, then upgrade the Flow Control state of this flow-control information; If judge that corresponding Flow Control transmission of Information is wrong, then abandon this flow-control information.
10, the method for transmitting as flow-control information in the interconnection applications as described in claim 8 and 9 is characterized in that the error-detection mechanism of described synchronization check signal comprises: the parity check of odd by turn, even parity check by turn or iteration.
11, the method for transmitting as flow-control information in the interconnection applications as described in the claim 8 is characterized in that,
The flow-control information of the outer Flow Control of described band is provided with control signal and Flow Control status signal;
Wherein, to be used to indicate the flow-control information that is transmitted on the Flow Control status signal be port traffic control or link flow to described control signal; The transmission state of the business datum that described Flow Control status signal is used to represent that current flow-control information is indicated.
12, the method for transmitting as flow-control information in the interconnection applications as described in the claim 11 is characterized in that it is port traffic control or link flow that described control signal is used to indicate the flow-control information that is transmitted on the Flow Control status signal, specifically comprises:
When described control signal when being effective, the flow-control information that is transmitted on the described Flow Control status signal is a link flow; When described control signal when being invalid, the flow-control information that is transmitted on the described Flow Control status signal is port traffic control.
13, the method for transmitting as flow-control information in the interconnection applications as described in the claim 11 is characterized in that, the transmission state of the business datum that described Flow Control status signal is used to represent that current flow-control information is indicated specifically comprises:
When described Flow Control status signal when being effective, then service data transmission is forbidden in expression; When described Flow Control status signal when being invalid, then expression allows service data transmission.
14, the device that flow-control information transmits in a kind of interconnection applications is characterized in that, comprising:
The grouping division unit is used for the port traffic control of Flow Control in the band is divided into a plurality of groupings according to port numbers, comprises at least one port traffic control in each grouping;
Error-detection mechanism is provided with the unit, is used to described each grouping that independently error-detection mechanism is set respectively;
The encapsulated delivery unit is used for described each grouping is transmitted after being packaged into Frame respectively.
15, the device that transmits as flow-control information in the interconnection applications as described in the claim 14 is characterized in that, comprises in the described grouping division unit:
Sequential packet division module, the order that the port traffic control of Flow Control increases progressively successively according to port numbers in being used for being with is divided into a plurality of groupings, comprises the port traffic control of identical or different quantity in each grouping.
16, the device that transmits as flow-control information in the interconnection applications as described in the claim 14 is characterized in that described encapsulated delivery also comprises in the unit:
Link flow indication information package module is used for the link flow indication information is encapsulated in described Frame;
Wherein, described link flow indication information is used to indicate described Frame to carry out the transmission of link flow; If described link flow indication information is that effectively then described Frame carries out the transmission of link flow and port traffic control; Otherwise then described Frame carries out the transmission of port traffic control.
17, as the claim 14-16 device that flow-control information transmits in the interconnection applications as described in one of them, it is characterized in that,
The device of described flow-control information transmission is arranged on the network equipment, or is arranged to independent functional entity.
18, the device that flow-control information transmits in a kind of interconnection applications is characterized in that, comprising:
The synchronization check signal is provided with the unit, is used to the flow-control information of the outer Flow Control of band that the synchronization check signal is set;
Wherein, described synchronization check signal is used for described flow-control information is carried out verification by turn.
19, the device that transmits as flow-control information in the interconnection applications as described in the claim 18 is characterized in that, also comprises in the described device:
The flow-control information transmission processing unit is used for the check results by turn according to described synchronization check signal, judges whether corresponding Flow Control transmission of Information is wrong, and handles accordingly;
Wherein, if judge that corresponding Flow Control transmission of Information is errorless, then upgrade the Flow Control state of this flow-control information; If judge that corresponding Flow Control transmission of Information is wrong, then abandon this flow-control information.
20, the device that transmits as flow-control information in the interconnection applications as described in the claim 18 is characterized in that, also comprises in the described device:
Flow control signal is provided with the unit, is used to the flow-control information of the outer Flow Control of described band that control signal and Flow Control status signal are set;
Wherein, to be used to indicate the flow-control information that is transmitted on the Flow Control status signal be port traffic control or link flow to described control signal; When described control signal when being effective, the flow-control information that is transmitted on the described Flow Control status signal is a link flow; When described control signal when being invalid, the flow-control information that is transmitted on the described Flow Control status signal is port traffic control;
The transmission state of the business datum that described Flow Control status signal is used to represent that current flow-control information is indicated; When described Flow Control status signal when being effective, then service data transmission is forbidden in expression; When described Flow Control status signal when being invalid, then expression allows service data transmission.
21, as the claim 18-20 device that flow-control information transmits in the interconnection applications as described in one of them, it is characterized in that,
The device of described flow-control information transmission is arranged on the network equipment, or is arranged to independent functional entity.
CN 200810103556 2008-04-08 2008-04-08 Method and device for fluid controller information transfer in interconnection application Expired - Fee Related CN101557275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810103556 CN101557275B (en) 2008-04-08 2008-04-08 Method and device for fluid controller information transfer in interconnection application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810103556 CN101557275B (en) 2008-04-08 2008-04-08 Method and device for fluid controller information transfer in interconnection application

Publications (2)

Publication Number Publication Date
CN101557275A true CN101557275A (en) 2009-10-14
CN101557275B CN101557275B (en) 2013-08-28

Family

ID=41175232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810103556 Expired - Fee Related CN101557275B (en) 2008-04-08 2008-04-08 Method and device for fluid controller information transfer in interconnection application

Country Status (1)

Country Link
CN (1) CN101557275B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701711A (en) * 2013-11-29 2014-04-02 华为技术有限公司 Method and device for adjusting links
CN104486261A (en) * 2014-12-19 2015-04-01 盛科网络(苏州)有限公司 Interlaken interface-based two-chip interconnection method
CN109076459A (en) * 2016-05-13 2018-12-21 索尼移动通信株式会社 It is used for transmission the communication device and method of data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909508B (en) * 2006-08-23 2010-08-18 华为技术有限公司 Port flow control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701711A (en) * 2013-11-29 2014-04-02 华为技术有限公司 Method and device for adjusting links
CN104486261A (en) * 2014-12-19 2015-04-01 盛科网络(苏州)有限公司 Interlaken interface-based two-chip interconnection method
CN109076459A (en) * 2016-05-13 2018-12-21 索尼移动通信株式会社 It is used for transmission the communication device and method of data
US11997596B2 (en) 2016-05-13 2024-05-28 Sony Group Corporation Communication device and method for transmitting data

Also Published As

Publication number Publication date
CN101557275B (en) 2013-08-28

Similar Documents

Publication Publication Date Title
CN101052013B (en) Method and system for realizing network equipment internal managing path
CN102624738B (en) Serial port server, protocol conversion chip and data transmission method
CN112468209B (en) On-orbit high-speed injection system and method based on SpaceWire bus
CN111727589A (en) Method and device for configuring Flex Ethernet node
CN101702639B (en) Check value calculation method and device of cyclic redundancy check
CN102439923A (en) Universal service transport transitional encoding
CN110177058B (en) Ethernet switch board state monitoring transceiver based on FPGA
CN106162528A (en) LoRa signal and Bluetooth signal modular converter, conversion method and sender unit
CN103427846A (en) Method for controlling faults in dynamically reconfigurable high-speed serial bus
CN112395230A (en) UART interface extension circuit based on programmable logic device
CN100586225C (en) Communicating in voice and data communications systems
CN103581257A (en) Data distribution method and device based on internet protocol
CN101557275B (en) Method and device for fluid controller information transfer in interconnection application
CN108901012A (en) A kind of low-power consumption bluetooth big data divided stator frame method
CN110839286A (en) Data transmission method, device, base station, terminal and computer readable storage medium
CN102998994B (en) Embedded blood analyzer control system and control method thereof
EP1814341B1 (en) Methods and devices for transmitting and receiving frame timings and frame numbers via common radio interface
CN202230378U (en) Motion control system with terminal capable of being expanded at will
CN110838892B (en) High-reliability merging and forwarding method for multi-path full-duplex serial port
US20160013885A1 (en) Long-Distance RapidIO Packet Delivery
CN106209307A (en) Interconnected method and system between many FPGA sheets
CN111193650B (en) Node receiving and dispatching control device based on SAE AS5643 standard
CN109246021A (en) A kind of Point-to-Point Data reliable transmission system and method based on FPGA
WO2021249260A1 (en) Data transmission method and apparatus, circuit board, storage medium and electronic apparatus
CN101188595B (en) A transmitter and time sequence control method for this transmitter

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
TR01 Transfer of patent right

Effective date of registration: 20170828

Address after: 201, room 1, building A, No. 518053, front Bay Road, Qianhai, Shenzhen Shenzhen cooperation zone, Guangdong, China

Patentee after: Shenzhen Zhitong World Technology Service Co. Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20091014

Assignee: Shenzhen Vimicro Tech Co. Ltd.

Assignor: Shenzhen Zhitong World Technology Service Co. Ltd.

Contract record no.: 2017440020097

Denomination of invention: Method and device for fluid controller information transfer in interconnection application

Granted publication date: 20130828

License type: Common License

Record date: 20171211

EE01 Entry into force of recordation of patent licensing contract
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130828

Termination date: 20200408

CF01 Termination of patent right due to non-payment of annual fee