CN101035082B - Unpacked message recombining method and interface board - Google Patents
Unpacked message recombining method and interface board Download PDFInfo
- Publication number
- CN101035082B CN101035082B CN2007100972465A CN200710097246A CN101035082B CN 101035082 B CN101035082 B CN 101035082B CN 2007100972465 A CN2007100972465 A CN 2007100972465A CN 200710097246 A CN200710097246 A CN 200710097246A CN 101035082 B CN101035082 B CN 101035082B
- Authority
- CN
- China
- Prior art keywords
- interface board
- burst
- reconstructing
- interface
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a fragment message reconstructing method, comprising: configuring the same reconstructing interface board selecting rules on each interface board of a receiver in advance, when an interface board of the receiver receives a fragment, the interface board determines all the interface boards that all the other fragments may reach, where these fragments belong to the same message, according to the reconstructing interface board selecting rules, selecting an interface board from the determined interface board as a reconstructing interface board, and sending the received fragment to the reconstructing interface board for reconstructing. And the invention discloses an interface board, comprising: fragment receiver module and reconstructing interface board determining module. And the invention makes fragments of different messages able to be dispersed to different interface boards for reconstructing, largely speeding up message reconstruction and reducing the burden on the master control board.
Description
Technical field
The present invention relates to technical field of data transmission, be specifically related to a kind of unpacked message recombining method and interface board.
Background technology
Fragment message is a very common message in Internet Protocol (IP) network.When message length surpasses interface maximum transmitting element, message be carried out send by interface again behind the burst; When message arrives destination address, be responsible for all bursts of message are put together by destination device, according to the side-play amount of fragment message, recombinate, revert to former state.
Under distributed environment, for the message that does not adopt the load balancing mode to transmit, message is concentrated in an interface and arrives destination device; And for the message that adopts the load balancing mode to transmit, then message may be dispersed in distinct interface and arrive destination device.
Distributed environment generally includes master control borad and two kinds of roles' of interface board veneer.Interface board is responsible for carrying out data communication with the outside; Master control borad is responsible for collecting control data, issues control information to interface board.When Fig. 1 has provided burst from an interface arrival destination device, carry out the schematic diagram of message reorganization, as shown in Figure 1, all bursts of a message: burst 1~4 all arrives destination device from interface board 1, then interface board 1 will send master control borad on the burst 1~4, by master control borad burst 1~4 is reassembled into complete message.Fig. 2 has provided burst when a plurality of interfaces arrive destination device, carry out the schematic diagram of message reorganization, as shown in Figure 2, all bursts of a message: burst 1~4 is respectively by two interface boards: interface board 1 and 2 arrives destination device, and wherein, burst 1 and 3 arrives destination device by interface board 1, burst 2 and 4 arrives destination device by interface board 2, equally, interface board 1 will send master control borad on burst 2 and 4 with burst 1 and 3, interface board 2, by master control borad burst 1~4 is reassembled into complete message.From Fig. 1 and Fig. 2 as can be seen: can correctly handle in order to guarantee the fragment message that arrives destination device, no matter fragment message is to arrive destination device from an interface, still arrive destination device by a plurality of interfaces, interface board all sends to master control borad with burst, carries out the message reorganization by master control borad and handles.
From the above mentioned, in the prior art, for all bursts of a message, no matter this burst is only to arrive destination device from an interface or from a plurality of interfaces, receives that the interface board of this burst all can be recombinated delivering to master control borad on the burst.Obviously, can increase the burden of master control borad like this, thereby make message reorganization speed reduce.
Summary of the invention
The invention provides a kind of unpacked message recombining method and interface board, to improve the reorganization speed of fragment message.
Technical scheme of the present invention is achieved in that
A kind of unpacked message recombining method disposes same reconstructing interface board selection principle in advance on each interface board of receiving equipment, comprising:
Interface board on the receiving equipment is received burst, determine to belong to the total interface plate that all bursts of same message may arrive with this burst, according to described reconstructing interface board selection principle, in determined interface board, select an interface board as reconstructing interface board, the burst of receiving is dealt on this reconstructing interface board recombinates.
Describedly determine that belonging to the total interface plate that all bursts of same message may arrive with this burst comprises: interface board is in the routing table that receiving equipment is preserved, search the route corresponding with the source IP address of self receiving burst, with the interface board of all outgoing interface information correspondences of this route, as belonging to the interface board that all bursts of same message may arrive with this burst.
Described reconstructing interface board selection principle is: with the interface board of plate minimum as reconstructing interface board,
Described interface board selects an interface board to comprise as reconstructing interface board in determined interface board: interface board is in determined interface board, and the interface board of option board minimum is as reconstructing interface board;
Perhaps, described reconstructing interface board selection principle is: with the interface board of load minimum as reconstructing interface board,
Described interface board selects an interface board to comprise as reconstructing interface board in determined interface board: the load information of each interface board that interface board is sent recently according to master control borad, in determined interface board, the interface board of selecting the load minimum is as reconstructing interface board;
Perhaps, described reconstructing interface board selection principle is: source IP address that burst is carried and/or purpose IP address and/or protocol number carry out Hash operation, with Hash operation as a result the interface board of correspondence as reconstructing interface board,
Described interface board selects an interface board to comprise as reconstructing interface board in determined interface board: interface board carries out Hash operation to the source IP address of burst and/or purpose IP address and/or protocol number, the Hash operation result is mapped on the interface board in the determined interface board, with this interface board as reconstructing interface board.
On described receiving equipment, dispose the corresponding relation of the recombination form information of burst routing information and burst support in advance,
Interface board on the described receiving equipment receives after the burst, further comprise before determining to belong to the total interface plate that all bursts of same message may arrive with this burst: receiving equipment is according to the described corresponding relation that self disposes, judge that the concentrated recombination form of this burst support still disperses recombination form, if support to concentrate recombination form, then burst is sent to master control borad and recombinate, process ends; If support dispersion recombination form, then definite and this burst belong to the total interface plate that all bursts of same message may arrive.
Described burst routing information is: the source IP address of burst and/or purpose IP address and/or protocol number.
Described receiving equipment is: the destination device that burst arrives, perhaps, transmit the forwarding unit of burst and virtual support burst reorganization.
A kind of interface board comprises:
Fragment receiver module after receiving burst, sends to reconstructing interface board determining module with burst information, and the reconstructing interface board sign according to reconstructing interface board determining module is sent sends to the corresponding interface board of this sign with burst;
Reconstructing interface board determining module, receive the burst information that fragment receiver module is sent, determine to belong to the total interface plate that all bursts of a message may arrive together with the corresponding burst of this burst information, according to pre-configured reconstructing interface board selection principle, in determined interface board, select an interface board as reconstructing interface board, this reconstructing interface board sign is sent to fragment receiver module.
Described reconstructing interface board determining module comprises:
Routing message searching module receives the source IP address that fragment receiver module is sent, and searches the route corresponding with this source IP address in the routing table of self preserving, and the outgoing interface information of this route is sent to reconstructing interface board select module,
Reconstructing interface board is selected module, receive the outgoing interface information that routing message searching module is sent, determine the interface board sign of this outgoing interface information correspondence, according to pre-configured reconstructing interface board selection principle, in described interface board sign corresponding interface plate, select an interface board as reconstructing interface board, this reconstructing interface board sign is sent to fragment receiver module;
And described fragment receiver module after receiving burst, sends to routing message searching module with the source IP address of burst.
Described interface board further comprises: the burst recombination module, receive the burst that the fragment receiver module of other interface board and self is sent, and to the processing of recombinating of all bursts,
And fragment receiver module sends to the burst recombination module with the burst that receives when detecting reconstructing interface board sign that reconstructing interface board selects module to send and be its own interfaces panel sign.
Described interface board further comprises: the recombination form configuration module, preserve the corresponding relation of the recombination form information of user configured burst routing information and burst support;
And described fragment receiver module is inquired about the recombination form that this burst is supported according to the routing information of this burst to the recombination form configuration module after receiving burst, support to concentrate recombination form if inquire, and then the burst of receiving is sent to master control borad; Support to disperse recombination form if inquire, then this burst information is sent to reconstructing interface board determining module.
Compared with prior art, on each interface board of receiving equipment, dispose same reconstructing interface board selection principle among the present invention in advance, after the interface board on the receiving equipment is received burst, determine to belong to the total interface plate that all bursts of same message may arrive with this burst, according to described reconstructing interface board selection principle, in determined interface board, select an interface board as reconstructing interface board, the burst of receiving is dealt on this reconstructing interface board recombinates, making the burst of different messages can be distributed on the distinct interface plate recombinates, accelerate message reorganization speed greatly, and alleviated the burden of master control borad.
Description of drawings
Fig. 1 is in the prior art, when burst arrives destination device from an interface, and the schematic diagram that carries out the message reorganization;
Fig. 2 is in the prior art, when burst arrives destination device from a plurality of interfaces, carries out the message reorganization
The flow chart that fragment message is recombinated that Fig. 3 provides for the embodiment of the invention one;
The flow chart that fragment message is recombinated that Fig. 4 provides for the embodiment of the invention two;
The structural representation of the interface board that carries out fragment message reorganization that Fig. 5 provides for the embodiment of the invention;
Reconstructing interface board in the interface board that Fig. 6 provides for the embodiment of the invention is selected the composition mode one of module;
Reconstructing interface board in the interface board that Fig. 7 provides for the embodiment of the invention is selected the composition mode two of module;
Fig. 8 is provided for the reconstructing interface board in the interface board that provides for the embodiment of the invention by the composition mode three of module;
Fig. 9 is in the embodiment of the invention, when burst arrives destination device from an interface, and the schematic diagram that carries out the message reorganization;
Figure 10 is in the embodiment of the invention, when burst arrives destination device from a plurality of interfaces, and the schematic diagram that carries out the message reorganization.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The flow chart that fragment message is recombinated that Fig. 3 provides for the embodiment of the invention one, as shown in Figure 3, its concrete steps are as follows:
Step 301: the same reconstructing interface board selection principle of configuration on each interface board of receiving equipment.
Reconstructing interface board selection principle can be: in may receiving the total interface plate of burst, with the interface board of plate minimum as reconstructing interface board; Perhaps, in may receiving the total interface plate of burst, as reconstructing interface board, at this moment, master control borad needs periodically the load information of total interface plate is sent to each interface board with the interface board of load minimum; Perhaps, source IP address and/or the purpose IP address and/or the protocol number etc. of burst are carried out Hash (hash) computing, in may receiving the total interface plate of burst, interface board that will be corresponding with the hash operation result is as reconstructing interface board.
Step 302: the interface board on the receiving equipment receives burst, in the routing table of self preserving, searches the corresponding route of source IP address of carrying with this burst.
Step 303: interface board judges whether lookup result is equal-cost route, if, execution in step 304; Otherwise, execution in step 308.
In the embodiment of the invention, equal-cost route refers to the route that has one or more from the source device to the receiving equipment, is called equal-cost route between these routes mutually; The non-equivalence route refers to and only have a route from the source device to the receiving equipment.
Step 304: interface board judges whether all outgoing interfaces of the equal-cost route that finds all are positioned on the interface board, if, execution in step 308; Otherwise, execution in step 305.
Preserve the corresponding relation of outgoing interface information and interface board number on each interface board, interface board is according to this corresponding relation, can determine whether all outgoing interfaces of the equal-cost route that finds are positioned on the interface board.
Step 305: interface board is according to pre-configured reconstructing interface board selection principle, in the interface board of all outgoing interface correspondences of the equal-cost route that finds, selects an interface board as reconstructing interface board.
When reconstructing interface board selection principle is: in may receiving the total interface plate of burst, with the interface board of plate minimum during as reconstructing interface board, the interface board that receives burst only needs in the interface board of all outgoing interface correspondences of the equal-cost route that finds, and the interface board of option board minimum gets final product as reconstructing interface board.
Distinguishingly, since receiving equipment with send the routing table of preserving on the source device of this burst or the middle forwarding unit may be inconsistent, the interface board that might cause receiving burst is not in the interface board of all outgoing interface correspondences of the equal-cost route that finds any one, at this moment, consider that other interface board on the receiving equipment can't learn that according to routing table described interface board can receive burst, therefore, all interface boards that receive burst will be benchmark with the interface board of determining according to equal-cost route still, determine reconstructing interface board.For example: establish preestablish the plate minimum interface board as reconstructing interface board, if a message comprises 4 bursts: burst 1~4, wherein: burst 1,3 arrives receiving equipment by interface board 1, burst 2,4 arrives receiving equipment by interface board 2, outgoing interface information on the receiving equipment in the equal-cost route corresponding with the source IP address of these 4 bursts is then indicated: the outgoing interface of the burst of this message is positioned on interface board 2 and 3, then the interface board of interface board 1 and 2 option board minimum in interface board 2 and 3: interface board 2 is as reconstructing interface board.
When reconstructing interface board selection principle is: in may receiving the total interface plate of burst, with the interface board of load minimum during as reconstructing interface board, the interface board that receives burst only need be according to the load information of up-to-date each interface board sent of master control borad, in the interface board of all outgoing interface correspondences of the equal-cost route that finds, the interface board of selecting the load minimum is as reconstructing interface board.
When reconstructing interface board selection principle is: source IP address and/or purpose IP address and/or protocol number etc. to burst carry out the hash computing, in may receiving the total interface plate of burst, interface board that will be corresponding with the hash operation result is during as reconstructing interface board, the interface board that receives burst only needs source IP address and/or the purpose IP address and/or the protocol number etc. of burst are carried out the hash computing, then the hash operation result is mapped on the interface board in the interface board of all outgoing interface correspondences of the equal-cost route that finds, with this interface board as reconstructing interface board.For example: the outgoing interface of establishing the equal-cost route that interface board finds according to the source IP address of burst is positioned at 3 interface boards: on the interface board 2~4, if the source IP address of this burst is 1.2.3.4, purpose IP address is 2.3.4.5, each interface board that then receives this burst carries out the hash computing to this source IP address and purpose IP address, hash=(1+2+3+4+2+3+4+5) %3=0, determine that then interface board 2 is a reconstructing interface board, wherein, a among the %a represents the interface board sum of the outgoing interface correspondence of the equal-cost route that finds.
Step 306: interface board sends to reconstructing interface board with the burst that receives.
If reconstructing interface board is self, then interface board need not to send burst.
Step 307: reconstructing interface board receives the burst that other interface board is sent, and according to the side-play amount in this burst and the burst self received, all bursts is recombinated, and this flow process finishes.
Because the reconstructing interface board selection principle that disposes on each interface board is identical, therefore, for same message, the determined reconstructing interface board of each interface board of different bursts that receives this message is with identical, guaranteed that reconstructing interface board will obtain all bursts of message, thereby made the message reorganization reliably to carry out.
After reconstructing interface board is finished the fragment message reorganization, the message after the reorganization is sent to upper layer entity handle.
Step 308: interface board determines self will receive all bursts of this message, and the burst that receives is recombinated.
Distinguishingly, when interface board judges that the route that the source IP address according to burst finds is the non-equivalence route, perhaps, the route that finds is that equal-cost route but all outgoing interfaces are when only being positioned on the interface board, if the interface board of outgoing interface correspondence that detects described non-equivalence route or described equal-cost route simultaneously when self not being same interface board, then sends to this burst on the interface board of outgoing interface correspondence of described non-equivalence route or described equal-cost route and recombinates.
In addition, in actual applications, when reconstructing interface board selection principle is: source IP address and/or purpose IP address and/or protocol number etc. to burst carry out Hash (hash) computing, in may receiving the total interface plate of burst, interface board that will be corresponding with the hash operation result is during as reconstructing interface board, after interface board receives burst, can not search the action of routing table, directly source IP address and/or purpose IP address and/or the protocol number etc. to burst carry out the hash computing, then this operation result is mapped on the interface board number, with this interface board corresponding interface plate as reconstructing interface board.For example: establish receiving equipment and have 4 interface boards: interface board 0~3, if the source IP address of the burst that interface board is received is: 1.2.3.4, then this source IP address is carried out hash computing: hash=(1+2+3+4) %4=2, then with interface board 2 as reconstructing interface board, wherein, a among the %a represents the interface board sum on the receiving equipment.
As can be seen: the message that adopts the load balancing mode to transmit of not being only applicable to embodiment illustrated in fig. 3 is equally applicable to the message that does not adopt the load balancing mode to transmit.
In addition, because the user can be according to the network design environment, learn that in advance which path will adopt the load balancing mode to transmit message, and which path will not adopt the load balancing mode to transmit message.The dispersion recombination form that can adopt the present invention to mention in embodiment illustrated in fig. 3 for the message that adopts the load balancing mode to transmit carries out the message reorganization, then can adopt concentrated recombination form of the prior art to carry out the message reorganization for the message that does not adopt the load balancing mode to transmit.Like this, the user can with packet route information as: source IP address and/or purpose IP address and/or protocol number etc. are configured on the receiving equipment with the recombination form of supporting, interface board is after receiving burst like this, at first according to source IP address and/or the purpose IP address and/or the protocol number etc. of this burst, determine to adopt and concentrate recombination form still to disperse recombination form to recombinate, concentrate recombination form if adopt, then burst is sent to master control borad and recombinate; Disperse recombination form if adopt, then adopt method shown in Figure 3 to recombinate.
The flow chart that fragment message is recombinated that Fig. 4 provides for the embodiment of the invention two, as shown in Figure 4, its concrete steps are as follows:
Step 401: the corresponding relation of routing information such as configuration source IP address and/or purpose IP address and/or protocol number and recombination form information on receiving equipment in advance, and on each interface board of equipment, dispose same reconstructing interface board selection principle.
Recombination form comprises: concentrate reorganization and disperse reorganization.
The corresponding relation with recombination form information such as source IP address and/or purpose IP address and/or protocol number etc. can be configured in the access control list (ACL).
Step 402: interface board is received burst, according to source IP address and/or the purpose IP address and/or the protocol number etc. of this burst, judges that this burst is to support to concentrate recombination form or dispersion recombination form, if support to concentrate recombination form, execution in step 403; If support to disperse recombination form, execution in step 404.
Step 403: interface board sends to master control borad with this burst, carries out the burst reorganization by master control borad and handles, and this flow process finishes.
Step 404~410 are identical with step 302~308.
It is pointed out that the equipment mentioned in the embodiment of the invention can be the destination device that message arrives, also can be to E-Packet and the forwarding unit of virtual support burst reorganization.Because forwarding unit may network enabled address transition (NAT), IP packet safety detection (IPSec), dynamic firewall (ASPF) wait business, when forwarding unit is received fragment message, carry out described Business Processing to each burst; In all bursts of a message, first burst that sends of active equipment is promptly: comprise source/destination slogan information in first, and when each burst is carried out above-mentioned Business Processing, all to use this source/destination slogan information, therefore must guarantee: all bursts can both be handled on same interface board, so that interface board can be from first acquisition source/destination slogan information, and be used for the above-mentioned Business Processing of all bursts.Will be owing to carrying out above-mentioned Business Processing and burst is focused on situation on the same interface board be called virtual burst reorganization to burst.
The structural representation of the interface board that carries out fragment message reorganization that Fig. 5 provides for the embodiment of the invention, as shown in Figure 5, it mainly comprises: fragment receiver module 51, routing message searching module 52 and reconstructing interface board are selected module 53, wherein:
Fragment receiver module 51: be used for after receiving burst, the source IP address of this burst is sent to routing message searching module 52; Receive reconstructing interface board and select reconstructing interface board that module 53 sends number, burst is sent to and this reconstructing interface board number corresponding interface board.
Routing message searching module 52: be used to receive the source IP address that fragment receiver module 51 is sent, in the routing table that self preserves, search the route corresponding, the outgoing interface information of this route is sent to reconstructing interface board select module 53 with this source IP address.
Reconstructing interface board is selected module 53: be used to receive the outgoing interface information that routing message searching module 52 is sent, determine the interface board number of this outgoing interface information correspondence, according to the reconstructing interface board selection principle that is pre-configured in self, in described interface board corresponding interface plate, select an interface board as reconstructing interface board, this reconstructing interface board number is sent to fragment receiver module 51.
Interface board in the embodiment of the invention also can comprise: burst recombination module 54 is used to receive the burst that other interface board and the fragment receiver module 51 of self are sent, to the processing of recombinating of all bursts.And fragment receiver module 51 sends to burst recombination module 54 with the burst that receives when detecting reconstructing interface board and select reconstructing interface board that module 53 sends number to be its own interfaces plate.
Interface board in the embodiment of the invention also can comprise: recombination form configuration module 55 is used to preserve the corresponding relation of user configured source IP address and/or purpose IP address and/or protocol number etc. and recombination form information.And, described fragment receiver module 51 is after receiving burst, source IP address and/or purpose IP address and/or protocol number etc. according to this burst, recombination form to this bursts support of recombination form configuration module 55 inquiries, support to concentrate recombination form if inquire, then the burst of receiving is sent to master control borad; Support to disperse recombination form if inquire, then the source IP address with this burst sends to routing message searching module 52.
In actual applications, can select module 53 to be referred to as reconstructing interface board determining module routing message searching module 52 and reconstructing interface board.
In the interface board that the embodiment of the invention provides, reconstructing interface board selects module 53 to form mode by following three kinds:
Reconstructing interface board in the interface board that Fig. 6 provides for the embodiment of the invention is selected the composition mode one of module, and as shown in Figure 6, it mainly comprises: interface message memory module 5311 and select module 5312, wherein:
Interface message memory module 5311: the corresponding relation that is used for saving interface information and interface board number.
Select module 5312: be used to receive the outgoing interface information that routing message searching module 52 is sent, obtain the interface board number of this outgoing interface information correspondence from interface message memory module 5311 inquiry, in described interface board corresponding interface plate, the interface board of selecting a plate minimum is as reconstructing interface board, and this reconstructing interface board number is sent to fragment receiver module 51.
Reconstructing interface board in the interface board that Fig. 7 provides for the embodiment of the invention is selected the composition mode two of module, and as shown in Figure 7, it mainly comprises: interface message memory module 5321, load information receiver module 5322 and select module 5323, wherein:
Interface message memory module 5321: the corresponding relation that is used for saving interface information and interface board number.
Load information receiver module 5322: receive and the corresponding relation of each interface board that the storage master control borad is sent number and load information.
Select module 5323: receive the outgoing interface information that routing message searching module 52 is sent, obtain the interface board number of this outgoing interface information correspondence from interface message memory module 5321 inquiry, obtain the load information of described interface board correspondence from 5322 inquiries of load information receiver module, according to this load information, from inquire about the interface board corresponding interface plate that obtains, the interface board of selecting a load minimum is as reconstructing interface board, and this reconstructing interface board number is sent to fragment receiver module 51.
Reconstructing interface board in the interface board that Fig. 8 provides for the embodiment of the invention is selected the composition mode three of module, and as shown in Figure 8, it mainly comprises: interface message memory module 5331, Hash operation module 5332 and select module 5333, wherein:
Interface message memory module 5331: the corresponding relation of saving interface information and interface board number.
Hash operation module 5332: the source IP address and/or the information such as purpose IP address and/or protocol number of the burst that reception fragment receiver module 51 is sent, the hash computing is carried out in this IP address and/or purpose IP address and/or protocol number etc., the hash operation result is sent to select module 5333.
Select module 5333: receive the outgoing interface information that routing message searching module 52 is sent, obtain the interface board number of this outgoing interface information correspondence from interface message memory module 5331 inquiry, receive the hash operation result that Hash operation module 5332 is sent, this hash operation result is mapped on the interface board obtaining of inquiry number, this interface board number number is sent to fragment receiver module 51 as reconstructing interface board.
Below provide two object lessons of using the embodiment of the invention one:
Fig. 9 is a burst when an interface arrives destination device, carry out the schematic diagram of message reorganization, as shown in Figure 9, interface board 1 is whenever received a burst, search the route corresponding, determine an outgoing interface information corresponding interface plate 1 of route, then determine self to be reconstructing interface board with the source IP address of this burst, side-play amount according in the burst 1~4 that receives reassembles into complete message with burst 1~4.
Figure 10 is a burst when a plurality of interfaces arrive destination device, carry out the schematic diagram of message reorganization, as shown in figure 10, interface board 1 and interface board 2 whenever receive a burst, search the route corresponding with the source IP address of this burst, determine the outgoing interface information corresponding interface plate 1 and 2 of route, then the interface board 1 of option board minimum is as reconstructing interface board, interface board 2 sends to interface board 1 with the burst of receiving 2 and 4, the burst 1 that interface board 1 is received according to self and 3 and the burst 2 and 4 sent of interface board 2 in side-play amount, burst 1~4 is reassembled into complete message.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. a unpacked message recombining method is characterized in that, disposes same reconstructing interface board selection principle in advance on each interface board of receiving equipment, comprising:
Interface board on the receiving equipment is received burst, in the routing table that receiving equipment is preserved, search the route corresponding with the source IP address of this burst, if being the outgoing interface of equal-cost route and equal-cost route, the route that finds is not positioned on the same interface board, then according to described reconstructing interface board selection principle, in the interface board of all outgoing interface correspondences of equal-cost route, select an interface board as reconstructing interface board, the burst of receiving is dealt on this reconstructing interface board recombinates.
2. the method for claim 1, it is characterized in that, described reconstructing interface board selection principle is: with the interface board of plate minimum as reconstructing interface board, the interface board that receives burst is in the interface board of all outgoing interface correspondences of the equal-cost route that finds, and the interface board of option board minimum is as reconstructing interface board;
Perhaps, described reconstructing interface board selection principle is: with the interface board of load minimum as reconstructing interface board, receive the load information of the interface board of burst according to up-to-date each interface board sent of master control borad, in the interface board of all outgoing interface correspondences of the equal-cost route that finds, the interface board of selecting the load minimum is as reconstructing interface board;
Perhaps, described reconstructing interface board selection principle is: Hash operation is carried out in the source IP address of burst and/or purpose IP address and/or protocol number, the Hash operation result is mapped on the interface board in the interface board of all outgoing interface correspondences of the equal-cost route that finds, with this interface board as reconstructing interface board.
3. the method for claim 1 is characterized in that, disposes the corresponding relation of the recombination form information of burst routing information and burst support in advance on described receiving equipment,
Interface board on the described receiving equipment receives after the burst, further comprise search the route corresponding with the source IP address of this burst in the routing table that receiving equipment is preserved before: receiving equipment is according to the described corresponding relation of self configuration, judge that the concentrated recombination form of this burst support still disperses recombination form, if support to concentrate recombination form, then burst is sent to master control borad and recombinate, process ends; If support to disperse recombination form, then carry out described action of in the routing table that receiving equipment is preserved, searching the route corresponding with the source IP address of this burst;
Described burst routing information is: the source IP address of burst and/or purpose IP address and/or protocol number.
4. the method for claim 1 is characterized in that, described receiving equipment is: the destination device that burst arrives, perhaps, transmit the forwarding unit of burst and virtual support burst reorganization.
5. an interface board is characterized in that, comprising: fragment receiver module, routing message searching module and reconstructing interface board are selected module, wherein:
Fragment receiver module after receiving burst, sends to routing message searching module with the source IP address of burst, according to the reconstructing interface board sign that reconstructing interface board selects module to send, burst is sent to the interface board of this sign correspondence;
Routing message searching module receives the source IP address that fragment receiver module is sent, and searches the route corresponding with this source IP address in the routing table of self preserving, and the outgoing interface information of this route is sent to reconstructing interface board select module;
Reconstructing interface board is selected module, receive the outgoing interface information that routing message searching module is sent, determine the interface board sign of this outgoing interface information correspondence, according to pre-configured reconstructing interface board selection principle, in described interface board sign corresponding interface plate, select an interface board as reconstructing interface board, this reconstructing interface board sign is sent to fragment receiver module.
6. interface board as claimed in claim 5 is characterized in that, further comprises: the burst recombination module, receive the burst that the fragment receiver module of other interface board and self is sent, and to the processing of recombinating of all bursts,
And fragment receiver module sends to the burst recombination module with the burst that receives when detecting reconstructing interface board sign that reconstructing interface board selects module to send and be its own interfaces panel sign.
7. interface board as claimed in claim 5, it is characterized in that, further comprise: the recombination form configuration module, preserve the corresponding relation of the recombination form information of user configured burst routing information and burst support, described burst routing information is: the source IP address of burst and/or purpose IP address and/or protocol number;
And described fragment receiver module is inquired about the recombination form that this burst is supported according to the routing information of this burst to the recombination form configuration module after receiving burst, support to concentrate recombination form if inquire, and then the burst of receiving is sent to master control borad; Support to disperse recombination form if inquire, then the source IP address with this burst sends to reconstructing interface board determining module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100972465A CN101035082B (en) | 2007-04-28 | 2007-04-28 | Unpacked message recombining method and interface board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100972465A CN101035082B (en) | 2007-04-28 | 2007-04-28 | Unpacked message recombining method and interface board |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101035082A CN101035082A (en) | 2007-09-12 |
CN101035082B true CN101035082B (en) | 2010-09-22 |
Family
ID=38731394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100972465A Active CN101035082B (en) | 2007-04-28 | 2007-04-28 | Unpacked message recombining method and interface board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101035082B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159694B (en) * | 2007-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Method of preventing fail fragment reassembly of IP sharing distributed system |
CN101860487A (en) * | 2010-05-28 | 2010-10-13 | 中兴通讯股份有限公司 | Forwarding method of IP fragment message of Internet protocol and interface board |
CN102065012B (en) * | 2010-12-22 | 2015-04-01 | 中兴通讯股份有限公司 | Distributed system and method for processing IP message fragments |
CN102104544B (en) * | 2011-01-25 | 2012-06-20 | 无锡网芯科技有限公司 | Order preserving method for fragmented message flow in IP (Internet Protocol) tunnel of multi-nuclear processor with accelerated hardware |
CN102821049A (en) * | 2012-08-15 | 2012-12-12 | 华为技术有限公司 | Method and device for forwarding message |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1341313A (en) * | 1999-02-23 | 2002-03-20 | 阿尔卡塔尔互联网运行公司 | Multi-service network switch |
CN1466840A (en) * | 2000-09-28 | 2004-01-07 | ����ɭ�绰�ɷ�����˾ | Virtual IP framework and interfacing method |
WO2004107800A1 (en) * | 2003-05-29 | 2004-12-09 | Endace Technology Limited | A method of recombining data units |
CN1592215A (en) * | 2003-08-27 | 2005-03-09 | 中兴通讯股份有限公司 | Method for partitioned document recombination and service distribution |
CN1941732A (en) * | 2005-09-28 | 2007-04-04 | 北京大学 | Method and device for classifying dynamic flow without IP partitioned regrouping |
-
2007
- 2007-04-28 CN CN2007100972465A patent/CN101035082B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1341313A (en) * | 1999-02-23 | 2002-03-20 | 阿尔卡塔尔互联网运行公司 | Multi-service network switch |
CN1466840A (en) * | 2000-09-28 | 2004-01-07 | ����ɭ�绰�ɷ�����˾ | Virtual IP framework and interfacing method |
WO2004107800A1 (en) * | 2003-05-29 | 2004-12-09 | Endace Technology Limited | A method of recombining data units |
CN1592215A (en) * | 2003-08-27 | 2005-03-09 | 中兴通讯股份有限公司 | Method for partitioned document recombination and service distribution |
CN1941732A (en) * | 2005-09-28 | 2007-04-04 | 北京大学 | Method and device for classifying dynamic flow without IP partitioned regrouping |
Also Published As
Publication number | Publication date |
---|---|
CN101035082A (en) | 2007-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102138619B1 (en) | Message clustering method and load balancer based on server cluster | |
CN108768817B (en) | Virtual network networking system and data packet sending method | |
CN102859973B (en) | Method, apparatus and system for address resolution | |
CN102291320B (en) | MAC (media access control) address learning method and edge device | |
US9253141B2 (en) | Scaling address resolution for massive data centers | |
CA2968964C (en) | Source ip address transparency systems and methods | |
CN101009662B (en) | Message processing method, system and device based on the load balance technology | |
US9525648B2 (en) | Method for acquiring physical address of virtual machine | |
CN104618243B (en) | Method for routing, apparatus and system, Scheduling of Gateway method and device | |
US20130346591A1 (en) | Clientless Cloud Computing | |
KR101128677B1 (en) | Method and apparatus for performing load balancing for a control plane of a mobile communication network | |
CN105264493A (en) | Dynamic virtual machines migration over information centric networks | |
CN101316236A (en) | VRRP backup group load sharing method and router | |
US10382391B2 (en) | Systems and methods for managing network address information | |
CN101035082B (en) | Unpacked message recombining method and interface board | |
CN104954155B (en) | The network equipment with multiple business boards and multi-service plate sharing method | |
CN209805866U (en) | Conversation maintaining system | |
CN102970387A (en) | Domain name resolution method, device and system | |
CN104734952A (en) | Data message forwarding method and device | |
CN104283783A (en) | Gateway equipment message transmitting method and device in plug and play network | |
CN110149411A (en) | A kind of session keeping method, device, storage medium and processor | |
CN102821055B (en) | Method for inter-board communication | |
EP4304144A1 (en) | Communication method and apparatus | |
CN101227471A (en) | Same network segment address analysis protocol agent method and method for communicating among internal processing plates | |
CN102083173A (en) | Network access control method, equipment and gateway GPRS support node |
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 |