CN101170546B - Data stream multiplexing method and data stream multiplexing system - Google Patents

Data stream multiplexing method and data stream multiplexing system Download PDF

Info

Publication number
CN101170546B
CN101170546B CN2006101364458A CN200610136445A CN101170546B CN 101170546 B CN101170546 B CN 101170546B CN 2006101364458 A CN2006101364458 A CN 2006101364458A CN 200610136445 A CN200610136445 A CN 200610136445A CN 101170546 B CN101170546 B CN 101170546B
Authority
CN
China
Prior art keywords
multiplexing
connection identifier
transmitting terminal
receiving terminal
source
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
CN2006101364458A
Other languages
Chinese (zh)
Other versions
CN101170546A (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 CN2006101364458A priority Critical patent/CN101170546B/en
Publication of CN101170546A publication Critical patent/CN101170546A/en
Application granted granted Critical
Publication of CN101170546B publication Critical patent/CN101170546B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses the data stream reuse method, comprising the following steps: the sending end transmits the source address identification and the connecting identification to the receiving end. The receiving end establishes the mapping relation of the source address identification, the connecting identification and the destination address identification which is preset; wherein the source address identification and the connecting identification are received. The sending end takes the connecting identification as reuse ID and transmits the reuse message to the receiving end. The receiving end receives the reuse message according to the established mapping relation. The invention also discloses a data stream reuse system.

Description

Data flow multiplexing method 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 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, with a plurality of RTPs (Realtime Transmit Protocol, RTP) stream is multiplexing at a User Datagram Protocol (User Datagram Protocol, UDP) in the stream, be used for saving the bandwidth resources of wireless IP transmission.
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) Initial message is realized, 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.After consulting successfully,, can realize the multiplexing of data flow by in message, adding corresponding multiplexing head.
Fig. 1 is the heading structural representation 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 ID101 is used to identify different connections, and value is a purpose udp port number, and length is 2 bytes; LI102 is used to represent the length of message, is 1 byte.
Yet, the purpose udp port number as multiplexing ID, can be brought following problem:
At first,, therefore invalid packet can't be resisted, the interference of rubbish session can't be resisted because receiving terminal can't be judged the legitimacy of message according to the multiplexing ID that number is made of udp port;
Secondly, existing multiplexing method, two IP address differences but number identical transmitting terminal of udp port when same receiving terminal sends multiplexing packet, receiving terminal can't be distinguished the message from two transmitting terminals.
As seen, existing data flow multiplexing technology is resisted the interference of invalid packet and rubbish session, and can't distinguish the message from different transmitting terminals, thereby makes that the reliability of data flow multiplexing is 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 of data flow multiplexing.
Another main purpose of the present invention is, a kind of data flow multiplexing system is provided, and can improve the reliability of data flow multiplexing.
The embodiment of the invention provides a kind of data flow multiplexing method, may further comprise the steps:
Transmitting terminal sends to receiving terminal by out-of-band signalling with source address sign and connection identifier;
Receiving terminal is set up destination address mark and the source address sign that receives, the mapping relations of connection identifier;
Transmitting terminal as multiplexing identify label ID, sends multiplexing packet to receiving terminal with connection identifier; Receiving terminal receives multiplexing packet according to the mapping relations of setting up.
The embodiment of the invention provides a kind of data flow multiplexing system, comprising: transmitting terminal and receiving terminal,
Described transmitting terminal by out-of-band signalling, sends to receiving terminal with source address sign and connection identifier; With the multiplexing identify label ID of connection identifier, send multiplexing packet to receiving terminal as multiplexing packet;
Described receiving terminal receives source address sign and connection identifier from transmitting terminal; Set up the mapping relations of source address sign, connection identifier and destination address mark; According to the mapping relations of setting up, receive multiplexing packet from transmitting terminal.
As seen from the above technical solution, the present invention passes through out-of-band signalling by transmitting terminal, send to receiving terminal with source address sign with as the connection identifier of multiplexing ID, receiving terminal connects, and sign identifies with source address, the mapping relations of destination address mark, and according to this mapping relations reception multiplexing packet, make receiving terminal can resist the interference of invalid packet and rubbish session, improved the reliability of high data flow multiplexing.
And heading provided by the invention can have only 2 bytes, has saved bandwidth resources, has improved the bandwidth resources utilance.
Description of drawings
Fig. 1 is the heading structural representation of multiplexing packet in the prior art.
Fig. 2 is the exemplary process diagram of data flow multiplexing method in the embodiment of the invention.
Fig. 3 is the heading structure chart of multiplexing packet in the embodiment of the invention.
Fig. 4 is the schematic diagram of data flow multiplexing in the embodiment of the invention one.
Fig. 5 is the structure chart of data flow multiplexing system in the embodiment of the invention one.
Fig. 6 is the flow chart of data flow multiplexing method in the embodiment of the invention one.
Fig. 7 is the schematic diagram of data flow multiplexing in the embodiment of the invention two.
Fig. 8 is the structure chart of data flow multiplexing system in the embodiment of the invention two.
Fig. 9 is the flow chart of data flow multiplexing method in the embodiment of the invention two.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below the present invention is described in more detail.
The basic thought of the embodiment of the invention is: transmitting terminal is with source address sign with as the connection identifier of multiplexing ID, send to receiving terminal by out-of-band signalling, receiving terminal connects, and sign identifies with source address, the mapping relations of destination address mark, and receives multiplexing packet according to these mapping relations.
Wherein, connection identifier can be Call Reference Value (IPPID), also can be session id (SessionID), can also be the random value that generates arbitrarily; Out-of-band signalling is any message outside the data multiplex stream, for example based on IP Bearer Control Protocol (IP Bearer Control Protocol, signaling IPBCP).
Data flow multiplexing system in the embodiment of the invention comprises: transmitting terminal and receiving terminal.
Transmitting terminal by out-of-band signalling, sends to receiving terminal with source address sign and connection identifier; With the multiplexing ID of connection identifier, send multiplexing packet to receiving terminal as multiplexing packet;
Receiving terminal receives source address sign and connection identifier from transmitting terminal; Set up the mapping relations of source address sign, connection identifier and destination address mark; According to the mapping relations of setting up, receive multiplexing packet from transmitting terminal.
Wherein, source address sign comprises: source IP address and source udp port number; Destination address mark comprises: purpose IP address and purpose udp port number; Source udp port number and source IP address are the udp port number and the IP address of transmitting terminal; Purpose IP address and purpose udp port number are the IP address of receiving terminal and udp port number.
Fig. 2 is the exemplary process diagram of data flow multiplexing method in the embodiment of the invention.As shown in Figure 2, the data flow multiplexing method in the embodiment of the invention may further comprise the steps:
Step 201, transmitting terminal send to receiving terminal by out-of-band signalling with source address sign and connection identifier;
Step 202, receiving terminal are set up destination address mark and the source address sign that receives, the mapping relations of connection identifier;
Step 203, transmitting terminal as multiplexing ID, send multiplexing packet to receiving terminal with connection identifier; Receiving terminal receives multiplexing packet according to the mapping relations of setting up.
Above-mentioned steps 201~step 202 is the outer process of transmitting and setting up mapping relations of band, and step 203 is the data flow multiplexing process; In the step 201, transmitting terminal can innerly generate connection identifier, also can obtain connection identifier from ext nal network element.
In the above-mentioned flow process, after receiving terminal receives source address sign and connection identifier, the connection identifier that destination address mark and receiving terminal are obtained sends to transmitting terminal, transmitting terminal is set up the mapping relations of the connection identifier that destination address mark and receiving terminal obtain, and judges the legitimacy of the response message that receives with this; The connection identifier that receiving terminal obtains can be the connection identifier from transmitting terminal, also can generate for receiving terminal inside, can also be the connection identifier that obtains from ext nal network element.
Fig. 3 is the heading structure chart of multiplexing packet in the embodiment of the invention.As shown in Figure 3, the heading of multiplexing packet comprises: length is that 1 indicating bit L301, length is 15 or 31 s' multiplexing ID302 and the length field LI303 that length is 16.
Because in the existing protocol, 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, message length is inessential byte, can not comprise length field LI303 in the heading of the present invention.Like this, can the conserve bandwidth resource, improve bandwidth availability ratio.
In the heading of multiplexing packet, indicating bit L301 is 0 or 1 o'clock, and the length of representing multiplexing ID302 is 15; Indicating bit L301 is 1 or 0 o'clock, and the length of representing multiplexing ID302 is 31.
Include only in same data multiplex stream under the situation from the multiplexing packet of identical homology IP address, indicating bit L301 is set to 0, with 15 connection identifier as multiplexing ID302.Like this, make heading when not comprising length field LI303, have only 2 bytes, lacked 1 byte, saved bandwidth resources than existing heading.
In same data multiplex stream, comprise under the situation from the multiplexing packet of different source IP addresss, the number of connection that may comprise in the data multiplex stream, at least Duo one times than including only from the multiplexing packet situation of identical homology IP address, therefore, indicating bit L301 is set to 1, with 31 connection identifier as multiplexing ID302.Like this, use the probability of identical multiplexing ID, improved the reliability of data flow multiplexing with regard to having reduced different connections.
Below, in conjunction with specific embodiments, data flow multiplexing system in the IP protocol transmission of the present invention and data flow multiplexing method are elaborated.
Embodiment one
In the present embodiment, the transmitting terminal of same connection uses identical multiplexing ID with receiving terminal.The connection identifier that transmitting terminal will obtain in advance is as the multiplexing ID of multiplexing packet, sends multiplexing packet to receiving terminal, and receiving terminal is after having set up mapping relations, also with the connection identifier of the transmitting terminal correspondence multiplexing ID as response message.
Fig. 4 is the schematic diagram of data flow multiplexing in the embodiment of the invention one.As shown in Figure 4, the IP address is to be the transmitting terminal of UDP1 IP1, udp port number, is to be the receiving terminal of UDP2 IP2, udp port number with the IP address, all with connection identifier 1 as multiplexing ID, carry out multiplexing packet transmission, reply, and, judge the legitimacy of message according to the mapping relations of setting up separately; The IP address is to be the transmitting terminal of UDP1 IP1, udp port number, with the IP address is to be the receiving terminal of UDP3 IP2, udp port number, all with connection identifier 2 as multiplexing ID, carry out multiplexing packet transmission, reply, and, judge the legitimacy of message according to the mapping relations of setting up separately.
Fig. 5 is the structure chart of data flow multiplexing system in the embodiment of the invention one.As shown in Figure 5, the data flow multiplexing system in the embodiment of the invention comprises: transmitting terminal 501 and receiving terminal 502.
Wherein, transmitting terminal 501 comprises main control unit 511 and multiplexing ID unit 512; Receiving terminal 502 comprises main control unit 521 and mapping memory cell 522.
The main control unit 511 of transmitting terminal 501, be used for according to from the outside comprise purpose udp port number begin the transmission request, to the connection identifier of multiplexing ID unit 512 acquisition request as multiplexing ID; Reception is from the connection identifier of multiplexing ID unit 512, and with the multiplexing ID of this connection identifier as multiplexing packet; By out-of-band signalling, IPBCP request (IPBCP Request) message for example will number send to receiving terminal 502 as connection identifier, source IP address and the source udp port of multiplexing ID; Will with connection identifier as the multiplexing packet of multiplexing ID by with in data multiplex stream send to receiving terminal 502.
Multiplexing ID unit 512 is used for according to from the request of main control unit 511, generates connection identifier or obtains connection identifier from other network elements of outside, and this connection identifier is offered main control unit 511.
The main control unit 521 of receiving terminal 502 is used to receive connection identifier, source IP address and source udp port number from transmitting terminal 501, and sends to mapping memory cell 522; Receive the multiplexing packet in the data multiplex stream; According to the multiplexing ID of the multiplexing packet that receives with from the mapping relations of shining upon memory cell 522, judge whether the legitimacy of this multiplexing packet and this message are the message of rubbish session.
Mapping memory cell 522, be used to receive connection identifier, source IP address and source udp port number, set up and the mapping relations of storage connection identifier, source IP address and source udp port number and the purpose IP address that sets in advance and purpose udp port number from main control unit 521; The mapping relations of setting up are offered main control unit 521.
In the practical application, receiving terminal 502 also can be replied as the multiplexing packet of replying to transmitting terminal 501.
In this case, the main control unit 521 of receiving terminal 502 is behind the out-of-band signalling that receives from transmitting terminal 501, IPBCP Request message for example, purpose IP address and purpose udp port number with storage in connection identifier in this signaling and the mapping memory cell 522, pass through out-of-band signalling, for example IPBCP accepts (IPBCP Accept) message, sends to transmitting terminal 501; According to the mapping relations that provide of mapping memory cell 522, the connection identifier of transmitting terminal 501 correspondences as the multiplexing ID that replys multiplexing packet, is replied multiplexing packet to transmitting terminal 501 transmissions.
Transmitting terminal 501 also comprises mapping memory cell 513, and connection identifier, purpose IP address and the purpose udp port that main control unit 511 comprises in will the IPBCP Accept message from receiving terminal number sends to mapping memory cell 513; Mapping memory cell 513 is set up and the mapping relations of storage connection identifier, source IP address and source udp port number and purpose IP address and purpose udp port number, and offers main control unit 511; Main control unit 511 judges according to the multiplexing ID that replys multiplexing packet that receives with from the mapping relations of shining upon memory cell 513 whether legitimacy and this message that this replys multiplexing packet are the message of rubbish session.
In the said system, as the equipment of transmitting terminal 501 and receiving terminal 502, can for mobile media gateway (Media GateWay, MGW) or radio network controller (Radio Network Control RNC) waits the network equipment; Transmitting terminal 501 can (Media GatewayController MGC) obtains connection identifier, at this moment, is SessionID as the connection identifier of multiplexing ID from Media Gateway Controller.
Below, the data flow multiplexing method in the present embodiment is elaborated.
Fig. 6 is the flow chart of data flow multiplexing method in the embodiment of the invention one.As shown in Figure 6, the data flow multiplexing method in the embodiment of the invention may further comprise the steps:
Step 601, transmitting terminal self generate or obtain from the outside connection identifier as multiplexing ID.
Wherein, IPPID, Session ID that can generate for transmitting terminal as the connection identifier of multiplexing ID or random value arbitrarily also can be the connection identifier that ext nal network element is distributed; Begin to comprise in the transmission request purpose udp port number.
Step 602, transmitting terminal be by out-of-band signalling, sends source IP address, source udp port number and as the connection identifier of multiplexing ID to receiving terminal.
In this step, out-of-band signalling can be IPBCP Request message.
Step 603, receiving terminal receive the out-of-band signalling from transmitting terminal, and purpose IP address, purpose udp port number and the connection identifier that receives are carried in the out-of-band signalling, send to transmitting terminal.
In this step, the out-of-band signalling that receiving terminal sends can be IPBCP Accept message.
Step 604, receiving terminal set up and storage as the mapping relations of connection identifier, source IP address and the source udp port of multiplexing ID number and purpose IP address, purpose udp port number.
In this step, receiving terminal sends out-of-band signalling to transmitting terminal, and the out-of-band signalling that receives is responded; The mapping relations that receiving terminal is set up can be as shown in table 1.
Destination address mark The source address sign Multiplexing ID
IP1、UDP1 IP2、UDP2 Connection identifier 1
…… …… ……
IP7、UDP7 IP8、UDP8 Connection identifier n
Table 1
Step 605, transmitting terminal receive the out-of-band signalling from receiving terminal, set up and storage as the mapping relations of connection identifier, source IP address and the source udp port of multiplexing ID number and purpose IP address, purpose udp port number.
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 that transmitting terminal is set up can be as shown in table 1 mapping relations identical, promptly same connection corresponding sending terminal and receiving terminal use identical connection identifier as multiplexing ID.
Step 606, transmitting terminal sends with the connection identifier that the obtains multiplexing packet as multiplexing ID to receiving terminal.
In this step, the heading of multiplexing packet can be heading as shown in Figure 3, also can be for not comprising the heading of length field.
Step 607, receiving terminal receives the multiplexing packet from transmitting terminal, and according to the multiplexing ID of the multiplexing packet that receives and the mapping relations of foundation, judges whether the legitimacy of this message and this message are the message of rubbish session.
In this step, whether the multiplexing ID of the multiplexing packet that receives is arranged in the mapping relations that the receiving terminal inquiry is set up, if having, judge that then this message is legal, and be not the message of rubbish session; If the multiplexing packet that receives is legal, and not the message of rubbish session, then receive, otherwise, this message abandoned.
Step 608, receiving terminal be according to the mapping relations of setting up, and the connection identifier of transmitting terminal correspondence as multiplexing ID, is sent to transmitting terminal and to reply multiplexing packet.
Step 609, transmitting terminal receives the multiplexing packet from receiving terminal, and according to the multiplexing ID that replys multiplexing packet that receives and the mapping relations of foundation, judges whether the legitimacy of this message and this message are the message of rubbish session.
In this step, in the mapping relations that the transmitting terminal inquiry is set up whether the multiplexing ID that replys multiplexing packet that receives is arranged, if having, judge that then this message is legal, and be not the message of rubbish session; If the multiplexing packet that receives is legal, and not the message of rubbish session, then receive, otherwise, this message abandoned.
So far, this flow process finishes.
In above-mentioned flow process, step 606 can be carried out after step 602 immediately; Step 606~step 609 can be reciprocal process in the band of circulation execution.
More than be detailed description to data flow multiplexing system in the embodiment of the invention one and data flow multiplexing method, below, the data flow multiplexing system and the data flow multiplexing method of the embodiment of the invention two is elaborated.
Embodiment two
In the present embodiment, the transmitting terminal of same connection and receiving terminal use multiplexing ID separately respectively, and promptly the corresponding multiplexing ID of connection is right.The connection identifier that transmitting terminal will obtain in advance is as the multiplexing ID of multiplexing packet, send multiplexing packet to receiving terminal, receiving terminal is after having set up mapping relations, obtain new connection identifier, and send to transmitting terminal, be used for the mapping relations that transmitting terminal is set up the connection identifier of destination address mark and receiving terminal; Receiving terminal sends response message with the connection identifier that the obtains multiplexing ID as response message to transmitting terminal.
Fig. 7 is the schematic diagram of data flow multiplexing in the embodiment of the invention two.As shown in Figure 7, the IP address is to be the transmitting terminal of UDP1 IP1, udp port number, as multiplexing ID, is that IP2, udp port number receiving terminal for UDP2 send multiplexing packet to the IP address with connection identifier 1; The IP address is to be the receiving terminal of UDP2 IP2, udp port number, as multiplexing ID, is that IP1, udp port number transmitting terminal for UDP1 send response message to the IP address with connection identifier 3; The IP address is to be the transmitting terminal of UDP1 IP1, udp port number, as multiplexing ID, is that IP2, udp port number receiving terminal for UDP3 send multiplexing packet to the IP address with connection identifier 2; The IP address is to be the receiving terminal of UDP3 IP2, udp port number, as multiplexing ID, is that IP1, udp port number transmitting terminal for UDP1 send response message to the IP address with connection identifier 4; Transmitting terminal and receiving terminal are judged the legitimacy of message according to the mapping relations of setting up separately.
Fig. 8 is the structure chart of data flow multiplexing system in the embodiment of the invention two.As shown in Figure 8, the data flow multiplexing system in the embodiment of the invention comprises: transmitting terminal 801 and receiving terminal 802.
Wherein, transmitting terminal 801 comprises main control unit 811 and multiplexing ID unit 812; Receiving terminal 802 comprises main control unit 821 and mapping memory cell 822.
The main control unit 811 of transmitting terminal 801, be used for according to from the outside comprise purpose udp port number begin the transmission request, to the connection identifier of multiplexing ID unit 812 acquisition request as multiplexing ID; Reception is from the connection identifier of multiplexing ID unit 812, and with the multiplexing ID of this connection identifier as multiplexing packet; By out-of-band signalling, IPBCP Request message for example will number send to receiving terminal 802 as connection identifier, source IP address and the source udp port of multiplexing ID; Will with connection identifier as the multiplexing packet of multiplexing ID by with in data multiplex stream send to receiving terminal 802.
Multiplexing ID unit 812 is used for according to from the request of main control unit 811, generates connection identifier or obtains connection identifier from other network elements of outside, and this connection identifier is offered main control unit 811.
The main control unit 821 of receiving terminal 802 is used to receive connection identifier, source IP address and source udp port number from transmitting terminal 801, and sends to mapping memory cell 822; Receive the multiplexing packet in the data multiplex stream; According to the multiplexing ID of the multiplexing packet that receives with from the mapping relations of shining upon memory cell 822, judge whether the legitimacy of this multiplexing packet and this message are the message of rubbish session.
Mapping memory cell 822, be used to receive connection identifier, source IP address and source udp port number, set up and the mapping relations of storage connection identifier, source IP address and source udp port number and the purpose IP address that sets in advance and purpose udp port number from main control unit 821; The mapping relations of setting up are offered main control unit 821.
In the practical application, receiving terminal 802 also can be replied as the multiplexing packet of replying to transmitting terminal 801.Be that with the difference of data flow multiplexing system among the embodiment one receiving terminal 802 in the present embodiment also comprises multiplexing ID unit 823, be used to obtain the multiplexing ID of receiving terminal 802 self.
In this case, the main control unit 821 of receiving terminal 802 is behind the out-of-band signalling that receives from transmitting terminal 801, and IPBCP Request message for example is to the multiplexing ID of multiplexing ID unit 823 acquisition request receiving terminals 802; Multiplexing ID unit 823 is according to the request from main control unit 821, generates connection identifier or obtains connection identifier from other network elements of outside, and this connection identifier is offered main control unit 821; The purpose IP address of storage and purpose udp port number in connection identifier that main control unit 821 provides multiplexing ID unit 823 and the mapping memory cell 822, by out-of-band signalling, for example IPBCP Accept message sends to transmitting terminal 801; The connection identifier that multiplexing ID unit 823 is provided is as the multiplexing ID that replys multiplexing packet, sends to transmitting terminal 801 and replys multiplexing packet.
Transmitting terminal 801 also comprises mapping memory cell 813, and connection identifier, purpose IP address and the purpose udp port that main control unit 811 comprises in will the IPBCP Accept message from receiving terminal number sends to mapping memory cell 813; Mapping memory cell 813 is set up and the mapping relations of storage connection identifier, source IP address and source udp port number and purpose IP address and purpose udp port number, and offers main control unit 811; Main control unit 811 judges according to the multiplexing ID that replys multiplexing packet that receives with from the mapping relations of shining upon memory cell 813 whether legitimacy and this message that this replys multiplexing packet are the message of rubbish session.
In the said system,, can be the network equipments such as MGW or RNC as the equipment of transmitting terminal 801 and receiving terminal 802; Transmitting terminal 801 and receiving terminal 802 can obtain connection identifier from MGC, at this moment, are Session ID as the connection identifier of multiplexing ID.
Below, the data flow multiplexing method in the present embodiment is elaborated.
Fig. 9 is the flow chart of data flow multiplexing method in the embodiment of the invention two.As shown in Figure 9, the data flow multiplexing method in the embodiment of the invention may further comprise the steps:
Step 901, transmitting terminal self generate or obtain from the outside connection identifier as multiplexing ID.
Wherein, IPPID, Session ID that can generate for transmitting terminal as the connection identifier of multiplexing ID or random value arbitrarily also can be the connection identifier that ext nal network element is distributed; Begin to comprise in the transmission request purpose udp port number.
Step 902, transmitting terminal be by out-of-band signalling, sends source IP address, source udp port number and as the connection identifier of multiplexing ID to receiving terminal.
In this step, out-of-band signalling can be IPBCP Request message.
Step 903, receiving terminal receive the out-of-band signalling from transmitting terminal, obtain the connection identifier as multiplexing ID, and purpose IP address, purpose udp port number and the connection identifier that obtains are carried in the out-of-band signalling, send to transmitting terminal.
In this step, the out-of-band signalling that receiving terminal sends can be IPBCP Accept message.
The mapping relations of connection identifier, source IP address and the source udp port that step 904, receiving terminal are set up and storage receives number and purpose IP address, purpose udp port number.
In this step, receiving terminal sends out-of-band signalling to transmitting terminal, and the out-of-band signalling that receives is responded; The connection identifier that transmitting terminal obtains is expressed as connection identifier a; The mapping relations that receiving terminal is set up can be as shown in table 2.
Destination address mark The source address sign Multiplexing ID
IP1、UDP1 IP2、UDP2 Connection identifier a1
…… …… ……
IP7、UDP7 IP8、UDP8 Connection identifier an
Table 2
Step 905, transmitting terminal receive the out-of-band signalling from receiving terminal, set up and storage as the mapping relations of connection identifier, source IP address and the source udp port of multiplexing ID number and purpose IP address, purpose udp port number.
In this step, the connection identifier that receiving terminal obtains is expressed as connection identifier b; The mapping relations that transmitting terminal is set up can be as shown in table 3.
Destination address mark The source address sign Multiplexing ID
IP1、UDP1 IP2、UDP2 Connection identifier b1
…… …… ……
IP7、UDP7 IP8、UDP8 Connection identifier bn
Table 3
Step 906, transmitting terminal sends with the connection identifier that the obtains multiplexing packet as multiplexing ID to receiving terminal.
In this step, the heading of multiplexing packet can be heading as shown in Figure 3, also can be for not comprising the heading of length field.
Step 907, receiving terminal receives the multiplexing packet from transmitting terminal, and according to the multiplexing ID of the multiplexing packet that receives and the mapping relations of foundation, judges whether the legitimacy of this message and this message are the message of rubbish session.
In this step, whether the multiplexing ID of the multiplexing packet that receives is arranged in the mapping relations that the receiving terminal inquiry is set up, if having, judge that then this message is legal, and be not the message of rubbish session; If the multiplexing packet that receives is legal, and not the message of rubbish session, then receive, otherwise, this message abandoned.
The connection identifier that step 908, receiving terminal generate self or obtain from the outside is replied multiplexing packet as multiplexing ID to the transmitting terminal transmission.
Step 909, transmitting terminal receives the multiplexing packet from receiving terminal, and according to the multiplexing ID that replys multiplexing packet that receives and the mapping relations of foundation, judges whether the legitimacy of this message and this message are the message of rubbish session.
In this step, in the mapping relations that the transmitting terminal inquiry is set up whether the multiplexing ID that replys multiplexing packet that receives is arranged, if having, judge that then this message is legal, and be not the message of rubbish session; If the multiplexing packet that receives is legal, and not the message of rubbish session, then receive, otherwise, this message abandoned.
So far, this flow process finishes.
In above-mentioned flow process, step 906 can be carried out after step 902 immediately; Step 906~step 909 can be reciprocal process in the band of circulation execution.
In the present embodiment, same connection corresponding sending terminal and receiving terminal are according to the mapping relations shown in table 2 and table 3, when realizing data flow multiplexing, right by the multiplexing ID that constitutes by connection identifier a and connection identifier b, the interference of opposing invalid packet and rubbish session.
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 (14)

1. a data flow multiplexing method is characterized in that, may further comprise the steps:
Transmitting terminal sends to receiving terminal by out-of-band signalling with source address sign and connection identifier;
Receiving terminal is set up destination address mark and the source address sign that receives, the mapping relations of connection identifier;
Transmitting terminal as multiplexing identify label ID, sends multiplexing packet to receiving terminal with connection identifier; Receiving terminal receives multiplexing packet according to the mapping relations of setting up.
2. the method for claim 1 is characterized in that, described transmitting terminal identifies source address and connection identifier sends to before the receiving terminal, and further comprise: transmitting terminal self generates connection identifier, and perhaps transmitting terminal obtains connection identifier from ext nal network element.
3. the method for claim 1, it is characterized in that, described transmitting terminal sends to receiving terminal by out-of-band signalling with source address sign and connection identifier: transmitting terminal is by IP Bearer Control Protocol request IPBCP Request message, source address identified and connection identifier sends to receiving terminal.
4. the method for claim 1 is characterized in that, described receiving terminal is set up before the mapping relations, further comprises:
Receiving terminal sends to transmitting terminal by out-of-band signalling with destination address mark and the connection identifier that receives;
Transmitting terminal is set up source address sign and the destination address mark that receives, the mapping relations of connection identifier;
Described receiving terminal receives after the multiplexing packet according to the mapping relations of setting up, and further comprises: the mapping relations that receiving terminal is set up according to described receiving terminal as multiplexing ID, send multiplexing packet to transmitting terminal, as replying with the connection identifier of transmitting terminal correspondence; The mapping relations that transmitting terminal is set up according to described transmitting terminal receive as the multiplexing packet of replying.
5. the method for claim 1 is characterized in that, described receiving terminal is set up before the mapping relations, further comprises:
Receiving terminal self generates connection identifier, and perhaps receiving terminal obtains connection identifier from ext nal network element, and by out-of-band signalling, and destination address mark and described generation or the connection identifier that obtains are sent to transmitting terminal;
Transmitting terminal is set up source address sign and the destination address mark that receives, the mapping relations of connection identifier;
Described receiving terminal receives after the multiplexing packet according to the mapping relations of setting up, and further comprises: receiving terminal as multiplexing ID, sends multiplexing packet to transmitting terminal, as replying with described generation or the connection identifier that obtains; The mapping relations that transmitting terminal is set up according to described transmitting terminal receive as the multiplexing packet of replying.
6. as claim 4 or 5 described methods, it is characterized in that, described receiving terminal sends to transmitting terminal by out-of-band signalling with destination address mark and connection identifier: receiving terminal is accepted Accept message by IPBCP, and source address sign and connection identifier are sent to transmitting terminal.
7. as claim 1,4 or 5 described methods, it is characterized in that described mapping relations according to foundation receive multiplexing packet and are:
According to the multiplexing ID of multiplexing packet and the mapping relations of described foundation, judge whether the described multiplexing packet that receives is legal message, and judge whether this multiplexing packet is the message of rubbish session, if the described multiplexing packet that receives is legal, and not the message of rubbish session, then receive, otherwise, this message abandoned.
8. the method for claim 1 is characterized in that, described source address sign comprises: source internet protocol IP address and source user data pack protocol udp port number, described destination address mark comprises: purpose IP address and purpose udp port number.
9. a data flow multiplexing system is characterized in that, comprising: transmitting terminal and receiving terminal,
Described transmitting terminal by out-of-band signalling, sends to receiving terminal with source address sign and connection identifier; With the multiplexing identify label ID of connection identifier, send multiplexing packet to receiving terminal as multiplexing packet;
Described receiving terminal receives source address sign and connection identifier from transmitting terminal; Set up the mapping relations of source address sign, connection identifier and destination address mark; According to the mapping relations of setting up, receive multiplexing packet from transmitting terminal.
10. system as claimed in claim 9 is characterized in that, described receiving terminal further after the source address sign and connection identifier that receive from transmitting terminal, by out-of-band signalling, sends to described transmitting terminal with connection identifier and the destination address mark that receives; The described connection identifier that receives as multiplexing ID, is sent as the multiplexing packet of replying to described transmitting terminal;
Described transmitting terminal further receives destination address mark and the connection identifier from described receiving terminal; Set up source address sign and the connection identifier that receives and the mapping relations of destination address mark; According to the mapping relations of setting up, receive multiplexing packet from receiving terminal.
11. system as claimed in claim 9 is characterized in that, further after the source address sign and connection identifier that receive from transmitting terminal, inside generates or obtains connection identifier from ext nal network element described receiving terminal; By out-of-band signalling, destination address mark and described generation or the connection identifier that obtains are sent to described transmitting terminal; Described generation or the connection identifier that obtains as multiplexing ID, are sent as the multiplexing packet of replying to described transmitting terminal;
Described transmitting terminal further receives destination address mark and the connection identifier from described receiving terminal; Set up source address sign and the connection identifier that receives and the mapping relations of destination address mark; According to the mapping relations of setting up, receive multiplexing packet from receiving terminal.
12., it is characterized in that described source address sign comprises as claim 10 or 11 described systems: source internet protocol IP address and source user data pack protocol udp port number, described destination address mark comprises: purpose IP address and purpose udp port number;
Described transmitting terminal comprises: main control unit, multiplexing ID unit and mapping memory cell, wherein,
Described main control unit obtains connection identifier to multiplexing ID unit requests; Reception is from the connection identifier of multiplexing ID unit, and with the multiplexing ID of this connection identifier as multiplexing packet; By out-of-band signalling, will number send to described receiving terminal as connection identifier, source IP address and the source udp port of multiplexing ID; Connection identifier as multiplexing ID, is sent multiplexing packet to described receiving terminal; Connection identifier, purpose IP address and the purpose udp port that comprises in will the out-of-band signalling from receiving terminal number sends to the mapping memory cell; According to the multiplexing ID that replys multiplexing packet that receives with from the mapping relations of shining upon memory cell, judge whether legitimacy and this message that this replys multiplexing packet are the message of rubbish session;
Described multiplexing ID unit according to the request from main control unit, generates connection identifier or obtains connection identifier from ext nal network element, and this connection identifier is offered main control unit;
Described mapping memory cell is set up and the mapping relations of storage connection identifier, source IP address and source udp port number and purpose IP address and purpose udp port number, and is offered main control unit.
13. system as claimed in claim 10 is characterized in that, described source address sign comprises: source internet protocol IP address and source user data pack protocol udp port number, and described destination address mark comprises: purpose IP address and purpose udp port number;
Described receiving terminal comprises: main control unit and mapping memory cell, wherein,
Described main control unit receives from connection identifier, source IP address and the source udp port of described transmitting terminal number, and sends to the mapping memory cell; Receive the multiplexing packet in the data multiplex stream; According to the multiplexing ID of the multiplexing packet that receives with from the mapping relations of shining upon memory cell, judge whether the legitimacy of this multiplexing packet and this message are the message of rubbish session; Behind the out-of-band signalling that receives from described transmitting terminal, purpose IP address that the connection identifier in this signaling and mapping are stored in the memory cell and purpose udp port number send to described transmitting terminal by out-of-band signalling; According to the mapping relations that provide of mapping memory cell, the connection identifier of transmitting terminal correspondence as the multiplexing ID that replys multiplexing packet, is replied multiplexing packet to described transmitting terminal transmission;
Described mapping memory cell receives from connection identifier, source IP address and the source udp port of main control unit number, sets up and the mapping relations of storage connection identifier, source IP address and source udp port number and purpose IP address and purpose udp port number; The mapping relations of setting up are offered main control unit.
14. system as claimed in claim 11 is characterized in that, described source address sign comprises: source internet protocol IP address and source user data pack protocol udp port number, and described destination address mark comprises: purpose IP address and purpose udp port number;
Described receiving terminal comprises: main control unit, multiplexing ID unit and mapping memory cell, wherein,
Described main control unit receives from connection identifier, source IP address and the source udp port of described transmitting terminal number, and sends to the mapping memory cell; Receive the multiplexing packet in the data multiplex stream; According to the multiplexing ID of the multiplexing packet that receives with from the mapping relations of shining upon memory cell, judge whether the legitimacy of this multiplexing packet and this message are the message of rubbish session; Behind the out-of-band signalling that receives from described transmitting terminal, obtain the multiplexing ID of described receiving terminal to multiplexing ID unit requests; Purpose IP address of storing in connection identifier that multiplexing ID unit is provided and the mapping memory cell and purpose udp port number by out-of-band signalling, send to described transmitting terminal; The connection identifier that multiplexing ID unit is provided is as the multiplexing ID that replys multiplexing packet, sends to transmitting terminal and replys multiplexing packet;
Described mapping memory cell receives from connection identifier, source IP address and the source udp port of main control unit number, sets up and the mapping relations of storage connection identifier, source IP address and source udp port number and purpose IP address and purpose udp port number; The mapping relations of setting up are offered main control unit;
Described multiplexing ID unit according to the request from main control unit, generates connection identifier or obtains connection identifier from ext nal network element, and this connection identifier is offered main control unit.
CN2006101364458A 2006-10-25 2006-10-25 Data stream multiplexing method and data stream multiplexing system Expired - Fee Related CN101170546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101364458A CN101170546B (en) 2006-10-25 2006-10-25 Data stream multiplexing method and data stream multiplexing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101364458A CN101170546B (en) 2006-10-25 2006-10-25 Data stream multiplexing method and data stream multiplexing system

