CN102271081A - Data message transmission method and device - Google Patents

Data message transmission method and device Download PDF

Info

Publication number
CN102271081A
CN102271081A CN2010101991997A CN201010199199A CN102271081A CN 102271081 A CN102271081 A CN 102271081A CN 2010101991997 A CN2010101991997 A CN 2010101991997A CN 201010199199 A CN201010199199 A CN 201010199199A CN 102271081 A CN102271081 A CN 102271081A
Authority
CN
China
Prior art keywords
data message
address
option
message
heading
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
Application number
CN2010101991997A
Other languages
Chinese (zh)
Other versions
CN102271081B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2010101991997A priority Critical patent/CN102271081B/en
Publication of CN102271081A publication Critical patent/CN102271081A/en
Application granted granted Critical
Publication of CN102271081B publication Critical patent/CN102271081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data message transmission method and a data message transmission device. The method comprises the following steps of: if an Internet protocol (IP) option of a data message carries a destination IP address after the data message is received from source network equipment, performing routing query on the destination IP address in an IP message header and the destination IP address in the IP option of the data message, and copying N data messages according to a routing query result to make the IP message headers message and the destination IP address in the IP option of each copied data message correspond to the next hop of an identical route and make the IP message headers and the destination IP addresses in the IP options of different data messages correspond to the next hops of different routes, wherein N is more than or equal to 1; and transmitting the N copied data messages. By the method and the device, network bandwidth can be saved when the same data is transmitted to different destination equipment in a network.

Description

A kind of method and apparatus that sends datagram
Technical field
The present invention relates to network communications technology field, particularly a kind of method and apparatus that sends datagram.
Background technology
Video conferencing system realizes virtual meeting by the network communications technology, and the user who disperses on the geographical position is accumulated in a place, by multiple mode exchange of information such as image, sound, carries out collaborative work.The distance in space has been shortened in video conference to the full extent, and made things convenient between the cooperation member in real time, exchanged intuitively, therefore, more and more general application that this conference model is proper.
In video conferencing system, all video datas all can focus on multipoint control unit (MCU), and MCU is distributed to each meeting-place after handling again.In this process, the video data that MCU is distributed to each meeting-place usually all is identical, when the meeting number of fields that adds meeting is a lot, MCU will send identical packet many times, as shown in Figure 1, a lot of packets can appear on the network, these packets are purpose IP address difference only, other are such as source IP address, load etc. are all identical, obviously, this can consume a large amount of network bandwidths, and router one 1 among Fig. 1, many piece of data that each router of router one 2 and the part of router two 1 more than network side sends are to have redundancy, the data that MCU sends between each router and router only need a getting final product, and ideal state should be as shown in Figure 2.Except video conferencing system, also usually can meet other situations need send the situation of identical data packet to a plurality of destination devices from a source device.
In order to solve the problem that above-mentioned redundant data takies a large amount of network bandwidths, MCU adopts the multicast mode in the existing video conference, and MCU only need send a packet like this, and the terminal in all meeting-place all can receive data.Though but this mode can reach the purpose that the minimizing network bandwidth takies, but because multi-case data influences the router of all connections, the multi-case data that sends on the router that is not routed to the meeting-place terminal obviously also is redundant, send to router two as MCU among Fig. 3, and the multi-case data that router two sends to router two 1 and router two 2 is redundant.The burden that these obviously also can take the network bandwidth and increase router.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus that sends datagram, so that when in network, identical data being sent to various objectives equipment, conserve network bandwidth.
A kind of method that sends datagram, this method comprises:
A, after receiving the data message of source network device transmission, if carry purpose IP address in the IP option of definite described data message, then routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part, make the corresponding same route next jump in the purpose IP address of carrying in each piece of data message IP heading after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1;
The N piece of data message that obtains is duplicated in B, transmission.
A kind of device that sends datagram, this device comprises:
The message receiving element is used for the data message that the reception sources network equipment sends;
The type identification unit is used for judging whether the IP option of described data message carries purpose IP address;
Message process unit, be used in the judged result of described type identification unit when being, routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part, make the corresponding same route next jump in the purpose IP address of carrying in each piece of data message IP heading after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1;
Packet sending unit is used to send described message process unit and duplicates the N piece of data message that obtains.
A kind of device that sends datagram, this device comprises:
Message is provided with the unit, is used for when desire sends identical data to various objectives IP address one of them purpose IP address being carried in the IP heading of data message, other purposes IP address is carried in the data field of IP option of data message;
Packet sending unit is used to send described data message.
As can be seen from the above technical solutions, method and apparatus provided by the invention is by carrying the mode of purpose IP address in the IP of data message option, make router when receiving this data message, can from IP heading and IP option, obtain purpose IP address, according to routing inquiry result, the purpose IP address of the identical route next jump of correspondence is carried at sends to corresponding route next jump in the data message these purposes IP address.In this way, only need to send a data message between source network device and the router and between router and the router, realize the effect of similar multicast, thus conserve network bandwidth.But different with the multicast transmission is that data message of the present invention sends and carries out according to the routing inquiry result, therefore data message can be sent on the router that can not route to purpose IP address in the network, has further saved the network bandwidth.
Description of drawings
Fig. 1 sends a kind of schematic diagram of video data for existing video conferencing system;
Fig. 2 sends the ideal state schematic diagram of video data for video conferencing system;
Fig. 3 sends the another kind of schematic diagram of video data for existing video conferencing system;
Fig. 4 is the message format schematic diagram of IP datagram literary composition;
Fig. 5 is multibyte IP choice format schematic diagram;
The method flow diagram that Fig. 6 provides for the embodiment of the invention one;
The method flow diagram that Fig. 7 provides for the embodiment of the invention two;
The instance graph that Fig. 8 provides for the embodiment of the invention;
Fig. 9 is the apparatus structure schematic diagram that is arranged in the source network device provided by the invention;
Figure 10 is the apparatus structure schematic diagram that is arranged in the router provided by the invention;
Figure 11 is the another kind of apparatus structure schematic diagram that is arranged in the router provided by the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention mainly comprises: after router receives the data message of source network device transmission, if carry purpose IP address in the IP option of definite this data message, then routing inquiry is carried out in the purpose IP address of carrying in purpose IP address in the IP heading of this data message and the IP option, according to the routing inquiry result data message is copied as N part, wherein, the corresponding same route next jump in the purpose IP address of carrying in the IP heading of each the piece of data message after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1; Send N piece of data message.
In the present invention, can expand the IP option of data message and carry purpose IP address, it is combined with purpose IP address in the IP heading reach the purpose that multicast sends, source network device is in the time need being sent to different destination devices with identical data like this, can only send a data message, the IP address of one of them destination device is carried in the IP heading, the IP address of other destination devices all is carried in the IP option.
Fig. 4 is the message format of IP datagram literary composition, wherein the IP Option Field has 40 bytes, the IP option that it comprises can be divided into byte and multibyte, wherein, each IP option all begins with type (Type) field of 1 byte, byte only comprises the type field, and multibyte IP choice format is respectively length (Length) field, side-play amount (Offset) field and data (Data) field after the type field as shown in Figure 5.The length of the indication of Length field the type field, Length field and Data field.Wherein, the type field specifically comprises three son fields: numeral (Number) field of class (Class) field of the backup of 1 bit (Copied) son field, 2 bits and 5 bits.
The type of existing IP option can be as shown in table 1.Preceding two types is the IP option of byte, and other types are multibyte IP option.
Table 1
Figure BSA00000164731700041
IP option to the data message among the present invention is expanded, and increases by one type, is called serial ports multicast (IPORT MULTI) at this, and the Data field of this IP option is a unit with 4 bytes, is used to deposit purpose IP address, can deposit 9 purpose IP addresses at most.Source network device is when sending datagram, one of them purpose IP address is carried in the IP heading of data message, other purposes IP address is filled in the IP option one by one, if exceed the scope of holding of IP option, then can carry by another data message and exceed that part of purpose IP address that the IP option holds scope, the mode of carrying is identical.
After router receives data message from source network device, if determine that the type of this data message is not IPORT MULTI, be that the IP option does not comprise purpose IP address, then router is handled according to the handling process of the type correspondence of this data message in the prior art.If determine that the type of this data message is IPORT MULTI, promptly the IP option comprises purpose IP address, and then router is handled according to flow process provided by the invention, and concrete processing procedure is described by the mode of following two embodiment.
Embodiment one: as shown in Figure 6, router is that the data message of IPORT MULTI can be carried out following steps to type:
Step 601: from the IP heading of this data message and IP option, obtain purpose IP address.
Step 602: respectively routing inquiry is carried out in the purpose IP address that obtains, and divided into groups in purpose IP address, the route next jump that the purpose IP address of each group is corresponding identical according to Query Result.
Step 603: data message is copied as N part, make the corresponding one group of purpose IP address of each piece of data message, carry one of them the purpose IP address in pairing one group of this data message in the IP heading of data message, carry other purposes IP address in pairing one group of this data message in the IP option.Wherein N is the grouping number of purpose IP address, N 〉=1.
Because the purpose IP address of corresponding identical route next jump, only need to send a data message to this route next jump, the purpose IP address of these corresponding identical route next jumps is carried at sends to next jumping in the same piece of data message and get final product, the mode of specifically carrying is identical with the mode of carrying of source network device, promptly carries all purpose IP addresses by the mode of IP heading and the combination of IP option.
In above-mentioned N piece of data message, some data message may only have a purpose IP address in the corresponding purpose IP group of addresses, this purpose IP address is carried in the IP heading, just need not carry purpose IP address in the IP option, the type of this data message can be changed to non-IPORT MULTI in this case, next hop router is handled according to the processing mode of general data message and is got final product.Certainly, also can the type of data message not changed, next hop router is during according to Fig. 6 flow performing, and packet count still is 1, sends a data message toward its next hop router.
Step 604: send the route next jump of N piece of data message to correspondence.
After the processing of carrying out step 603, each piece of data message is sent to corresponding route next jump according to the routing inquiry result get final product.
Embodiment two: as shown in Figure 7, router is that the data message of IPORT MULTI can be carried out following steps to type:
Step 701: with the data message that receives as process object.
Step 702: from as obtaining purpose IP address the IP heading of the data message of process object and the IP option, and respectively routing inquiry is carried out in the purpose IP address that obtains.
Step 703: judge whether exist in the IP option with the IP heading in the purpose IP address of the corresponding different route next jumps in purpose IP address that carry, if, execution in step 704; Otherwise, execution in step 707.
Step 704: duplicate this data message, and will from IP option, delete with the purpose IP address of the corresponding different route next jumps in purpose IP address that carry in the IP heading as the data message of process object as process object.
Step 705: the purpose IP address that the IP heading carries in the data message that duplicates of deletion, and the purpose IP address that IP option in the data message that duplicates is carried with delete as the identical part in the purpose IP address in the IP option of the data message of process object.
When carrying out this step, can send current data message as process object, after also can arrive flow performing shown in Figure 7 and finishing, all data messages that obtain are duplicated in transmission together.
Step 706: one in the purpose IP address that IP option in the data message that duplicates is carried is transferred in the IP heading; The current data message that this duplicates as process object, is gone to execution in step 702.
Step 707: finish replication processes flow process to the data message.
If when execution in step 705, all send current data message, then also send current data message at every turn as process object in step 707 as process object.If in step 705, do not send current data message, then can when finish replication processes flow process to the data message, step 707 send and duplicate all data messages that obtain as process object.
In the present embodiment, before sending current data message as process object, if do not carry purpose IP address in the IP option of definite this data message, then the type of this data message can be changed to non-IPORT MULTI, make next hop router handle and get final product according to the processing mode of general data message.Certainly, also can the type of data message not changed, next hop router directly goes to step 707 in step 703 and sends this data message according to flow performing shown in Figure 7.
Lift a concrete example below, data message process of transmitting of the present invention is described.With framework shown in Figure 8 is example.Identical video data to the IP address of MCU desire transmission as source network device is the meeting-place terminal of 220.18.3.25,220.18.3.26,210.9.25.3 and 210.9.25.28.
MCU sends the data message that type is IPORT MULTI, carries 220.18.3.25 in the IP heading of this data message, carries 220.18.3.26,210.9.25.3 and 210.9.25.28 in the IP option, and the IP option is 14 bytes.
After router one receives this data message, after the processing mode among embodiment one or the embodiment two, form two data messages: carry 220.18.3.25 in the IP heading of a data message, carry 220.18.3.26 in the IP option, the IP option is 6 bytes, this data message sends to corresponding route next jump, i.e. router three.Carry 210.9.25.3 in the IP heading of another data message, carry 210.9.25.28 in the IP option, the IP option is 6 bytes, and this data message sends to corresponding route next jump, i.e. router four.Be not router two because the purpose IP address of carrying in IP heading and the IP option in the data message that router one receives all has corresponding next to jump, all will not have data message to be sent to router two.
After router three receives the data message that router one sends, processing mode according to embodiment one or embodiment two, also form two data messages: carry 220.18.3.25 in the IP heading of a data message, do not carry purpose IP address in the IP option, the IP option is 1 byte, this data message sends to corresponding route next jump after can being modified to IPOPT NOP type, and promptly the meeting-place terminal 1.Carry 220.18.3.26 in the IP heading of another data message, do not carry purpose IP address in the IP option, the IP option is 1 byte, and this data message sends to corresponding route next jump after can being modified to IPOPT NOP type, and promptly the meeting-place terminal 2.
After router four receives the data message that router one sends, processing mode according to embodiment one or embodiment two, also form two data messages: carry 210.9.25.3 in the IP heading of a data message, do not carry purpose IP address in the IP option, the IP option is 1 byte, this data message sends to corresponding route next jump after can being modified to IPOPT NOP type, and promptly the meeting-place terminal 3.Carry 210.9.25.28 in the IP heading of another data message, do not carry purpose IP address in the IP option, the IP option is 1 byte, and this data message sends to corresponding route next jump after can being modified to IPOPT NOP type, and promptly the meeting-place terminal 4.
As seen, in whole process, the transmission of data message between router is portion, and this data message can not be sent to the router that can not route to destination device.
Further, do not support characteristic provided by the invention, can on router, increase the property detection process of next hop router in order to prevent some router.Be specially: router by and next hop router between privately owned signaling carry property detection information; After next hop router receives this privately owned signaling, if support to the processing of IPORT MULTI categorical data message, is then replied response message by privately owned signaling.If router receives response message in the setting-up time of transfer characteristic detection information, then determine the processing of next hop router support to IPORT MULTI categorical data message, can handle the data message according to said method provided by the invention.If in the setting-up time of transfer characteristic detection information, do not receive response message, then definite next hop router is not supported the processing to IPORT MULTI categorical data message, then before sending datagram to this next hop router, can will send datagram respectively at the purpose IP address of carrying in the IP heading of the data message that will send and the IP option, and the type of the data message that sends is revised as non-IPORT MULTI type, only in the IP heading, carries purpose IP address in each data message.
More than be the description that method provided by the present invention is carried out, the device that invention is provided is described in detail below.
Fig. 9 is the apparatus structure schematic diagram that is arranged in the source network device provided by the invention, and as shown in Figure 9, this device can comprise: message is provided with unit 900 and packet sending unit 901.
Message is provided with unit 900, is used for when desire sends identical data to various objectives IP address one of them purpose IP address being carried in the IP heading of data message, other purposes IP address is carried in the data field of IP option of data message.
In addition, message is provided with the type field that unit 900 can also the IP option and is set to serial ports multicast IPORT MULTI type.
Packet sending unit 901 is used to send described data message.
Figure 10 is the apparatus structure schematic diagram that is arranged in the router provided by the invention, and as shown in figure 10, this device can comprise: message receiving element 1000, type identification unit 1100, message process unit 1200 and packet sending unit 1300.
Message receiving element 1000 is used for the data message that the reception sources network equipment sends.
Type identification unit 1100, whether the IP option that is used for the judgment data message carries purpose IP address.
Message process unit 1200, be used in the judged result of type identification unit 1100 when being, routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to the data message and the IP option, according to the routing inquiry result data message is copied as N part, make the corresponding same route next jump in the purpose IP address of carrying in each piece of data message IP heading after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1.
Packet sending unit 1300 is used to send message process unit 1200 and duplicates the N piece of data message that obtains.
Wherein, if type identification unit 1100 determines that the type field of the IP option of the data message that receives is a serial ports multicast IPORT MULTI type, then judge in the IP option of data message and carry purpose IP address.
More preferably, this device can also comprise: type is revised unit 1400, do not carry purpose IP address if be used for the data message IP option that packet sending unit 1300 will send, then the type field of IP option changes to non-IPORT MULTI type in the data message that will send.
Wherein, above-mentioned message process unit 1200 corresponding embodiment one and embodiment two can adopt following two kinds of structures:
First kind of structure: message process unit 1200 can specifically comprise:
First address obtains subelement 1201, is used in the judged result of type identification unit 1100 when being, obtains purpose IP address from the IP heading of the data message that receives and IP option.
The first routing inquiry subelement 1202 is used for that respectively first address is obtained the purpose IP address that subelement 1201 obtains and carries out routing inquiry.
Packet transaction subelement 1203 is used for according to the routing inquiry result of the first routing inquiry subelement 1202 being divided into groups in the purpose IP address that obtains, the route next jump that each purpose IP group of addresses is corresponding identical.
The first replication processes subelement 1204, the data message that is used for receiving copies as N part, make the corresponding purpose IP group of addresses of each piece of data message, duplicate carry in the IP heading of the data message that obtains this data message one of them the purpose IP address in the corresponding purpose IP group of addresses, carry in the IP option this data message other IP addresses in the corresponding purpose IP group of addresses; Wherein, N is the grouping number of the purpose IP address that obtains of packet transaction subelement 1203.
Second kind of structure, as shown in figure 11, message process unit 1200 can specifically comprise: object determines that subelement 1211, second address obtain subelement 1212, secondary route inquiry subelement 1213, judgment processing subelement 1214, the second replication processes subelement 1215 and message and handle subelement 1216.
Object is determined subelement 1211, and the data message that is used for message receiving element 1000 is received is as process object; Receive message when handling the data message that duplicates that subelement 1216 sends, with the data message that duplicates as process object.
Second address obtains subelement 1212, is used for obtaining purpose IP address from IP heading and IP option as the data message of process object.
Secondary route inquiry subelement 1213 is used for that second address is obtained the purpose IP address that subelement 1212 obtains and carries out routing inquiry.
Judgment processing subelement 1214, be used for judging the IP option whether exist with the IP heading in the purpose IP address of the corresponding different route next jumps in purpose IP address that carry, if send to the second replication processes subelement 1215 and to handle notice; Otherwise notice packet sending unit 1300 is carried out the operation that sends.
The second replication processes subelement 1215 is used to receive when handling notice, duplicates a data message as process object.
Message is handled subelement 1216, be used for from as the IP option of the data message of process object will with the purpose IP address deletion of the corresponding different route next jumps in purpose IP address that carry the IP heading, the purpose IP address that the IP heading carries in the data message that deletion is duplicated, and the purpose IP address that IP option in the data message that duplicates is carried with as the identical part deletion in purpose IP address in the IP option of the data message of process object, one in the purpose IP address that IP option in the data message that duplicates is carried is transferred in the IP heading, the current data message that duplicates is sent to object determine subelement 1211.
Based on above two kinds of structures, this device can further include: next jumps characteristic judging unit 1500 and message deconsolidation process unit 1600.
Next jumps characteristic judging unit 1500, be used for sending before each duplicates the data message that obtains in packet sending unit 1300, whether the route next jump of the data message correspondence that judgement will send supports the IP option is carried the processing of the data message of purpose IP address, if notice packet sending unit 1300 sends the data message that will send; Otherwise, send the fractionation notice to message deconsolidation process unit 1600.
Message deconsolidation process unit 1600, be used to receive when splitting notice, M-1 the purpose IP address that purpose IP address of carrying at IP heading in the data message that will send and IP option carry forms M data message respectively, only in the IP heading, carry a purpose IP address, M 〉=2 in this M the data message; The notice packet sending unit sends M data message.
Wherein, next is jumped characteristic judging unit 1500 and specifically sends the privately owned signaling of carrying property detection information to route next jump, if in setting-up time, receive the privately owned signaling of carrying response message that route next jump is replied, then determine the data message of purpose IP address is carried in the route next jump support to the IP option processing; Otherwise definite route next jump does not support the IP option is carried the processing of the data message of purpose IP address.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (15)

1. a method that sends datagram is characterized in that, this method comprises:
A, after receiving the data message of source network device transmission, if carry purpose IP address in the IP option of definite described data message, then routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part, make the corresponding same route next jump in the purpose IP address of carrying in each piece of data message IP heading after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1;
The N piece of data message that obtains is duplicated in B, transmission.
2. method according to claim 1, it is characterized in that, source network device is when sending identical data to various objectives IP address, one of them purpose IP address is carried in the IP heading of data message, other purposes IP address is carried in the data field of IP option of data message, and the type field of IP option is set to serial ports multicast IPORT MULTI type;
Determine that carrying purpose IP address in the IP option of described data message is: the type field of determining the IP option of the data message that receives is an IPORT MULTI type.
3. method according to claim 2 is characterized in that, before carrying out described step B, also comprise: the type field that does not carry the IP option of purpose IP address in the data message after will duplicating changes to non-IPORT MULTI type.
4. according to the described method of the arbitrary claim of claim 1 to 3, it is characterized in that, in the steps A, routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part and specifically comprises:
A1, from the IP heading of the data message that receives and IP option, obtain purpose IP address;
B1, respectively routing inquiry is carried out in the purpose IP address that obtains, divided into groups in the described purpose IP address that obtains, the route next jump that each purpose IP group of addresses is corresponding identical according to the routing inquiry result;
C1, data message is copied as N part, make the corresponding purpose IP group of addresses of each piece of data message, duplicate carry in the IP heading of the data message that obtains this data message one of them the purpose IP address in the corresponding purpose IP group of addresses, carry in the IP option this data message other IP addresses in the corresponding purpose IP group of addresses;
Wherein, N is the grouping number of purpose IP address in the steps A.
5. according to the described method of the arbitrary claim of claim 1 to 3, it is characterized in that, in the steps A, routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part and specifically comprises:
A2, with the data message that receives as process object;
B2, from as obtaining purpose IP address the IP heading of the data message of process object and the IP option, and respectively routing inquiry is carried out in the purpose IP address that obtains;
C2, judge whether exist in the IP option with the IP heading in the purpose IP address of the corresponding different route next jumps in purpose IP address that carry, if, execution in step D2; Otherwise, end step A;
D2, duplicate a described data message, and from the IP option of described data message as process object, will delete with the purpose IP address of the corresponding different route next jumps in purpose IP address that carry in the IP heading as process object;
The purpose IP address that the IP heading carries in E2, the data message that duplicates of deletion, and the purpose IP address that IP option in the data message that duplicates is carried with delete as the identical part in the purpose IP address in the IP option of the data message of process object;
One in F2, the purpose IP address that IP option in the data message that duplicates is carried is transferred in the IP heading; The current described data message that duplicates as process object, is gone to execution in step B2.
6. according to the arbitrary described method of claim 1 to 3, it is characterized in that, before each duplicates the data message that obtains in transmission, also comprise: whether the route next jump of the data message correspondence that judgement will send supports the IP option is carried the processing of the data message of purpose IP address, if send the described data message that will send; Otherwise the purpose IP address that purpose IP address of carrying at IP heading in the described data message that will send and IP option carry sends datagram respectively, and only carries purpose IP address in this data message that sends in the IP heading.
7. method according to claim 6, it is characterized in that, whether the route next jump of the data message correspondence that described judgement will send supports the processing of the IP option being carried the data message of purpose IP address specifically to comprise: send the privately owned signaling of carrying property detection information to described route next jump, if in setting-up time, receive the privately owned signaling of carrying response message that described route next jump is replied, then determine the data message of purpose IP address is carried in described route next jump support to the IP option processing; Otherwise definite described route next jump does not support the IP option is carried the processing of the data message of purpose IP address.
8. a device that sends datagram is characterized in that, this device comprises:
The message receiving element is used for the data message that the reception sources network equipment sends;
The type identification unit is used for judging whether the IP option of described data message carries purpose IP address;
Message process unit, be used in the judged result of described type identification unit when being, routing inquiry is carried out in the purpose IP address of carrying in purpose IP address of carrying in the IP heading to described data message and the IP option, according to the routing inquiry result data message is copied as N part, make the corresponding same route next jump in the purpose IP address of carrying in each piece of data message IP heading after duplicating and the IP option, and the route next jump that the purpose IP address of carrying in the IP heading of different pieces of information message and the IP option is corresponding different, N 〉=1;
Packet sending unit is used to send described message process unit and duplicates the N piece of data message that obtains.
9. device according to claim 8, it is characterized in that, if described type identification unit determines that the type field of the IP option of the data message that receives is a serial ports multicast IPORT MULTI type, then judge in the IP option of described data message and carry purpose IP address.
10. device according to claim 9, it is characterized in that, this device also comprises: type is revised the unit, do not carry purpose IP address if be used for the data message IP option that described packet sending unit will send, then the type field with IP option in the described data message that will send changes to non-IPORT MULTI type.
11. to the described device of 10 arbitrary claims, it is characterized in that described message process unit specifically comprises according to Claim 8:
First address obtains subelement, is used in the judged result of described type identification unit when being, obtains purpose IP address from the IP heading of the data message that receives and IP option;
The first routing inquiry subelement is used for that respectively described first address is obtained the purpose IP address that subelement obtains and carries out routing inquiry;
The packet transaction subelement is used for according to the routing inquiry result of the described first routing inquiry subelement being divided into groups in the described purpose IP address that obtains, the route next jump that each purpose IP group of addresses is corresponding identical;
The first replication processes subelement, be used for the described data message that receives is copied as N part, make the corresponding purpose IP group of addresses of each piece of data message, duplicate carry in the IP heading of the data message that obtains this data message one of them the purpose IP address in the corresponding purpose IP group of addresses, carry in the IP option this data message other IP addresses in the corresponding purpose IP group of addresses;
Wherein, N is the grouping number of the purpose IP address that obtains of described packet transaction subelement.
12. according to Claim 8 to the described device of 10 arbitrary claims, it is characterized in that described message process unit specifically comprises: object determines that subelement, second address obtain subelement, secondary route inquiry subelement, judgment processing subelement, the second replication processes subelement and message and handle subelement;
Described object is determined subelement, and the data message that is used for described message receiving element is received is as process object; Receive described message when handling the data message that duplicates that subelement sends, with the described data message that duplicates as process object;
Described second address obtains subelement, is used for obtaining purpose IP address from IP heading and IP option as the data message of process object;
Described secondary route inquiry subelement is used for that described second address is obtained the purpose IP address that subelement obtains and carries out routing inquiry;
Described judgment processing subelement, be used for judging described IP option whether exist with the IP heading in the purpose IP address of the corresponding different route next jumps in purpose IP address that carry, if send to the described second replication processes subelement and to handle notice; Otherwise, notify described packet sending unit to carry out the operation of described transmission;
The second replication processes subelement when being used to receive described processing notice, duplicates a data message as process object;
Message is handled subelement, be used for from the IP option of described data message as process object will with the purpose IP address deletion of the corresponding different route next jumps in purpose IP address that carry the IP heading, the purpose IP address that the IP heading carries in the data message that deletion is duplicated, and the purpose IP address that IP option in the data message that duplicates is carried with as the identical part deletion in purpose IP address in the IP option of the data message of process object, one in the purpose IP address that IP option in the data message that duplicates is carried is transferred in the IP heading, the current described data message that duplicates is sent to object determine subelement.
13. to the described device of 10 arbitrary claims, it is characterized in that this device also comprises according to Claim 8: next jumps characteristic judging unit and message deconsolidation process unit;
Described next jumping characteristic judging unit, be used for sending before each duplicates the data message that obtains in described packet sending unit, whether the route next jump of the data message correspondence that judgement will send supports the IP option is carried the processing of the data message of purpose IP address, if notify described packet sending unit to send the described data message that will send; Otherwise, send the fractionation notice to described message deconsolidation process unit;
Described message deconsolidation process unit, when being used to receive described fractionation notice, M-1 the purpose IP address that purpose IP address of carrying at IP heading in the described data message that will send and IP option carry forms M data message respectively, only in the IP heading, carry a purpose IP address, M 〉=2 in this M the data message; Notify described packet sending unit to send described M data message.
14. device according to claim 13, it is characterized in that, described next jumping characteristic judging unit specifically sends the privately owned signaling of carrying property detection information to described route next jump, if in setting-up time, receive the privately owned signaling of carrying response message that described route next jump is replied, then determine the data message of purpose IP address is carried in described route next jump support to the IP option processing; Otherwise definite described route next jump does not support the IP option is carried the processing of the data message of purpose IP address.
15. a device that sends datagram is characterized in that, this device comprises:
Message is provided with the unit, is used for when desire sends identical data to various objectives IP address one of them purpose IP address being carried in the IP heading of data message, other purposes IP address is carried in the data field of IP option of data message;
Packet sending unit is used to send described data message.
CN2010101991997A 2010-06-07 2010-06-07 Data message transmission method and device Active CN102271081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101991997A CN102271081B (en) 2010-06-07 2010-06-07 Data message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101991997A CN102271081B (en) 2010-06-07 2010-06-07 Data message transmission method and device

Publications (2)

Publication Number Publication Date
CN102271081A true CN102271081A (en) 2011-12-07
CN102271081B CN102271081B (en) 2013-11-06

Family

ID=45053249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101991997A Active CN102271081B (en) 2010-06-07 2010-06-07 Data message transmission method and device

Country Status (1)

Country Link
CN (1) CN102271081B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581847A (en) * 2003-08-12 2005-02-16 华为技术有限公司 Method and system for realizing data-message transmission
US20080310328A1 (en) * 2007-06-14 2008-12-18 Microsoft Corporation Client-side echo cancellation for multi-party audio conferencing
CN101505405A (en) * 2009-02-25 2009-08-12 国家广播电影电视总局广播科学研究院 Digital media content playing method and system based on content indexing
CN101605093A (en) * 2009-04-22 2009-12-16 网经科技(苏州)有限公司 Utilize IP Option to realize the method for information transparent transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581847A (en) * 2003-08-12 2005-02-16 华为技术有限公司 Method and system for realizing data-message transmission
US20080310328A1 (en) * 2007-06-14 2008-12-18 Microsoft Corporation Client-side echo cancellation for multi-party audio conferencing
CN101505405A (en) * 2009-02-25 2009-08-12 国家广播电影电视总局广播科学研究院 Digital media content playing method and system based on content indexing
CN101605093A (en) * 2009-04-22 2009-12-16 网经科技(苏州)有限公司 Utilize IP Option to realize the method for information transparent transmission

