CN105141710B - A kind of data transmission method, relevant apparatus and its system - Google Patents

A kind of data transmission method, relevant apparatus and its system Download PDF

Info

Publication number
CN105141710B
CN105141710B CN201510487760.4A CN201510487760A CN105141710B CN 105141710 B CN105141710 B CN 105141710B CN 201510487760 A CN201510487760 A CN 201510487760A CN 105141710 B CN105141710 B CN 105141710B
Authority
CN
China
Prior art keywords
public network
terminal
communication port
private net
code stream
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.)
Active
Application number
CN201510487760.4A
Other languages
Chinese (zh)
Other versions
CN105141710A (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 Device Co Ltd
Original Assignee
Huawei Device 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 Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201510487760.4A priority Critical patent/CN105141710B/en
Publication of CN105141710A publication Critical patent/CN105141710A/en
Application granted granted Critical
Publication of CN105141710B publication Critical patent/CN105141710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Abstract

The embodiment of the invention discloses a kind of data transmission method, relevant apparatus and its systems.The method comprise the steps that after Session initiation protocol SIP connection setup between private net terminal and public network terminal, the private net terminal determines the first communication port and the second communication port by SIP signaling and the public network terminal, first communication port is the preset communication port of the private net terminal after negotiating, and second communication port is the communication port that the public network terminal is preset after negotiating;When the private net terminal needs to send media code stream to the public network terminal, the private net terminal is multiplexed first communication port and sends code stream to second communication port of the public network terminal.

Description

A kind of data transmission method, relevant apparatus and its system
Technical field
The present invention relates to the communications field more particularly to a kind of data transmission methods, relevant apparatus and its system.
Background technique
It is existing in order to solve Internet protocol (IP, Internet Protocol) number of addresses and safety problem On IP network, there are a large amount of network address translation (NAT, Network Address Transform) equipment and firewall to set It is standby.To simplify the explanation, public network is referred to as public network, the mutual access that the equipment room with public network address can be transparent, Such as: internet Internet.By NAT device or firewall box, the network being isolated with public network is known as private network.
NAT device and firewall allow generally for the data packet that private net terminal is sent to public network terminal to be mapped to public network address, And following triple (private net address, address of the private net address after NAT is converted, public network address) is established on NAT device Mapping relations;And the packet for being reversely sent to private network by public network, only there is following triple (private net address, private net address Address after NAT is converted, public network address) mapping relations, it can just be reversed and be mapped to private network.
In the prior art, matchmaker is solved in session initiation protocol (SIP, Session Initiation Protocol) The mode of the problem of body stream cross-over NAT equipment is described in detail below:
When private net terminal sends code stream to public network terminal by NAT device, source address is private net address ip1, destination Location is public network address ip3.
The source address of the code stream is converted to public network address ip2 by private net address ip1 by NAT device, and ip2 is that NAT device is It is generated using static mappings, dynamic mapping, dynamic port mapping mode, while establishing reflecting for private net address and public network address Penetrate relationship (ip1, ip2, ip3).The processing of NAT device are as follows:
The packet of (src_ip1, dst_ip3) is converted to (src_ip2, dst_ip3), is forwarded to public network.
And public network terminal can obtain the public affairs after private net terminal is converted after receiving (src_ip2, dst_ip3) packet Net address ip2 when public network terminal sends code stream to private net terminal, can be sent, due to having existed to the public network address of NAT device The code stream can be forwarded to private net terminal by mapping relations, NAT device, thus realize the code stream cross-over NAT equipment of public network terminal to Private net terminal transmission.
But in the call of the media of practical application, there is only public network terminal to private net terminal transmission code stream, and private network is whole Not the case where end then to public network terminal does not send the unidirectional bit stream of code stream, such as: the transmission of point-to-point secondary flow;
Or in the call of bi-directional code Streaming Media, in order to realize certain business, the code stream in a direction is closed or suspends, by In private net address and public network address mapping relations on NAT device, it will usually there is an out-of-service time, that is to say, that a period of time The interior code stream that the public network terminal is sent to without the private net terminal, will lead to mapping failure.
In the prior art, for above-mentioned unidirectional code stream or intermittent code stream the case where, since private net terminal does not first pass through NAT device sends code stream or private net terminal within the out-of-service time of mapping relations not to public network terminal transmission to public network terminal Code stream, so will lead on NAT device, there is no the mapping relations or the mapping of the public network address and private net address to close System's failure, thus the unidirectional code stream of public network terminal or intermittent code stream can not cross-over NAT equipment transmitted to private net terminal.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method, relevant apparatus and its systems, for solving public network terminal Unidirectional code stream or intermittent code stream cross-over NAT equipment the problem of being transmitted to private net terminal.
Data transmission method provided in an embodiment of the present invention, comprising: at the beginning of the session between private net terminal and public network terminal After beginningization agreement SIP connection setup, the private net terminal obtains public network and sends address, and it is the public affairs that the public network, which sends address, Network termination sends the address of code stream to the private net terminal;The private net terminal is every during cycle, by NAT device to described Public network sends address and sends survival packet, so that the NAT device is wrapped according to the survival establishes or keep the private net terminal Private net address and the public network send the mapping relations between address, when the during cycle is less than the failure of the mapping relations Between.
Data transmission method provided in an embodiment of the present invention, comprising: when the SIP communication between private net terminal and public network terminal After foundation, the public network terminal sends public network to the private net terminal and sends address, and it is the public affairs that the public network, which sends address, Network termination sends the address of code stream to the private net terminal;The public network terminal sends address by the public network and receives the private The survival packet that network termination is sent;The survival packet received described in the public network terminal discarding.
Data transmission method provided in an embodiment of the present invention, comprising: when the SIP communication between private net terminal and public network terminal After foundation, the private net terminal determines the first communication port and the second communication port by SIP signaling and the public network terminal, First communication port is the preset communication port of the private net terminal after negotiating, and second communication port is institute after negotiation State the preset communication port of public network terminal;When the private net terminal needs to send the code of various medium types to the public network terminal When stream, the private net terminal is multiplexed first communication port and sends code to second communication port of the public network terminal Stream;When the public network terminal needs to send the code stream of various medium types to the private net terminal, the public network terminal multiplexing Second communication port sends code stream to first communication port of the private net terminal.
Terminal provided in an embodiment of the present invention, comprising: acquiring unit, for as the SIP between this terminal and public network terminal After connection setup, obtains public network and send address, the public network sends address and sends code stream to this terminal for the public network terminal Address;First transmission unit, for passing through NAT device every during cycle, Xiang Suoshu public network sends address and sends survival packet, So that the NAT device establishes or keeps the private net address of this terminal and the public network to send between address according to the survival packet Mapping relations, the during cycle be less than the mapping relations out-of-service time.
Terminal provided in an embodiment of the present invention, comprising: address transmission unit, between private net terminal and this terminal After SIP connection setup, Xiang Suoshu private net terminal sends public network and sends address, and it is this terminal to described that the public network, which sends address, The address of private net terminal transmission code stream;Processing unit is received, receives the private net terminal for sending address by the public network The survival packet of transmission, and the survival packet received described in discarding.
Data transmission system provided in an embodiment of the present invention, comprising: private net terminal, between public network terminal After SIP connection setup, obtains public network and send address, the public network sends address and sends code to this terminal for the public network terminal The address of stream, every during cycle, Xiang Suoshu public network sends address and sends survival packet, so that NAT device is wrapped according to the survival The mapping relations between the private net address of this terminal and public network transmission address are established or keep, the during cycle is less than institute State the out-of-service time of mapping relations;NAT device, for the network address between the private net terminal and the public network terminal into Row conversion receives the survival packet that the private net terminal is sent, and establishes or keep the private of the private net terminal according to the survival packet Net address and the public network send the mapping relations between address;Public network terminal, between this terminal and private net terminal After SIP connection setup, Xiang Suoshu private net terminal sends public network and sends address, sends address by the public network and receives the private The survival packet that network termination is sent, and the survival packet received described in discarding.
Data transmission system provided in an embodiment of the present invention, comprising: private net terminal, for when this terminal and public network terminal it Between SIP connection setup after, determine the first communication port and the second communication port with the public network terminal, first communication Port is the preset communication port of this terminal after negotiating, and second communication port, which is that the public network terminal is preset after negotiating, leads to Believe port, when needing to send the code stream of various medium types to the public network terminal, is multiplexed first communication port to institute Second communication port for stating public network terminal sends code stream;NAT device, for the private net terminal and the public network terminal Between network address converted;Public network terminal, for after SIP connection setup between this terminal and private net terminal, The first communication port and the second communication port are determined with the private net terminal, when needs send various media to the private net terminal When the code stream of type, second communication port is multiplexed to first communication port of the private net terminal and sends code stream.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that private net terminal is built with public network terminal After vertical SIP communication, private net terminal obtains public network and sends address, and sends address to the public network by NAT device and send survival packet, The survival packet can make NAT device establish or keep the private net address of private net terminal and the public network to send the mapping between address Relationship, so that public network terminal can find corresponding reflect when carrying out unidirectional code stream or intermittent bit stream in NAT device Relationship is penetrated, to realize transmission of the code stream cross-over NAT equipment of public network terminal to private net terminal.
Detailed description of the invention
Fig. 1 is a flow diagram of data transmission method of the embodiment of the present invention;
Fig. 2 is another flow diagram of data transmission method of the embodiment of the present invention;
Fig. 3 is an idiographic flow schematic diagram of data transmission method of the embodiment of the present invention;
Fig. 4 is another flow diagram of data transmission method of the embodiment of the present invention;
Fig. 5 is the signaling diagram of a concrete application example of data transmission method of the embodiment of the present invention;
Fig. 6 is another flow diagram of data transmission method of the embodiment of the present invention;
Fig. 7 is another flow diagram of data transmission method of the embodiment of the present invention;
Fig. 8 is a logical construction schematic diagram of the embodiment of the present invention Yu data transmission method counterpart terminal;
Fig. 9 is another logical construction schematic diagram of the embodiment of the present invention Yu data transmission method counterpart terminal;
Figure 10 is a logical construction schematic diagram of data transmission system of the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of data transmission method, relevant apparatus and its systems, for solving public network terminal Unidirectional code stream or intermittent code stream cross-over NAT equipment the problem of being transmitted to private net terminal.
Referring to Fig. 1, one embodiment of data transmission method includes: in the embodiment of the present invention
101, SIP communication is established;
It, can be first between private net terminal and public network terminal when public network terminal and private net terminal need to carry out SIP business Establish SIP communication.
Private net terminal and public network terminal establish the common knowledge that the process that SIP is communicated is those skilled in the art, it is specific this Place is not construed as limiting.
102, it obtains public network and sends address;
After the SIP communication for establishing private net terminal and public network terminal, it is whole that private net terminal can obtain public network by SIP signaling The public network that end is sent sends address, which sends address and send code stream to private net terminal for public network terminal.
Private net terminal can obtain public network in several ways and send address in the present embodiment, specifically will be in subsequent implementation It is described in detail in example.
103, survival packet is sent;
Private net terminal, every during cycle, can be sent out by NAT device to the public network after getting public network and sending address Address transmission survival packet is sent, which is less than the private net address for the private net terminal established in NAT device and is somebody's turn to do Public network sends the out-of-service time of the mapping relations between address.
In the present embodiment, the mapping relations saved on NAT device would generally be provided with an out-of-service time, if in the failure Private net terminal does not send code stream to public network terminal in time, then the public network of the private net address of the private net terminal and the public network terminal Mapping relations between address will fail.So after the mapping relations established between private net address and public network transmission address, Private net terminal, which needs to send address to the public network by NAT device every during cycle, sends survival packet, to keep the mapping to close System, and the time of the during cycle is less than the out-of-service time of the mapping relations in NAT device.
When survival packet is by NAT device, NAT device is converted to the source address of survival packet can be in public network transmissions Address, which is the dynamic mapping using static mappings, what the mode of dynamic port mapping generated, while NAT device also can Establish or keep private net address and public network to send the mapping relations between address: (private net address, private net address are converted by NAT Address afterwards, public network send address).
Source address, that is, private net terminal private net address of survival packet establishes private net address in NAT device and public network sends ground After mapping relations between location, when public network terminal sends code stream to private net terminal, NAT device can utilize the mapping relations Back mapping is carried out to code stream, to be forwarded to private net terminal.
During unidirectional bit stream, due to only having public network terminal to send code stream to private net terminal, private net terminal will not Code stream is sent to public network terminal, so the public network terminal only exists public network and sends address, private net terminal needs to send to the public network Address, which sends survival packet, could make public network terminal receive the survival packet, and NAT device is made to can establish or keep private Net address and public network send the mapping relations between address.
In the present embodiment, private net terminal and public network terminal are established after SIP communicates, and private net terminal obtains public network and sends address, And address is sent to the public network by NAT device and sends survival packet, which can make NAT device establish or keep private network The private net address of terminal and the public network send the mapping relations between address, so that public network terminal is carrying out unidirectional code stream or interval When property bit stream, corresponding mapping relations can be found in NAT device, to realize the code stream passing through NAT of public network terminal Transmission of the equipment to private net terminal.
Referring to Fig. 2, another embodiment of data transmission method includes: in the embodiment of the present invention
201, SIP communication is established;
The content of step 201 in the present embodiment is identical as the content of step 101 in aforementioned embodiment shown in FIG. 1, this Place repeats no more.
202, communication request is received;
Private net terminal receives the transfer of unidirectional code stream request that public network terminal is sent, which requests for indicating Public network terminal will send unidirectional code stream to private net terminal, and transfer of unidirectional code stream request can specifically be carried out by SIP signaling It sends.
Specific unidirectional code stream can be secondary flow, and an only side is sending, and reception is only responsible in opposite end, without to sender Send code stream.
203, it obtains public network and sends address;
In the present embodiment, private net terminal, which obtains public network transmission address, specifically can be used following methods:
(1), private net terminal obtains public network from the request of transfer of unidirectional code stream and sends address:
Public network terminal can request to be extended to transfer of unidirectional code stream, and it is whole to carry public network using the extension bits in the request The public network at end sends address.
When private net terminal is after the transfer of unidirectional code stream request for receiving public network terminal transmission, due to the transfer of unidirectional code stream Public network is carried in request and sends address, and therefore, private net terminal can be from the transfer of unidirectional code stream request that public network terminal is sent It extracts the public network and sends address.
(2), private net terminal obtains public network from the SIP signaling of public network terminal active transmission and sends address:
If public network terminal does not carry public network in the request of transfer of unidirectional code stream and sends address, then public network terminal can also make Public network is carried with notice INFO message and sends address, and INFO message is actively sent to private net terminal, and private net terminal can be from The public network is extracted in the INFO message sends address.
It should be noted that the INFO message is one kind of SIP signaling, it is to be understood that other than INFO message, Public network terminal can also use others SIP signaling to send public network to private net terminal and send address, and this is not limited here.
(3), private net terminal actively sends address to public network terminal request public network:
When private net terminal is after the transfer of unidirectional code stream request for receiving public network terminal transmission, if the transfer of unidirectional code stream is asked Public network is not carried in asking and sends address, then the unidirectional code stream that private net terminal can wait public network terminal to send, if when preset The unidirectional code stream of public network terminal transmission is not received after length yet, then private net terminal can send Address requests, the ground to public network terminal Location request can be sent by SIP signaling to public network terminal from private net terminal, and public network terminal, can after receiving the Address requests To send address to private net terminal feedback public network for example, by the SIP such as INFO message signaling, then private net terminal can be from for example The public network is extracted in the SIP signaling such as INFO message sends address.
Example from above illustrates that private net terminal obtains the mode that public network sends address in the present embodiment, it is to be understood that In practical applications, private net terminal can also obtain public network by other means and send address, specifically herein without limitation.
204, survival packet is sent;
The content of step 204 in the present embodiment is identical as the content of step 103 in aforementioned embodiment shown in FIG. 1, this Place repeats no more.
In the present embodiment, private net terminal and public network terminal are established after SIP communicates, and private net terminal obtains public network and sends address, And address is sent to the public network by NAT device and sends survival packet, which can make NAT device establish or keep private network The private net address of terminal and the public network send the mapping relations between address, so that public network terminal is carrying out unidirectional code stream or interval When property bit stream, corresponding mapping relations can be found in NAT device, to realize the code stream passing through NAT of public network terminal Transmission of the equipment to private net terminal;
Secondly, private net terminal can get public network in several ways and send address, so can mention in the present embodiment The using flexible of high scheme.
Above-mentioned embodiment shown in Fig. 2 is illustrated by taking the transmission of unidirectional code stream as an example, in practical applications, in addition to list To except code stream, can also there be intermittent code stream, specific treatment process is referring to Fig. 3, data pass in the embodiment of the present invention Another embodiment of transmission method includes:
301, code stream exchanges;
Private net terminal and public network terminal are established after SIP communicates, and both sides send code stream to opposite end by NAT device, such as Both sides are carrying out Remote Video Conference, then can send video code flow mutually, and private net address is saved on NAT device and public network is sent The mapping relations of address.
302, pause code stream is sent;
In SIP business procedure, private net terminal can suspend the transmission of code stream, such as when video conference has carried out one section Between, private net terminal needs the content with regard to aforementioned video meeting to carry out primary internal discussion, is not intended at this time by internal discussion process Video and audio-frequency information send the public network terminal of opposite end to, so the sendaisle of video code flow can be closed, or pause code Stream is sent.
303, survival packet is sent;
If private net terminal closes the sendaisle of video code flow, or the duration that pause code stream is sent sets more than NAT The out-of-service time of standby corresponding mapping relations, then it will lead to the failure of the mapping relations, and make the subsequent transmission of public network terminal Code stream can not cross-over NAT equipment reach private net terminal to thorough break of video meeting.
In order to avoid there is above situation, in the present embodiment, when private net terminal closes code stream sendaisle or pause code stream When transmission, then private net terminal sends address to the public network of public network terminal by NAT device every during cycle and sends survival packet, with The mapping relations in NAT device are kept, which is less than the out-of-service time of the mapping relations.
304, restart code stream transmission;
After private net terminal closes the sendaisle of video code flow, or pause code stream is sent, code stream transmission can be reopened Channel continues to send code stream to public network terminal, such as internal discuss terminates, and continues video conference.
305, stop sending survival packet;
When private net terminal restarts code stream sendaisle or continues code stream and send, then the mapping relations on NAT device can be with It is kept by the data code flow, in order to avoid the transmission of unnecessary data, private net terminal can stop sending survival packet.
When carrying out intermittent bit stream in the present embodiment, if private net terminal closes the sendaisle of video code flow, or temporarily Stop code stream transmission, then private net terminal meeting active transmission survival packet, to keep the mapping relations in NAT device, ensure that public network end Hold transmitted stream that can transmit with cross-over NAT equipment to private net terminal;
Secondly, when private net terminal reopens code stream sendaisle, when continuing to send code stream to public network terminal, private net terminal It can stop sending survival packet, so that unnecessary data be avoided to transmit, save Internet resources.
Other than unidirectional code stream mentioned above and intermittent code stream may result in mapping failure, in reality In, the code stream of burst and interrupted code stream may also lead to the mapping failure in NAT device, specific processed Journey is as follows:
One, for the code stream of burst:
In media call, it is burst that certain code streams, which are not persistently existing,.If private net terminal and public network terminal are It has been set up the duplex channel of SIP, before private net terminal does not send code stream, mapping relations are not present on NAT device, so The code stream of public network terminal will be unable to cross-over NAT equipment.
Therefore, in the present embodiment, after establishing the SIP duplex channel between private net terminal and public network terminal, private network Terminal can actively pass through NAT device and send survival packet to public network terminal, establish corresponding mapping relations.
Two, interrupted code stream:
In above-mentioned SIP business, even if private net terminal has sent code stream to public network terminal, established in NAT device Corresponding mapping relations, but since code stream is interrupted, it is possible to when being more than the failure of mapping relations because of the time of disconnection Between, and the code stream of public network terminal is caused to will be unable to cross-over NAT equipment.
Therefore, in the present embodiment, after establishing the SIP duplex channel between private net terminal and public network terminal, private network Terminal can continue through NAT device every during cycle and send survival packet, to keep corresponding mapping relations.
For ease of understanding, burst code stream and interrupted code stream are illustrated so that Remote Camera controls as an example below:
Remote Camera control is that control data are sent by private net terminal (such as control terminal) (such as: amplifying, reduce, is left Move right) to public network terminal (such as video camera), which is exactly a kind of burst and interrupted code stream.
After SIP duplex channel between control terminal and video camera is established, video camera can continue to send video to control terminal Data, and after only control terminal has carried out control operation, control terminal can just send control stream to video camera, and in control terminal Before being controlled, the video data that video camera is sent just becomes unidirectional code stream.
Even if control terminal had carried out operation, corresponding mapping relations are formd on NAT device, but if it exceeds It the out-of-service time of mapping relations and is not operated again, then the mapping relations will fail, the video that video camera is sent Data then can not cross-over NAT equipment, so after establishing the SIP duplex channel between control terminal and video camera, control terminal NAT device being continued through every during cycle and sending survival packet to video camera, which closes less than the correspondence mappings The out-of-service time of system, to establish and keep corresponding mapping relations in NAT device.
Only the application scenarios in the embodiment of the present invention are illustrated with some examples above, it is to be understood that In practical application, there can also be more application scenarios, this is not limited here.
Above-described embodiment is that data transmission method of the present invention is described from the angle of private net terminal, below from public network Data transmission method of the present invention is described in the angle of terminal, referring to Fig. 4, the data transmission method in the embodiment of the present invention Another embodiment includes:
401, SIP communication is established;
The content of step 401 in the present embodiment is identical as the content of step 101 in aforementioned embodiment shown in FIG. 1, this Place repeats no more.
402, it sends public network and sends address;
In the present embodiment, public network terminal can send public network to private net terminal by the following mode and send address:
(1), public network terminal sends public network by the request of transfer of unidirectional code stream and sends address:
When public network terminal is needed to private net terminal transfer of unidirectional code stream, it is single that public network terminal can send transmission to private net terminal It is requested to code stream, transfer of unidirectional code stream request can be realized by SIP signaling, specifically, transmission can be used in public network terminal Extension bits in unidirectional code stream request carry public network and send address, and public network terminal can be requested by transfer of unidirectional code stream to send out Public network is sent to send address.
(2), public network terminal active transmission includes the SIP signaling that public network sends address:
If public network terminal does not carry public network in the request of transfer of unidirectional code stream and sends address, then public network terminal can also make Public network is carried with notice INFO message and sends address, and INFO message is actively sent to private net terminal.
It should be noted that the INFO message is one kind of SIP signaling, it is to be understood that other than INFO message, Public network terminal can also use others SIP signaling to send public network to private net terminal and send address, and this is not limited here.
(3), public network terminal sends public network according to the request of private net terminal and sends address:
After public network terminal sends the request of transfer of unidirectional code stream to private net terminal, if not carried in transfer of unidirectional code stream request Public network sends address, then the unidirectional code stream that private net terminal can wait public network terminal to send, if not receiving yet after preset duration The unidirectional code stream sent to public network terminal, then private net terminal can send Address requests to public network terminal, which can be with It is sent from private net terminal by SIP signaling to public network terminal, public network terminal, can be for example, by after receiving the Address requests The SIP such as INFO message signaling sends address to private net terminal feedback public network.
Example from above illustrates that public network terminal in the present embodiment sends the mode that public network sends address to private net terminal, can be with Understand, in practical applications, public network terminal can send public network to private net terminal by other means and send address, specifically Herein without limitation.
403, survival packet is received;
After public network terminal has sent public network transmission address to private net terminal, the public network can be passed through and send address reception private Survival packet transmitted by network termination.
404, survival packet is abandoned;
Since the purpose that private net terminal sends survival packet is for the foundation in NAT device or to keep private net terminal and public network The mapping relations of terminal, so can directly abandon this after public network terminal receives the survival packet by public network transmission address Survival packet.
In order to make it easy to understand, below with a concrete application scene to data transmission method described in the above embodiments into Row detailed description, referring to FIG. 5, specifically:
501, the foundation of SIP communication;
When needing to carry out SIP business between private net terminal and public network terminal, private net terminal can be established with public network terminal SIP communication.
502, secondary flow request is sent;
If public network terminal needs to send secondary flow to private net terminal, public network terminal can be by SIP signaling to private net terminal Secondary flow request is sent, the public network that public network terminal is carried in secondary flow request sends address ip3.
503, it receives and response secondary flow is requested;
Private net terminal receives the secondary flow request that public network terminal is sent.
Secondary flow in the present embodiment can be video flowing, for showing video to private net terminal, belong to point-to-point unidirectional Code stream, only a side are sending secondary flow, and opposite end only receives secondary flow.
After private net terminal confirmation can receive the secondary flow, private net terminal is requested to the public network terminal response secondary flow.
504, it obtains public network and sends address;
Private net terminal is after receiving the secondary flow request of public network terminal transmission, secondary flow that private net terminal is sent in public network terminal Ip3 is extracted in request.
It should be noted that being for carrying the public network of public network terminal during secondary flow is requested and send address in the present embodiment It is illustrated, it is to be understood that in practical applications, private net terminal can also obtain public network by other means and send ground Location, concrete mode is similar with mode described in aforementioned embodiment shown in Fig. 2, and details are not described herein again.
505, survival packet is sent;
Private net terminal is sent by NAT device to the ip3 of public network terminal after getting ip3 every during cycle KeepAlive packet (src_ip1, dst_ip3);The time of the during cycle is less than the mistake of correspondence mappings relationship in NAT device Imitate the time.Src_ip1 is the private net address of private net terminal and the reception address of code stream.
506, mapping relations are established;
NAT device is after receiving KeepAlive packet (src_ip1, dst_ip3), by KeepAlive packet (src_ Ip1, dst_ip3) it is converted to KeepAlive packet (src_ip2, dst_ip3), ip2 is ip1 in the address of public network transmissions, It is NAT device according to ip1 using static mappings, dynamic mapping, what the mode of dynamic port mapping generated.
After ip1 is converted to ip2 by NAT device, the mapping relations (ip1, ip2, ip3) of ip1 and ip3 are established.
507, the survival packet after conversion is sent;
KeepAlive (src_ip2, dst_ip3) is sent to public network terminal according to ip3 by NAT device.
508, secondary flow is sent;
Public network terminal confirms in NAT device after receiving KeepAlive packet (src_ip2, dst_ip3) and has existed public affairs Net sends the mapping relations between address and private net address, therefore can start to send secondary flow.
Since the purpose that private net terminal sends survival packet is for the foundation in NAT device or to keep private net address and public network The mapping relations between address are sent, so public network terminal can be abandoned directly after receiving survival packet.
509, secondary flow is forwarded;
After NAT device receives the secondary flow (src_ip3, dst_ip2) of public network terminal transmission, mapping relations are inquired The back mapping of secondary flow is (src_ip2, dst_ip1), is sent to private net terminal by (ip1, ip2, ip3).
In the present embodiment, mapping relations are preserved on NAT device, which can be (ip1, ip2, ip3), wherein Ip1 is actually (private net address+port numbers), and ip3 is actually (public network terminal+port numbers), in practical applications, general next Say that the code stream of each medium type can correspond to a port number, the port numbers that the code stream of different medium types uses are different, Due to generally requiring to transmit a variety of different medium types between private net terminal and public network terminal, to Mr. Yu's private net terminal with It may be preserved and for certain public network terminal, on NAT device and much organize different mapping relations, difference is only that port numbers not phase Together, so that NAT device needs to carry out these mapping relations of storage and maintenance using a large amount of resource.
For the burden for mitigating NAT device, a kind of data transmission method is proposed in the present embodiment, referring specifically to Fig. 6, this hair Another embodiment of data transmission method includes: in bright embodiment
601, SIP communication is established;
When needing transmission code stream data between public network terminal and private net terminal, public network terminal and private net terminal establish SIP Communication, and pass through the control instruction of SIP signalling both sides.
602, negotiation communication port;
It is held consultation between private net terminal and public network terminal by SIP signaling, determines the first communication port and the second communication Port.First communication port is the preset communication port of private net terminal after negotiating, which is public network after negotiating The communication port of terminal preset.
Private net terminal and public network terminal have determined that both sides carry out the fixed communication port of bit stream afterwards through consultation, at it In the bit stream carried out afterwards, the bit stream data of either any medium type all passes through first communication port and second Communication port is received and dispatched.
603, private net terminal sends code stream;
When private net terminal needs to send code stream, pass through NAT device second to public network terminal using the first communication port Communication port sends code stream.
The code stream includes at least one data packet, includes: attribute-bit, private net address, public network transmission in each data packet Address, real-time transport protocol file header (RTP Head, Real-time Transport Protocol) and at least one matchmaker Volume data.
The attribute-bit is for distinguishing different media datas, convenient for public network terminal respectively to different types of media data It is handled.
604, private net terminal sends code stream again;
When private net terminal needs to send code stream to the public network terminal again, the code stream number of either any medium type According to all continuing to use the first communication port and sent by NAT device to the second communication port of public network terminal.
In the present embodiment, when the same private net terminal sends code stream to the same public network terminal by NAT device, no matter It is the bit stream data of any medium type, it is all unified to be received and dispatched using a preset communication port, since mapping relations are Send what address was established according to communication port, private net address and public network, so the private net terminal and public network terminal in NAT device A kind of mapping relations only need to be established, save the link circuit resource on NAT device.
It is above-mentioned to be illustrated from the angle of private net terminal, it is illustrated below from the angle of public network terminal, please refers to figure 7, another embodiment of data transmission method includes: in the embodiment of the present invention
701~703, the content of the step 701 to 703 in the present embodiment and step 601 in aforementioned embodiment shown in fig. 6 Content to 603 is identical, and details are not described herein again.
704, public network terminal receives code stream;
Public network terminal receives private net terminal transmitted stream by NAT device, from the second communication port;And according to the code stream Data packet in include attribute-bit distinguish different media datas, media data different in code stream is located accordingly Reason;
705, public network terminal sends code stream;
When public network terminal needs to send code stream to the private net terminal, no matter what the medium type of this code stream is, nothing By, either with or without being transmitted across, public network terminal can use the second communication port whole to private network by NAT device before this code stream First communication port at end is sent.
In the present embodiment, when public network terminal needs to send code stream to private net terminal, as long as in NAT device before The mapping relations of private net terminal and public network terminal are preserved, no matter what the medium type of code stream is, either unidirectional code stream is also It is two-way code stream, the mapping relations before may be by carry out the transmission of code stream.
In order to make it easy to understand, below with a concrete application scene to data transmission method described in the above embodiments into Row detailed description, specifically:
One, negotiation communication port;
Private net terminal and public network terminal determine the first communication port and the after establishing SIP communication, through SIP signaling negotiation Two communication port, first communication port are the preset communication port of private net terminal after negotiating, which is to negotiate The preset communication port of public network terminal afterwards.
Two, private net terminal sends code stream by the first communication port;
Private net terminal passes through NAT device first and sends address and preset communication port to the corresponding public network of public network terminal Ip3+port3 sends code stream.Assuming that the private net address of private net terminal and its preset communication port are ip1+port1, passing through When NAT device, ip1+port1 is converted into the network address ip2+port2 of public network transmissions, and establishes fixed mapping and close It is (ip1+port1, ip2+port2, ip3+port3), ip1+port1 and ip2+port2 is one-to-one.NAT device is again Code stream is sent to public network terminal according to mapping relations, and public network terminal is then received by preset communication port.
Three, both sides are multiplexed preset communication port and transmit;
When private net terminal need again to the public network terminal send code stream when, no matter again transmitted stream type whether with Transmitted stream type is identical for the first time, all unified to be sent using ip1+port1 to ip3+port3, can when by NAT device With multiplexing mapping relationship (ip1+port1, ip2+port2, ip3+port3).
When public network terminal needs to send code stream to the private net terminal, it is assumed that the medium type of the code stream is secondary flow, and private Network termination is never transmitted across secondary flow to public network terminal, but as long as above-mentioned mapping relations (ip1+port1, ip2+port2, ip3+ Port3 it) does not fail, public network terminal can use ip3+port3 to send to ip2+port2, due to ip1+port1 and ip2+ Port2 is that correspondingly, public network terminal utilizes (ip1+port1, ip2+port2, ip3+port3) energy in NAT device For back mapping to ip1+port1, secondary flow data can Successful transmissions.
Four, attribute-bit is added;
The same communication port is all multiplexed when the transmitting-receiving of all media data types, when no matter which side sends code stream, all It needs to add attribute-bit for the data packet in code stream.The attribute-bit can be negotiated to obtain (e.g., sound in SIP communication process Frequency can be " 001 ", and video can be " 002 "), it can also be the data code of other forms, this is not limited here.
After recipient receives code stream, the attribute-bit can be first parsed, distinguishes video, audio, secondary flow, distal end camera shooting Machine controls the different types of media datas such as data, then carries out corresponding media handling.
The embodiment of the private net terminal of the present invention for executing above-mentioned data transmission method is illustrated below, logic Structure is referring to FIG. 8, one embodiment of private net terminal includes: in the embodiment of the present invention
Acquiring unit 801 is sent for after SIP connection setup between this terminal and public network terminal, obtaining public network Address, it is the address that public network terminal sends code stream to this terminal which, which sends address,;
First transmission unit 802, for, by NAT device, sending address every during cycle to public network and sending survival packet, So that NAT device establishes or keeps the private net address of this terminal and public network to send the mapping relations between address, the during cycle Less than the out-of-service time of correspondence mappings relationship in NAT device.
Private net terminal in the embodiment of the present invention can further include:
First receiving unit 803 for receiving the transfer of unidirectional code stream request of public network terminal transmission, and triggers acquiring unit 801 send address from transfer of unidirectional code stream request public network.
Transfer of unidirectional code stream request can be what public network terminal was sent by SIP signaling, transfer of unidirectional code stream request Extension bits can carry public network send address.
Or, the private net terminal in the embodiment of the present invention can further include:
Second receiving unit 804, for receiving the SIP signaling for sending address containing public network of public network terminal active transmission, And it triggers acquiring unit 801 and obtains public network transmission address from the SIP signaling.
Or, the private net terminal in the embodiment of the present invention can further include:
Third receiving unit 805, for receiving the transfer of unidirectional code stream request of public network terminal transmission, the transfer of unidirectional code stream Request can be what public network terminal was sent by SIP signaling;
Second transmission unit 806, for when receive public network terminal transmission transfer of unidirectional code stream request, by it is preset when After length, if do not receive the unidirectional code stream of public network terminal transmission, Address requests, the ground are sent to public network terminal by SIP signaling Location request sends address for requesting public network terminal to return to public network;
4th receiving unit 807 sends address containing public network according to what the Address requests were sent for receiving public network terminal SIP signaling, and trigger acquiring unit 801 obtained from the SIP signaling public network send address.
For ease of understanding, specific with each unit of a concrete application scene to private net terminal in the embodiment of the present invention below Interactive process be described:
The first receiving unit 803 after SIP connection setup between private net terminal and public network terminal, in private net terminal The transfer of unidirectional code stream request that public network terminal is sent is received, and triggers acquiring unit 801 and is obtained from transfer of unidirectional code stream request Public network is taken to send address.
If the request of transfer of unidirectional code stream does not carry public network and sends address, the second receiving unit 804 in private net terminal can To receive the SIP signaling containing public network transmission address of public network terminal transmission, and acquiring unit 801 is triggered from the SIP signaling It obtains public network and sends address.
Private net terminal obtain public network send address can also be by third receiving unit 805, the second transmission unit 806 and the Four receiving units 807 are realized: third receiving unit 805 receives the transfer of unidirectional code stream request that public network terminal is sent, the transmission list Address is sent without carrying public network into code stream request;After preset time period, if not receiving the unidirectional code of public network terminal transmission Stream, then the second transmission unit 806 of private net terminal can send Address requests to public network terminal, and the Address requests are for requesting public affairs Network termination returns to public network and sends address;When public network terminal, which returns to public network using INFO message, sends address, the of private net terminal Four receiving units 807 receive the public network that contains that public network is sent and send address SIP signaling, and trigger acquiring unit 801 and believe from the SIP Public network is obtained in order sends address.
After obtaining public network and sending address, the first transmission unit 802 passes through NAT device to public network terminal every during cycle Public network send address and send survival packet so that NAT device is established or private net address and public network is kept to send reflecting between address Relationship is penetrated, which is less than the out-of-service time of correspondence mappings relationship in NAT device.
The embodiment of the public network terminal of the present invention for executing above-mentioned data transmission method is illustrated below, logic Structure is referring to FIG. 9, one embodiment of public network terminal includes: in the embodiment of the present invention
Address transmission unit 901, for after SIP connection setup between private net terminal and this terminal, to private network end End sends public network and sends address;
Processing unit 902 is received, receives the survival packet that private net terminal is sent for sending address by public network, and abandon and connect The survival packet received.
Address transmission unit 901 in the embodiment of the present invention may further include:
First request sending module 9011, for sending the request of transfer of unidirectional code stream to private net terminal by SIP signaling, Public network, which is carried, in transfer of unidirectional code stream request sends address.
Or, the address transmission unit 901 in the embodiment of the present invention may further include:
First address sending module 9012 sends the SIP signaling that address is sent containing public network for active to private net terminal.
Or, the address transmission unit 901 in the embodiment of the present invention may further include:
Second request sending module 9013, for sending the request of transfer of unidirectional code stream to private net terminal by SIP signaling;
Request receiving module 9014, for receiving the Address requests of private net terminal transmission;
Second address sending module 9015 sends address containing public network for sending according to the Address requests to private net terminal SIP signaling.
The specific interactive process of each unit of public network terminal is as follows in the embodiment of the present invention:
After SIP connection setup between private net terminal and public network terminal, the first request sending module of public network terminal 9011, which can send the transfer of unidirectional code stream for sending address comprising public network to private net terminal by SIP signaling, requests;
Or, 9012 active of the first address sending module of public network terminal is sent to private net terminal sends address containing public network SIP signaling;
Or, the second request sending module 9013 sends the transfer of unidirectional code stream for not carrying public network and sending address to private net terminal After request, the request receiving module 9014 of public network terminal receives the Address requests that private net terminal is sent, the second ground of public network terminal Location sending module 9015 sends the SIP signaling that address is sent containing public network according to the Address requests to private net terminal.
It receives processing unit 902 and gets public network transmission address in private net terminal, and address is sent to public network by public network After terminal sends survival packet, the survival packet that private net terminal is sent is received by NAT device.Since private net terminal sends survival packet Purpose is the mapping relations in order to which private net terminal and public network terminal are established or kept in NAT device, so receiving processing unit 902 receive after survival is wrapped and can directly abandon.
The embodiment of the data transmission system of the present invention for executing above-mentioned data transmission method is illustrated below, Logical construction is referring to FIG. 10, one embodiment of data transmission system includes: in the embodiment of the present invention
Private net terminal 1001 sends ground for after SIP connection setup between public network terminal 1003, obtaining public network Location, it is the address that public network terminal 1003 sends code stream to this terminal that public network, which sends address, every during cycle, sends ground to public network Location sends survival packet, so that NAT device 1002 establishes or keep the private net address of this terminal and public network to send ground according to survival packet Mapping relations between location, during cycle are less than the out-of-service time of mapping relations;
NAT device 1002 connects for converting to the network address between private net terminal 1001 and public network terminal 1003 The survival packet that private net terminal 1001 is sent is received, establishes or keep the private net address of private net terminal 1001 and public network to send out according to survival packet Send the mapping relations between address;
Public network terminal 1003, for after SIP connection setup between this terminal and private net terminal 1001, to private network end End 1001 sends public network and sends address, sends address by public network and receives the survival packet that private net terminal 1001 is sent, and abandons and connect The survival packet received.
Above system is applied to application scenarios described in embodiment as shown in Figure 5.
Another embodiment of the data transmission system of the present invention for executing above-mentioned data transmission method is carried out below Illustrate, logical construction is same referring to FIG. 10, another embodiment of data transmission system includes: in the embodiment of the present invention
Private net terminal 1001, for after SIP connection setup between this terminal and public network terminal 1003, with public network end End 1003 determines that the first communication port and the second communication port, the first communication port are the preset communication ends of this terminal after negotiating Mouthful, the second communication port is the communication port that public network terminal 1003 is preset after negotiating, when needs are sent respectively to public network terminal 1003 When the code stream of kind medium type, the first communication port of multiplexing sends code stream to the second communication port of public network terminal 1003;
NAT device 1002, for being converted to the network address between private net terminal 1001 and public network terminal 1003;
Public network terminal 1003, for after SIP connection setup between this terminal and private net terminal 1001, with private network end End 1001 determines the first communication port and the second communication port, when the code for needing to send various medium types to private net terminal 1001 When stream, the second communication port of multiplexing sends code stream to the first communication port of private net terminal 1001.
Above system is applied to the application scenarios as described in Fig. 6 or 7 embodiments.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which can store in a kind of computer readable storage medium, above-mentioned to mention To storage medium can be read-only memory, disk or CD etc..
A kind of data transmission method provided by the present invention, relevant apparatus and its system are described in detail above, For those of ordinary skill in the art, thought according to an embodiment of the present invention, in specific embodiments and applications It will change, therefore, the contents of this specification are not to be construed as limiting the invention.

Claims (5)

1. a kind of data transmission method characterized by comprising
After Session initiation protocol SIP connection setup between private net terminal and public network terminal, the private net terminal passes through SIP signaling and the public network terminal determine that the first communication port and the second communication port, first communication port are after negotiating The preset communication port of the private net terminal, second communication port are the communication ends that the public network terminal is preset after negotiating Mouthful;
When the private net terminal needs to send media code stream to the public network terminal, the private net terminal multiplexing described first is logical Believe that port sends code stream to second communication port of the public network terminal;
Wherein,
The code stream includes at least one data packet;
Include attribute-bit, at least one media data and real-time transport protocol file header, the attribute mark in the data packet Know for distinguishing different media datas, the different media datas that the attribute-bit is distinguished include video, audio, secondary flow, Remote Camera controls data;All media data types are all multiplexed same communication port when receiving and dispatching;
Wherein, the method also includes:
The private net terminal receives code stream transmitted by opposite end;
Private net terminal attribute-bit according to entrained by the data packet in the code stream distinguishes different media datas, and right The different media data performs corresponding processing respectively.
2. a kind of data transmission method characterized by comprising
After Session initiation protocol SIP connection setup between public network terminal and private net terminal, the public network terminal passes through SIP signaling and the private net terminal determine that the first communication port and the second communication port, first communication port are after negotiating The preset communication port of the private net terminal, second communication port are the communication ends that the public network terminal is preset after negotiating Mouthful;
When the public network terminal needs to send media code stream to the private net terminal, the public network terminal multiplexing described second is logical Believe that port sends code stream to first communication port of the private net terminal;
Wherein,
The code stream includes at least one data packet;
Include attribute-bit, at least one media data and real-time transport protocol file header, the attribute mark in the data packet Know for distinguishing different media datas, the different media datas that the attribute-bit is distinguished include video, audio, secondary flow, Remote Camera controls data;All media data types are all multiplexed same communication port when receiving and dispatching;
Wherein, the method also includes:
The public network terminal receives code stream transmitted by opposite end;
Public network terminal attribute-bit according to entrained by the data packet in the code stream distinguishes different media datas, and right The different media data performs corresponding processing respectively.
3. a kind of data transmission device, which is characterized in that be applied to private net terminal, the data transmission device includes:
For being believed after Session initiation protocol SIP connection setup between the private net terminal and public network terminal by SIP The module that the first communication port and the second communication port are determined with the public network terminal is enabled, first communication port is after negotiating The preset communication port of the private net terminal, second communication port are the communication ends that the public network terminal is preset after negotiating Mouthful;
For when the private net terminal needs to send media code stream to the public network terminal, be multiplexed first communication port to Second communication port of the public network terminal sends the module of code stream;
Wherein, the code stream includes at least one data packet;Include attribute-bit, at least one media data in the data packet With real-time transport protocol file header, the attribute-bit is used to distinguish different media datas, what the attribute-bit was distinguished Different media datas include video, audio, secondary flow, Remote Camera control data;All media data types receive and dispatch Shi Doufu With same communication port;
Wherein, the data transmission device further include:
For receiving the module of code stream transmitted by public network terminal;
Different media datas is distinguished for the attribute-bit according to entrained by the data packet in the code stream, and to the difference The module that performs corresponding processing respectively of media data.
4. a kind of data transmission device, which is characterized in that be applied to public network terminal, the data transmission device includes:
For after Session initiation protocol SIP connection setup between public network terminal and private net terminal, by SIP signaling with The private net terminal determines that the module of the first communication port and the second communication port, first communication port are described after negotiating The preset communication port of private net terminal, second communication port are the communication port that the public network terminal is preset after negotiating;
For when the public network terminal needs to send media code stream to the private net terminal, be multiplexed second communication port to First communication port of the private net terminal sends the module of code stream;
Wherein,
The code stream includes at least one data packet;
Include attribute-bit, at least one media data and real-time transport protocol file header, the attribute mark in the data packet Know for distinguishing different media datas, the different media datas that the attribute-bit is distinguished include video, audio, secondary flow, Remote Camera controls data;All media data types are all multiplexed same communication port when receiving and dispatching;
Wherein, the data transmission device further include:
For receiving the module of code stream transmitted by opposite end;
Different media datas is distinguished for the attribute-bit according to entrained by the data packet in the code stream, and to the difference The module that performs corresponding processing respectively of media data.
5. a kind of data transmission system characterized by comprising
Private net terminal, for determining with the public network terminal after SIP connection setup between this terminal and public network terminal One communication port and the second communication port, first communication port are the preset communication port of this terminal after negotiating, described the Two communication port are the communication port that the public network terminal is preset after negotiating, when needs send media code stream to the public network terminal When, first communication port, which is multiplexed, to second communication port of the public network terminal sends code stream;
NAT device, for being converted to the network address between the private net terminal and the public network terminal;
Public network terminal, it is true with the private net terminal for after SIP connection setup between this terminal and the private net terminal Fixed first communication port and the second communication port, when needing to send media code stream to the private net terminal, multiplexing described second Communication port sends code stream to first communication port of the private net terminal;
The code stream includes at least one data packet;
Include attribute-bit, at least one media data and real-time transport protocol file header, the attribute mark in the data packet Know for distinguishing different media datas, the different media datas that the attribute-bit is distinguished include video, audio, secondary flow, Remote Camera controls data;All media data types are all multiplexed same communication port when receiving and dispatching;
Wherein, the private net terminal and the public network terminal receive code stream transmitted by opposite end respectively;
The private net terminal and the public network terminal attribute-bit according to entrained by the data packet in the code stream are distinguished different Media data, and the different media data is performed corresponding processing respectively.
CN201510487760.4A 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and its system Active CN105141710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510487760.4A CN105141710B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and its system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010544015.6A CN102469172B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and system thereof
CN201510487760.4A CN105141710B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and its system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201010544015.6A Division CN102469172B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and system thereof

Publications (2)

Publication Number Publication Date
CN105141710A CN105141710A (en) 2015-12-09
CN105141710B true CN105141710B (en) 2019-03-01

Family

ID=46072323

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510487760.4A Active CN105141710B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and its system
CN201010544015.6A Active CN102469172B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and system thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201010544015.6A Active CN102469172B (en) 2010-11-15 2010-11-15 A kind of data transmission method, relevant apparatus and system thereof

Country Status (1)

Country Link
CN (2) CN105141710B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801725B (en) * 2012-08-06 2016-01-20 苏州工业园区云视信息技术有限公司 The method of audio-video frequency media transmission is carried out in SIP audio/video conference
CN104660546B (en) * 2013-11-18 2018-01-19 北京信威通信技术股份有限公司 A kind of method of the transmitting-receiving RTP bags based on SSRC
CN103944760B (en) * 2014-04-17 2017-07-04 新华三技术有限公司 The network management and device of a kind of passing through NAT
CN112866438B (en) * 2021-03-26 2022-07-22 新华三信息安全技术有限公司 Address allocation method and device and address allocation server
CN115174537B (en) * 2022-06-30 2023-07-21 重庆长安汽车股份有限公司 Double-screen interaction method and system for vehicle-computer interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863138A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Method for implementing multimedia service NAT transition
CN101119270A (en) * 2007-09-14 2008-02-06 华中科技大学 Network boundary treatment method
CN101252605A (en) * 2008-04-03 2008-08-27 杭州华三通信技术有限公司 Multimedia communication method, system and apparatus traversing network address conversion equipment
CN101262502A (en) * 2003-09-02 2008-09-10 华为技术有限公司 Method for realizing multimedia protocol penetration network address conversion device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085741B2 (en) * 2004-03-10 2011-12-27 Core Wireless Licensing S.A.R.L. System and method for pushing content to a terminal utilizing a network-initiated data service technique
CN101119299A (en) * 2006-08-02 2008-02-06 华为技术有限公司 Method for conducting media stream, conduction detecting method and system
CN1946062A (en) * 2006-10-10 2007-04-11 华为数字技术有限公司 Method and system for keep-alive conversation table in NAT device
CN100558081C (en) * 2007-01-29 2009-11-04 华为技术有限公司 The keepalive method of address repeat listing and system
EP2394414B1 (en) * 2009-02-06 2018-10-17 XMedius Solutions Inc. Nat traversal using hole punching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262502A (en) * 2003-09-02 2008-09-10 华为技术有限公司 Method for realizing multimedia protocol penetration network address conversion device
CN1863138A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Method for implementing multimedia service NAT transition
CN101119270A (en) * 2007-09-14 2008-02-06 华中科技大学 Network boundary treatment method
CN101252605A (en) * 2008-04-03 2008-08-27 杭州华三通信技术有限公司 Multimedia communication method, system and apparatus traversing network address conversion equipment

Also Published As

Publication number Publication date
CN102469172A (en) 2012-05-23
CN102469172B (en) 2015-08-19
CN105141710A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
TWI408936B (en) Network traversal method and network communication system
CN105141710B (en) A kind of data transmission method, relevant apparatus and its system
CN100440886C (en) Method for realizing multimedia protocol passing through network address translation device
US20020143959A1 (en) Method and apparatus for interactive direct peer-to-peer multimedia streaming
CN103957287A (en) Internet of things device P2P connection method based on NAT penetration adapter
CN101437036B (en) Document transmission method and system capable of supporting NAT/firewall traversing
CN101414950B (en) Method for address translation device traversal for sip signaling messages through temporary use of the TCP transport protocol
WO2015180570A1 (en) Data channel establishment method and communications device
CN106878267A (en) Set up the method and system of full-duplex bi-directional communication
CN103916382B (en) NAT through method, proxy server and system based on SIP media ability re-negotiations
WO2007036160A1 (en) An apparatus, system and method for realizing communication between the client and the server
CN108306986B (en) Multi-type media data network address conversion traversing method, terminal and system
CN105530310B (en) It is suitble to equipment connection method and the device of public affairs VPN traffics forwarding
CN101867586B (en) Method and system for realizing cross network segment signaling interworking of videoconference system
CN101621506A (en) Method for realizing real-time multi-media bidirectional communication by NAT
CN101350825A (en) Method and system for crossing network address conversion, stream media server, set-top box
CN103905380B (en) Service call method, device and system
CN104994067A (en) System and method for SIP network to access RTSP monitoring network
CN109361671A (en) A kind of streaming media framework method based on Session Initiation Protocol
CN107547680A (en) A kind of data processing method and device
CN104519304B (en) Terminal point information interaction processing method, device and endpoint is remotely presented
CN100514939C (en) Processing system of IP multi-media communication service and the method for IP multi-media communication
CN115334273A (en) Protocol conversion audio and video communication method and system
CN108270768A (en) A kind of single port two-way interactive agreement based on RTSP/RTMP agreements
CN100384168C (en) Method for multimedium session transition NAT equipment of IL323 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
CB02 Change of applicant information

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Applicant after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Applicant before: HUAWEI DEVICE Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20181218

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Applicant before: Huawei terminal (Shenzhen) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant