CN101577682B - Data packet transmission method, device and system thereof - Google Patents

Data packet transmission method, device and system thereof Download PDF

Info

Publication number
CN101577682B
CN101577682B CN2009103032554A CN200910303255A CN101577682B CN 101577682 B CN101577682 B CN 101577682B CN 2009103032554 A CN2009103032554 A CN 2009103032554A CN 200910303255 A CN200910303255 A CN 200910303255A CN 101577682 B CN101577682 B CN 101577682B
Authority
CN
China
Prior art keywords
packet
stored information
index
data
receiving terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009103032554A
Other languages
Chinese (zh)
Other versions
CN101577682A (en
Inventor
吴梅兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN2009103032554A priority Critical patent/CN101577682B/en
Publication of CN101577682A publication Critical patent/CN101577682A/en
Application granted granted Critical
Publication of CN101577682B publication Critical patent/CN101577682B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the invention relates to a data packet transmission method, including the following steps: if a first IP data packet to be sent contains relevant transmission information and pre-defined data, calculating the index corresponding to the pre-defined data, and looking up the second stored information corresponding to the index and the same as the first stored information stored in a receiving terminal from the corresponding relation of the first pre-determined index and the stored information; when the second stored information is found out, determining whether the second stored information is matched with the pre-defined data, and if so, building a second IP data packet with the transmission information and the index and sending the second IP data packet to the receiving terminal. Besides, the embodiment of the invention also provides a corresponding sending terminal, a receiving and an IP data packet transmission system. By adopting the embodiment of the invention, the repeated content cannot be transmitted between the sending terminal and the receiving terminal as much as possible, thereby greatly increasing the IP data packet transmission speed and realizing speedincrease of the internet in a true sense.

Description

Data pack transmission method, Apparatus and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of data pack transmission method, Apparatus and system.
Background technology
It is interconnected that the Internet adopts ICP/IP protocol to carry out, and IP upper-layer protocol commonly used has TCP, UDP, ICMP etc.Many application of the Internet all depend on IP data packet transmission at a high speed, and limited bandwidth problem is the matter of utmost importance of internet, applications always.
The traditional compression algorithm of general employing promotes the Internet bandwidth, thereby improves the Internet speed, and still, traditional compression algorithm compression ratio is low, and can produce bigger delay, therefore, can not truly realize the Internet speed-raising.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of data pack transmission method, transmitting terminal, receiving terminal and IP data packet transmission system are provided, can make as far as possible and not transmit repeated content between transmitting terminal and the receiving terminal, improve IP data packet transmission speed greatly, truly realize the Internet speed-raising.
For solving the problems of the technologies described above, the embodiment of the invention adopts following technical scheme:
A kind of data pack transmission method comprises:
When an IP packet to be sent comprises associated transport information and predefined data, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
Preset index and the stored information corresponding relation from first, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
When finding described second stored information, judge whether described second stored information mates with described predefined data,
If, then with described transmission information and described index construct the 2nd IP packet;
Send described the 2nd IP packet to described receiving terminal.
A kind of transmitting terminal comprises:
First memory cell is used to store first and presets index and stored information corresponding relation;
Computing unit, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
First searches the unit, is used for from described first presetting index and stored information corresponding relation, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
Judging unit is used for when finding described second stored information, judges whether described second stored information mates with described predefined data;
First construction unit is used for when described second stored information and described predefined data coupling, with described transmission information and described index construct the 2nd IP packet;
First transmitting element is used for sending described the 2nd IP packet to described receiving terminal.
A kind of receiving terminal of above-mentioned transmitting terminal correspondence comprises:
Second memory cell is used to store second and presets index and stored information corresponding relation;
Receiving element is used to receive described the 2nd IP packet;
Second searches the unit, is used for from second presetting index and stored information corresponding relation, searches described first stored information of described index correspondence;
Second construction unit is used for making up the 3rd IP packet when finding described first stored information according to described transmission information, described index and described first stored information;
Second transmitting element is used for sending described the 3rd IP packet to the destination of described transmission information points.
A kind of data packet transmission system comprises transmitting terminal and receiving terminal, wherein,
Described transmitting terminal, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculate the index of described predefined data correspondence, preset index and the stored information corresponding relation from first, search described index correspondence, the second identical stored information of first stored information with the receiving terminal storage, when finding described second stored information, judge whether described second stored information mates with described predefined data, if, send described the 2nd IP packet then with described transmission information and described index construct the 2nd IP packet, and to described receiving terminal;
Described receiving terminal is used to receive described the 2nd IP packet,
Wherein, described transmitting terminal comprises:
First memory cell is used to store first and presets index and stored information corresponding relation;
Computing unit, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
First searches the unit, is used for from described first presetting index and stored information corresponding relation, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
Judging unit is used for when finding described second stored information, judges whether described second stored information mates with described predefined data;
First construction unit is used for when described second stored information and described predefined data coupling, with described transmission information and described index construct the 2nd IP packet;
First transmitting element is used for sending described the 2nd IP packet to described receiving terminal,
Described receiving terminal comprises:
Second memory cell is used to store second and presets index and stored information corresponding relation;
Receiving element is used to receive described the 2nd IP packet;
Second searches the unit, is used for from second presetting index and stored information corresponding relation, searches described first stored information of described index correspondence;
Second construction unit is used for making up the 3rd IP packet when finding described first stored information according to described transmission information, described index and described first stored information;
Second transmitting element is used for sending described the 3rd IP packet to the destination of described transmission information points.
The beneficial effect of the embodiment of the invention is:
Do not transmit repeated content between transmitting terminal and the receiving terminal by a kind of data pack transmission method, transmitting terminal, receiving terminal and data packet transmission system being provided, can making as far as possible, improve IP data packet transmission speed greatly, truly realize the Internet speed-raising.
Below in conjunction with accompanying drawing the embodiment of the invention is described in further detail.
Description of drawings
Fig. 1 is the handling process schematic diagram of the data pack transmission method of the embodiment of the invention at transmitting terminal;
Fig. 2 is the handling process schematic diagram of the data pack transmission method of the embodiment of the invention at receiving terminal;
Fig. 3 is first schematic diagram of the specific embodiment of data pack transmission method of the present invention;
Fig. 4 is second schematic diagram of the specific embodiment of data pack transmission method of the present invention;
Fig. 5 is the schematic diagram of the data packet transmission system of the embodiment of the invention;
Fig. 6 is the schematic diagram of the transmitting terminal of the embodiment of the invention;
Fig. 7 is the schematic diagram of the receiving terminal of the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of data pack transmission method, mainly comprises the flow process of handling on transmitting terminal as shown in Figure 1:
101, when an IP packet to be sent comprises associated transport information and predefined data, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculate the index of described predefined data correspondence, particularly, an IP packet to be sent can be that multiple IP type of data packet is (as tcp data bag type, UDP message bag type or ICMP type of data packet etc.) or other IP type of data packet, for example, the IP packet of tcp data bag type can comprise stem as shown in table 1 below, the IP data, and the IP data can comprise TCP stem and text, the TCP stem comprises normal change content, and the part that does not comprise normal change content in the IP data is predefined data (being to remove the normal part that becomes content in the TCP stem to form predefined data with text):
Table 1
Figure DEST_PATH_IMAGE001
Wherein, above-mentioned transport packet is drawn together 8 bit protocol fields in the stem, and the normal change content in the IP data, and the index of calculating predefined data correspondence can be any information that corresponding relation is arranged with predefined data, can obtain predefined data according to index like this;
102, preset index and the stored information corresponding relation from first, search described index correspondence, the second identical stored information of first stored information with the receiving terminal storage, particularly, transmitting terminal can utilize storage medium (as magnanimity high-speed cache or other storage mediums) to store first and preset index and stored information corresponding relation, certainly, first presets index and the stored information corresponding relation must be preserved the set that presets index list and have the stored information of corresponding relation with it, and transmitting terminal also can utilize storage medium (as magnanimity high-speed cache or other storage mediums) to store the set (comprising above-mentioned second stored information) of stored information, and each stored information is corresponding with each index and partly or entirely identical with each stored information of receiving terminal storage; Because the 2nd IP packet that sends in 105 does not comprise predefined data, for guaranteeing to restore an IP packet at receiving terminal, promptly construct the 3rd IP packet that comprises predefined data in the IP packet, then also can utilize storage medium (as magnanimity high-speed cache or other storage mediums) to store second and preset index and stored information corresponding relation at receiving terminal, certainly, second presets index and the stored information corresponding relation must be preserved the set that presets index list and have the stored information of corresponding relation with it, and receiving terminal also can utilize storage medium (as magnanimity high-speed cache or other storage mediums) to store the set (comprising above-mentioned first stored information) of stored information, and each stored information is corresponding with each index and identical with each stored information of transmitting terminal storage;
103, when finding described second stored information, judge whether described second stored information mates with described predefined data, particularly, judge second stored information whether with the standard of predefined data coupling, can comprise judging whether second stored information is identical with predefined data, judge whether second stored information is close to a certain extent with predefined data, the standard of judgement can be selected according to requirement of IP data packet transmission integrality or safety requirements etc.;
104, if 103 are judged as and are, then with described transmission information and described index construct the 2nd IP packet, particularly, the 2nd IP packet that builds should guarantee that receiving terminal can restore an IP packet, promptly construct the 3rd IP packet that comprises predefined data in the IP packet, wherein also should guarantee the correct of the information of transmitting;
105, send described the 2nd IP packet to described receiving terminal, particularly, transmitting terminal can send the 2nd IP packet to receiving terminal by the Internet or other transmission networks.
Correspondingly, the embodiment of the invention also provides a kind of flow process of handling on receiving terminal, and this flow process is corresponding with the above-mentioned flow process of handling on transmitting terminal, specifically can be as shown in Figure 2:
201, when described receiving terminal receives described the 2nd IP packet, described receiving terminal presets index and the stored information corresponding relation from second, searches described first stored information of described index correspondence;
202, when finding described first stored information, described receiving terminal makes up the 3rd IP packet according to described transmission information, described index and described first stored information, and send described the 3rd IP packet to the destination of described transmission information points, certainly, when receiving terminal is above-mentioned purpose when ground, only need constructs the 3rd IP packet and need not to send.
Below a specific embodiment, data pack transmission method of the present invention is described.
Fig. 3, Fig. 4 are the specific embodiment schematic diagrames of data pack transmission method of the present invention, and this method is applied to the IPv4 agreement, and with reference to this figure, this method mainly comprises the processing of transmitting terminal as shown in Figure 3 and the processing of receiving terminal shown in Figure 4:
301, transmitting terminal obtains an IP packet to be sent;
302, judge whether 8 bit protocol fields in the stem of an IP packet are two kinds of predefined 8 bit protocol fields, comprise compression protocol number and inquiry compression protocol number, specifically can (201) protocol number as compression protocol number, with (202) protocol number as inquiry compression protocol number, above-mentioned two kinds of predefined 8 bit protocol fields act on the explanation of following flow process counterpart;
303, to be judged as be to abandon an IP packet when 302;
304, be not judged as not when 303, show that then an IP packet comprises associated transport information as shown in table 2 and predefined data, transport packet is drawn together the normal change content in the IP data of an IP packet, predefined data is the part that does not comprise normal change content in the IP data, at this moment, calculate the index of predefined data correspondence, particularly, index can comprise main search key and time search key, main search key is 16 bit data length of an IP packet, inferior search key be above-mentioned predefined data 16 bit data checks and, transport packet is drawn together 8 bit protocol fields in the stem of an IP packet, normal change content in the IP data of the one IP packet, the normal content that becomes can define according to different IP packets, and above-mentioned predefined data promptly may be defined as and becomes very much content, for example, when an IP packet is a tcp data bag type, the normal content that becomes can comprise the one 16 potential source port numbers, the one 16 destination slogan, 32 bit sequence number, 32 confirm number and 16 TCP checks and, when an IP packet is a UDP message bag type, the normal content that becomes can comprise the 2 16 potential source port numbers, the 2 16 destination slogan, 16 UDP check and, so, the index of calculating predefined data correspondence can comprise following two parts:
According to 16 total lengths in the stem of an IP packet, 4 header length, calculate 16 bit data length of an IP packet;
Calculate above-mentioned predefined data 16 bit data checks and, often become content and do not participate in this part and calculate;
Table 2
305, preset index and the stored information corresponding relation from first, search the index correspondence, with the second identical stored information of first stored information of receiving terminal storage, particularly, with the check of 16 bit data of predefined data in the IP packet that calculates and, 16 bit data length of an IP packet are as index, preset in index and the stored information corresponding relation to first of transmitting terminal magnanimity cache stores, search with this index corresponding, with the second identical stored information of first stored information of receiving terminal storage;
306, do not find second stored information when 305, transmitting terminal sends an IP packet to receiving terminal, and preset index and stored information corresponding relation with predefined data and index upgrade first, particularly, transmitting terminal can directly send an IP packet to receiving terminal, and this predefined data of storage is a stored information in transmitting terminal magnanimity high-speed cache, and according to the check of 16 bit data of predefined data in the IP packet and, 16 bit data length of the one IP packet are created main search key, inferior search key, certainly, if this moment, transmitting terminal magnanimity high-speed cache was full, then need therefrom delete a part of stored information that frequency of utilization is low or unused time is long;
307, find second stored information when 305, judge second stored information whether with the predefined data coupling, particularly, can compare one by one to second stored information and predefined data, whether draw second stored information identical with predefined data;
308, be judged as second stored information and predefined data does not match when 307, show that an index is to there being different predefined datas, for guaranteeing that receiving terminal can restore an IP packet uniquely, transmitting terminal does not carry out 309 " compressions " to an IP packet to be handled, and directly sends an IP packet to receiving terminal;
309, be judged as second stored information and predefined data coupling when 307, show that transmitting terminal once sent an IP packet similar to an IP packet, at this moment, transmitting terminal is promptly with transmission information and index construct the 2nd IP packet, particularly, the 2nd IP packet as shown in table 3 below, transmitting terminal can the basis of IP data packet format as the 2nd IP data packet format on, with index, transmission information is replaced the IP section data of an IP packet, promptly in the part of the predefined data of an IP packet preceding 32 be predefined data in 16 bit data length of an IP packet and the IP packet the check of 16 bit data and, immediately following 8 bit protocol fields in the stem of an IP packet, follow the normal change content (random length) of an IP packet afterwards; With predefined 8 bit protocol fields, replace the part of 8 bit protocol fields in the stem of an IP packet as (201) protocol number; And calculate to upgrade 16 total lengths of the 2nd IP packet and the 2nd IP packet 16 stems checks and;
Table 3
Figure DEST_PATH_IMAGE003
310, transmitting terminal sends the 2nd IP packet to receiving terminal;
Be the processing of transmitting terminal more than, the following describes the processing of receiving terminal:
401, receiving terminal receives the current IP packet;
402, judge whether 8 bit protocol fields in the stem of current IP packet are above-mentioned two kinds of predefined 8 bit protocol fields;
403, when the 402 8 bit protocol fields that are judged as in the stem of current IP packet are inquiry compression protocol number, receiving terminal carries out similar 408 described query processings as the transmitting terminal of a certain IP packet;
404, be judged as 8 bit protocol fields in the stem of current IP packet neither compression protocol number neither be inquired about compression protocol number when 402, receiving terminal is transmitted the current IP packet, and according to above-mentioned 306 description the current IP packet is upgraded second processing that presets index and stored information corresponding relation;
405, to be judged as 8 bit protocol fields in the stem of current IP packet are compression protocols number when 402, be that the current IP packet that receiving terminal receives is the 2nd IP packet that above-mentioned transmitting terminal sends, receiving terminal presets index and the stored information corresponding relation from second, search first stored information of index correspondence in second packet, particularly, can be according to carrying in the 2nd IP packet, in 16 bit data length of an IP packet that calculates by transmitting terminal and the IP packet check of 16 bit data of predefined data and, preset in index and the stored information corresponding relation to second of receiving terminal magnanimity high-speed cache, search first stored information;
406, find first stored information when 405, show that transmitting terminal once sent an IP packet similar to an IP packet to receiving terminal, receiving terminal is according to the transmission information in the 2nd IP packet, the index and first stored information make up the 3rd IP packet, particularly, receiving terminal can utilize first stored information, and the 2nd 8 bit protocol field in the stem of an IP packet in the IP packet, 16 bit data length of the one IP packet, the normal content that becomes, make up the 3rd IP packet, in building process, also need to calculate the 16 bit data total lengths that upgrade the 3rd IP packet and the 3rd IP packet 16 stems checks and, like this, receiving terminal constructs the 3rd IP packet and has promptly realized the reduction of an IP packet at receiving terminal;
407, receiving terminal sends the 3rd IP packet to the destination of transmission information points;
408, search less than first stored information when 405, show that receiving terminal should store above-mentioned first stored information to realize the reduction of an IP packet at receiving terminal, but receiving terminal (buffer memory is full) deletion for a certain reason (has been deleted the information that frequency of utilization is low or unused time is long) this first stored information, or because asynchronous reasons such as power down have been lost this first stored information, at this moment, receiving terminal carries out query processing, promptly send the 5th IP packet be used to ask to obtain carry the 4th IP packet of predefined data according to the transmission information architecture in the 2nd IP packet and to transmitting terminal, particularly, receiving terminal can the 2nd basis of IP data packet format as the 5th IP data packet format on, source IP address and the transposing of purpose IP address with the 2nd IP packet, the compression protocol of the 2nd IP packet number is replaced with inquiry compression protocol number, as replace with (202) protocol number, form the 5th IP packet, after transmitting terminal receives the 5th IP packet, transmitting terminal can the 5th basis of IP data packet format as the 4th IP data packet format on, source IP address and the transposing of purpose IP address with the 5th IP packet, transmitting terminal is searched a stored information and is made up the 4th IP packet and send to receiving terminal, abandons if transmitting terminal is searched less than this stored information.
Need to prove that the data pack transmission method of the embodiment of the invention can also be applied to the IPv6 agreement, the stem of its corresponding IP packet, extension header are carried out similar processing according to IPv6 agreement related request.
Correspondingly, the embodiment of the invention also provides transmitting terminal, receiving terminal and corresponding IP data packet transmission system, to use the data pack transmission method of the invention described above embodiment.
Fig. 5 is the schematic diagram of the data packet transmission system of the embodiment of the invention, and this data packet transmission system comprises transmitting terminal 501 and receiving terminal as shown in Figure 7 502 as shown in Figure 6, and with reference to Fig. 5, Fig. 6, Fig. 7, wherein, transmitting terminal 501 comprises:
First memory cell 601, be used to store first and preset index and stored information corresponding relation, particularly, first memory cell 601 can be a storage medium (as magnanimity high-speed cache or other storage mediums) and stores first and preset index and stored information corresponding relation, certainly, first presets index and the stored information corresponding relation must be preserved the set that presets index list and have the stored information of corresponding relation with it, above-mentioned storage medium also can store the set (comprising above-mentioned second stored information) of stored information, and each stored information is corresponding with each index and partly or entirely identical with each stored information of receiving terminal 502 storages;
Computing unit 602, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculate the index of described predefined data correspondence, particularly, an IP packet to be sent can be that the IP type of data packet is (as tcp data bag type, UDP message bag type or ICMP type of data packet) or other IP type of data packet, can comprise as above stem shown in the table 1 and IP data, and the index that calculates the predefined data correspondence can be any information that corresponding relation is arranged with predefined data, like this, receiving terminal 502 can obtain predefined data according to index;
First searches unit 603, is used for from described first presetting index and stored information corresponding relation, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
Judging unit 604, be used for when finding described second stored information, judge whether described second stored information mates with described predefined data, particularly, can judge second stored information whether with the standard of predefined data coupling, can comprise judging whether second stored information is identical with predefined data, judge whether second stored information is close to a certain extent with predefined data, the standard of judgement can be selected according to requirement of IP data packet transmission integrality or safety requirements etc.;
First construction unit 605, be used for when described second stored information and described predefined data coupling, with described transmission information and described index construct the 2nd IP packet, particularly, the 2nd IP packet that builds should guarantee that receiving terminal can restore an IP packet, promptly construct the 3rd IP packet that comprises predefined data in the IP packet, wherein also should guarantee the correct of the information of transmitting;
First transmitting element 606 is used for sending described the 2nd IP packet to described receiving terminal 502, particularly, can send the 2nd IP packet to receiving terminal 502 by the Internet or other transmission networks.
The receiving terminal 502 corresponding with transmitting terminal 501 comprises:
Second memory cell 701, be used to store second and preset index and stored information corresponding relation, particularly, because the 2nd IP packet that sends at transmitting terminal does not comprise predefined data, for guaranteeing to restore an IP packet at receiving terminal, promptly construct the 3rd IP packet that comprises predefined data in the IP packet, then second memory cell 701 can be a storage medium (as magnanimity high-speed cache or other storage mediums) and stores second and preset index and stored information corresponding relation, certainly, second presets index and the stored information corresponding relation must be preserved the set that presets index list and have the stored information of corresponding relation with it, and second memory cell 701 also can store the set (comprising above-mentioned first stored information) of stored information, and each stored information is corresponding with each index and identical with each stored information of transmitting terminal 501 storages;
Receiving element 702 is used to receive the 2nd IP packet that described transmitting terminal 501 sends;
Second searches unit 703, is used for from second presetting index and stored information corresponding relation, searches described first stored information of described index correspondence;
Second construction unit 704 is used for making up the 3rd IP packet when finding described first stored information according to described transmission information, described index and described first stored information;
Second transmitting element 705 is used for sending described the 3rd IP packet to the destination of described transmission information points, certainly, when receiving terminal 502 is above-mentioned purpose ground, only need constructs the 3rd IP packet and need not to send.
Certainly, the transmitting terminal of the embodiment of the invention, receiving terminal and IP data packet transmission system can also expand at the data pack transmission method of as shown in Figure 3 the embodiment of the invention.
Need to prove, the transmitting terminal of the embodiment of the invention, receiving terminal, data packet transmission system can be applied to IPv4 agreement or IPv6 agreement, when being applied to the IPv6 agreement, each correlation unit carries out similar processing to stem, the extension header of corresponding IP packet according to IPv6 agreement related request.
In addition, one of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.

Claims (10)

1. a data pack transmission method is characterized in that, comprising:
When an IP packet to be sent comprises associated transport information and predefined data, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
Preset index and the stored information corresponding relation from first, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
When finding described second stored information, judge whether described second stored information mates with described predefined data,
If, then with described transmission information and described index construct the 2nd IP packet;
Send described the 2nd IP packet to described receiving terminal.
2. the method for claim 1, it is characterized in that described index comprises main search key and time search key, described main search key is 16 bit data length of a described IP packet, the 16 bit data check that described search key is described predefined data and
Described transport packet is drawn together 8 bit protocol fields, the described normal change content in the stem of a described IP packet,
When a described IP packet is a tcp data bag type, described normal change content comprise that the one 16 potential source port numbers, the one 16 destination slogan, 32 bit sequence number, 32 are confirmed number and 16 TCP checks and;
When a described IP packet is a UDP message bag type, described normal change content comprise the 2 16 potential source port numbers, the 2 16 destination slogan, 16 UDP checks and,
The index of the described predefined data correspondence of described calculating comprises:
According to 16 total lengths in the stem of a described IP packet, 4 header length, calculate 16 bit data length of a described IP packet;
Calculate described predefined data 16 bit data checks and.
3. method as claimed in claim 2 is characterized in that, describedly comprises with described transmission information and described index construct the 2nd IP packet:
On the described basis of IP data packet format as described the 2nd IP data packet format, the IP section data of replacing a described IP packet with described index, described transmission information, replace the part of 8 bit protocol fields in the stem of a described IP packet with predefined 8 bit protocol fields, and calculate 16 total lengths upgrading described the 2nd IP packet and 16 stem checks and.
4. the method for claim 1, it is characterized in that,, send a described IP packet to described receiving terminal when not searching described second stored information, and preset index and stored information corresponding relation with described predefined data and described index upgrade described first
When described second stored information and described predefined data do not match, send a described IP packet to described receiving terminal.
5. the method for claim 1 is characterized in that, described method also comprises:
When described receiving terminal receives described the 2nd IP packet, described receiving terminal presets index and the stored information corresponding relation from second, searches described first stored information of described index correspondence,
When finding described first stored information, described receiving terminal makes up the 3rd IP packet according to described transmission information, described index and described first stored information, and sends described the 3rd IP packet to the destination of described transmission information points.
6. method as claimed in claim 5 is characterized in that, described method also comprises:
When searching less than described first stored information, described receiving terminal is according to described transmission information architecture and send the 5th IP packet that is used to ask to obtain carry the 4th IP packet of described predefined data.
7. the method for claim 1 is characterized in that, described method is applied to IPv4 agreement or IPv6 agreement.
8. a data packet transmission transmitting terminal is characterized in that, comprising:
First memory cell is used to store first and presets index and stored information corresponding relation;
Computing unit, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
First searches the unit, is used for from described first presetting index and stored information corresponding relation, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
Judging unit is used for when finding described second stored information, judges whether described second stored information mates with described predefined data;
First construction unit is used for when described second stored information and described predefined data coupling, with described transmission information and described index construct the 2nd IP packet;
First transmitting element is used for sending described the 2nd IP packet to described receiving terminal.
9. the receiving terminal of a transmitting terminal correspondence as claimed in claim 8 is characterized in that, comprising:
Second memory cell is used to store second and presets index and stored information corresponding relation;
Receiving element is used to receive described the 2nd IP packet;
Second searches the unit, is used for from second presetting index and stored information corresponding relation, searches described first stored information of described index correspondence;
Second construction unit is used for making up the 3rd IP packet when finding described first stored information according to described transmission information, described index and described first stored information;
Second transmitting element is used for sending described the 3rd IP packet to the destination of described transmission information points.
10. a data packet transmission system comprises transmitting terminal and receiving terminal, it is characterized in that,
Described transmitting terminal, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculate the index of described predefined data correspondence, preset index and the stored information corresponding relation from first, search described index correspondence, the second identical stored information of first stored information with the receiving terminal storage, when finding described second stored information, judge whether described second stored information mates with described predefined data, if, send described the 2nd IP packet then with described transmission information and described index construct the 2nd IP packet, and to described receiving terminal;
Described receiving terminal is used to receive described the 2nd IP packet,
Wherein, described transmitting terminal comprises:
First memory cell is used to store first and presets index and stored information corresponding relation;
Computing unit, be used for comprising associated transport information and predefined data when an IP packet to be sent, described transport packet is drawn together the normal change content in the IP data of a described IP packet, described predefined data is the part that does not comprise normal change content in the described IP data, calculates the index of described predefined data correspondence;
First searches the unit, is used for from described first presetting index and stored information corresponding relation, search described index correspondence, with the second identical stored information of first stored information of receiving terminal storage;
Judging unit is used for when finding described second stored information, judges whether described second stored information mates with described predefined data;
First construction unit is used for when described second stored information and described predefined data coupling, with described transmission information and described index construct the 2nd IP packet;
First transmitting element is used for sending described the 2nd IP packet to described receiving terminal,
Described receiving terminal comprises:
Second memory cell is used to store second and presets index and stored information corresponding relation;
Receiving element is used to receive described the 2nd IP packet;
Second searches the unit, is used for from second presetting index and stored information corresponding relation, searches described first stored information of described index correspondence;
Second construction unit is used for making up the 3rd IP packet when finding described first stored information according to described transmission information, described index and described first stored information;
Second transmitting element is used for sending described the 3rd IP packet to the destination of described transmission information points.
CN2009103032554A 2009-06-15 2009-06-15 Data packet transmission method, device and system thereof Expired - Fee Related CN101577682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009103032554A CN101577682B (en) 2009-06-15 2009-06-15 Data packet transmission method, device and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009103032554A CN101577682B (en) 2009-06-15 2009-06-15 Data packet transmission method, device and system thereof

Publications (2)

Publication Number Publication Date
CN101577682A CN101577682A (en) 2009-11-11
CN101577682B true CN101577682B (en) 2011-11-16

Family

ID=41272472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009103032554A Expired - Fee Related CN101577682B (en) 2009-06-15 2009-06-15 Data packet transmission method, device and system thereof

Country Status (1)

Country Link
CN (1) CN101577682B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332909B (en) 2017-07-03 2020-03-31 中兴通讯股份有限公司 Method and device for realizing data transmission

Also Published As

Publication number Publication date
CN101577682A (en) 2009-11-11

Similar Documents

Publication Publication Date Title
US7471681B2 (en) Determining network path transmission unit
US9893984B2 (en) Path maximum transmission unit discovery
US7577151B2 (en) Method and apparatus for providing a network connection table
JP4759389B2 (en) Packet communication device
CN101572670B (en) Data packet processing method based on flow table, device and network system
US20090238209A1 (en) Method for transmitting fragmented packets, communication system, and tunnel equipment
CN103379029B (en) A kind of method of the routing forwarding of content network, apparatus and system
CN101645851B (en) Recombination method for IP fragment messages and device thereof
US7774484B1 (en) Method and system for managing network traffic
CN103873602A (en) Network resource naming method and generating device
CN106416175A (en) Protocol stack adaptation method and apparatus
CN101060482B (en) A route search method and forwarding system
CN103746768B (en) A kind of recognition methods of packet and equipment
KR100524035B1 (en) Packet distributor for distributing IP fragment packets to protocol processors without IP reassembly
CN102546398B (en) Message matching method and device
CN101577682B (en) Data packet transmission method, device and system thereof
CN103685030A (en) Method and device for data processing
US6963568B2 (en) Method for transmitting data packets, method for receiving data packets, data packet transmitter device, data packet receiver device and network including such devices
CN106878308B (en) ICMP message matching system and method
CN103118083B (en) The method and apparatus that a kind of service message forwards
CN101132359A (en) Network device and processing method for its cutting and packaging
CN102647347A (en) Connection-based traffic processing method and system
CN107786472B (en) Efficient tcp session reorganization device
JP6096464B2 (en) Proxy device and relay device
CN106330720A (en) Method for looking up IP message policy table rapidly

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111116

Termination date: 20170615

CF01 Termination of patent right due to non-payment of annual fee