CN101854402B - Interface conversion device and stream control implementing method - Google Patents

Interface conversion device and stream control implementing method Download PDF

Info

Publication number
CN101854402B
CN101854402B CN201010196613.9A CN201010196613A CN101854402B CN 101854402 B CN101854402 B CN 101854402B CN 201010196613 A CN201010196613 A CN 201010196613A CN 101854402 B CN101854402 B CN 101854402B
Authority
CN
China
Prior art keywords
interface
flow
control
spi4
csix
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
CN201010196613.9A
Other languages
Chinese (zh)
Other versions
CN101854402A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010196613.9A priority Critical patent/CN101854402B/en
Publication of CN101854402A publication Critical patent/CN101854402A/en
Application granted granted Critical
Publication of CN101854402B publication Critical patent/CN101854402B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an interface conversion device and a stream control implementing method. The device comprises a stream control state capturing module, a stream control conversion module and a stream control module, wherein the stream control state capturing module is used to capture the first stream control information of a first interface; the stream control conversion module is used to convert the first stream control information to second stream control information with the format supported by a second interface connected with the first interface; and the stream control module is used to control the second interface according to the second stream control information. By using the device of the invention, stream control information can be transmitted fast and efficiently.

Description

Interface switching device and stream control implementing method
Technical field
The present invention relates to the communications field, in particular to a kind of interface switching device and stream control implementing method.
Background technology
Current support Large Copacity, can the data communications equipment/network equipment of smooth expansion, be mostly to adopt distributed architecture for exchanging (Switch Fabric), adopt network processing unit or polycaryon processor and exchange nest plate and realize.In whole system, each switching node is communicated by Large Copacity central switching node, by increasing the smoothing dilatation of switching node quantity.
Due to the unbalanced of flow in system and burst, between central switching node and each switching node, between each node, transmit flow-control information by a set of flow-control mechanism.Each switching node needs to respond flow-control information in time, controls switching node according to flow-control information.The interface standard that different node connects may be different, needs to carry out interface conversion, interface conversion bring Flow Control transmission of information not in time with the problem such as flow-control information loss; Even if interface standard is identical, in order to support distinct interface, between same-interface, also can carry out some extra process, to adapt to mixed insertion system.Current network processing unit and polycaryon processor and exchange nest plate and much adopt SPI4.2 (System Packet Interface Level 4, Phase 2) and public Fabric Interface specification (Common Switch Interface Specificaton, referred to as CSIX) interface, SPI4.2 interface is channelizing interface, maximumly support 256 passages (port), different data link and status link by channel setting, can accomplish that data channel is separated with control channel, when data send congested, transmit flow-control information by status link.CSIX interface does not have independently data channel and Flow Control passage, its primitive is CFrame, there are two kinds of Flow Control modes: link level Flow Control and flow control frames, flow control frames or Frame by CFrame type classification, data channel can divide passages different in logic, supports 256 classification of service and 4096 addresses (port).
In correlation technique, flow-control information is transmitted in interface switching device both sides, the flow-control mechanism of interface can be utilized to carry out Flow Control transmission, the load of interface processing unit and congestion situation are fed back to the other end, is realized the indirect transfer of two ends node flow-control information by interface switching device load condition.But the transmission of this flow-control information is not directly, its flow-control information transmitted is the flow-control information that interface conversion unit produces, instead of the flow-control information that receiving node produces.If all process resource of interface conversion unit is that channelizing is mutually isolated, transmit flow-control information so also out of question, but the resource requirement of docking port converting unit is just higher.If interface conversion unit is not channelizing, its all process resource is all shared, and it is insecure for obviously indirectly transmitting flow-control information like this, and a certain passage Flow Control can cause other passages also to block.
And due to interface standard difference, carry out directly transmitting flow-control information is converted to Flow Control message/solution Flow Control message to flow-control information as shown in Fig. 1 Fig. 2, the flow control frames of CSIX interface is converted to the data message of SPI4 interface by interface switching device as shown in Figure 3, data channel is utilized to carry out flow-control information transmission, like this, in the large situation of data channel flow, the flow-control information converting data message form to cannot transmit in data channel, then cannot carry out flow-control operation according to flow-control information, cause flow congestion.
Summary of the invention
Main purpose of the present invention is to provide a kind of interface switching device and stream control implementing method, to solve the above problems.
In order to realize object, according to an aspect of the present invention, a kind of interface switching device is provided.
Interface switching device according to the present invention comprises: Flow Control state capture module, for catching the first-class control information of first interface; Flow Control modular converter, for converting second flow-control information with the form that the second interface of being connected with first interface is supported to by first-class control information; Flow Control control module, for controlling the second interface according to the second flow-control information.
Further, first interface is SPI4 interface, and the second interface is public Fabric Interface specification CSIX interface; Or first interface is CSIX interface, the second interface is SPI4 interface.
Further, Flow Control modular converter comprises: the first modular converter, for being SPI4 interface at first interface, when the second interface is CSIX interface, convert the back-pressure signal of SPI4 interface flow control frames corresponding to CSIX interface to, be used to indicate and carry out flow-control operation; Second modular converter, for being SPI4 interface at first interface, when the second interface being CSIX interface, converting the back-pressure ring off signal of SPI4 interface flow control frames corresponding to CSIX interface to, being used to indicate releasing flow-control operation.
Further, Flow Control modular converter comprises: the 3rd modular converter, for being CSIX interface at first interface, when the second interface is SPI4 interface, for the flow control frames of CSIX interface being converted to back-pressure signal corresponding to SPI4 interface; 4th modular converter, for being CSIX interface at first interface, when the second interface is SPI4 interface, for converting back-pressure ring off signal corresponding to SPI4 interface to by the flow control frames of CSIX interface.
Further, Flow Control state capture module comprises: SPI4 interface Flow Control state capture module, and for catching the passage flow-control information of SPI4 interface, wherein, flow-control information carries the channel information of SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation; CSIX interface Flow Control state capture module, for catching the flow control frames of CSIX interface, wherein, flow control frames carries the channel information of CSIX interface and carries out the information of Flow Control or releasing flow-control operation.
Further, Flow Control control module comprises: SPI4 control module, for carrying out back-pressure or back-pressure releasing operation to SPI4 interface; CSIX control module, for carrying out Flow Control or removing flow-control operation to CSIX interface.
To achieve these goals, according to a further aspect in the invention, a kind of stream control implementing method is provided.
Comprise according to the stream control implementing method that this law is bright: the first-class control information of catching first interface; First-class control information is converted to second flow-control information with the form that the second interface of being connected with first interface is supported; According to the second flow-control information, the second interface is controlled.
Further, the first-class control information of catching first interface comprises: the passage flow-control information of catching SPI4 interface, and wherein, flow-control information carries the channel information of SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation; Catch the passage flow-control information of CSIX interface, wherein, flow-control information carries the channel information of CSIX interface and carries out the information of Flow Control or releasing flow-control operation.
Further, first-class control information is converted to the second Flow Control packets of information with the form that the second interface of being connected with first interface is supported to draw together: be SPI4 interface at first interface, when second interface is CSIX interface, convert the back-pressure signal of SPI4 interface flow control frames corresponding to CSIX interface to, be used to indicate and carry out flow-control operation; Be SPI4 interface at first interface, when the second interface is CSIX interface, converts the back-pressure ring off signal of SPI4 interface flow control frames corresponding to CSIX interface to, be used to indicate and carry out releasing flow-control operation; Be SPI4 interface at first interface, when the second interface is CSIX interface, the flow control frames of CSIX interface converted to back-pressure signal corresponding to SPI4 interface or back-pressure ring off signal.
Further, carry out control according to the second flow-control information to the second interface to comprise: carry out back-pressure operation according to back-pressure signal to SPI4 interface; According to back-pressure ring off signal, back-pressure is carried out to SPI4 interface and remove operation; According to flow control frames, Flow Control or releasing flow-control operation are carried out to CSIX interface.
Pass through the present invention, adopt in interface switching device and increase interface Flow Control state capture module, Flow Control modular converter and Flow Control control module, when solving the operation of flowing full amount, a large amount of Flow Control message can be produced, serious consumption interface switching device process resource, the problem of impact to the process of normal flow, and then reach the effect that flow-control information is rapidly and efficiently transmitted.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 exchanges Flow Control implementation schematic diagram according to the SPI4/CSIX of correlation technique;
Fig. 2 is the exchange current Ore-controlling Role schematic diagram according to correlation technique;
Fig. 3 transmits schematic diagram according to SPI4 and the CSIX interface Flow Control of correlation technique;
Fig. 4 is the structured flowchart of the interface switching device according to the embodiment of the present invention;
Fig. 5 is the preferred structured flowchart of the interface switching device according to the embodiment of the present invention;
Fig. 6 is the structured flowchart of interface switching device according to the preferred embodiment of the invention;
Fig. 7 is the switching system flow control system structured flowchart of the present invention according to the embodiment of the present invention;
Fig. 8 is according to the exchange current Ore-controlling Role schematic diagram of the embodiment of the present invention;
Fig. 9 is according to the flow chart of the flow control method of the embodiment of the present invention;
Figure 10 is converted to SPI4 interface flow-control information flow chart according to the CSIX interface flow-control information of the embodiment of the present invention;
Figure 11 is converted to CSIX interface flow-control information flow chart according to the SPI4 interface flow-control information of the embodiment of the present invention; And
Figure 12 is converted to SPI4 interface flow-control information flow chart according to the SPI4 interface flow-control information of the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Fig. 4 is the structured flowchart of the interface switching device according to the embodiment of the present invention, and as shown in Figure 4, this interface switching device comprises: Flow Control state capture module 20, Flow Control modular converter 40, Flow Control control module 50, be described in detail said structure below:
Flow Control state capture module 20, for catching the first-class control information of first interface; Flow Control modular converter 40, is connected to Flow Control state capture module 20, and the first-class control information for Flow Control state capture module 20 being caught converts second flow-control information with the form that the second interface of being connected with first interface is supported to; Flow Control control module 50, is connected to Flow Control modular converter 40, controls the second interface for the second flow-control information changed according to Flow Control modular converter 40.
In correlation technique, at the flow-control information of interface switching device both sides passing interface, because interface standard is different, flow control frames is converted to data message in data channel transmission, cause when data channel flow is large, the flow-control information converting data message form to cannot transmit, and causes the problem cannot carrying out flow-control operation.The embodiment of the present invention catches the flow-control information of interface by Flow Control state capture module 20, flow-control information is converted to the flow-control information that opposite end is supported by Flow Control modular converter 40, do not transmitted by data channel, namely, by increasing above-mentioned module to improve flow-control information transfer method and to utilize this device to realize the reliable delivery equipment of Flow Control in switching node in interface switching device, make to have that the process chip of the process chip of system packet interface (SPI4) and CSIX interface is interconnected can transmit process flow-control information reliably in time.Avoid when data channel flow is large, flow-control information cannot transmit the problem then cannot carrying out Flow Control at interface two ends, achieve the fast transport of flow-control information.
Preferably, first interface is SPI4 interface, and the second interface is CSIX interface; Or first interface is CSIX interface, the second interface is SPI4 interface.The preferred embodiment achieves SPI4 interface and CSIX interface
Fig. 5 is the preferred structured flowchart of the interface switching device according to the embodiment of the present invention, as shown in Figure 5, Flow Control converting unit 40 comprises: the first modular converter 402, second modular converter 404, the 3rd modular converter 406, the 4th modular converter 408, Flow Control state capture module 20 comprises: SPI4 interface Flow Control state capture module 202, CSIX interface Flow Control state capture module 204, Flow Control control module comprises 50:SPI4 control module 502, CSIX control module 504, is described in detail below to said structure:
First modular converter 402, be connected to SPI4 interface Flow Control state capture module 202, for being SPI4 interface at first interface, when second interface is CSIX interface, the back-pressure signal of the SPI4 interface of SPI4 interface Flow Control state capture module 202 being caught converts flow control frames corresponding to CSIX interface to, is used to indicate and carries out flow-control operation; Second modular converter 404, be connected to SPI4 interface Flow Control state capture module 202, for being SPI4 interface at first interface, when second interface is CSIX interface, the back-pressure ring off signal of the SPI4 interface of SPI4 interface Flow Control state capture module 202 being caught converts flow control frames corresponding to CSIX interface to, is used to indicate releasing flow-control operation.The preferred embodiment achieves and converts the back-pressure signal of SPI4 interface or back-pressure ring off signal flow control frames corresponding to CSIX interface to.
3rd modular converter 406, be connected to CSIX interface Flow Control state capture module 204, for being CSIX interface at first interface, when second interface is SPI4 interface, the flow control frames for the CSIX interface of CSIX interface Flow Control state capture module 204 being caught converts back-pressure signal corresponding to SPI4 interface to; 4th modular converter 408, be connected to CSIX interface Flow Control state capture module 204, for being CSIX interface at first interface, when second interface is SPI4 interface, the flow control frames for the CSIX interface of CSIX interface Flow Control state capture module 204 being caught converts back-pressure ring off signal corresponding to SPI4 interface to.The preferred embodiment achieves and converts the flow control frames of CSIX interface to back-pressure signal corresponding to SPI4 interface or back-pressure ring off signal.
It should be noted that, Flow Control modular converter supports the conversion of multichannel flow-control information, directly the flow-control information of a certain for this interface passage can be converted into the flow-control information of a certain passage of another one interface, and it is passed to Flow Control control module.
SPI4 interface Flow Control state capture module 202, for catching the passage flow-control information of SPI4 interface, wherein, flow-control information carries the channel information of SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation; CSIX interface Flow Control state capture module 204, for catching the flow control frames of CSIX interface, wherein, flow control frames carries the channel information of CSIX interface and carries out the information of Flow Control or releasing flow-control operation.The preferred embodiment achieves SPI4 interface or CSIX interface Acquisition channel flow-control information, achieves the flow control frames back-pressure signal of SPI4 interface or back-pressure ring off signal being converted to CSIX interface.
It should be noted that, Flow Control state capture module supports that multichannel Flow Control is caught, and utilizes interface flow-control mechanism, when the congested Flow Control of a certain channel capacity of a side interface, can catch the flow-control information of this interface, and pass to Flow Control modular converter.
SPI4 control module 502, for carrying out back-pressure or back-pressure releasing operation to SPI4 interface; CSIX control module 504, for carrying out Flow Control or removing flow-control operation to CSIX interface.The preferred embodiment achieves SPI4 interface and CSIX interface carries out control operation according to flow-control information, avoid Flow Control concussion and cause flow-control information frequently, the a large amount of Flow Control messages produced when particularly flowing full amount is run, consume interface switching device process resource, affect the process to normal flow.
Fig. 6 is the structured flowchart of interface switching device according to the preferred embodiment of the invention, as shown in Figure 6, this device comprises: SPI receiver module 601, SPI sending module 602, CSIX sending module 603, CSIX receiver module 604, frame parsing module 605, framing module 606, interface modular converter 2 comprises: Flow Control modular converter 607, CSIX Flow Control control module 608, CSIX Flow Control trapping module 609, SPI4 interface Flow Control control module 610, SPI4 interface Flow Control state capture module 611, be described in detail said structure below:
SPI receiver module 601, is connected to SPI4 interface Flow Control control module 610, for receiving the flow-control information from SPI4 interface Flow Control control module 610; SPI sending module 602, is connected to SPI4 interface Flow Control state capture module 611, for the flow-control information of SPI4 being sent to SPI4 interface Flow Control state capture module 611; CSIX sending module 603, for sending the data flow of CSIX interface; CSIX receiver module 604, for receiving the data flow of CSIX interface; Frame parsing module 605, is connected to CSIX receiver module 604, for resolving the data flow that CSIX receiver module sends; Framing module 606, is connected to SPI receiver module 601, for the data flow framing received by SPI receiver module 601; Flow Control modular converter 607, supports the conversion of multichannel flow-control information, directly the flow-control information of a certain for this interface passage can be converted into the flow-control information of a certain passage of another one interface, and it is passed to Flow Control control module; CSIX Flow Control control module 608, can carry out CSIX port traffic control and remove flow-control operation, the CSIX flow-control information of correspondence is passed to other end node by CSIX interface flow-control mechanism; CSIX Flow Control state capture module 609, supports that multiport Flow Control is caught, utilizes CSIX interface flow-control mechanism, when the congested Flow Control of a certain port flow of CSIX interface, can catch the flow-control information of this interface, and pass to Flow Control modular converter; SPI4 Flow Control control module 610, supports that multichannel Flow Control controls, and can carry out Flow Control and remove flow-control operation, the flow-control information of correspondence is passed to other end node by interface flow-control mechanism; SPI4 Flow Control state capture module 611, supports that multichannel Flow Control is caught, utilizes SPI4 interface flow-control mechanism, when the congested Flow Control of a certain channel capacity of SPI4 interface, can catch the flow-control information of this interface, and pass to Flow Control modular converter.
It should be noted that, multistage channelizing flow-control information can transmit by interface switching device easily step by step, it is congested that processing node 1 sends to the data flow of processing node 2 to cause because processing node 2 is busy, the flow-control information of oneself is passed to through the Flow Control relay apparatus of interface switching device the interface switching device be connected with processing node 1 by processing node 2, realizes the flow-control information transmission of receiving terminal to transmitting terminal point-to-point.
Fig. 7 is the switching system flow control system structured flowchart of the present invention according to the embodiment of the present invention, and as shown in Figure 7, this system comprises: processing node, interface conversion unit (interface switching device) and interface.Processing node is connected with interface, be connected by interface conversion unit between interface, in interface conversion unit, increase Flow Control relay module (being equivalent to Flow Control state capture module 20, Flow Control modular converter 40, the Flow Control control module 50 recorded in Fig. 5) realize the Flow Control transmission of processing node to switching node.
Fig. 8 is according to the exchange current Ore-controlling Role schematic diagram of the embodiment of the present invention, and this system is by being converted to the flow-control information of CSIX by the flow-control information of SPI4.In Fabric Switch system, reliably can realize the transmission of flow-control information easily.
Fig. 9, according to the flow chart of the flow control method of the embodiment of the present invention, as shown in Figure 9, comprising:
Step S902, catches the first-class control information of first interface;
Step S904, converts second flow-control information with the form that the second interface of being connected with described first interface is supported to by described first-class control information;
Step S906, controls described second interface according to described second flow-control information.
In correlation technique, at the flow-control information of interface switching device both sides passing interface, because interface standard is different, flow control frames is converted to data message in data channel transmission, cause when data channel flow is large, the flow-control information converting data message form to cannot transmit, and causes the problem cannot carrying out flow-control operation.The embodiment of the present invention is by catching the flow-control information of interface, flow-control information is converted to the flow-control information that opposite end is supported, do not transmitted by data channel, make to have that the process chip of the process chip of system packet interface (SPI4) and CSIX interface is interconnected can transmit process flow-control information reliably in time.Avoid when data channel flow is large, flow-control information cannot transmit the problem then cannot carrying out Flow Control at interface two ends, achieve the fast transport of flow-control information.
Preferably, the first-class control information of catching first interface comprises: the passage flow-control information of catching described SPI4 interface, and wherein, described flow-control information carries the channel information of described SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation; Catch the passage flow-control information of described CSIX interface, wherein, described flow-control information carries the channel information of described CSIX interface and carries out the information of Flow Control or releasing flow-control operation.
Preferably, first-class control information is converted to the second Flow Control packets of information with the form that the second interface of being connected with first interface is supported to draw together: be SPI4 interface at first interface, when second interface is CSIX interface, convert the back-pressure signal of SPI4 interface flow control frames corresponding to CSIX interface to, be used to indicate and carry out flow-control operation; Be SPI4 interface at first interface, when the second interface is CSIX interface, converts the back-pressure ring off signal of SPI4 interface flow control frames corresponding to CSIX interface to, be used to indicate and carry out releasing flow-control operation; Be SPI4 interface at first interface, when the second interface is CSIX interface, the flow control frames of CSIX interface converted to back-pressure signal corresponding to SPI4 interface or back-pressure ring off signal.
Preferably, carry out control according to the second flow-control information to the second interface to comprise: carry out back-pressure operation according to back-pressure signal to SPI4 interface; According to back-pressure ring off signal, back-pressure is carried out to SPI4 interface and remove operation; According to flow control frames, Flow Control or releasing flow-control operation are carried out to CSIX interface.
Preferably, the corresponding each switching node of SPI4 interface distributes independently SPI4 passage, and the flow-control information of CSIX interface corresponding ports is directly converted to the flow-control information of SPI4 interface corresponding states passage by interface switching device, directly to SPI4 back-pressure; The flow-control information of corresponding SPI4 stator channel is converted to the flow control frames of CSIX interface corresponding ports, sends to exchange chip; SPI4 sending module gives each SPI4 channel allocation transmit queue, when making respective channel back-pressure can buffer memory message in transmit queue; Interface switching device SPI4 receiver module for each SPI4 channel setting buffer area, independence buffer memory when making the data receiving different SPI4 passage, non-interference.If interface switching device both sides are all SPI4 interfaces, directly both sides SPI4 Interface status channel information is transmitted, realize flow-control information fast and propagate.
In correlation technique, interface switching device is in order to saving resource, same asset is all utilized to process to all data channel, the buffer memory of each passage is all public, and cause passage (port) flow-control information of interface both sides to be lost, be easy to the whole resources occupying interface switching device because passage large discharge is congested, cause a stifled complete stifled problem.The preferred embodiment, by arranging independent buffer area, avoids flow-control information and loses.
Figure 10 is converted to SPI4 interface flow-control information flow chart according to the CSIX interface flow-control information of the embodiment of the present invention, and the method comprises:
Step S1001, interface conversion unit CSIX interface CSIX flow control frames;
Step S1002, carries out flow control frames parsing;
Step S1003, CSIX Flow Control trapping module obtains CSIX flow-control information, and comprise the SPI4 port numbers that source node is corresponding, judgement is CSIX flow control frames, and CSIX removes flow control frames;
Step S1004, is converted to SPI4 Flow Control back-pressure by flow control frames;
Step S1005, to corresponding SPI4 passage back-pressure;
Step S1006, is converted to SPI4 interface and removes Flow Control back-pressure by flow control frames;
Step S1007, removes back-pressure to corresponding SPI4 passage.
By this embodiment, when data, from SPI4 to CSIX, direction sends, when Flow Control is removed in the congested generation Flow Control of CSIX interface flow or flow decline, CSIX interface Flow Control is captured, judge whether Flow Control/releasing Flow Control, if CSIX flow control frames, by Flow Control modular converter, convert it to the back-pressure signal of SPI4 interface respective channel, to SPI4 interface back-pressure; If CSIX Flow Control removes the SPI4 back-pressure ring off signal that frame converts it to respective channel, send to SPI4 interface; If CSIX link level flow-control information, then to all passage back-pressures of SPI4.
Figure 11 is converted to CSIX interface flow-control information flow chart according to the SPI4 interface flow-control information of the embodiment of the present invention, and the method comprises:
Step S1101, SPI4 interface respective channel produces Flow Control;
Step S1102, interface modular converter SPI4 interface catches Flow Control state information;
Step S1103, obtains SPI4 channel number, can know corresponding transmitting terminal CSIX port, judge that SPI4 back-pressure still removes back-pressure?
Step S1104, is converted to CSIX flow control frames by Flow Control state information;
Step S1105, sends this flow control frames to corresponding CSIX port;
Step S1106, is converted to CSIX Flow Control and removes frame by Flow Control state information;
Step S1107, sends this flow control frames to corresponding CSIX port.
By this embodiment, when data, from CSIX to SPI4, direction sends, when SPI4 interface respective channel flow congestion produces Flow Control or flow decline releasing Flow Control, SPI4 interface Flow Control is captured, judge whether Flow Control/releasing Flow Control, if SPI4 Flow Control back-pressure, by Flow Control modular converter, convert it to the flow control frames of CSIX interface corresponding ports, send to CSIX interface; If the CSIX Flow Control that the ring off signal of SPI4 Flow Control back-pressure then converts it to corresponding ports removes frame, send to CSIX interface.
The present invention can also be used for flow-control information transmission between SPI4 interface, and Figure 12 is converted to SPI4 interface flow-control information flow chart according to the SPI4 interface flow-control information of the embodiment of the present invention, and the method comprises:
Step S120I, SPI4 interface respective channel produces Flow Control;
Step S1202, interface modular converter SPI4 interface catches Flow Control state information;
Step S1203, obtains SPI4 channel number, can know corresponding transmitting terminal CSIX port, judge that SPI4 back-pressure still removes back-pressure?
Step S1204, is converted to opposite side SPI4 passage Flow Control back-pressure;
Step S1205, carries out back-pressure operation to corresponding SPI4 passage;
Step S1206, is converted to opposite side SPI4 passage and removes Flow Control back-pressure;
Step S1207, carries out releasing back-pressure to corresponding SPI4 passage.
By this embodiment, first catch the flow-control information of interface one wing passage, according to passage corresponding relation, be converted to the flow-control information of opposite side interface channel, realize the transparent transmission of flow-control information, achieve the transmission of SPI4 interface and SPI4 interface flow-control information.
Pass through the present invention, by increasing interface Flow Control state capture module, Flow Control modular converter and Flow Control control module in interface switching device, avoid Flow Control vibration and cause flow-control information frequently, when particularly flowing full amount is run, a large amount of Flow Control message can be produced, serious consumption interface switching device process resource, affects the process to normal flow, achieves the fast transport of flow-control information.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. an interface switching device, is characterized in that, comprising:
Flow Control state capture module, for catching the first-class control information of first interface;
Flow Control modular converter, for converting second flow-control information with the form that the second interface of being connected with described first interface is supported to by described first-class control information;
Flow Control control module, for controlling described second interface according to described second flow-control information, wherein, described first interface is SPI4 interface, and described second interface is public Fabric Interface specification CSIX interface; Or
Described first interface is described CSIX interface, and described second interface is described SPI4 interface,
Described Flow Control modular converter comprises:
First modular converter, for being described SPI4 interface at described first interface, when described second interface is described CSIX interface, converts flow control frames corresponding to described CSIX interface to, being used to indicate and carrying out flow-control operation by the back-pressure signal of described SPI4 interface;
Second modular converter, for being described SPI4 interface at described first interface, when described second interface is described CSIX interface, the back-pressure ring off signal of described SPI4 interface is converted to flow control frames corresponding to described CSIX interface, be used to indicate releasing flow-control operation.
2. interface switching device according to claim 1, is characterized in that, described Flow Control modular converter comprises:
3rd modular converter, for being described CSIX interface at described first interface, when described second interface is described SPI4 interface, for converting the flow control frames of described CSIX interface back-pressure signal corresponding to described SPI4 interface to;
4th modular converter, for being described CSIX interface at described first interface, when described second interface is described SPI4 interface, for converting the flow control frames of described CSIX interface back-pressure ring off signal corresponding to described SPI4 interface to.
3. interface switching device according to claim 1, is characterized in that, described Flow Control state capture module comprises:
SPI4 interface Flow Control state capture module, for catching the passage flow-control information of described SPI4 interface, wherein, described flow-control information carries the channel information of described SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation;
CSIX interface Flow Control state capture module, for catching the flow control frames of described CSIX interface, wherein, described flow control frames carries the channel information of described CSIX interface and carries out the information of Flow Control or releasing flow-control operation.
4. interface switching device according to claim 1, is characterized in that, described Flow Control control module comprises:
SPI4 control module, for carrying out back-pressure or back-pressure releasing operation to described SPI4 interface;
CSIX control module, for carrying out Flow Control or removing flow-control operation to described CSIX interface.
5. a stream control implementing method, is characterized in that, comprising:
Catch the first-class control information of first interface;
Described first-class control information is converted to second flow-control information with the form that the second interface of being connected with described first interface is supported;
According to described second flow-control information, described second interface is controlled, wherein, described first-class control information is converted to the second Flow Control packets of information with the form that the second interface of being connected with described first interface is supported and draw together:
Be SPI4 interface at described first interface, when described second interface is CSIX interface, the back-pressure signal of described SPI4 interface is converted to flow control frames corresponding to described CSIX interface, be used to indicate and carry out flow-control operation;
Be described SPI4 interface at described first interface, when described second interface is described CSIX interface, the back-pressure ring off signal of described SPI4 interface is converted to described flow control frames corresponding to described CSIX interface, be used to indicate and carry out releasing flow-control operation;
Be described CSIX interface at described first interface, when described second interface is described SPI4 interface, the flow control frames of described CSIX interface converted to back-pressure signal corresponding to described SPI4 interface or back-pressure ring off signal.
6. method according to claim 5, is characterized in that, the first-class control information of catching first interface comprises:
Catch the passage flow-control information of SPI4 interface, wherein, described flow-control information carries the channel information of described SPI4 interface and carries out the information of back-pressure or back-pressure releasing operation;
Catch the passage flow-control information of CSIX interface, wherein, described flow-control information carries the channel information of described CSIX interface and carries out the information of Flow Control or releasing flow-control operation.
7. method according to claim 5, is characterized in that, carries out control comprise according to described second flow-control information to described second interface:
According to described back-pressure signal, back-pressure operation is carried out to described SPI4 interface;
According to described back-pressure ring off signal, back-pressure is carried out to described SPI4 interface and remove operation;
According to described flow control frames, Flow Control or releasing flow-control operation are carried out to described CSIX interface.
CN201010196613.9A 2010-05-31 2010-05-31 Interface conversion device and stream control implementing method Expired - Fee Related CN101854402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010196613.9A CN101854402B (en) 2010-05-31 2010-05-31 Interface conversion device and stream control implementing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010196613.9A CN101854402B (en) 2010-05-31 2010-05-31 Interface conversion device and stream control implementing method

