CN101155181B - Data flow multiplexing method, device and system - Google Patents

Data flow multiplexing method, device and system Download PDF

Info

Publication number
CN101155181B
CN101155181B CN2006101394805A CN200610139480A CN101155181B CN 101155181 B CN101155181 B CN 101155181B CN 2006101394805 A CN2006101394805 A CN 2006101394805A CN 200610139480 A CN200610139480 A CN 200610139480A CN 101155181 B CN101155181 B CN 101155181B
Authority
CN
China
Prior art keywords
multiplexing
packet
mapping relations
random value
udp port
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
CN2006101394805A
Other languages
Chinese (zh)
Other versions
CN101155181A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006101394805A priority Critical patent/CN101155181B/en
Publication of CN101155181A publication Critical patent/CN101155181A/en
Application granted granted Critical
Publication of CN101155181B publication Critical patent/CN101155181B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method for multiplexing data stream, including the following steps: a transmission terminal transmits random value and destination UDP port number to a receiving terminal, and takes the random value as multiplexing ID of a multiplexing message which is transmitted to the receiving terminal; the receiving terminal establishes the mapping relation of the random value and destination UDP port number, and receives multiplexing message according to established mapping relation. The present invention also discloses a transmitting data stream multiplexing device, a receiving data stream multiplexing device as well as a data stream multiplexing system. The present invention takes a random value as multiplexing ID of multiplexing message, and makes the random value be carried in a message to transmit to a receiving terminal when transmitting multiplexing initialization message, then establishes the mapping relation of the multiplexing ID and destination UDP, which improves the reliability and transmission efficiency of the data stream multiplexing technology.

Description

Data flow multiplexing method and data flow multiplexing equipment and data flow multiplexing system
Technical field
The present invention relates to multiplex technique, particularly wireless internet protocol (Internet Protocol, IP) data flow multiplexing method and data flow multiplexing equipment and the data flow multiplexing system in the transmission.
Background technology
In wireless 29.814 agreements, defined the data flow multiplexing technology in the wireless IP transmission, be used for saving wireless IP transmission, each RTP (Realtime Transmit Protocol, RTP) Liu User Datagram Protocol (User Datagram Protocol, UDP)/the following bandwidth resources that consumes of IP layer.
In the wireless IP transmission, need carry out multiplex consultation by transmitting terminal and receiving terminal and determine whether receiving terminal supports multiplexing function.Wherein, the multiplex consultation process is by user plane protocol (User Plane, UP) talk about initially that message realizes, if receiving terminal is supported multiplexing function, then use identical UP Initial message that transmitting terminal is responded, first bit of idle extension field is set to 1 in the UP Initial message, and this UP Initial message is sent to transmitting terminal, consults successfully.
Existing multiplexing method after consulting successfully, by add corresponding multiplexing head in message, can be realized multiplexing function.
Fig. 1 is the heading structure chart of multiplexing packet in the prior art.As shown in Figure 1, heading of the prior art comprises: multiplexing identify label (ID) 101 and length field (LI) 102.Wherein, multiplexing ID 101 is used to identify different connections, and value is a purpose udp port number, and length is 2 bytes; LI 102, are used to represent the length of message, are 1 byte.
Yet the employing said method is realized the multiplexing function in the wireless IP transmission, can bring following problem:
At first, owing in the UP Initial message, carried RAB (the Radio Access Bearer that is used to represent message length, RAB) son stream combination indication (RAB sub-FlowCombination Indicator, RFCI), therefore, LI is inessential byte, said method has all added the multiplexing head that comprises LI in each message, increased message length, reduce bandwidth availability ratio, wasted bandwidth resources.
Secondly, udp port number identical transmitting terminal two IP address differences appearring but in existing multiplexing method, and when same receiving terminal sent multiplexing packet, receiving terminal can't be distinguished the message from two transmitting terminals.
As seen, existing multiplexing method can't be distinguished the message from different transmitting terminals, and bandwidth availability ratio is lower, has wasted the part bandwidth resources, thereby makes the reliability of data flow multiplexing technology and efficiency of transmission lower.
Summary of the invention
In view of this, a main purpose of the present invention is, a kind of data flow multiplexing method is provided, and can improve the reliability and the efficiency of transmission of data flow multiplexing technology.
Another main purpose of the present invention is, a kind of transmission data flow multiplexing equipment is provided, and can improve the reliability and the efficiency of transmission of data flow multiplexing technology.
The 3rd main purpose of the present invention is, a kind of receiving data stream multiplexing equipment is provided, and can improve the reliability and the efficiency of transmission of data flow multiplexing technology.
The 4th main purpose of the present invention be, a kind of data flow multiplexing system is provided, and can improve the reliability and the efficiency of transmission of data flow multiplexing technology.
A main purpose according to above-mentioned the invention provides a kind of data flow multiplexing method, may further comprise the steps:
Transmitting terminal sends to receiving terminal with random value and purpose user datagram protocol UDP port numbers, and with the multiplexing identify label ID of described random value as multiplexing packet, sends multiplexing packet to receiving terminal; Receiving terminal is set up the mapping relations of the random value receive and purpose udp port number, sends to transmitting terminal and carries the multiplexing initialization response message of described mapping relations, and receive multiplexing packet according to the mapping relations of setting up;
Before transmitting terminal was receiving mapping relations from receiving terminal, described transmitting terminal sent multiplexing packet to receiving terminal and is: send the expression transmitting terminal to receiving terminal and do not receive unstable state multiplexing packet from the mapping relations of receiving terminal;
After receiving terminal was receiving mapping relations from receiving terminal, described transmitting terminal sent multiplexing packet to receiving terminal and is: send the expression transmitting terminal to receiving terminal and received stable state multiplexing packet from the mapping relations of receiving terminal.
Described random value is Call Reference Value IPPID;
Describedly further comprise before random value and purpose udp port number are sent to receiving terminal: transmitting terminal generates IPPID.
Describedly random value and purpose udp port number are sent to receiving terminal be: be carried on random value with purpose UDP and be in the multiplexing Initial message of multiplexing ID, send to receiving terminal.
Further comprise in the described multiplexing Initial message: Internet Protocol IP address, source and source udp port number and purpose IP address;
The mapping relations that described receiving terminal is set up described random value and purpose udp port number further comprise: the mapping relations of setting up source IP address, source udp port number, purpose IP address and described random value and purpose udp port number.
Described transmitting terminal further comprises after multiplexing packet is sent to receiving terminal: receiving terminal is according to the multiplexing ID in the described multiplexing packet and the mapping relations of described foundation, the multiplexing packet that receives is carried out legitimacy to be judged, and judging message when legal, receive multiplexing packet according to the mapping relations of setting up.
Comprise in the described multiplexing Initial message: IP Bearer Control Protocol IPBCP negotiating bearer address, perhaps the purpose IP address that issues of media gateway controller MGC and udp port number;
Described transmitting terminal further comprises after multiplexing packet is sent to receiving terminal: receiving terminal is according to the IPBCP negotiating bearer address in the described multiplexing packet, perhaps the purpose IP address that issues of MGC and udp port number, the multiplexing packet that receives is carried out legitimacy to be judged, and judging message when legal, receive multiplexing packet according to the mapping relations of setting up.
Described multiplexing packet further comprises: initialization sign and mapped identification;
Described unstable state multiplexing packet is: initialization sign and mapped identification are 1 multiplexing packet;
Described stable state multiplexing packet is: initialization is designated 0, mapped identification is 1 multiplexing packet.
Described multiplexing packet also comprise be used for representing message whether carry the expansion sign of extended byte and be used to in the extended byte of consulting.
Describedly further comprise after receiving terminal sends the unstable state multiplexing packet: receiving terminal carries the multiplexing response message of described mapping relations to the transmitting terminal transmission after receiving unstable state multiplexing packet from transmitting terminal.
Describedly further comprise after receiving terminal sends the stable state multiplexing packet: receiving terminal sends multiplexing response message to transmitting terminal after receiving stable state multiplexing packet from transmitting terminal.
Described transmitting terminal will send multiplexing packet to receiving terminal: the field that the multiplexing ID boil down to that will be made of described random value is 7, the initialization sign is set to 0, and sends the multiplexing packet of the multiplexing ID after comprising initialization sign and compression to receiving terminal.
According to another above-mentioned main purpose, the invention provides a kind of transmission data flow multiplexing equipment, comprising: main control unit, multiplexing ID generation unit and interface unit, wherein,
Described main control unit, be used for asking according to the transmission that begins that comprises purpose user datagram protocol UDP port numbers from the outside, send multiplexing ID request to multiplexing identify label ID generation unit, ask multiplexing ID generation unit to generate a random value as multiplexing ID; Reception is from the random value of multiplexing identify label ID generation unit, and with the multiplexing ID of this random value as multiplexing packet; Multiplexing packet is set to represent that transmitting terminal does not receive the unstable state multiplexing packet from the mapping relations of receiving terminal, being carried on random value with purpose UDP is in the multiplexing Initial message of multiplexing ID, and multiplexing packet and the multiplexing Initial message that carries from the random value of multiplexing ID generation unit are sent to interface unit;
Described multiplexing ID generation unit is used for generating random value according to the request from main control unit, and this random value is offered main control unit;
Interface unit is used for the multiplexing packet from the master control unit is sent to the outside with the multiplexing Initial message that carries random value.
This equipment further comprises the mapping memory cell, is used to store the mapping relations from main control unit;
Described interface unit is further used for and will number sends to the outside from purpose IP address, source IP address and the source udp port of master control unit; To send to main control unit with the multiplexing initialization response message that carries mapping relations from the multiplexing packet of outside;
Described main control unit be further used for will be in advance purpose IP address, source IP address and the source udp port of storage number send to interface unit; According to the mapping relations that multiplexing initialization response message carries, multiplexing packet is set to the stable state multiplexing packet; The mapping relations that multiplexing initialization response message is carried send to the mapping memory cell.
The 3rd main purpose according to above-mentioned the invention provides a kind of receiving data stream multiplexing equipment, comprising: main control unit, mapping memory cell, interface unit and multiplexing ID generation unit, wherein,
Described main control unit is used for the multiplexing Initial message from interface unit is sent to the mapping memory cell; According to from the multiplexing identify label ID in the multiplexing packet of interface unit and the mapping relations of storage inside, judge the legitimacy of this message; According to multiplexing Initial message, from the mapping memory cell, read mapping relations, send to interface unit and carry the multiplexing initialization response message of mapping relations; Reception is from the random value and the purpose user datagram protocol UDP port numbers of outside; Random value and purpose udp port number are sent to the mapping memory cell; According to mapping relations, receive multiplexing packet from the outside from the mapping memory cell; After the multiplexing Initial message that receives from interface unit, send multiplexing ID request to multiplexing ID generation unit, ask multiplexing ID generation unit to generate a random value as the multiplexing ID of multiplexing response message; Reception is from the random value of multiplexing ID generation unit, and with the multiplexing ID of this random value as multiplexing response message; To send to the mapping memory cell from the random value of multiplexing ID generation unit; Reception is from the mapping relations of mapping memory cell; When the multiplexing packet that receives does not receive unstable state multiplexing packet from the mapping relations of receiving terminal for the expression transmitting terminal, the multiplexing response message that carries mapping relations is sent to interface unit; When the multiplexing packet that receives has been received stable state multiplexing packet from the mapping relations of receiving terminal for the expression transmitting terminal, multiplexing response message is sent to interface unit;
Described mapping memory cell is used to set up the mapping relations from the random value of main control unit and purpose udp port number; The mapping relations of setting up are offered main control unit; According to multiplexing Initial message, set up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number from main control unit; The mapping relations of setting up are offered main control unit; According to from the multiplexing Initial message of main control unit with as the random value of the multiplexing ID of multiplexing response message, set up and store the mapping relations of the multiplexing ID of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number and multiplexing response message; The mapping relations of setting up are offered main control unit;
Interface unit is used for from the multiplexing packet of outside with comprise Internet Protocol IP address, source and the multiplexing Initial message of source udp port number and purpose IP address sends to main control unit; To send to the outside from the multiplexing initialization response message of master control unit; To send to the outside with the multiplexing response message that carries mapping relations from the multiplexing response message of master control unit;
Multiplexing ID generation unit is used for generating random value according to the request from main control unit, and this random value is offered main control unit.
According to the 4th above-mentioned main purpose, the invention provides a kind of data flow multiplexing system, comprising: send data flow multiplexing equipment and receiving data stream multiplexing equipment, wherein,
Described transmission data flow multiplexing equipment is used to generate random value, and with the multiplexing identify label ID of this random value as multiplexing packet; Random value and purpose user datagram protocol UDP port numbers are sent to the receiving data stream multiplexing equipment; To send to the receiving data stream multiplexing equipment as the multiplexing packet of multiplexing identify label ID with random value; According to from the multiplexing Initial message that sends data flow multiplexing equipment, set up and store the mapping relations of the multiplexing ID of multiplexing ID, Internet Protocol IP address, source, purpose IP address and source udp port number and purpose udp port number and multiplexing response message; According to from the multiplexing ID in the multiplexing packet that sends data flow multiplexing equipment and the mapping relations of described foundation and storage, judge the legitimacy of this message; According to multiplexing Initial message, carry the multiplexing initialization response message of mapping relations to sending the transmission of data flow multiplexing equipment; After receiving, generate a random value as the multiplexing ID of multiplexing response message from the multiplexing Initial message that sends data flow multiplexing equipment; Set up and store the mapping relations of the multiplexing ID of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number and multiplexing response message; When the multiplexing packet that receives is the unstable state multiplexing packet, the multiplexing response message that carries mapping relations is sent to the data flow multiplexing equipment that sends; When the multiplexing packet that receives is the stable state multiplexing packet, multiplexing response message is sent to the data flow multiplexing equipment that sends;
Described receiving data stream multiplexing equipment is used to receive from the random value that sends data flow multiplexing equipment and purpose udp port number; The mapping relations of random value that foundation receives and purpose udp port number; According to described mapping relations, receive from the multiplexing packet that sends data flow multiplexing equipment; Purpose IP address, source IP address and source udp port number are sent to the receiving data stream multiplexing equipment; According to from the outside comprise purpose udp port number begin the transmission request, generate a random value as multiplexing ID; Multiplexing packet is set to the unstable state multiplexing packet; Storage is from the mapping relations of receiving data stream multiplexing equipment; According to the mapping relations that multiplexing initialization response message carries, multiplexing packet is set to the stable state multiplexing packet; Store the mapping relations that multiplexing initialization response message carries.
This shows, with random value as the multiplexing ID in the multiplexing packet, and before sending multiplexing packet, earlier this random value and purpose udp port number are sent to receiving terminal, set up the mapping relations of multiplexing ID and purpose udp port number again by receiving terminal, and, improved the reliability and the efficiency of transmission of data flow multiplexing technology according to the multiplexing packet of this mapping relations reception from transmitting terminal.And, can not comprise length field in the multiplexing packet of the present invention, saved the bandwidth resources that wireless IP transmission takies; Name of the present invention makes receiving terminal can distinguish the multiplexing packet from different transmitting terminals by setting up the mapping relations of random value and purpose udp port number.The present invention is before sending multiplexing packet, also purpose IP address, source IP address and source udp port number are sent to receiving terminal, set up the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number by receiving terminal, and then make receiving terminal in wireless IP transmission course, the problem that can resist invalid packet; The present invention can also add extended byte in multiplexing packet, can realize being with interior negotiation, increases the compatibility of host-host protocol.
The present invention can also be according to IP Bearer Control Protocol (IP Bearer Control Protocol, IPBCP) negotiating bearer address, perhaps Media Gateway Controller (Media Gateway Controller, MGC) issue the IP address of receiving terminal and udp port and number judge the multiplexing packet legitimacy, simplified that legitimacy is judged flow process and the upgrading of existing equipment.
Description of drawings
Fig. 1 is the heading structure chart of multiplexing packet in the prior art.
Fig. 2 is for sending the exemplary block diagram of data flow multiplexing equipment among the present invention.
Fig. 3 is the exemplary block diagram of receiving data stream multiplexing equipment among the present invention.
Fig. 4 is the exemplary process diagram of data flow multiplexing method among the present invention.
Fig. 5 is the heading structure chart of multiplexing Initial message among the present invention.
Fig. 6 is the heading structure chart of multiplexing packet among the present invention.
Fig. 7 is the message interaction flow chart in the data flow multiplexing method of the present invention.
Fig. 8 is the structure chart that sends data flow multiplexing equipment in the embodiment of the invention.
Fig. 9 is the structure chart of receiving data stream multiplexing equipment in the embodiment of the invention.
Figure 10 is the structure chart of data flow multiplexing system in the embodiment of the invention.
Figure 11 is the flow chart of data flow multiplexing method in the embodiment of the invention.
Figure 12 is the heading structure chart of multiplexing Initial message in the embodiment of the invention.
Figure 13 is the heading structure chart of multiplexing packet in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Basic thought of the present invention is: with random value as the multiplexing ID in the multiplexing packet, and before sending multiplexing packet, earlier this random value and purpose udp port number are sent to receiving terminal, set up the mapping relations of multiplexing ID and purpose UDP again by receiving terminal, and according to the multiplexing packet of this mapping relations reception from transmitting terminal.
Wherein, random value can be Call Reference Value (IPPID), also can be the random value that generates arbitrarily, can also be the random value that external system provides; The multiplexing ID of multiplexing Initial message is a purpose udp port number; In multiplexing Initial message, can also carry purpose IP address, source udp port number and source IP address.
Data flow multiplexing of the present invention system comprises and sends data flow multiplexing equipment and receiving data stream multiplexing equipment; Source udp port number and source IP address are the udp port that sends data flow multiplexing equipment number and IP address; Purpose IP address and purpose udp port number are the IP address of receiving data stream multiplexing equipment and udp port number.
Fig. 2 is for sending the exemplary block diagram of data flow multiplexing equipment among the present invention.As shown in Figure 2, transmission data flow multiplexing equipment of the present invention comprises: main control unit 201 and multiplexing ID generation unit 202.
Main control unit 201 is used to receive the random value from multiplexing ID generation unit 202, and with the multiplexing ID of this random value as multiplexing packet; Random value and purpose udp port number are sent to outside receiving data stream multiplexing equipment; To send to outside receiving data stream multiplexing equipment as the multiplexing packet of multiplexing ID with random value.
Multiplexing ID generation unit 202 is used to generate random value, and this random value is offered main control unit 201.
Wherein, the principle of multiplexing ID generation unit 202 generation random values can be identical with the principle that generates IPPID.
Fig. 3 is the exemplary block diagram of receiving data stream multiplexing equipment among the present invention.As shown in Figure 3, receiving data stream multiplexing equipment of the present invention comprises: main control unit 301 and mapping memory cell 302.
Main control unit 301 is used to receive from the outside and sends the random value of data flow multiplexing equipment and purpose udp port number; Random value and purpose udp port number are sent to mapping memory cell 302; According to mapping relations, receive the multiplexing packet that sends data flow multiplexing equipment from the outside from mapping memory cell 302;
Mapping memory cell 302 is used to set up the mapping relations from the random value of main control unit 301 and purpose udp port number; The mapping relations of setting up are offered main control unit 301.
In the physical entity at above-mentioned transmission data flow multiplexing equipment place, also can comprise the receiving data stream multiplexing equipment, be used for this physical entity the time, receive message from other transmitting terminal as receiving terminal; In the physical entity at above-mentioned receiving data stream multiplexing equipment place, also can comprise sending ending equipment, be used for this physical entity the time, send message to other receiving terminal as transmitting terminal.
Below, data flow multiplexing method of the present invention is described.
Fig. 4 is the exemplary process diagram of data flow multiplexing method among the present invention.As shown in Figure 4, data flow multiplexing method of the present invention may further comprise the steps:
Step 401, transmitting terminal number sends to receiving terminal with random value and purpose udp port;
Step 402, receiving terminal are set up the mapping relations of the random value receive and purpose udp port number;
Step 403, transmitting terminal be the multiplexing ID of this random value as multiplexing packet, and send multiplexing packet to receiving terminal; Receiving terminal receives multiplexing packet according to the mapping relations of setting up.
Wherein, above-mentioned steps 403 can be carried out after step 402, also can carry out simultaneously with step 402, can also carry out before step 402 after the step 401.
In above-mentioned flow process, transmitting terminal number sends to receiving terminal with random value and purpose udp port, realize by sending multiplexing Initial message,, random value is carried in the multiplexing Initial message purpose udp port number multiplexing ID as multiplexing Initial message; Multiplexing Initial message and multiplexing packet all can not comprise LI, can also carry extended byte; After above-mentioned flow process, receiving terminal can be judged the legitimacy of message according to the multiplexing ID in mapping relations of setting up and the multiplexing packet that receives; Receiving terminal carries the multiplexing initialization response message of these mapping relations to the transmitting terminal transmission after having set up mapping relations.
Fig. 5 is the heading structure chart of multiplexing Initial message among the present invention.As shown in Figure 5, the heading of multiplexing Initial message comprises: length is 1 initialization sign L 501, the multiplexing ID 502 of initialization, the mapped identification Y 503 that length is 1, the multiplexing ID 504 that length is 15, the map information 505 that length is 22 bytes and the Nbup frame 506 that length is not limit that length is 15.
In the heading of multiplexing Initial message, initialization sign L 501 is 1, and mapped identification Y 503 is 0, is used to represent that this message is an Initial message; At this moment, to be purpose udp port number, multiplexing ID 504 be the udp port of transmitting terminal number and IP address for random value, map information 505 to the multiplexing ID 502 of initialization.
In the heading of multiplexing Initial message, carry multiplexing ID 504, map information 505 and Nbup frame 506, so that receiving terminal can be with as random value, purpose IP address and the source udp port of the multiplexing ID of subsequent reuse message number and source IP address, number be mapped with the purpose udp port, generate mapping relations.In this case, receiving terminal can be according to the corresponding relation of random value, purpose IP address, source udp port number, source IP address and purpose udp port number, opposing invalid packet.
Fig. 6 is the heading structure chart of multiplexing packet among the present invention.As shown in Figure 6, the heading of multiplexing packet comprises: the Nbup frame 605 that the mapped identification Y 603 that length is 1 initialization sign L 601, multiplexing ID 602 that length is 15, length is 1, the length field LI 604 that length is 15 and length are not limit.
In the heading of multiplexing packet, mapped identification Y 603 is used to represent whether transmitting terminal receives the mapping relations that receiving terminal sends; When initialization sign L 601 is 0, and mapped identification Y 603 is 1 o'clock, and the expression transmitting terminal has been received the mapping relations from receiving terminal, and the information mapping relation of not carrying transmitting terminal in the message that sends of transmitting terminal, and the multiplexing packet of this moment is the stable state multiplexing packet; L 601 is 1 when the initialization sign, and mapped identification Y 603 is 1 o'clock, the expression transmitting terminal does not receive the mapping relations from receiving terminal, and does not carry the information mapping relation of transmitting terminal in the message of transmitting terminal transmission, and the multiplexing packet of this moment is the unstable state multiplexing packet.
Wherein, each sign also can adopt other set-up modes to represent transmitting terminal and the receiving terminal reiving/transmitting state to the mapping relations set up in the heading.
In the above-mentioned heading, also can not comprise length field LI 604 and mapped identification Y 603, only need to identify to judge whether current message is multiplexing Initial message, save the bandwidth that transmission needs according to initialization.
Because the delay in the network may reach milliseconds up to a hundred, therefore, for the stream of 20ms packing, transmitting terminal may just be received the mapping relations of receiving terminal transmission after having sent about 10 message.
At the problems referred to above, the present invention is before the response message of not receiving from receiving terminal, and transmitting terminal regularly sends Initial message, can send once for per 8 messages, also can set message number at interval as required, the multiplexing packet that send this moment is the unstable state multiplexing packet.
What receive from receiving terminal, carry after the response message of source IP address and udp port number and purpose IP address, purpose udp port number, transmitting terminal just begins to send the stable state multiplexing packet to receiving terminal.
Based on above-mentioned message, high reliability and high efficiency transmission have been realized.Fig. 7 is the message interaction flow chart in the data flow multiplexing method of the present invention.As shown in Figure 7, the message interaction flow process in the data flow multiplexing method of the present invention may further comprise the steps:
Step 701, transmitting terminal and receiving terminal carry out the negotiation of multiplexing function, and consult successfully.
Step 702, transmitting terminal is to receiving terminal transmission multiplexing Initial message as shown in Figure 5.
Step 703, receiving terminal has been set up mapping relations according to after the multiplexing Initial message that receives, and sends to transmitting terminal and to carry mapping relations, with the multiplexing initialization response message of multiplexing Initial message same format as shown in Figure 5.
Step 704, transmitting terminal are waited for the mapping relations that receive from receiving terminal after having sent multiplexing Initial message, and to receiving terminal transmission unstable state multiplexing packet as shown in Figure 6.
Step 705, receiving terminal are waited for the mapping relations that receive from transmitting terminal after having sent multiplexing initialization response message, and to transmitting terminal transmission unstable state multiplexing packet as shown in Figure 6, as multiplexing response message.
Step 706, transmitting terminal and receiving terminal have received mapping relations.
Step 707, transmitting terminal is to receiving terminal transmission stable state multiplexing packet as shown in Figure 6.
Step 708, receiving terminal is to transmitting terminal transmission stable state multiplexing packet as shown in Figure 6, as multiplexing response message.
In the above-mentioned flow process, it can be one by one the message synchronized transmission that transmitting terminal and receiving terminal send message, also can be the process of an asynchronous transmission.
Like this, both guaranteed the reliability of transmission, and because mapping relations are not to be carried in all messages, thereby can not cause that bandwidth increases problem yet.
Below, in conjunction with specific embodiments, the data flow multiplexing equipment in the IP protocol transmission of the present invention and system and data flow multiplexing method are elaborated.
Fig. 8 is the structure chart that sends data flow multiplexing equipment in the embodiment of the invention.As shown in Figure 8, transmission data flow multiplexing equipment of the present invention comprises: main control unit 801, multiplexing ID generation unit 802 and interface unit 803.
Main control unit 801, be used for according to from the outside comprise purpose udp port number begin the transmission request, send multiplexing ID request to multiplexing ID generation unit 802, ask multiplexing ID generation unit 802 to generate a random value as multiplexing ID; Reception is from the random value of multiplexing ID generation unit 802, and with the multiplexing ID of this random value as multiplexing packet; Initialization sign in the multiplexing packet is set to 1, and mapped identification is set to 1, is about to multiplexing packet and is set to the unstable state multiplexing packet; Multiplexing packet and the multiplexing Initial message that carries from the random value of multiplexing ID generation unit 802 are sent to interface unit 803, and the multiplexing ID of multiplexing Initial message is a purpose udp port number.
Multiplexing ID generation unit 802 is used for generating a random value, and this random value being offered main control unit 801 according to the request from main control unit 801.
Interface unit 803 is used for the multiplexing packet from the master control unit is sent to outside receiving terminal with the multiplexing Initial message that carries random value.
In the practical application, send data flow multiplexing equipment and also comprise mapping memory cell 804, be used to store mapping relations, and offer main control unit 801 from main control unit 801.
In this case, interface unit 803 can also be used for the multiplexing response message from outside receiving terminal is sent to main control unit 801 with the multiplexing initialization response message that carries mapping relations.
Main control unit 801 also is used for the mapping relations of carrying according to multiplexing initialization response message, and the initialization sign in the multiplexing packet is set to 0, and mapped identification is set to 1, is about to multiplexing packet and is set to the stable state multiplexing packet; The mapping relations that multiplexing initialization response message is carried send to mapping memory cell 804; And after the multiplexing response message that receives from interface unit 803,, message is carried out legitimacy judge according to mapping relations from mapping memory cell 804.
In the transmission data flow multiplexing equipment of present embodiment, the principle of multiplexing ID generation unit 802 generation random values can be identical with the principle that generates IPPID; In multiplexing Initial message, purpose IP address, source udp port number and source IP address have also been carried; Source udp port number and source IP address are to be stored in advance in the main control unit 801; Purpose IP address also can be stored in the main control unit 801 in advance, perhaps when needs send, is provided with and stores.
The transmission data flow multiplexing equipment of present embodiment also can send to mapping relations outside receiving data stream multiplexing equipment after having set up mapping relations.
Fig. 9 is the structure chart of receiving data stream multiplexing equipment in the embodiment of the invention.As shown in Figure 9, receiving data stream multiplexing equipment of the present invention comprises: main control unit 901, mapping memory cell 902 and interface unit 903.
Main control unit 901 is used for the multiplexing Initial message from interface unit 903 is sent to mapping memory cell 902; According to from the multiplexing ID in the multiplexing packet of interface unit 903 and the mapping relations of storage inside, judge the legitimacy of this message; According to multiplexing Initial message, from mapping memory cell 902, read mapping relations, send to interface unit 903 and carry the multiplexing initialization response message of mapping relations.
Mapping memory cell 902 is used for according to from the multiplexing Initial message of main control unit 901, sets up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number; The mapping relations of setting up are offered main control unit 901.
Interface unit 903 is used for and will sends data flow multiplexing equipment from the outside, multiplexing packet and comprise that the multiplexing Initial message of source IP address, purpose IP address and source udp port number sends to main control unit 901; To send to the outside data flow multiplexing equipment that sends from the multiplexing initialization response message of master control unit 901.
In the practical application, the receiving data stream multiplexing equipment also comprises multiplexing ID generation unit 904, is used for generating a random value, and this random value being offered main control unit 901 according to the request from main control unit 901.
In this case, main control unit 901 also is used for after the multiplexing Initial message that receives from interface unit 903, send multiplexing ID request to multiplexing ID generation unit 904, ask multiplexing ID generation unit 904 to generate a random value as the multiplexing ID of multiplexing response message; Reception is from the random value of multiplexing ID generation unit 904, and with the multiplexing ID of this random value as multiplexing response message; To send to mapping memory cell 902 from the random value of multiplexing ID generation unit 904; Reception is from the mapping relations of mapping memory cell 902; The initialization of the heading of the multiplexing packet that receives be designated 1 and mapped identification be 1 o'clock, when promptly receiving the unstable state multiplexing packet, the multiplexing response message that carries mapping relations is sent to interface unit 903; The initialization of the heading of the multiplexing packet that receives be designated 0 and mapped identification be 1 o'clock, when promptly receiving the stable state multiplexing packet, multiplexing response message is sent to interface unit 903.
Mapping memory cell 902 also is used for according to from the multiplexing Initial message of main control unit 901 with as the random value of the multiplexing ID of multiplexing response message, sets up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number; The mapping relations of setting up are offered main control unit 901.
Interface unit 903 also is used for the multiplexing response message from master control unit 901 is sent to the outside data flow multiplexing equipment that sends with the multiplexing response message that carries mapping relations.
In the receiving data stream multiplexing equipment of present embodiment, the principle of multiplexing ID generation unit 902 generation random values can be identical with the principle that generates IPPID.
The receiving data stream multiplexing equipment of present embodiment sent data flow multiplexing equipment to the outside and sends astable multiplexing response message before the mapping relations that receive from outside transmission data flow multiplexing equipment; After the mapping relations that received from outside transmission data flow multiplexing equipment, send the multiplexing response message that data flow multiplexing equipment sends stable state to the outside.
By above-mentioned transmission data flow multiplexing equipment and receiving data stream multiplexing equipment, can constitute the multiplex system in the embodiment of the invention.
Figure 10 is the structure chart of data flow multiplexing system in the embodiment of the invention.As shown in figure 10, data flow multiplexing of the present invention system comprises: send data flow multiplexing equipment 1001 and receiving data stream multiplexing equipment 1002.
Send data flow multiplexing equipment 1001, be used for according to from the outside comprise purpose udp port number begin the transmission request, generate a random value, and with the multiplexing ID of this random value as multiplexing packet as multiplexing ID; Initialization sign in the multiplexing packet is set to 1, and mapped identification is set to 1, is about to multiplexing packet and is set to the unstable state multiplexing packet; Multiplexing packet and the multiplexing Initial message that carries multiplexing ID, purpose IP address, source IP address and source udp port number are sent to receiving data stream multiplexing equipment 1002.
Receiving data stream multiplexing equipment 1002 is used for according to from the multiplexing Initial message that sends data flow multiplexing equipment 1001, sets up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number; According to from the multiplexing ID in the multiplexing packet that sends data flow multiplexing equipment 1001 and the mapping relations of storage inside, judge the legitimacy of this message; According to multiplexing Initial message, carry the multiplexing initialization response message of mapping relations to sending 1001 transmissions of data flow multiplexing equipment.
In the practical application, send the mapping relations that data flow multiplexing equipment 1001 also is used to store from receiving data stream multiplexing equipment 1002; According to the mapping relations that multiplexing initialization response message carries, the initialization sign in the multiplexing packet is set to 0, and mapped identification is set to 1, is about to multiplexing packet and is set to the stable state multiplexing packet; Store the mapping relations that multiplexing initialization response message carries; And after the multiplexing response message that receives from receiving data stream multiplexing equipment 1002,, message is carried out legitimacy judge according to the mapping relations of storage.
In this case, receiving data stream multiplexing equipment 1002 also is used for generating the random value as the multiplexing ID of multiplexing response message after receiving from the multiplexing Initial message that sends data flow multiplexing equipment 1001; Set up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number; From sending data flow multiplexing equipment 1001, the initialization of the heading of multiplexing packet be designated 1 and mapped identification be 1 o'clock, when promptly receiving the unstable state multiplexing packet, the multiplexing response message that carries mapping relations is sent to the data flow multiplexing equipment 1001 that sends; The initialization of the heading of the multiplexing packet that receives be designated 0 and mapped identification be 1 o'clock, when promptly receiving the stable state multiplexing packet, multiplexing response message is sent to the data flow multiplexing equipment 1001 that sends.
In the multiplex system of present embodiment, the principle that sends data flow multiplexing equipment 1001 and receiving data stream multiplexing equipment 1002 generation random values can be identical with the principle that generates IPPID; In multiplexing Initial message, purpose IP address, source udp port number and source IP address have also been carried; Purpose IP address, source udp port number and source IP address can be to be stored in advance to send in the data flow multiplexing equipment 1001; Send data flow multiplexing equipment 1001 after having set up mapping relations, also mapping relations can be sent to receiving data stream multiplexing equipment 1002; Receiving data stream multiplexing equipment 1002 was astable multiplexing packet to the multiplexing response message that sends 1001 transmissions of data flow multiplexing equipment before receiving from the mapping relations that send data flow multiplexing equipment 1001; After having received, be the multiplexing packet of stable state to the multiplexing response message that sends 1001 transmissions of data flow multiplexing equipment from the mapping relations that send data flow multiplexing equipment 1001.
More than be explanation to multiplexing equipment in the embodiment of the invention and multiplex system, below, the multiplexing method in the embodiment of the invention is elaborated.
Figure 11 is the flow chart of data flow multiplexing method in the embodiment of the invention.As shown in figure 11, data flow multiplexing method of the present invention may further comprise the steps:
Step 1101, transmitting terminal receive begin transmission request after, generate a random value, be used for multiplexing ID as multiplexing packet.
Wherein, can be IPPID, also the random value that can provide for external system as the random value of multiplexing ID; Begin to comprise in the transmission request purpose udp port number.
Step 1102, transmitting terminal sends the multiplexing Initial message of the random value that carries generation to receiving terminal, and after sending multiplexing Initial message, begins to send astable multiplexing packet to receiving terminal.
In this step, in multiplexing Initial message, purpose IP address, source udp port number and source IP address have also been carried; Purpose IP address, source udp port number and source IP address can be to be stored in the transmitting terminal in advance; Multiplexing Initial message can be multiplexing Initial message as shown in Figure 5, can also comprise being used for and the extended byte of receiving terminal with interior negotiation.
Figure 12 is the heading structure chart of multiplexing Initial message in the embodiment of the invention.As shown in figure 12, the heading that comprises extended byte of multiplexing Initial message comprises in the present embodiment: the extended byte 1207 that expansion sign 1206 that the mapped identification Y 1203 that length is 1 initialization sign L 1201, the multiplexing ID 1202 of initialization that length is 15, length is 1, the multiplexing ID 1204 that length is 15, map information 1205 that length is 22 bytes and length are 1 and length are not limit.
In the heading of multiplexing Initial message, initialization sign L 1201 is 1, and mapped identification Y1203 is 0, is used to represent that this message is an Initial message; At this moment, to be purpose udp port number, multiplexing ID 1204 be the udp port of transmitting terminal number and IP address for random value, map information 1205 to the multiplexing ID 1202 of initialization; Expansion sign 1206 is 0 or is 1 o'clock, is illustrated in and whether continues to carry extended byte 1207 in the follow-up multiplexing packet; Extended byte 1207 is used for transmitting terminal and receiving terminal is with interior negotiation.
In the heading of multiplexing Initial message, carry multiplexing ID 1204 and map information 1205, so that receiving terminal can be with as random value, purpose IP address and the source udp port of the multiplexing ID of subsequent reuse message number and source IP address, number be mapped with the purpose udp port, generate mapping relations.
In this step, multiplexing packet can be multiplexing packet head as shown in Figure 6, also can be the multiplexing packet after multiplexing ID is compressed.Figure 13 is the heading structure chart of multiplexing packet in the embodiment of the invention.As shown in figure 13, the heading after the multiplexing ID compression is comprised: length is the multiplexing ID 1302 that 1 initialization sign L1301 and length are 7.Adopt the multiplexing packet of this multiplexing packet head, saved a large amount of wireless IP transmission bandwidth resources, but its compatibility compares with the multiplexing packet that adopts heading shown in Figure 6, relatively low.
Step 1103, receiving terminal is according to the multiplexing Initial message that receives, and generate random value as the multiplexing ID of multiplexing response message, set up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number then.
In this step, the mapping relations of foundation can be as shown in table 1.
Receiving terminal information Transmitting terminal information Handle
Source IP2, source UDP2, IPPID2 Purpose IP1, UDP1, IPPID1 Carry out the identification of session validity according to IPPID
Table 1
Step 1104, receiving terminal is carried on the mapping relations of setting up in the multiplexing initialization response message, sends to transmitting terminal, after sending the initialization response message, according to astable multiplexing packet, carry the multiplexing response message of mapping relations to the transmitting terminal transmission from transmitting terminal.
In this step, receiving terminal also carries out legitimacy to the unstable state multiplexing packet that receives to be judged, and judging message when legal, receives multiplexing packet according to the mapping relations of setting up.
Step 1105, transmitting terminal stops to send the unstable state multiplexing packet to receiving terminal after the multiplexing initialization response message that receives from receiving terminal, and the initialization sign in the multiplexing packet is set to 0, mapped identification is set to 1, sends the stable state multiplexing packet to receiving terminal.
In this step, transmitting terminal is after receiving multiplexing initialization response message, and mapping relations in the stored messages, and also set up mapping relations in transmitting terminal inside are used to resist the invalid packet from receiving terminal.The mapping relations of transmitting terminal inside are as shown in table 2.
Transmitting terminal information Receiving terminal information Invalid information Handle
Source IP1, source UDP1, source IPPID1 Purpose IP2, purpose UDP2, purpose IPPID2 IP2, UDP3, IPPIDx Because IPPID just obtains in the per call, different values is used in different callings, therefore in per call, knows whether it is illegal stream by distinguishing different IPPID.
Table 2
In this step, after having set up mapping relations as shown in table 2, also can be carried on and send to receiving terminal in the multiplexing packet, receiving terminal will begin to send the stable state multiplexing packet to transmitting terminal after having received these mapping relations.
Step 1106, receiving terminal are not carried the multiplexing response message of mapping relations according to the stable state multiplexing packet to the transmitting terminal transmission after the stable state multiplexing packet that receives from transmitting terminal.
So far, this flow process finishes.
In the step 1104 of above-mentioned flow process, receiving terminal sends the multiplexing response message that carries mapping relations also can carry out simultaneously with step 1105, can also carry out after step 1105; It is periodically to send continuously that receiving terminal sends the multiplexing response message that carries mapping relations to transmitting terminal, before execution in step 1106, still can continue to send.
In this above-mentioned steps 1105 steps, it is periodically to send continuously that transmitting terminal sends the stable state multiplexing packet to receiving terminal, when execution in step 1106 and after the execution in step 1106, still can continue to send.
After step 1106, receiving terminal still can continue according to the stable state multiplexing packet from transmitting terminal, sends to transmitting terminal and does not carry the multiplexing response message of mapping relations.
Multiplexing method of the present invention and equipment and system can also can adopt other modes for as above stating multiplexing method illustrated among the embodiment and equipment and system.
For example, in calling procedure, have IPBCP negotiating bearer address, perhaps MGC issues the IP address of receiving terminal and udp port number, all can be with the legitimacy criterion of this information as multiplexing packet as the data flow multiplexing equipment of transmitting terminal and receiving terminal.
At this moment, just do not need to use the multiplexing method in the foregoing description, directly according to the session current state, and the legitimacy that the corresponding relation between address and the carrying address, opposite end comes judgment data stream is carried in this locality of current sessions.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a data flow multiplexing method is characterized in that, may further comprise the steps:
Transmitting terminal sends to receiving terminal with random value and purpose user datagram protocol UDP port numbers, and with the multiplexing identify label ID of described random value as multiplexing packet, sends multiplexing packet to receiving terminal; Receiving terminal is set up the mapping relations of the random value receive and purpose udp port number, sends to transmitting terminal and carries the multiplexing initialization response message of described mapping relations, and receive multiplexing packet according to the mapping relations of setting up;
Before transmitting terminal was receiving mapping relations from receiving terminal, described transmitting terminal sent multiplexing packet to receiving terminal and is: send the expression transmitting terminal to receiving terminal and do not receive unstable state multiplexing packet from the mapping relations of receiving terminal;
After receiving terminal was receiving mapping relations from receiving terminal, described transmitting terminal sent multiplexing packet to receiving terminal and is: send the expression transmitting terminal to receiving terminal and received stable state multiplexing packet from the mapping relations of receiving terminal.
2. the method for claim 1 is characterized in that, described random value is Call Reference Value IPPID;
Describedly further comprise before random value and purpose udp port number are sent to receiving terminal: transmitting terminal generates IPPID.
3. the method for claim 1 is characterized in that, describedly random value and purpose udp port number are sent to receiving terminal is: be carried on random value with purpose UDP and be in the multiplexing Initial message of multiplexing ID, send to receiving terminal.
4. method as claimed in claim 3 is characterized in that, further comprises in the described multiplexing Initial message: Internet Protocol IP address, source and source udp port number and purpose IP address;
The mapping relations that described receiving terminal is set up described random value and purpose udp port number further comprise: the mapping relations of setting up source IP address, source udp port number, purpose IP address and described random value.
5. method as claimed in claim 4, it is characterized in that, described transmitting terminal further comprises after multiplexing packet is sent to receiving terminal: receiving terminal is according to the multiplexing ID in the described multiplexing packet and the mapping relations of described foundation, the multiplexing packet that receives is carried out legitimacy to be judged, and judging message when legal, receive multiplexing packet according to the mapping relations of setting up.
6. method as claimed in claim 3 is characterized in that, comprises in the described multiplexing Initial message: IP Bearer Control Protocol IPBCP negotiating bearer address, perhaps the purpose IP address that issues of media gateway controller MGC and udp port number;
Described transmitting terminal further comprises after multiplexing packet is sent to receiving terminal: receiving terminal is according to the IPBCP negotiating bearer address in the described multiplexing packet, perhaps the purpose IP address that issues of MGC and udp port number, the multiplexing packet that receives is carried out legitimacy to be judged, and judging message when legal, receive multiplexing packet according to the mapping relations of setting up.
7. the method for claim 1 is characterized in that, described multiplexing packet further comprises: initialization sign and mapped identification;
Described unstable state multiplexing packet is: initialization sign and mapped identification are 1 multiplexing packet;
Described stable state multiplexing packet is: initialization is designated 0, mapped identification is 1 multiplexing packet.
8. method as claimed in claim 7 is characterized in that, described multiplexing packet also comprise be used for representing message whether carry the expansion sign of extended byte and be used to in the extended byte of consulting.
9. the method for claim 1, it is characterized in that, describedly further comprise after receiving terminal sends the unstable state multiplexing packet: receiving terminal carries the multiplexing response message of described mapping relations to the transmitting terminal transmission after receiving unstable state multiplexing packet from transmitting terminal.
10. the method for claim 1 is characterized in that, describedly further comprises after receiving terminal sends the stable state multiplexing packet: receiving terminal sends multiplexing response message to transmitting terminal after receiving stable state multiplexing packet from transmitting terminal.
11. the method for claim 1, it is characterized in that, described transmitting terminal sends multiplexing packet to receiving terminal: the field that the multiplexing ID boil down to that will be made of described random value is 7, the initialization sign is set to 0, and sends the multiplexing packet of the multiplexing ID after comprising initialization sign and compression to receiving terminal.
12. one kind sends data flow multiplexing equipment, it is characterized in that, comprising: main control unit, multiplexing ID generation unit and interface unit, wherein,
Described main control unit, be used for asking according to the transmission that begins that comprises purpose user datagram protocol UDP port numbers from the outside, send multiplexing ID request to multiplexing identify label ID generation unit, ask multiplexing ID generation unit to generate a random value as multiplexing ID; Reception is from the random value of multiplexing identify label ID generation unit, and with the multiplexing ID of this random value as multiplexing packet; Multiplexing packet is set to represent that transmitting terminal does not receive the unstable state multiplexing packet from the mapping relations of receiving terminal, being carried on random value with purpose UDP is in the multiplexing Initial message of multiplexing ID, and multiplexing packet and the multiplexing Initial message that carries from the random value of multiplexing ID generation unit are sent to interface unit;
Described multiplexing ID generation unit is used for generating random value according to the request from main control unit, and this random value is offered main control unit;
Interface unit is used for the multiplexing packet from the master control unit is sent to the outside with the multiplexing Initial message that carries random value.
13. equipment as claimed in claim 12 is characterized in that, this equipment further comprises the mapping memory cell, is used to store the mapping relations from main control unit;
Described interface unit is further used for and will number sends to the outside from purpose IP address, source IP address and the source udp port of master control unit; To send to main control unit with the multiplexing initialization response message that carries mapping relations from the multiplexing packet of outside;
Described main control unit be further used for will be in advance purpose IP address, source IP address and the source udp port of storage number send to interface unit; According to the mapping relations that multiplexing initialization response message carries, multiplexing packet is set to the stable state multiplexing packet; The mapping relations that multiplexing initialization response message is carried send to the mapping memory cell.
14. a receiving data stream multiplexing equipment is characterized in that, comprising: main control unit, mapping memory cell, interface unit and multiplexing ID generation unit, wherein,
Described main control unit is used for the multiplexing Initial message from interface unit is sent to the mapping memory cell; According to from the multiplexing identify label ID in the multiplexing packet of interface unit and the mapping relations of storage inside, judge the legitimacy of this message; According to multiplexing Initial message, from the mapping memory cell, read mapping relations, send to interface unit and carry the multiplexing initialization response message of mapping relations; Reception is from the random value and the purpose user datagram protocol UDP port numbers of outside; Random value and purpose udp port number are sent to the mapping memory cell; According to mapping relations, receive multiplexing packet from the outside from the mapping memory cell; After the multiplexing Initial message that receives from interface unit, send multiplexing ID request to multiplexing ID generation unit, ask multiplexing ID generation unit to generate a random value as the multiplexing ID of multiplexing response message; Reception is from the random value of multiplexing ID generation unit, and with the multiplexing ID of this random value as multiplexing response message; To send to the mapping memory cell from the random value of multiplexing ID generation unit; Reception is from the mapping relations of mapping memory cell; When the multiplexing packet that receives does not receive unstable state multiplexing packet from the mapping relations of receiving terminal for the expression transmitting terminal, the multiplexing response message that carries mapping relations is sent to interface unit; When the multiplexing packet that receives has been received stable state multiplexing packet from the mapping relations of receiving terminal for the expression transmitting terminal, multiplexing response message is sent to interface unit;
Described mapping memory cell is used to set up the mapping relations from the random value of main control unit and purpose udp port number; The mapping relations of setting up are offered main control unit; According to multiplexing Initial message, set up and store the mapping relations of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number from main control unit; The mapping relations of setting up are offered main control unit; According to from the multiplexing Initial message of main control unit with as the random value of the multiplexing ID of multiplexing response message, set up and store the mapping relations of the multiplexing ID of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number and multiplexing response message; The mapping relations of setting up are offered main control unit;
Interface unit is used for from the multiplexing packet of outside with comprise Internet Protocol IP address, source and the multiplexing Initial message of source udp port number and purpose IP address sends to main control unit; To send to the outside from the multiplexing initialization response message of master control unit; To send to the outside with the multiplexing response message that carries mapping relations from the multiplexing response message of master control unit;
Multiplexing ID generation unit is used for generating random value according to the request from main control unit, and this random value is offered main control unit.
15. a data flow multiplexing system is characterized in that, comprising: send data flow multiplexing equipment and receiving data stream multiplexing equipment, wherein,
Described transmission data flow multiplexing equipment is used to generate random value, and with the multiplexing identify label ID of this random value as multiplexing packet; Random value and purpose user datagram protocol UDP port numbers are sent to the receiving data stream multiplexing equipment; To send to the receiving data stream multiplexing equipment as the multiplexing packet of multiplexing identify label ID with random value; According to from the multiplexing Initial message that sends data flow multiplexing equipment, set up and store the mapping relations of the multiplexing ID of multiplexing ID, Internet Protocol IP address, source, purpose IP address and source udp port number and purpose udp port number and multiplexing response message; According to from the multiplexing ID in the multiplexing packet that sends data flow multiplexing equipment and the mapping relations of described foundation and storage, judge the legitimacy of this message; According to multiplexing Initial message, carry the multiplexing initialization response message of mapping relations to sending the transmission of data flow multiplexing equipment; After receiving, generate a random value as the multiplexing ID of multiplexing response message from the multiplexing Initial message that sends data flow multiplexing equipment; Set up and store the mapping relations of the multiplexing ID of multiplexing ID, purpose IP address, source IP address and source udp port number and purpose udp port number and multiplexing response message; When the multiplexing packet that receives is the unstable state multiplexing packet, the multiplexing response message that carries mapping relations is sent to the data flow multiplexing equipment that sends; When the multiplexing packet that receives is the stable state multiplexing packet, multiplexing response message is sent to the data flow multiplexing equipment that sends;
Described receiving data stream multiplexing equipment is used to receive from the random value that sends data flow multiplexing equipment and purpose udp port number; The mapping relations of random value that foundation receives and purpose udp port number; According to described mapping relations, receive from the multiplexing packet that sends data flow multiplexing equipment; Purpose IP address, source IP address and source udp port number are sent to the receiving data stream multiplexing equipment; According to from the outside comprise purpose udp port number begin the transmission request, generate a random value as multiplexing ID; Multiplexing packet is set to the unstable state multiplexing packet; Storage is from the mapping relations of receiving data stream multiplexing equipment; According to the mapping relations that multiplexing initialization response message carries, multiplexing packet is set to the stable state multiplexing packet; Store the mapping relations that multiplexing initialization response message carries.
CN2006101394805A 2006-09-25 2006-09-25 Data flow multiplexing method, device and system Expired - Fee Related CN101155181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101394805A CN101155181B (en) 2006-09-25 2006-09-25 Data flow multiplexing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101394805A CN101155181B (en) 2006-09-25 2006-09-25 Data flow multiplexing method, device and system

Publications (2)

Publication Number Publication Date
CN101155181A CN101155181A (en) 2008-04-02
CN101155181B true CN101155181B (en) 2010-11-24

Family

ID=39256618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101394805A Expired - Fee Related CN101155181B (en) 2006-09-25 2006-09-25 Data flow multiplexing method, device and system

Country Status (1)

Country Link
CN (1) CN101155181B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771602B (en) * 2008-12-31 2012-05-23 华为技术有限公司 Method and device for passing through NATPT device by RTP multiplexed message
CN103269319A (en) * 2013-04-27 2013-08-28 北京创毅讯联科技股份有限公司 Method, device and system for data transmission
CN104683312A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Method and device for negotiating media multiplexing
CN104219168B (en) * 2014-09-29 2017-11-14 新华三技术有限公司 Control message processing method and device based on UDP transmission
CN106506390A (en) * 2016-10-20 2017-03-15 厦门理工学院 A kind of data flow transmission method
CN114531606B (en) * 2022-02-22 2023-04-11 重庆紫光华山智安科技有限公司 Method, system and equipment for generating packaged video data to be transmitted and transmitting video

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1142255A1 (en) * 1999-10-21 2001-10-10 Koninklijke Philips Electronics N.V. Communications system and communication method for multiplexing of rtp data streams
CN1340255A (en) * 1999-02-17 2002-03-13 诺基亚移动电话有限公司 Header compression in real time services
CN1471282A (en) * 2002-07-24 2004-01-28 华为技术有限公司 Message transmitting method based on multi-protocol tag exchange network
US6721333B1 (en) * 1999-03-25 2004-04-13 Motorola, Inc. Point to point protocol multiplexing/demultiplexing method and apparatus
CN1777175A (en) * 2005-08-20 2006-05-24 海信集团有限公司 IP data compression method in mobile communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1340255A (en) * 1999-02-17 2002-03-13 诺基亚移动电话有限公司 Header compression in real time services
US6721333B1 (en) * 1999-03-25 2004-04-13 Motorola, Inc. Point to point protocol multiplexing/demultiplexing method and apparatus
EP1142255A1 (en) * 1999-10-21 2001-10-10 Koninklijke Philips Electronics N.V. Communications system and communication method for multiplexing of rtp data streams
CN1471282A (en) * 2002-07-24 2004-01-28 华为技术有限公司 Message transmitting method based on multi-protocol tag exchange network
CN1777175A (en) * 2005-08-20 2006-05-24 海信集团有限公司 IP data compression method in mobile communication

Also Published As

Publication number Publication date
CN101155181A (en) 2008-04-02

Similar Documents

Publication Publication Date Title
CN101047711B (en) Method for IP message transmitting, bargaining bandwidth saving ability and saving network bandwidth
CN101155181B (en) Data flow multiplexing method, device and system
CN100440886C (en) Method for realizing multimedia protocol passing through network address translation device
CN112235776B (en) Method for allocating IP address field according to needs and IP address statistical system
RU2006104624A (en) SYSTEM AND METHOD FOR USING IP ADDRESS AS AN IDENTIFIER OF A WIRELESS MODULE
US20020080797A1 (en) Method and system of relaying calls with a tone provision function in the next generation mobile communication network
WO2002082762A2 (en) System and method for providing real time connectionless communication of media data through a firewall
JP5185827B2 (en) Method for assigning at least one payload data connection to at least one multiplex connection
WO2011144154A1 (en) Method, device and system for allocating internet protocol address of external network in network address translation pass-through
JP2005531949A (en) Method and apparatus for transmitting IP packets between a radio network controller of a mobile radio network and other devices
RU2010105060A (en) METHOD FOR REDUCING MANAGEMENT SIGNALS IN SERVICE TRANSFER SITUATIONS
CN101170487B (en) Compression method and compression system and compression device in data stream multiplexing
CN102238243B (en) Data transmission method and system, address access method, terminal device and server
CN102244687B (en) Method, device and system for acquiring multi-address message
CN101471923A (en) Method, equipment and system for sending protocol message and identifying protocol message type
CN106936723B (en) Bluetooth router and routing method based on tunnel mechanism
WO2003056779A1 (en) Improved hardware arrangement, terminal, and method for transferring audio signal in packet-switched communications network
WO2017161866A1 (en) Network connection method and device
CN102130884A (en) System and method for negotiating configuration of Internet protocol version 6 (IPv6) network parameters
CN104159165A (en) Method capable of transmitting RTP (real-time transport protocol) media stream through TCP (transmission control protocol) and based on SIP (session initiation protocol)
US20080219225A1 (en) Method for Bearer Independent Call Control (Bicc) Optimization for Ip Bearer Support
US20060018275A1 (en) Apparatus and method for managing session information in a mobile communication service system
CN113573381A (en) Transmission processing method, equipment, device and medium for non-IP type data
CN101257517A (en) Method and device for processing address analysis protocol request message
CN113542395B (en) Message processing method and message processing system

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101124

Termination date: 20120925