Also Published As

Publication number Publication date
CN102271081B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN102075417B (en) Multicast cutting method, protocol independent multicast router
CN104426681B (en) The distributed multicast of endpoint
US6654371B1 (en) Method and apparatus for forwarding multicast data by relaying IGMP group membership
JP3925188B2 (en) Application layer multicast method and relay node system
JP4415773B2 (en) Multicast packet relay device for virtual router
US7984127B2 (en) Data matrix method and system for distribution of data
US8010696B2 (en) Passing information from a forwarding plane to a control plane
CN100583801C (en) A method, system and switching device for dynamically establishing multicast virtual LAN
EP3035592B1 (en) Enhanced protocol independent multicast source registration over a reliable transport
CN101483655B (en) Packet transmission method and proxy device for Internet group management protocol
CN104426720A (en) Network relay system and switching device
CN104980355A (en) Source controllable multicast data transmission method and system thereof under SDN Environment
CN105144639A (en) Efficient multicast delivery to dually connected (VPC) hosts in overlay networks
CN101651626B (en) Traffic-forwarding method and device
CN106375211B (en) Exchange data processing method and interchanger in VRRP load-balancing scenario
US20120213223A1 (en) Efficient multicasting in a distributed system architecture
CN101009669B (en) A method and system and route device for transmitting the multicast message
CN106713142A (en) Method for transmitting IP message on CAN bus and IP local area network (LAN) built by using CAN bus network
CN102271081B (en) Data message transmission method and device
CN101232510A (en) Method and system for implementing multi-network port device multicast
WO2014059864A1 (en) Network switching apparatus
CN102316006B (en) Method and device for sending data message
JP4974929B2 (en) Communication device
JP5177155B2 (en) Packet relay device
JP2011259147A (en) Multicast distribution system, distribution router, and multicast distribution method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address