CN106789730A - The processing method and processing device of fragment message - Google Patents
The processing method and processing device of fragment message Download PDFInfo
- Publication number
- CN106789730A CN106789730A CN201611250019.7A CN201611250019A CN106789730A CN 106789730 A CN106789730 A CN 106789730A CN 201611250019 A CN201611250019 A CN 201611250019A CN 106789730 A CN106789730 A CN 106789730A
- Authority
- CN
- China
- Prior art keywords
- fragment message
- message
- sent
- fragment
- chained list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9005—Buffering arrangements using dynamic buffer space allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
Abstract
The application provides a kind of processing method and processing device of fragment message, and methods described is applied to the network equipment, and methods described includes:The fragment message that will be received is stored to corresponding buffer area respectively;Wherein, the buffer area includes header region and data field;The burst side-play amount of the header region record based on each fragment message, the address-ordered of the data field of each fragment message is linked as corresponding logic chained list;Based on the logic chained list, corresponding Business Processing is carried out to each fragment message, and after processing is completed, based on the logic chained list, each fragment message is forwarded to the next stage network equipment successively.The method provided using the application, can effectively improve the equipment performance of the network equipment by reducing the copy number of times of fragment message.
Description
Technical field
The application is related to computer communication field, more particularly to fragment message processing method and processing device.
Background technology
IP message fragment technologies are a kind of conventional technological means of transmission over networks IP messages.Under normal circumstances, transmission is worked as
When holding the size of the IP messages for sending more than MTU (Maximum Transmission Unit, MTU), it is possible to
Burst treatment is carried out to sent IP messages, then the fragment message after burst is sent to receiving terminal, is carried out by receiving terminal
Correspondingly IP Packet reassemblings.
However, with the high speed development of internet, network equipment ground performance is also faced with and gravely tests, and fragment message
Disposal ability be weigh the network equipment performance an important indicator, therefore, how to improve network equipment fragment message
Treatment effeciency just turns into problem demanding prompt solution.
The content of the invention
In view of this, the application provides a kind of processing method and processing device of fragment message, is used to by reducing fragment message
Copy number of times, improve the network equipment equipment performance.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the application, there is provided a kind of processing method of fragment message, methods described is applied to network and sets
Standby, methods described includes:
The fragment message that will be received is stored to corresponding buffer area respectively;Wherein, the buffer area include header region with
And data field;
The burst side-play amount of the header region record based on each fragment message, by the address-ordered of the data field of each fragment message
Be linked as corresponding logic chained list;
Based on the logic chained list, corresponding Business Processing is carried out to each fragment message, and after processing is completed, based on institute
Logic chained list is stated, each fragment message is forwarded to the next stage network equipment successively.
According to the second aspect of the application, there is provided a kind of processing unit of fragment message, described device is applied to network and sets
Standby, described device includes:
Storage element, the fragment message for that will receive is stored to corresponding buffer area respectively;Wherein, the buffer area
Including header region and data field;
Recomposition unit, for the burst side-play amount of the header region record based on each fragment message, by the number of each fragment message
According to area address-ordered be linked as corresponding logic chained list;
Transmitting element, for based on the logic chained list, carrying out corresponding Business Processing to each fragment message, and in treatment
After the completion of, based on the logic chained list, each fragment message is forwarded to the next stage network equipment successively.
The application proposes a kind of processing method of fragment message, and the fragment message that the network equipment will can be received is stored up respectively
Deposit to corresponding buffer area;Wherein, the buffer area includes header region and data field.And the report of each fragment message can be based on
The burst side-play amount of Head Section record, the address-ordered of the data field of each fragment message is linked as corresponding logic chained list.Net
Network equipment can be based on the logic chained list, carry out corresponding Business Processing to each fragment message, and after processing is completed, be based on
The logic chained list, is forwarded to the next stage network equipment by each fragment message successively.
When fragment message is recombinated, because the fragment message that the network equipment will no longer be stored in buffer area is copied in an orderly manner
In continuous physical memory, and the burst side-play amount that the header region that can be based on each fragment message records, by each fragment message
Data field address-ordered be linked as corresponding logic chained list, the fragment message in buffer area is reassembled into the upper original of logic
Message, such that it is able to efficiently reduce the number of times of copy.Therefore the performance of equipment can be effectively improved, message forwarding is reduced
Time delay.
Brief description of the drawings
Fig. 1 is the signal of the mapping format of the fragment message in a kind of recipient's network equipment buffer area shown in the application
Figure;
Fig. 2 is a kind of schematic diagram of the unpacked message recombining method of the correlation technique shown in the application;
Fig. 3 is a kind of flow chart of the processing method of the fragment message shown in the exemplary embodiment of the application one;
Fig. 4 is a kind of schematic diagram of the recombination method of the fragment message shown in the exemplary embodiment of the application one;
Fig. 5 is the hardware configuration of the processing unit place equipment of the fragment message shown in the exemplary embodiment of the application one
Figure;
Fig. 6 is the block diagram of the processing unit of the fragment message shown in the exemplary embodiment of the application one.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in implementation method do not represent all implementation methods consistent with the application.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
May be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
With the high speed development of internet, network equipment ground performance is also faced with and gravely tests, the treatment of fragment message
Ability is an important indicator of the performance for weighing the network equipment.
Under normal circumstances, the size of the former message for being sent when sender's network equipment is more than MTU (Maximum
Transmission Unit, MTU) when, it is possible to burst treatment is carried out to sent former message, then will be every
The burst side-play amount of individual fragment message is write into the header of the fragment message, then again by these fragment messages send successively to
Recipient's network equipment, carries out correspondingly fragment message and recombinates by recipient's network equipment.
After recipient's network equipment receives fragment message, the fragment message can be cached into buffer area.Referring to
Fig. 1, Fig. 1 are the schematic diagrames of the mapping format of the fragment message in a kind of recipient's network equipment buffer area shown in the application.
Under normal circumstances, the header of the fragment message that recipient's network equipment will can be received and fragment message data institute
In the address write-in SKB of buffer area (i.e. data field), and the buffer area that the data write-in of the fragment message is recorded with the SKB
In the corresponding buffer area in address (i.e. data field).
Because after above-mentioned former message is fragmented, each fragment message has the header of oneself, and is route in selection
When with other fragment message independences.So, when these fragment messages reach recipient's network equipment, it is possible that out of order
Problem, in other words, the order of fragment message cached in the buffer area for being exactly recipient's network equipment is not this point
Order of the piece message in the former message.
For example, the former message is split into first, second to n-th fragment message by sender's network equipment, and will
This first, second to n-th fragment message are sent to recipient's network equipment successively.
But, because the selected route of each fragment message is different, link-quality is different so that recipient's network equipment
The order of the fragment message for receiving is not first, order as second to n-th fragment message, for example, receiving
The order of the fragment message that side receives may be first, the 4th, the 3rd, second fragment message etc..
Therefore, recipient's network equipment needs to recombinate the fragment message for receiving, and reformulates the former message,
Correspondingly Business Processing (such as NAT, protocol depth detection) can be carried out to the former message.
Referring to Fig. 2, Fig. 2 is that Fig. 2 shown in related IP message recombining methods is a kind of correlation technique shown in the application
The schematic diagram of unpacked message recombining method.
In the scheme of related fragment message restructuring, the network equipment generally can be according to described in each fragment message
The fragment message burst side-play amount, in an orderly manner by the data of the fragment message in buffer area be copied to successively one section it is continuous
In physical memory so that what is stored in the continuous physical memory is complete former message.
However, in the recombinant technique of fragment message in the related art, when being recombinated to fragment message, recipient's network
Equipment needs each fragment message to be copied to above-mentioned continuous physical memory from buffer area that (this process can also be referred to as
Memory copying), because the number of times that memory copying occurs is excessive, so having had a strong impact on the performance of equipment, considerably increase message
The time delay of forwarding.
The application proposes a kind of processing method of fragment message, and the fragment message that the network equipment will can be received is stored up respectively
Deposit to corresponding buffer area, the buffer area includes header region and data field.And the header region note of each fragment message can be based on
The burst side-play amount of record, the address-ordered of the data field of each fragment message is linked as corresponding logic chained list.The network equipment
The logic chained list can be based on, corresponding Business Processing be carried out to each fragment message, and after processing is completed, patrolled based on described
Chained list is collected, each fragment message is forwarded to the next stage network equipment successively.
When fragment message is recombinated, because the fragment message that the network equipment will no longer be stored in buffer area is copied in an orderly manner
In continuous physical memory, and the burst side-play amount that the header region that can be based on each fragment message records, by each fragment message
Data field address-ordered be linked as corresponding logic chained list, the fragment message in buffer area is reassembled into the upper original of logic
Message, such that it is able to efficiently reduce the number of times of copy.Therefore the performance of equipment can be effectively improved, message forwarding is reduced
Time delay.
Referring to Fig. 3, Fig. 3 is a kind of flow of the processing method of the fragment message shown in the exemplary embodiment of the application one
Figure;Methods described is applied to the network equipment, and methods described can include step as follows:
Step 301:The fragment message that will be received is stored to corresponding buffer area respectively;Wherein, the buffer area includes
Header region and data field;
Step 302:The burst side-play amount of the header region record based on each fragment message, by the data field of each fragment message
It is linked as corresponding logic chained list address-ordered;
Step 303:Based on the logic chained list, corresponding Business Processing is carried out to each fragment message, and complete in treatment
Afterwards, based on the logic chained list, each fragment message is forwarded to the next stage network equipment successively.
Wherein, above-mentioned header region, is the region where the header that fragment message is stored in buffer area, usually SKB.
Above-mentioned data field, refers to for storing the region of the data of fragment message in buffer area.
In the embodiment of the present application, when fragment message is recombinated, because the network equipment is no longer by dividing for being stored in buffer area
Piece message is copied in continuous physical memory in an orderly manner, and the burst that can be based on the header region record of each fragment message is inclined
Shifting amount, the address-ordered of the data field of each fragment message is linked as corresponding logic chained list, by the burst report in buffer area
Text reassembles into the upper former message of logic, such that it is able to efficiently reduce the number of times of copy.Therefore equipment can be effectively improved
Performance, reduces the time delay of message forwarding.
When realizing, the network equipment can receive the upper level network equipment transmission fragment message, and by receive point
Piece message is stored in corresponding buffer area successively.
In storage, the header of each fragment message can be stored in buffer area in SKB the network equipment (i.e. header
Area), and by the data storage of each fragment message in the data field of the buffer area, while by the data institute of each fragment message
The address of buffer area write SKB corresponding with the fragment message, as shown in Figure 1.
The network equipment can be based on the burst side-play amount of the header region record of each fragment message for receiving, and determine each message
In the sequence of positions of former message, then the address-ordered of the data field of each fragment message is connected as corresponding logic chained list,
With by the former message on each fragment message organizational logical in buffer area.As shown in Figure 4.
In a kind of optional implementation, the network equipment can point to next in the addition of the header region of each fragment message
The logic chain table pointer of the address of the data field of fragment message.
When realizing, for first fragment message, the network equipment can be in the SKB (i.e. header region) of the first fragment message
Second logic chain table pointer of the address of the data field of fragment message is pointed in middle addition.Then, the network equipment can be second
Added in the corresponding SKB of individual fragment message and point to the 3rd logic chain table pointer of the address of the data field of fragment message, with this
Analogize, until the network equipment adds the ground of the data field for pointing to n-th fragment message in the corresponding SKB of N-1 fragment message
The logic chain table pointer of location.Wherein, n-th fragment message is last fragment message, and the network equipment can be based on burst report
Flag bit in literary header, judges last fragment message, and N is the integer more than 1.
In another optional implementation, the network equipment can be added under pointing in the data field of each fragment message
One address logic chain table pointer of the data field of fragment message.
When realizing, the network equipment can add second fragment message of sensing in the data field of first fragment message
The logic chain table pointer of address data area.Then, added in second data field of fragment message and point to the 3rd burst report
The logic chain table pointer of the address data area of text, the like, until the network equipment adds in the N-1 data field of fragment message
Plus point to the logic chain table pointer of the address data area of n-th fragment message.Wherein, n-th fragment message is last point
Piece message, the network equipment can be based on the flag bit in fragment message header, judge last fragment message, and N is more than 1
Integer.
After completing to recombinate fragment message above by logic chained list, the network equipment can be based on the logic
Chained list, corresponding Business Processing is carried out to each fragment message.
So that Business Processing is NAT conversions as an example, the ground that the network equipment can be checked in first fragment message header by SKB
Location and port, are then based on NAT switching strategies, complete conversion.
After the Business Processing for completing above-mentioned fragment message, the network equipment can be based on above-mentioned logic chained list, successively will
Each fragment message is forwarded to the next stage network equipment.
When sending, the network equipment can be based on above-mentioned logic chained list, determine first fragment message, and record this first point
The header and payload length of piece message, the first fragment message is sent to the next stage network equipment.
Then the network equipment can be based on the logic chained list, and the fragment message that will do not sent successively is chosen to be current to be sent
Message.
For the current message to be sent, the network equipment can be by the header content of current fragment message to be sent
It is revised as the header content of first fragment message, it is possible to by the burst side-play amount of a upper fragment message and a upper burst report
The payload length of text is added up, used as the burst side-play amount of the current fragment message to be sent.The network equipment can be with
The header of the current message to be sent is updated using the burst side-play amount of the cumulative described current fragment message to be sent for obtaining
In burst side-play amount value.Meanwhile, the network equipment can record current fragment message to be sent burst side-play amount and
Payload length.
After completing to the renewal of the header of current message to be sent and record, the network equipment can be current pending by this
The fragment message for sending is sent to the next stage network equipment.
For example, the network equipment is sent to the next stage network equipment by first fragment message, the logic chain can be based on
Table, reads second fragment message, used as current message to be sent.
The network equipment can change second header content of fragment message using the message content of first fragment message.And
By the effective load of burst side-play amount (the burst side-play amount of first fragment message is 0) with first fragment message of first fragment message
Lotus length is added up, and as second burst side-play amount of fragment message, then uses second burst of fragment message
Side-play amount updates the burst side-play amount in second fragment message current preamble, meanwhile, the network equipment records second burst report
The burst side-play amount and second payload length of fragment message of text.Then second fragment message is sent under again
Primary network station equipment.
Then, the network equipment can read the 3rd fragment message in logic chained list as current message to be sent.
The network equipment can change the 3rd header content of fragment message using the message content of first fragment message, and
The burst side-play amount of second fragment message for recording can be added up with the payload length of second fragment message,
As the 3rd burst side-play amount of fragment message.
The network equipment can update the 3rd fragment message and currently report using the burst side-play amount of the 3rd fragment message
Burst side-play amount in head, meanwhile, the network equipment records the burst side-play amount and the 3rd fragment message of the 3rd fragment message
Payload length.Then the 3rd fragment message is sent to the next stage network equipment again.
The network equipment can be based on second fragment message of above-mentioned transmission and the method for the 3rd fragment message will patrol successively
Remaining all fragment messages are all sent to the next stage network equipment in collecting chained list.
In the embodiment of the present application, above-mentioned logic chained list can be ranked up using insertion.
When the network equipment docks the fragment message for receiving and recombinated by logic chained list, the network equipment can be based on connecing
The burst side-play amount of the fragment message for receiving, searches the insertion position of the fragment message, it is possible to by this in the logic chained list
Fragment message is inserted into the position in the logic chained list for finding.
It should be noted that above-mentioned logic chained list is ranked up using insertion, can accomplish that side receives fragment message, side
Fragment message is recombinated, so as to after efficiently avoid and receiving all fragment messages, then fragment message is ranked up
Generation, therefore the restructuring time delay of fragment message can be effectively reduced.
The application proposes a kind of processing method of fragment message, and the fragment message that the network equipment will can be received is stored up respectively
Deposit to corresponding buffer area;Wherein, the buffer area includes header region and data field.And the report of each fragment message can be based on
The burst side-play amount of Head Section record, the address-ordered of the data field of each fragment message is linked as corresponding logic chained list.Net
Network equipment can be based on the logic chained list, carry out corresponding Business Processing to each fragment message, and after processing is completed, be based on
The logic chained list, is forwarded to the next stage network equipment by each fragment message successively.
When fragment message is recombinated, because the fragment message that the network equipment will no longer be stored in buffer area is copied in an orderly manner
In continuous physical memory, and the burst side-play amount that the header region that can be based on each fragment message records, by each fragment message
Data field address-ordered be linked as corresponding logic chained list, the fragment message in buffer area is reassembled into the upper original of logic
Message, such that it is able to efficiently reduce the number of times of copy.Therefore the performance of equipment can be effectively improved, message forwarding is reduced
Time delay.
Embodiment with the processing method of foregoing fragment message is corresponding, present invention also provides the treatment dress of fragment message
The embodiment put.
The embodiment of the processing unit of the application fragment message can be using on network devices.Device embodiment can lead to
Cross software realization, it is also possible to realized by way of hardware or software and hardware combining.As a example by implemented in software, as a logic
Device in meaning, is to be referred to corresponding computer program in nonvolatile memory by the processor of the network equipment where it
Order runs what is formed in reading internal memory.From for hardware view, as shown in figure 5, being the processing unit of the application fragment message
A kind of hardware structure diagram of the place network equipment, except the processor shown in Fig. 5, internal memory, network outgoing interface and non-volatile
Outside memory, the network equipment in embodiment where device can also include generally according to the actual functional capability of the network equipment
Other hardware, repeat no more to this.
Fig. 6 is refer to, Fig. 6 is the block diagram of the processing unit of the fragment message shown in the exemplary embodiment of the application one.Institute
State device and be applied to the network equipment, described device includes:
Storage element 610, the fragment message for that will receive is stored to corresponding buffer area respectively;Wherein, it is described slow
Depositing area includes header region and data field;
Recomposition unit 620, for the burst side-play amount of the header region record based on each fragment message, by each fragment message
It is linked as corresponding logic chained list the address-ordered of data field;
Transmitting element 630, for based on the logic chained list, carrying out corresponding Business Processing to each fragment message, and
After the completion for the treatment of, based on the logic chained list, each fragment message is forwarded to the next stage network equipment successively.
In a kind of optional implementation, the recomposition unit 620, specifically for adding in the header region of each fragment message
Plus point to the logic chain table pointer of the address data area of next fragment message;The finger of the header region addition based on each fragment message
Pin, corresponding logic chained list is linked as by the address of the data field of each fragment message.
In another optional implementation, the transmitting element 630, specifically for based on the logic chained list, really
Fixed first fragment message, and the header and payload length of the first fragment message are recorded, the first fragment message is sent out
Deliver to the next stage network equipment;Based on the logic chained list, the fragment message that will do not sent successively is chosen to be currently pending delivering newspaper
Text;For the current message to be sent, the header based on the first fragment message, the payload of a upper fragment message
Length and burst side-play amount, update the header of the current fragment message to be sent, and record described current to be sent dividing
The burst side-play amount and payload length of piece message;The current fragment message to be sent is sent to next stage network and is set
It is standby.
In another optional implementation, the transmitting element 630, being further used for will be described current to be sent
The header content of fragment message is revised as the header content of first fragment message, and the burst of a upper fragment message is offset
The payload length of amount and a upper fragment message is added up, and the burst as the current fragment message to be sent is inclined
Shifting amount;The current message to be sent is updated using the burst side-play amount of the cumulative described current fragment message to be sent for obtaining
The value of the burst side-play amount in header.
In another optional implementation, described device also includes:
Insertion unit 640, for the burst side-play amount based on the fragment message for receiving, searches in the logic chained list
The insertion position of the fragment message, and the fragment message is inserted into the insertion position in the logic chained list for finding.
The function of unit and the implementation process of effect correspond to step in specifically referring to the above method in said apparatus
Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. a kind of processing method of fragment message, it is characterised in that methods described is applied to the network equipment, and methods described includes:
The fragment message that will be received is stored to corresponding buffer area respectively;Wherein, the buffer area includes header region and number
According to area;
The burst side-play amount of the header region record based on each fragment message, by the address-ordered ground chain of the data field of each fragment message
It is connected in corresponding logic chained list;
Based on the logic chained list, corresponding Business Processing is carried out to each fragment message, and after processing is completed, patrolled based on described
Chained list is collected, each fragment message is forwarded to the next stage network equipment successively.
2. method according to claim 1, it is characterised in that the address of the data field by each fragment message is linked as
Corresponding logic chained list, including:
The logic chain table pointer of the address data area of next fragment message is pointed in the header region addition of each fragment message;
The pointer of the header region addition based on each fragment message, corresponding patrolling is linked as by the address of the data field of each fragment message
Collect chained list.
3. method according to claim 1, it is characterised in that described based on the logic chained list, successively by each burst report
Text is forwarded to the next stage network equipment, including:
Based on the logic chained list, first fragment message is determined, and it is long to record the header and payload of the first fragment message
Degree, the first fragment message is sent to the next stage network equipment;
Based on the logic chained list, the fragment message that will do not sent successively is chosen to be current message to be sent;
For the current message to be sent, the header based on the first fragment message, effective load of a upper fragment message
Lotus length and burst side-play amount, update the header of the current fragment message to be sent, and record described current to be sent
The burst side-play amount and payload length of fragment message;
The current fragment message to be sent is sent to the next stage network equipment.
4. method according to claim 3, it is characterised in that the header based on the first fragment message, upper
The payload length and burst side-play amount of individual fragment message, update the header of the current fragment message to be sent, including:
The header content of the current fragment message to be sent is revised as the header content of first fragment message, on described
The burst side-play amount of one fragment message and the payload length of a upper fragment message are added up, and are currently treated as described
The burst side-play amount of the fragment message of transmission;
The current message to be sent is updated using the burst side-play amount of the cumulative described current fragment message to be sent for obtaining
The value of the burst side-play amount in header.
5. method according to claim 1, it is characterised in that methods described also includes:
Burst side-play amount based on the fragment message for receiving, searches the insertion position of the fragment message in the logic chained list
Put, and the fragment message is inserted into the insertion position in the logic chained list for finding.
6. a kind of processing unit of fragment message, it is characterised in that described device is applied to the network equipment, and described device includes:
Storage element, the fragment message for that will receive is stored to corresponding buffer area respectively;Wherein, the buffer area includes
Header region and data field;
Recomposition unit, for the burst side-play amount of the header region record based on each fragment message, by the data field of each fragment message
Address-ordered be linked as corresponding logic chained list;
Transmitting element, for based on the logic chained list, carrying out corresponding Business Processing to each fragment message, and completes in treatment
Afterwards, based on the logic chained list, each fragment message is forwarded to the next stage network equipment successively.
7. device according to claim 6, it is characterised in that the recomposition unit, specifically in each fragment message
The logic chain table pointer of the address data area of next fragment message is pointed in header region addition;Header region based on each fragment message
The pointer of addition, corresponding logic chained list is linked as by the address of the data field of each fragment message.
8. device according to claim 6, it is characterised in that transmitting element, specifically for based on the logic chained list, really
Fixed first fragment message, and the header and payload length of the first fragment message are recorded, the first fragment message is sent out
Deliver to the next stage network equipment;Based on the logic chained list, the fragment message that will do not sent successively is chosen to be currently pending delivering newspaper
Text;For the current message to be sent, the header based on the first fragment message, the payload of a upper fragment message
Length and burst side-play amount, update the header of the current fragment message to be sent, and record described current to be sent dividing
The burst side-play amount and payload length of piece message;The current fragment message to be sent is sent to next stage network and is set
It is standby.
9. device according to claim 6, it is characterised in that the transmitting element, is further used for currently being treated described
The header content of the fragment message of transmission is revised as the header content of first fragment message, by dividing for a upper fragment message
The payload length of piece side-play amount and a upper fragment message is added up, used as the current fragment message to be sent
Burst side-play amount;It is current to be sent this to be updated using the burst side-play amount of the cumulative described current fragment message to be sent for obtaining
The value of the burst side-play amount in the header of message.
10. device according to claim 6, it is characterised in that described device also includes:
Insertion unit, for the burst side-play amount based on the fragment message for receiving, the burst is searched in the logic chained list
The insertion position of message, and the fragment message is inserted into the insertion position in the logic chained list for finding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611250019.7A CN106789730B (en) | 2016-12-29 | 2016-12-29 | Method and device for processing fragment message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611250019.7A CN106789730B (en) | 2016-12-29 | 2016-12-29 | Method and device for processing fragment message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789730A true CN106789730A (en) | 2017-05-31 |
CN106789730B CN106789730B (en) | 2020-02-11 |
Family
ID=58927948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611250019.7A Active CN106789730B (en) | 2016-12-29 | 2016-12-29 | Method and device for processing fragment message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789730B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108183893A (en) * | 2017-12-25 | 2018-06-19 | 东软集团股份有限公司 | A kind of fragment packet inspection method, detection device, storage medium and electronic equipment |
CN109547389A (en) * | 2017-08-08 | 2019-03-29 | 中国移动通信集团宁夏有限公司 | A kind of method and device of ASCII stream file ASCII recombination |
CN109672629A (en) * | 2018-12-04 | 2019-04-23 | 迈普通信技术股份有限公司 | A kind of file transmitting method and communication equipment |
CN109726144A (en) * | 2018-12-27 | 2019-05-07 | 新华三技术有限公司 | A kind for the treatment of method and apparatus of data message |
CN110321374A (en) * | 2018-10-23 | 2019-10-11 | 开采夫(杭州)科技有限公司 | Standard file I/O operations system and method based on distributed network |
CN113595940A (en) * | 2021-09-28 | 2021-11-02 | 恒生电子股份有限公司 | Fragment sending method, receiving method and corresponding devices |
CN113812119A (en) * | 2019-09-21 | 2021-12-17 | 华为技术有限公司 | Network node for performance measurement |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581793A (en) * | 2003-08-05 | 2005-02-16 | 华为技术有限公司 | Device and method for recombining internet protocol (IP) packet |
CN101789908A (en) * | 2010-03-04 | 2010-07-28 | 成都市华为赛门铁克科技有限公司 | Fragmental message receiving and processing method and device |
CN101820388A (en) * | 2009-02-27 | 2010-09-01 | 凹凸电子(武汉)有限公司 | The Apparatus and method for of packet fragment reassembly |
WO2013189364A1 (en) * | 2012-10-12 | 2013-12-27 | 中兴通讯股份有限公司 | Message processing method and device |
-
2016
- 2016-12-29 CN CN201611250019.7A patent/CN106789730B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581793A (en) * | 2003-08-05 | 2005-02-16 | 华为技术有限公司 | Device and method for recombining internet protocol (IP) packet |
CN101820388A (en) * | 2009-02-27 | 2010-09-01 | 凹凸电子(武汉)有限公司 | The Apparatus and method for of packet fragment reassembly |
CN101789908A (en) * | 2010-03-04 | 2010-07-28 | 成都市华为赛门铁克科技有限公司 | Fragmental message receiving and processing method and device |
WO2013189364A1 (en) * | 2012-10-12 | 2013-12-27 | 中兴通讯股份有限公司 | Message processing method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547389A (en) * | 2017-08-08 | 2019-03-29 | 中国移动通信集团宁夏有限公司 | A kind of method and device of ASCII stream file ASCII recombination |
CN109547389B (en) * | 2017-08-08 | 2021-12-07 | 中国移动通信集团宁夏有限公司 | Code stream file recombination method and device |
CN108183893A (en) * | 2017-12-25 | 2018-06-19 | 东软集团股份有限公司 | A kind of fragment packet inspection method, detection device, storage medium and electronic equipment |
CN110321374A (en) * | 2018-10-23 | 2019-10-11 | 开采夫(杭州)科技有限公司 | Standard file I/O operations system and method based on distributed network |
CN110321374B (en) * | 2018-10-23 | 2022-03-25 | 开采夫(杭州)科技有限公司 | Standard file IO operating system and method based on distributed network |
CN109672629A (en) * | 2018-12-04 | 2019-04-23 | 迈普通信技术股份有限公司 | A kind of file transmitting method and communication equipment |
CN109726144A (en) * | 2018-12-27 | 2019-05-07 | 新华三技术有限公司 | A kind for the treatment of method and apparatus of data message |
CN109726144B (en) * | 2018-12-27 | 2021-11-02 | 新华三技术有限公司 | Data message processing method and device |
CN113812119A (en) * | 2019-09-21 | 2021-12-17 | 华为技术有限公司 | Network node for performance measurement |
CN113595940A (en) * | 2021-09-28 | 2021-11-02 | 恒生电子股份有限公司 | Fragment sending method, receiving method and corresponding devices |
Also Published As
Publication number | Publication date |
---|---|
CN106789730B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789730A (en) | The processing method and processing device of fragment message | |
CN1969525B (en) | Communication server, method and systems, for reducing transportation volumes over communication networks | |
CN100448224C (en) | Method and apparatus for discovering path maximum transmission unit (PMTU) | |
US7969976B2 (en) | Gateway apparatus, packet forwarding method, and program | |
US7813342B2 (en) | Method and apparatus for writing network packets into computer memory | |
CN103391256B (en) | A kind of base station user face data processing optimization method based on linux system | |
US5541920A (en) | Method and apparatus for a delayed replace mechanism for a streaming packet modification engine | |
CN104484295B (en) | Receiver sliding window-based data transmission method in parallel computer system | |
CN102111328B (en) | Termination based on content name and method based on content name route | |
CN103942252B (en) | A kind of method and system for recovering data | |
CN102307149B (en) | IP (internet protocol) lookup method and device and route updating method and device | |
CN101178694A (en) | Intel e1000 zero copy method | |
CN107302499B (en) | NFV protocol message transmitting and receiving method without copying message buffer | |
CN102395958A (en) | Concurrent processing method and device for data packet | |
CN110096458B (en) | Named data network content storage pool data retrieval method based on neural network | |
CN105488108A (en) | High-speed parallel storage method and apparatus for multiple video files | |
CN106254270A (en) | A kind of queue management method and device | |
CN101425960B (en) | Method and apparatus for load equalizing implementation | |
CN107633102A (en) | A kind of method, apparatus, system and equipment for reading metadata | |
CN106656818A (en) | Method and device for clearing quick forwarding entry | |
US6421660B1 (en) | Enhanced searching method and apparatus for variable bit chains | |
CN101478482A (en) | Non-rule matching method, apparatus and system in packet classification | |
CN109726144B (en) | Data message processing method and device | |
CN110109616B (en) | Named data network content storage pool data deletion method based on neural network | |
CN101442387B (en) | Method and apparatus for processing back-pressure data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |