CN100525248C - Flow control realizing method based on physical layer multiplex - Google Patents
Flow control realizing method based on physical layer multiplex Download PDFInfo
- Publication number
- CN100525248C CN100525248C CNB2006100020373A CN200610002037A CN100525248C CN 100525248 C CN100525248 C CN 100525248C CN B2006100020373 A CNB2006100020373 A CN B2006100020373A CN 200610002037 A CN200610002037 A CN 200610002037A CN 100525248 C CN100525248 C CN 100525248C
- Authority
- CN
- China
- Prior art keywords
- flow control
- label
- physical
- chip
- control frame
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Said physical layer multiplexing comprises a MAC layer relay chip and a multilevel physical layer multiplexing chip. The method thereof comprises: the MAC layer relay chip adds a physical port label in the stream control frame generated for the physical port by itself; said physical port label corresponds to the physical port one-to-one; according to the physical port label, the stream control frame is relayed in downlink to the physical port. By the invention the MAC layer relay chip can generated and sends out the stream control frame aimed at each physical layer.
Description
Technical field
The present invention relates to the link-level flow control method in network and communications field, relate in particular to flow control implementation method based on physical layer multiplex.
Background technology
When two physical ports of the network equipment connected, each physical port all received business data frame from the other side, and according to the destination address and the service feature of reception business data frame, will transmit and handle this business data frame.
The network equipment is used for cushioning the business data frame that this physical port receives for each physical port is provided with the reception formation.Yet,, receive formation and overflow the business data frame that the back receives and can be dropped if the transmission rate of opposite end is higher than the forwarding rate of this physical port all the time in a period of time.
The link layer flow control solves this problem by the Flow Control frame.When the business data frame in certain physical port reception formation surpassed the Flow Control notification threshold, the network equipment promptly sent a Flow Control notification frame with agreement form to the opposite end, and indication the other side suspends transmission.Flow Control notification frame with Ethernet is an example, and its form is as shown in the table:
Target MAC (Media Access Control) address | Source MAC | Type | Command code | The Flow Control time | Byte of padding | Check byte |
In the last table, target MAC (Media Access Control) address is fixed as 0x0180c2000001; Source MAC in the table is the MAC Address of this physical port; Type protocol is defined as 0x8808, and length is 2 bytes; The command code agreement is defined as 0x0001, and length is 2 bytes; The Flow Control time is used for informing the desired time-out transmitting time of this physical port of opposite end, and length is 2 bytes; Byte of padding length is 42 bytes, and the Flow Control frame is filled to minimum frame length 64 bytes of Ethernet, makes it normally send and to receive on Ethernet; Check byte is the check code of this Flow Control frame, and length is 4 bytes.
When the business data frame in this physical port reception formation was lower than Flow Control termination threshold value, the network equipment promptly sent the Flow Control abort frame to the opposite end, and then the opposite end begins to send business data frame.The Flow Control abort frame of Ethernet is identical with its Flow Control notification frame form, when the Flow Control time wherein, field was 0 value, is the Flow Control abort frame.
In having the network equipment of structure shown in Figure 1, the switching network chip is connected with 1 above MAC layer forwarding chip, and MAC layer forwarding chip is corresponding one by one with the standard physical layer chip with same interface rate, on each standard physical layer chip a physical port is arranged.
In the prior art, flow control realizes in MAC layer forwarding chip, implementation method is that each MAC layer forwarding chip is set up the reception formation for its corresponding physical port, and the Flow Control frame that generates is directly sent from the corresponding physical port, and understand the Flow Control frame that receives from the corresponding physical port and carry out according to aforementioned flow-control mechanism.
The applicant discloses a kind of network access equipment based on physical layer multiplex in application number is 200510109234.0 Chinese patent application, its structural representation sees also Fig. 2, the switching network chip is connected with MAC layer forwarding chip, MAC layer forwarding chip connects more than one physical layer multiplex chip, on each physical layer multiplex chip a plurality of physical ports are arranged, the physical layer multiplex chip with the service convergence of a plurality of low speed physical ports to high-speed interface that MAC layer forwarding chip is connected on, by MAC layer forwarding chip the business data frame that each low speed physical port receives is transmitted.
As seen, since based on MAC layer forwarding chip in the network equipment of physical layer multiplex corresponding to a plurality of physical ports, the Flow Control frame that generates according to consensus standard has identical target MAC (Media Access Control) address, can't arrive the corresponding physical port by MAC layer forwarding chip, MAC layer forwarding chip can't learn also the Flow Control frame of its reception is corresponding to which physical port simultaneously.
Summary of the invention
The purpose of this invention is to provide a kind of flow control implementation method, can solve the problem that MAC layer forwarding chip carries out flow control at each physical port behind the physical layer multiplex.
Physical layer multiplex among the present invention comprises medium access control system MAC layer forwarding chip and n level physical layer multiplexing chip, n is the integer more than or equal to 1, sets up the downstream interface of this chip and the corresponding relation of the physical port label of physical port that this downstream interface is connected on MAC layer forwarding chip and physical layer multiplex chips at different levels; Flow control implementation method based on physical layer multiplex of the present invention may further comprise the steps:
MAC layer forwarding chip adds the physical port label of this physical port in the Flow Control frame that generates for physical port, described physical port label is corresponding one by one with physical port;
According to the physical port label with descending this physical port that transfers of Flow Control frame.
Alternatively, described method also comprises: describedly according to the physical port label the descending forwarding of Flow Control frame is specially:
MAC layer forwarding chip is forwarded to the downstream interface corresponding with its physical port label with the Flow Control frame;
Physical layer multiplex chips at different levels are forwarded to the downstream interface of its physical port label correspondence with the Flow Control frame, until this physical port label corresponding physical port;
Described method also comprises before the Flow Control frame is transferred physical port: divest the physical port label in the Flow Control frame.
Preferably, described physical port label comprises MAC interface label, the 1st grade of multiplexing label of multiplexing label to the n level, and wherein MAC interface label is the downstream interface label of the MAC layer forwarding chip that be connected with this physical port; The multiplexing label of k level is the downstream interface label of the k level physical layer multiplexing chip that be connected with this physical port, wherein, and k 〉=1, and, k≤n;
Describedly the descending physical port that transfers of Flow Control frame is specially according to the physical port label:
MAC layer forwarding chip divests the MAC interface label in this Flow Control frame, and this Flow Control frame transferred the downstream interface of this MAC interface label correspondence;
Every level physical layer multiplexing chip divests the multiplexing label of k level in this Flow Control frame, and this Flow Control frame is transferred the downstream interface of the multiplexing label correspondence of this k level, until transferring physical interface; K is the multiplexing level at this physical layer multiplex chip place.
Preferably, described MAC interface label and the 1st grade of multiplexing label of multiplexing label to the n level are pressed MAC layer interface chip and the 1st grade of order of connection arrangement to n level physical layer multiplexing chip.
Preferably, described method also comprises: the Flow Control frame is transmitted and handled to MAC layer forwarding chip and physical layer multiplex chip at different levels with the priority that is higher than business data frame.
Preferably, described method also comprises: the Flow Control frame forwarded upstream that receives to MAC layer forwarding chip, and is added the physical port label of its physics inbound port for this Flow Control frame.
Another kind provided by the invention is based on the flow control implementation method of physical layer multiplex, described physical layer multiplex comprises medium access control system MAC layer forwarding chip and n level physical layer multiplexing chip, n is the integer more than or equal to 1, sets up the downstream interface of this chip and the corresponding relation of the physical port label of physical port that this downstream interface is connected on MAC layer forwarding chip and physical layer multiplex chips at different levels; Said method comprising the steps of:
Receive the Flow Control frame from physical port;
To MAC layer forwarding chip, and for this Flow Control frame adds the physical port label of its physics inbound port, described physical port label is corresponding one by one with physical port with the Flow Control frame forwarded upstream that receives.
Alternatively, describedly, the Flow Control frame that receives is specially for adding the physics ports tab and forward it to MAC layer forwarding chip:
Subordinate physical layer multiplex chip adds its physics inbound port corresponding physical ports tab for the Flow Control frame;
To add the Flow Control frame forwarded upstream of physical port label to MAC layer forwarding chip.
Preferably, described physical port label comprises MAC interface label, the 1st grade of multiplexing label of multiplexing label to the n level, and wherein MAC interface label is the downstream interface label of the MAC layer forwarding chip that be connected with this physical port; The multiplexing label of k level is the downstream interface label of the k level physical layer multiplexing chip that be connected with this physical port, wherein, and k 〉=1, and, k≤n;
Describedly, the Flow Control frame that receives is specially for adding the physics ports tab and forward it to MAC layer forwarding chip:
Every level physical layer multiplexing chip is the downstream interface label that this Flow Control frame adds the downstream interface that receives this Flow Control frame, as the multiplexing label of k level of this Flow Control frame, and this Flow Control frame of forwarded upstream; K is the multiplexing level at this physical layer multiplex chip place;
MAC layer forwarding chip is the downstream interface label that this Flow Control frame adds the downstream interface that receives this Flow Control frame, as the MAC interface label of this Flow Control frame.
Preferably, described MAC interface label and the 1st grade of multiplexing label of multiplexing label to the n level are pressed MAC layer interface chip and the 1st grade of order of connection arrangement to n level physical layer multiplexing chip.
Preferably, described method also comprises: the Flow Control frame is transmitted and handled to MAC layer forwarding chip and physical layer multiplex chip at different levels with the priority that is higher than business data frame.
The present invention is by adding and physical port corresponding physical ports tab in the Flow Control frame, according to the physical port label Flow Control frame is transferred the corresponding physical port by MAC layer forwarding chip and physical layer multiplex chip at different levels, thereby make MAC layer forwarding chip to generate and transmission Flow Control frame, realized physical port flow control based on physical layer multiplex at each physical port.
Description of drawings
The network equipment structural representation that Fig. 1 supports for existing flow control implementation method;
Fig. 2 is the structural representation based on the network equipment of physical layer multiplex;
Fig. 3 is the topology example figure of applied environment of the present invention;
Fig. 4 is the flow chart of the method for realization flow control of the present invention;
Fig. 5 is the flow chart of Flow Control frame transmitting-receiving process embodiment one among the present invention;
Fig. 6 is the flow chart of Flow Control frame transmitting-receiving process embodiment two among the present invention.
Embodiment
Can adopt the structure of multistage physical layer multiplex chip cascade based on the network equipment of physical layer multiplex.Be cascaded as example with 3 grades, its structure as shown in Figure 3.The downstream interface of a MAC layer forwarding chip is connected to a plurality of the 1st level physical layer multiplexing chip, the downstream interface of each the 1st level physical layer multiplexing chip is connected to a plurality of the 2nd level physical layer multiplexing chip, the downstream interface of each the 2nd level physical layer multiplexing chip is connected to a plurality of 3rd level physical layer multiplex chips, and the downstream interface of 3rd level physical layer multiplex chip is a plurality of physical ports.Be without loss of generality, if the present invention is applied to have the structure of n level physical layer multiplexing chip cascade, wherein n is the integer more than or equal to 1, multiplexing level is the k level physical layer multiplexing chip of the descending connection of MAC layer forwarding chip for the physical layer multiplex chip of k, and the downstream interface of n level physical layer multiplexing chip is a physical port.
According to seven layer protocol models of OSI (Open System Interconnection, open system interconnection), the flow control of physical layer is realized at link layer.Thereby in the present invention, MAC layer forwarding chip should be monitored the reception formation of its all physical ports that connect down, and generates the Flow Control frame for it when certain physical port need carry out flow control.In order to make the Flow Control frame send to the opposite end of carrying out the data service frame traffic with it from this physical port, to reach the purpose of carrying out flow control, MAC layer forwarding chip and the physical layer multiplex chips at different levels that connect down thereof need to judge the correct forward-path that generates the Flow Control frame in descending repeating process, make it can arrive the corresponding physical port.
Equally after certain physical port receives the Flow Control frame, in that forwarded upstream is to MAC layer forwarding chip step by step by the physical layer multiplex chip, which physical port MAC layer forwarding chip need identify this Flow Control frame from, so that this physical port is carried out flow control.
Identify the physical port related by in the Flow Control frame, adding the physics ports tab among the present invention with it, thereby all physical ports that connect under MAC layer forwarding chip should have different physical port labels, and physical port is corresponding one by one with the physical port label.
Among the present invention based on the flow process of the flow control implementation method of physical layer multiplex as shown in Figure 4.At step S410, MAC layer forwarding chip set up for each physical port and received formation.
At step S420, when certain physical port receives the shared memory space of business data frame in formation, when the length that promptly receives formation surpassed predetermined Flow Control notification threshold, MAC layer forwarding chip was this physical port generation Flow Control notification frame.
With identical in the prior art, MAC layer forwarding chip generates the Flow Control notification frame according to the communication protocol that adopts, in Ethernet, being the target MAC (Media Access Control) address of Flow Control notification frame with 0x0180c2000001 for example, is the source MAC of Flow Control notification frame with the MAC Address of this physical port.
A plurality of Flow Control notification thresholds can be set, corresponding to the Flow Control time different in the Flow Control notification frame.
At step S430, when the length of the physical port reception formation of sending the Flow Control notification frame was lower than predetermined Flow Control termination threshold value, MAC layer forwarding chip was that this physical port generates Flow Control abort frame.
If specified the Flow Control time in the Flow Control notification frame, then this step can be omitted.
At step S440, MAC layer forwarding chip adds the physical port sign of this physical port in the Flow Control frame of its generation.As previously mentioned, the physical port of each physical port is identified in all physical ports that MAC layer forwarding chip connected and has uniqueness.
At step S450, MAC layer forwarding chip and physical layer multiplex chip at different levels transfer this physical port according to the sign of the physical port in the Flow Control frame step by step with the Flow Control frame.This step is the descending repeating process of Flow Control frame.
At step S460, when certain physical port receives the Flow Control frame, this Flow Control frame forwarded upstream to MAC layer forwarding chip, and is added the physical port label of the physics inbound port of this Flow Control frame in repeating process.This step is the forwarded upstream process of Flow Control frame.
At step S470, MAC layer forwarding chip is after receiving the Flow Control frame, and the physical port label from this Flow Control frame is learnt the physical port that need carry out flow control, according to the instruction in the Flow Control frame this physical port is carried out corresponding flow control operation again.
In order to have better flow control effect, can make MAC layer forwarding chip and physical layer multiplex chip at different levels all the Flow Control frame be transmitted and handle with the priority that is higher than business data frame in the uplink and downlink direction.The physical layer multiplex chip internal is that upstream Interface is provided with buffer queue, can the dedicated buffering formation be set for the Flow Control frame, makes the dispatching priority of dedicated buffering formation be higher than the buffer queue that business data frame is used, and then can realize the preferential forwarding of Flow Control frame.
In this case, MAC layer forwarding chip and physical layer multiplex chip at different levels all need at first Flow Control frame and business data frame difference to be come, and the method for Flow Control frame and business data frame of distinguishing is determined according to the agreement that is adopted.With the Ethernet is example, can distinguish Flow Control frame and business data frame by two features, and the target MAC (Media Access Control) address of first Flow Control frame is fixed as 0x0180c2000001; It two is that the type of Flow Control frame is 0x8808.
Adopt method same as the prior art to generate the instruction that Flow Control frame, deciphering and execution receive the Flow Control frame among the present invention, with the compatibility of realization with prior art.
Step S410 carries out the process of Flow Control to the opposite end for generation Flow Control frame to step S450, and step S460 is the process that receives the Flow Control frame of opposite end and corresponding physical port is carried out Flow Control to step S470, these two processes can be applied to separately in the flow control methods, also can be in conjunction with being applied in the flow control methods.
When adopting different physical port label set-up modes, the forwarded upstream of Flow Control frame is also different thereupon with descending repeating process.Below provide the embodiment of two kinds of Flow Control frame transmitting-receiving processes to describe.
In the embodiment one of Flow Control frame transmitting-receiving process, the physical port label remains constant in the transmitting-receiving process of Flow Control frame, and the flow process of embodiment one as shown in Figure 5.
At step S510, has the physical port label of one-to-one relationship with it for all physical port settings.Owing in up reception and descending process of transmitting, all will use the physical port label, thereby the corresponding relation of each physical port and its physical port label need be set, and the physical port label of this physical port is set on each physical port of subordinate physical layer multiplex chip on MAC layer forwarding chip.
At step S520, setting up its downstream interface and the corresponding relation that is connected to the physical port label of the physical port on the MAC layer forwarding chip by this downstream interface on the MAC layer forwarding chip.The downstream interface of MAC layer forwarding chip connects the interface of the 1st level physical layer multiplexing chip for it.
Above-mentioned corresponding relation is mapped to all physical port labels on all downstream interfaces of MAC layer forwarding chip.After setting up such mapping relations, MAC layer forwarding chip by the physical port label of a physical port promptly know to one be the Flow Control frame of outbound port with this physical port, should this Flow Control frame be forwarded to the 1st level physical layer multiplexing chip from which downstream interface.
At step S530, setting up its downstream interface and the corresponding relation that is connected to the physical port label of the physical port on this physical layer multiplex chip by this downstream interface on each physical layer multiplex chip.The downstream interface of k level physical layer multiplexing chip is its interface that connects (k+1) level physical layer multiplexing chip, and wherein k is more than or equal to 1, less than the integer of n.
With similar among the step S520, above-mentioned corresponding relation is mapped to all physical port labels on all downstream interfaces of every level physical layer multiplexing chip.And on each physical layer multiplex chip, only keep the physical port sign of the part physical port that connects under this physical layer multiplex chip and the mapping relations of its downstream interface.To subordinate physical layer multiplex chip, these mapping relations are the corresponding relation of its physical port and its physical port sign.After setting up such mapping relations, each physical layer multiplex chip promptly knows which downstream interface this Flow Control frame should be forwarded to by the physical port label in the downlink flow control frame.
At step S540, when MAC layer forwarding chip generates the Flow Control frame for certain physical port, and after in this Flow Control frame, having added the physical port label of this physical port, MAC layer forwarding chip be according to the corresponding relation set up in step S520, and this Flow Control frame is forwarded to the 1st level physical layer multiplexing chip from the downstream interface corresponding with wherein physical port label.
At step S550, physical layer multiplex chips at different levels are to the Flow Control frame of descending forwarding, according to the corresponding relation of in step S530, setting up, this Flow Control frame is forwarded to and wherein the corresponding downstream interface of physical port label, until the physical port that is forwarded to subordinate physical layer multiplex chip.
At step S560, divest the physical port label in the downlink flow control frame.
At step S570, the Flow Control frame is transferred this physical port.Like this, the Flow Control frame that sends from the network equipment based on physical layer multiplex meets the consensus standard that is adopted, and can be adopted the normal identification of equipment and the execution of same agreement by other.
At step S580, after the physical port of subordinate physical layer multiplex chip receives the Flow Control frame, in this Flow Control frame, add the physical port label of its physics inbound port.
At step S590, begin by subordinate physical layer multiplex chip, the Flow Control frame that has added the physical port label by forwarded upstream step by step to MAC layer forwarding chip.
After MAC layer forwarding chip receives this Flow Control frame, according to the physical port label in the Flow Control frame, can learn which physical port this Flow Control frame derives from, promptly should control the flow of which physical port according to this Flow Control frame.
The flow process of present embodiment only relates to the forwarding of Flow Control frame, when combining with the flow control implementation method flow process of Fig. 4, to generating and sending the process of Flow Control frame, step S510 should carry out before step S420 to step S530, and step S540 to step S570 be the descending repeating process of Flow Control frame, corresponding to step S450; To receiving the Flow Control frame and carry out the process of Flow Control, step S510 should carry out before step S460 to step S530, and step S580 to step S590 be the forwarded upstream process of Flow Control frame, corresponding to step S460.
In the embodiment two of Flow Control frame transmitting-receiving process, the physical port label is made up of a plurality of parts, until the multiplexing label of n level, correspond respectively to the downstream interface label of each downstream interface on its place chip that MAC layer forwarding chip sends Flow Control frame required process of Flow Control frame to the process of this physical port comprising MAC interface label, the 1st grade of multiplexing label.The flow process of embodiment two as shown in Figure 6.
At step S610, on MAC layer forwarding chip, set up the one-to-one relationship of its downstream interface and its downstream interface label.The downstream interface label of MAC layer forwarding chip has uniqueness in all downstream interfaces of MAC layer forwarding chip.
At step S620, on each physical layer multiplex chip, set up the one-to-one relationship of its downstream interface and its downstream interface label.Similarly, the downstream interface label of each physical layer multiplex chip has uniqueness in all downstream interfaces of this physical layer multiplex chip.The downstream interface of subordinate physical layer multiplex chip is physical port.
In other words, the downstream interface label in step S610 and step S620 is unique on the chip at its downstream interface place only, and the downstream interface label on any two chips can be identical.Like this, the MAC interface label of any two physical ports has at least one to be different with the 1st grade to the multiplexing label of n level, thereby can guarantee that the physical port label of all physical ports that MAC layer forwarding chip connects is mutually different.
At step S630, when MAC layer forwarding chip generates the Flow Control frame for certain physical port, and after in this Flow Control frame, having added the physical port label of this physical port, MAC layer forwarding chip divests the MAC interface label in the physical port label in this Flow Control frame, and will divesting Flow Control frame behind the MAC interface label, to transfer with this MAC interface label be the downstream interface of downstream interface label.
At step S640, every grade of physical layer multiplex chip that receives the downlink flow control frame, divest in this Flow Control frame the multiplexing label of k level in the remainder physical port label, and will divesting Flow Control frame behind the multiplexing label of k level, to transfer with the multiplexing label of this k level be the downstream interface of downstream interface label, until the physical port that transfers subordinate physical layer multiplex chip; Wherein k is the multiplexing level of this physical layer multiplex chip.
At step S650, to the Flow Control frame that receives, every level physical layer multiplexing chip added the downstream interface label of downstream interface on this physical layer multiplex chip that receives this Flow Control frame in this Flow Control frame, as the multiplexing label of k level of this Flow Control frame, and with the Flow Control frame forwarded upstream behind the multiplexing label of interpolation k level; Wherein k is the multiplexing level of this physical layer multiplex chip.
At step S660, receive the up Flow Control frame of the 1st level physical layer multiplexing chip forwarding when MAC layer forwarding chip after, in this Flow Control frame, add the downstream interface label of downstream interface on MAC layer forwarding chip that receives this Flow Control frame, as the MAC interface label of this Flow Control frame.
Like this, MAC layer forwarding chip can learn according to physical port label complete in the Flow Control frame which physical port this Flow Control frame derives from, and promptly should control the flow of which physical port according to this Flow Control frame.
With identical among the embodiment one, the flow process of present embodiment only relates to the forwarding of Flow Control frame, when combining with the flow control implementation method flow process of Fig. 4, to generating and sending the process of Flow Control frame, step S610 should carry out before step S420 to step S620, and step S630 to step S640 be the descending repeating process of Flow Control frame, corresponding to step S450; To generating and sending the process of Flow Control frame, step S610 should carry out before step S460 to step S620, and step S650 to step S660 be the forwarded upstream process of Flow Control frame, corresponding to step S460.
As seen, in the present embodiment, before the descending forwarding that generates the Flow Control frame begins, is complete by MAC layer forwarding chip according to the physical port label that the physical port that carries out flow control adds, descending step by step forwarding along with this Flow Control frame, every grade transmit the chip of process divest the part physical port label relevant with this grade forwarding, before transferring physical port, divest whole physical port labels; The up repeating process step by step that receives the Flow Control frame is then opposite, each transmit the chip of process in the Flow Control frame, adds and the relevant part physical port label of this grade forwarding according to its incoming interface, form complete physical port label behind interpolation MAC interface label at last by it to MAC layer forwarding chip, MAC layer forwarding chip can be learnt the physical port that need carry out flow control according to this.
To MAC layer forwarding chip and physical layer multiplex chip at different levels, MAC interface label corresponding with it and the multiplexing label of this grade should be in fixing position in the Flow Control frame that arrives this grade chip, so that this grade chip can be discerned.For the purpose of convenient, MAC interface label, the 1st grade to the multiplexing label of n level can press MAC layer interface chip and the 1st grade of order of connection arrangement to n level physical layer multiplexing chip.
In the present invention, the position of physical port label in the Flow Control frame can be set by the user.For example, the physical port label can be added on the frame head of Flow Control frame before, to the Flow Control frame of VLAN (Virtual Local AreaNetwork, VLAN) label is arranged, can also be added in the vlan domain.
The present invention is by adding and physical port corresponding physical ports tab in the Flow Control frame, the pairing physical port of Flow Control frame under MAC layer forwarding chip and physical layer multiplex chip at different levels indication physical layer multiplexed situation, thereby make MAC layer forwarding chip to carry out the generation of Flow Control frame and to receive handling, realized physical port flow control based on physical layer multiplex at each physical port.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.
Claims (11)
1. flow control implementation method based on physical layer multiplex, described physical layer multiplex comprises medium access control system MAC layer forwarding chip and n level physical layer multiplexing chip, n is the integer more than or equal to 1, it is characterized in that, on MAC layer forwarding chip and physical layer multiplex chips at different levels, set up the downstream interface of this chip and the corresponding relation of the physical port label of physical port that this downstream interface is connected; Described flow control implementation method may further comprise the steps:
MAC layer forwarding chip adds the physical port label of this physical port in the Flow Control frame that generates for physical port, described physical port label is corresponding one by one with physical port;
According to the physical port label with descending this physical port that transfers of Flow Control frame.
2. according to claim 1 based on the flow control implementation method of physical layer multiplex, it is characterized in that, describedly the descending forwarding of Flow Control frame be specially according to the physical port label:
MAC layer forwarding chip is forwarded to the downstream interface corresponding with its physical port label with the Flow Control frame;
Physical layer multiplex chips at different levels are forwarded to the downstream interface of its physical port label correspondence with the Flow Control frame, until this physical port label corresponding physical port;
Described method also comprises before the Flow Control frame is transferred physical port: divest the physical port label in the Flow Control frame.
3. according to claim 1 based on the flow control implementation method of physical layer multiplex, it is characterized in that, described physical port label comprises MAC interface label, the 1st grade of multiplexing label of multiplexing label to the n level, and wherein MAC interface label is the downstream interface label of the MAC layer forwarding chip that be connected with this physical port; The multiplexing label of k level is the downstream interface label of the k level physical layer multiplexing chip that be connected with this physical port, wherein, and k 〉=1, and, k≤n;
Describedly the descending physical port that transfers of Flow Control frame is specially according to the physical port label:
MAC layer forwarding chip divests the MAC interface label in this Flow Control frame, and this Flow Control frame transferred the downstream interface of this MAC interface label correspondence;
Every level physical layer multiplexing chip divests the multiplexing label of k level in this Flow Control frame, and this Flow Control frame is transferred the downstream interface of the multiplexing label correspondence of this k level, until transferring physical interface; K is the multiplexing level at this physical layer multiplex chip place.
As described in the claim 3 based on the flow control implementation method of physical layer multiplex, it is characterized in that: MAC layer interface chip pressed by described MAC interface label and the 1st grade of multiplexing label of multiplexing label to the n level and the 1st grade of order of connection to n level physical layer multiplexing chip is arranged.
As described in any one of the claim 1 to 4 based on the flow control implementation method of physical layer multiplex, it is characterized in that described method also comprises: the Flow Control frame is transmitted and handled to MAC layer forwarding chip and physical layer multiplex chip at different levels with the priority that is higher than business data frame.
6. according to claim 1 based on the flow control implementation method of physical layer multiplex, it is characterized in that described method also comprises: the Flow Control frame forwarded upstream that receives to MAC layer forwarding chip, and is added the physical port label of its physics inbound port for this Flow Control frame.
7. flow control implementation method based on physical layer multiplex, described physical layer multiplex comprises medium access control system MAC layer forwarding chip and n level physical layer multiplexing chip, n is the integer more than or equal to 1, it is characterized in that, on MAC layer forwarding chip and physical layer multiplex chips at different levels, set up the downstream interface of this chip and the corresponding relation of the physical port label of physical port that this downstream interface is connected; Described flow control implementation method may further comprise the steps:
Receive the Flow Control frame from physical port;
To MAC layer forwarding chip, and for this Flow Control frame adds the physical port label of its physics inbound port, described physical port label is corresponding one by one with physical port with the Flow Control frame forwarded upstream that receives.
As described in the claim 7 based on the flow control implementation method of physical layer multiplex, it is characterized in that,
Describedly, the Flow Control frame that receives is specially for adding the physics ports tab and forward it to MAC layer forwarding chip:
Subordinate physical layer multiplex chip adds its physics inbound port corresponding physical ports tab for the Flow Control frame;
To add the Flow Control frame forwarded upstream of physical port label to MAC layer forwarding chip.
As described in the claim 7 based on the flow control implementation method of physical layer multiplex, it is characterized in that, described physical port label comprises MAC interface label, the 1st grade of multiplexing label of multiplexing label to the n level, and wherein MAC interface label is the downstream interface label of the MAC layer forwarding chip that be connected with this physical port; The multiplexing label of k level is the downstream interface label of the k level physical layer multiplexing chip that be connected with this physical port, wherein, and k 〉=1, and, k≤n;
Describedly, the Flow Control frame that receives is specially for adding the physics ports tab and forward it to MAC layer forwarding chip:
Every level physical layer multiplexing chip is the downstream interface label that this Flow Control frame adds the downstream interface that receives this Flow Control frame, as the multiplexing label of k level of this Flow Control frame, and this Flow Control frame of forwarded upstream; K is the multiplexing level at this physical layer multiplex chip place;
MAC layer forwarding chip is the downstream interface label that this Flow Control frame adds the downstream interface that receives this Flow Control frame, as the MAC interface label of this Flow Control frame.
As described in the claim 9 based on the flow control implementation method of physical layer multiplex, it is characterized in that: MAC layer interface chip pressed by described MAC interface label and the 1st grade of multiplexing label of multiplexing label to the n level and the 1st grade of order of connection to n level physical layer multiplexing chip is arranged.
11. as described in any one of the claim 7 to 10 based on the flow control implementation method of physical layer multiplex, it is characterized in that described method also comprises: the Flow Control frame is transmitted and handled to MAC layer forwarding chip and physical layer multiplex chip at different levels with the priority that is higher than business data frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100020373A CN100525248C (en) | 2006-01-20 | 2006-01-20 | Flow control realizing method based on physical layer multiplex |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100020373A CN100525248C (en) | 2006-01-20 | 2006-01-20 | Flow control realizing method based on physical layer multiplex |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101005438A CN101005438A (en) | 2007-07-25 |
CN100525248C true CN100525248C (en) | 2009-08-05 |
Family
ID=38704313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100020373A Active CN100525248C (en) | 2006-01-20 | 2006-01-20 | Flow control realizing method based on physical layer multiplex |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100525248C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873387A (en) * | 2014-03-11 | 2014-06-18 | 重庆邮电大学 | Industrial Ethernet-oriented deterministic communication scheduling method |
CN110912770B (en) * | 2019-11-13 | 2021-06-18 | 中国联合网络通信集团有限公司 | Method and device for calculating interface congestion time delay |
-
2006
- 2006-01-20 CN CNB2006100020373A patent/CN100525248C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101005438A (en) | 2007-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6254267B2 (en) | Reconfigurable and variable rate shared multitransponder architecture for flexible Ethernet based optical networks | |
CN109150361B (en) | Transmission network system, data exchange and transmission method, device and equipment | |
CN101277196B (en) | Communication system, communication method and cable fastener plate based on PCIE switching network | |
CN104092632B (en) | A kind of network equipment | |
CN110493132A (en) | A kind of satellite network variable-length label design method suitable for multi-service type | |
KR20040071304A (en) | Data transmission method for a multi-user, multipoint-to-multipoint digital data transmission system | |
CN100359827C (en) | Transmitting data using multi-frames | |
US8861529B2 (en) | Ethernet apparatus and method of adjusting transmission rate thereof | |
CN101202634B (en) | Single board improving data utilization ratio and system and method of data transmission | |
CN101072141B (en) | Ethernet accessing converting device, multiplexing gateway device and accessing converting method | |
CN100525248C (en) | Flow control realizing method based on physical layer multiplex | |
CN102388594A (en) | Method, device and system for data transmission | |
CN102238164B (en) | Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method | |
US20090129408A1 (en) | Method and apparatus for enabling transport of ethernet data over a serial digital interface transport service | |
CN101594640A (en) | User face data repeater system and method | |
JP3738385B2 (en) | Maintenance management system and maintenance management method | |
US9344372B2 (en) | Up-converter for ethernet physical layer | |
US8121563B1 (en) | Configurable patch panel system | |
US20210014344A1 (en) | Physical medium dependent layer bonding | |
CN101192901B (en) | Information interaction device and method for auxiliary device and auxiliary device maintenance terminal | |
US20140269259A1 (en) | Communication system for managing leased line network with wireless fallback | |
JP4962083B2 (en) | RPR node device, fairness control method, and RPR communication system | |
CN100542320C (en) | The data flow con-trol that is used for multi layer protocol stack | |
KR100768636B1 (en) | Signal transfer device and method of signal transfer exchange | |
JP5365417B2 (en) | Priority control device and network system using the same |
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 | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address |