Frame Control Method And Exchanger And Network Framework
Technical field
The present invention is relevant for a kind of Frame Control Method And Exchanger And Network Framework, particularly relevant for a kind of frame management method that is applied in the network connections device (as interchanger), control frame required during by the running of arrangement network connections device makes the operational paradigm of network connections device be improved to suitably formation.
Background technology
Rise and fast development along with the popularizing of personal computer, the Internet, there are increasing trend in the individual and the group that have many computers or information electronic product, in order to share the resource that has each other, network communication has become a kind of convenience and universal approach.Yet, in numerous networks that interlink, be that hardware or the network architecture, kenel etc. all have multiple different agreement and standard, so when a plurality of networks are combined together to form the Internet that interlinks, just need suitable network connections device.
Network connections device commonly used at present generally has: hub, bridger, interchanger and router etc.Because hub and bridger lack the function of filtering frames, and the cost of router is also higher relatively, so when network connected, interchanger just became a kind of network connections device of a large amount of uses gradually.
In network connections devices such as interchanger, each connectivity port all has certain corresponding stored district, and generally these memory blocks are first in first out (First In First Out; FIFO) formation (Queue) or fifo buffer (Buffer).Transmit, receive at interchanger or when changeing the running that passes frame, frame will temporarily be stored in these fifo queues.
Please refer to Fig. 1, it illustrates the frame processing schematic diagram into known interchanger inside.When frame 30 after connectivity port 20 enters interchanger 10, interchanger 10 will carry out filtering frames and handle 40, reach frame 30 designated destinations so as to checking whether this frame 30 can change via other connectivity port of interchanger 10.After filtering frames processing 40, when obtaining confirming as the frame that can change biography, frame 30 passes through frame allocation process 50 again, designated destination according to this frame 30, and the data type of this frame 30 (as control frame, audio frame or frame of video etc.), the configuration and setting that cooperates interchanger 10 inside again distributes frame and is temporary in the connectivity port 70 pairing fifo queues 80 that change biography, and last frame 30 transmits 60 by frame and 70 sends out through the connectivity port in regular turn on time.
In network communication, except Frame constantly transmitting, control frame also constantly transmits mutually between each network equipment and network connections device, with the both sides' (as point-to-point network communication) that confirm network communication or the delivery status between (as the network communication of broadcasting) in many ways, thereby constantly adjust, make the transmission of Frame or reception more freely suitable, quick and accurate.Therefore, can control frame on time and correctly transmitted between each network equipment and network connections device and receive, and all can produce many influences to the operating efficiency of network and the service quality of communication.
When network is not busy, because data traffic is little, the fifo queue and the underload of network connections such as interchanger or router device inside, so can be according to the information that frame comprised that receives (as data kenel, processing grade and the destination etc. of frame), frame is dispensed to the pairing fifo queue in suitable connectivity port calmly, is passed on away so as to waiting for.And the required control frame of network running also can effectively be dispensed to fifo queue to transmit, receive or handle with wait, so network is able to smooth suitable running.
Yet, busy and flow is got over when frequent when network, the number of frames that interchanger need be handled also greatly increases, the fifo queue of interchanger inside is very fast promptly fully loaded, though the transmission of the control frame that the network running is required, receive or handle, can be set to and have precedence over other Frame, but because fifo queue is fully loaded or approaching fully loaded, make control frame need wait until the frame that comes the place ahead handle and transmit/after receiving, just can obtain transmitting, receive or handle, causing between network equipment and the network connections device can't normal transmission and receive control signal, network connections device thereby can not get on time and correct control frame, the service quality of network just is affected and descends.
Summary of the invention
In view of the aforementioned technical background, because network connections device required control frame of when running, when transmitting and receive, normal frame with other data kenel mixes in the fifo buffer that is temporary in the network connections device, so incured loss through delay transmission, reception or the processing of control frame, the network connections device can not get on time and correct control frame, network service quality thereby be affected.
Purpose of the present invention is for providing a kind of Frame Control Method And Exchanger And Network Framework, particularly relevant for a kind of frame management method that is applied in the network connections device (as interchanger), the fifo queue that required control frame has higher processing grade to the network connections device when arranging the running of network connections device, make the processing of control frame be had precedence over the frame of other data kenel, thereby the network connections device can reach transmission control frame correctly on time, fails the problem that transmits on time, receive or handle so as to solving known control frame.
According to the above purpose, the invention provides a kind of Frame Control Method And Exchanger And Network Framework, this frame management method includes: the fifo queue in the setting network hookup mechanism in several fifo queues has higher processing grade, and all the other fifo queues have lower reason grade; And distribute control frame to fifo queue with higher processing grade, wherein this control frame is network connections required control signal when being installed on running, and by external or in be built in this network connections device control device exported.
The present invention also provides a kind of interchanger of application of frame management method, comprises at least: several connectivity ports; Several FIFO buffering groups, each FIFO buffering group comprises several fifo queues, and each FIFO buffering group correspond respectively to several connectivity ports one of them, and the fifo queue in several fifo queues has higher processing grade, all the other fifo queues then have lower reason grade; An and distributor, this distributor is in order to distribute a control frame to the fifo queue with higher processing grade, this control frame required control signal that is interchanger when running wherein, and this control signal can be exported by an interior control device that is built in interchanger, or exported by a control device that is external in interchanger, by network connections control frame is sent into interchanger.
In addition, the present invention also provides a kind of network architecture of application of frame management method, comprises at least: the first network connections device; The second network connections device, this second network connections device has one first connectivity port and one second connectivity port at least, first connectivity port network connections to the first network connections device wherein, and this first connectivity port has the first buffering group, the processing grade of one first fifo queue among the first buffering group, be set at the processing grade that is higher than other first fifo queue among the first buffering group, and second connectivity port has one second buffering group, the processing grade of one second fifo queue among the second buffering group also is set at the processing grade that is higher than other second fifo queue among the second buffering group; And control device, this control device output control frame is to control this first network connections device, wherein this control frame is temporary in the first buffering group's first fifo queue, and first connectivity port via the second network connections device is sent to the first network connections device, wherein this control frame is that first network connections is installed on a control signal required when operating, and this control signal can be exported by the interior control device that is built in the first network connections device, or is exported by the control device that is external in the first network connections device.By utilizing Frame Control Method And Exchanger And Network Framework of the present invention, can allow the control frame between the network connections device be able to priority treatment and transmission, the commentaries on classics of reduction control frame passes or receives to certainly the delay between the transmission, and then improves the service quality that network provides.
Description of drawings
Fig. 1 is that the frame of known interchanger inside is handled schematic diagram;
Fig. 2 utilizes interchanger of one embodiment of the invention and frame interior thereof to handle schematic diagram;
Fig. 3 is for using the network architecture schematic diagram of one embodiment of the invention.
10: interchanger 20: connectivity port
30: frame 40: filtering frames is handled
50: frame allocation process 60: frame transmits
70: connectivity port 80:FIFO formation
100: interchanger 102: frame
104: connectivity port 106:FIFO cushions the group
108:FIFO formation 110:FIFO formation
112: connectivity port 114:FIFO cushions the group
116:FIFO formation 118:FIFO formation
120: filtering frames handles 122: judgment processing
124: distributor 200: network
202: network connections device 204: connectivity port
206: network connections device 208: connectivity port
210: connectivity port 212: control device
214: control frame 216: control frame
Embodiment
Please refer to Fig. 2, it is to utilize interchanger of one embodiment of the invention and the schematic diagram that frame interior is handled thereof.Interchanger 100 among Fig. 2 has a plurality of connectivity ports, and in order to connecting numerous network equipments and network connections device, and all there is corresponding FIFO buffering group (Buffer Group) each connectivity port, in order to the frame of temporary output or input.In addition, in FIFO buffering group corresponding to each connectivity port, there is a fifo queue to be set to and has higher processing grade, all the other fifo queues then are set to has lower reason grade, just be temporarily stored in the frame in the fifo queue with higher processing grade, will be than the frame of the fifo queue that is temporary in lower reason grade by priority treatment.In addition, distributor 124 is dispensed to suitable fifo queue according to the configuration and setting in the interchanger 100 with each frame of importing interchanger 100.
So according to frame management method of the present invention, when frame 102 during from link 104 input, interchanger 100 is carried out filtering frames earlier and handled 120, check whether frame 102 can change via other connectivity port of interchanger 100 reach the frame designated destination.After filtering frames processing 120, carry out judgment processing 122 again, judge whether this frame 102 is control frame, if this frame 102 is a control frame, then this frame 102 is temporary among the FIFO buffering group 106 and has in the fifo queue 108 of higher processing grade, wherein FIFO buffering group 106 is corresponding to connectivity port 104.If this frame 102 is not control frame, then this frame 102 is temporary among the FIFO buffering group 106 in other the fifo queue 110.
Because the fifo queue 108 in the FIFO buffering group 106 has higher processing grade, and 110 of other fifo queues have lower reason grade, so being temporarily stored in very fast just the obtaining of the frame 102 of this fifo queue 108 handles, interchanger 100 can be according to the information (as data kenel, processing grade and the destination etc. of frame) that frame 102 comprised, suitably distribute the fifo queue 116 that has higher processing grade among frame 102 to the FIFO buffering groups 114, wherein FIFO buffering group 114 corresponding connectivity ports 112.According to the FIFO rule, frame 102 just can promptly be sent out via connectivity port 112 then.In addition, other fifo queue 118 among the FIFO buffering group 114 is in order to other frame of temporary non-control frame.Therefore, by frame management method of the present invention, control frame between network equipment and the network connections device (as interchanger etc.), when transmitting, receiving and changeing biography, be able to distinguish, and be temporary in the fifo queue with higher processing grade, transmit and receive so can have precedence over other frame from the frame of other data kenel, make that communication and control between network equipment and the network connections device are more accurate, thereby improve the service quality that network provides.
In addition, the present invention also provides the network architecture of application of frame management method, please refer to Fig. 3, and it is for using the network architecture schematic diagram of one embodiment of the invention.Under the network architecture of Fig. 3, network 200 is by the connectivity port 204 of network connections device 202 and the connectivity port 208 of network connections device 206, network connections device 202 is connected with network connections device 206, and the connectivity port 210 of network connections device 202 then is connected with control device 212.This control device 212 is in order to Control Network hookup mechanism 206, and carries out the required control frame of control operation, and transmits by network connections device 202 and network 200.
When control frame 214 sends network connections device 206 to by control device 212, control frame 214 has in the fifo queue of higher processing grade being temporary in earlier in the FIFO buffering group of connectivity port 210, more in regular turn on time through the connectivity port 204 and network 200 be sent to network connections device 206.Then, after the filtering frames processing and judgment processing of control frame 214 through network connections device 206, the fifo queue that has higher processing grade among the FIFO buffering group of connectivity port 208 will be planned as in order to temporary control frame 214, and last network connections device 206 is handled this control frame 214 in regular turn.
In like manner, when control frame 216 sends control device 212 to by network connections device 206, control frame 216 is handled in the fifo queue of grade higher (as higher processing grade) being temporary in earlier among the FIFO buffering group of connectivity port 208, more in regular turn on time through the connectivity port 208 and network 200 be sent to network connections device 202.Then, after the filtering frames processing and judgment processing of control frame 216 through network connections device 202, the fifo queue that has higher processing grade among the FIFO buffering group of connectivity port 204 will be planned as in order to temporary control frame 216.Then unloading has in the fifo queue of higher processing grade to connectivity port 210 again, and last network connections device 202 is sent to control device 212 with this control frame 216 in regular turn.
Advantage of the present invention is for providing a kind of frame management method and interchanger thereof and network rack Structure, according to frame management method of the present invention, the control frame that the running of network connections device is required, Before the network connections device transmits or after the reception of network connections device, all kept in to having In the high formation of processing grade, with the processing of the frame that obtains to have precedence over other data kenel, because of This can reduce, and turning to of control frame passes or the certainly extremely delay between the transmission of reception, and then improves network The service quality that provides.