Publications (2)

Publication Number Publication Date
CN101170546A CN101170546A (en) 2008-04-30
CN101170546B true CN101170546B (en) 2011-08-03

Family

ID=39391012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101364458A Expired - Fee Related CN101170546B (en) 2006-10-25 2006-10-25 Data stream multiplexing method and data stream multiplexing system

Country Status (1)

Country Link
CN (1) CN101170546B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116437315A (en) * 2018-07-20 2023-07-14 上海朗帛通信技术有限公司 Method and apparatus in a node for wireless communication
CN114884974B (en) * 2022-04-08 2024-02-23 海南车智易通信息技术有限公司 Data multiplexing method, system and computing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998027691A1 (en) * 1996-12-16 1998-06-25 Samsung Electronics Co. Ltd. Method for sending messages among a group of subsets forming a network
CN1545290A (en) * 2003-11-12 2004-11-10 中兴通讯股份有限公司 A method of distributed processing for RTP resource control
CN1719945A (en) * 2004-07-06 2006-01-11 华为技术有限公司 Circuit for implementing TDM exchange on frame structure and its exchange method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998027691A1 (en) * 1996-12-16 1998-06-25 Samsung Electronics Co. Ltd. Method for sending messages among a group of subsets forming a network
CN1545290A (en) * 2003-11-12 2004-11-10 中兴通讯股份有限公司 A method of distributed processing for RTP resource control
CN1719945A (en) * 2004-07-06 2006-01-11 华为技术有限公司 Circuit for implementing TDM exchange on frame structure and its exchange method