Publications (2)

Publication Number Publication Date
CN101854402A CN101854402A (en) 2010-10-06
CN101854402B true CN101854402B (en) 2015-05-20

Family

ID=42805665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010196613.9A Expired - Fee Related CN101854402B (en) 2010-05-31 2010-05-31 Interface conversion device and stream control implementing method

Country Status (1)

Country Link
CN (1) CN101854402B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763204B (en) * 2013-12-31 2017-03-08 华为技术有限公司 A kind of flow control methods and device
CN108243116B (en) * 2016-12-23 2021-09-14 华为技术有限公司 Flow control method and switching equipment
CN108259362B (en) 2016-12-29 2021-07-27 中兴通讯股份有限公司 Flow control method, device, CU and DU

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119379A (en) * 2007-09-07 2008-02-06 中兴通讯股份有限公司 Method and apparatus for implementing mutual communication of processor and switching chip

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973030B2 (en) * 2001-06-20 2005-12-06 Motorola, Inc. Method and apparatus for controlling multiple logical data flow in a variable data rate environment
US7573876B2 (en) * 2002-12-05 2009-08-11 Intel Corporation Interconnecting network processors with heterogeneous fabrics
CN100518140C (en) * 2005-06-15 2009-07-22 华为技术有限公司 SPI4II interface remote transmission realizing method and apparatus
CN101018205A (en) * 2007-02-14 2007-08-15 杭州华为三康技术有限公司 A traffic control method and communication device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119379A (en) * 2007-09-07 2008-02-06 中兴通讯股份有限公司 Method and apparatus for implementing mutual communication of processor and switching chip