Also Published As

Publication number Publication date
CN101170546A (en) 2008-04-30

Similar Documents

Publication Publication Date Title
CN106877977B (en) Data communication method, device and system
CN101449512A (en) Method for transmitting identification of multicast message, method for transmitting multicast message, equipment for sending multicast message, equipment for receiving multicast message, and package
KR101332913B1 (en) Mobile communication system, multicast data distribution method, core network device, and access network device
US11153207B2 (en) Data link layer-based communication method, device, and system
CN102148878A (en) IP (internet protocol) address allocation method, system and device
WO2011106984A1 (en) Method for transmitting data in parallel by mobile terminal and mobile terminal thereof
US20110219126A1 (en) Mobile terminal, forwarding intermediate node and mobile communications system
US7349413B2 (en) Method and apparatus for communicating between coordinator-based wireless networks connected through a backbone network
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
CN101155181B (en) Data flow multiplexing method, device and system
GB0305673D0 (en) Telecommunications
EP4145906A1 (en) Non-ip type data transmission processing method, device and apparatus, and medium
CN101841790B (en) Address allocating method and device for emergency call
CN106953849B (en) Data message matching method and device based on IPv6 address
CN101170546B (en) Data stream multiplexing method and data stream multiplexing system
KR20060011262A (en) Apparatus and method of processing message in mobile communication service providing system
CN100401846C (en) Method of establishing data transmission bearing
US20060056381A1 (en) Mobile communication system and packet processing method thereof
CN103442450A (en) Wireless communication method and wireless communication equipment
CN101257517A (en) Method and device for processing address analysis protocol request message
CN111556587B (en) Data stream transmission method, device and system
CN101242354A (en) Data transmission method, system and device
CN107547668B (en) Message processing method and device and DHCP server
WO2014169590A1 (en) Data service communication method, device, and 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110803

Termination date: 20161025