Also Published As

Publication number Publication date
CN101854402A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
KR101474186B1 (en) Condensed core-energy-efficient architecture for wan ip backbones
TWI227080B (en) Network switch providing congestion control and method thereof
CN101299721B (en) Method for switching message of switching network, and switching device
EP1891778A1 (en) Electronic device and method of communication resource allocation.
CN1937782B (en) Frame device and its message transmitting method
CN102111327A (en) Method and system for cell dispatching
CN101854402B (en) Interface conversion device and stream control implementing method
CN1980189A (en) Communication business buffer isolation and control
CN101656893B (en) Multi-stage switching network
CN100512225C (en) Device and method for realizing fluid control information transfer
Ichikawa et al. High-speed packet switching systems for multimedia communications
CN100571219C (en) A kind of load balancing router and the equipment, the method that realize load balancing
CN1889396B (en) Apparatus, System and method for realizing optical monitoring channel information transmission
JP2008211569A (en) Frame transfer device
JP2003018162A (en) Maintenance control system and maintenance control method
CN101895465B (en) Airborne network with distributed switching and information communication method under same
JP2007325178A (en) Packet processing system, packet processing method and program
CN1791097B (en) Control method of RPF protocol applied in optical burst switching ring network based on WDM
CN101277546B (en) RPU control protocol for light synthetic switch OIS network application supporting WiNAX multi-service transmission
JP2845217B2 (en) Distributed switching system
JP3277924B2 (en) Exchange system
Bohm The DTM protocol: Design and Implementation
JP2785147B2 (en) Restriction method for each route
JP3266839B2 (en) Exchange system
CN1671216B (en) Biplane system using dual-transmitting selective-receiving circuit

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150520

Termination date: 20170531