CN101729862B - Method and system for passing media through NAT by using video monitoring system - Google Patents

Method and system for passing media through NAT by using video monitoring system Download PDF

Info

Publication number
CN101729862B
CN101729862B CN200810216944.7A CN200810216944A CN101729862B CN 101729862 B CN101729862 B CN 101729862B CN 200810216944 A CN200810216944 A CN 200810216944A CN 101729862 B CN101729862 B CN 101729862B
Authority
CN
China
Prior art keywords
client
signaling
medium
address
monitoring front
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
CN200810216944.7A
Other languages
Chinese (zh)
Other versions
CN101729862A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810216944.7A priority Critical patent/CN101729862B/en
Priority to PCT/CN2009/074115 priority patent/WO2010045834A1/en
Publication of CN101729862A publication Critical patent/CN101729862A/en
Application granted granted Critical
Publication of CN101729862B publication Critical patent/CN101729862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for passing media through NAT by using a video monitoring system. The method comprises the following steps that: a TCP connection is established between a client and a monitoring front end to perform an RTSP signaling interaction and play process; the monitoring front end informs the client to transmit an RTSP signaling pass-through packet according to a signaling address; the client acquires a response message according to the received media; and an RTSP signaling is expanded to realize the pass-through from the monitoring front end to the client side so as to realize the pass-through of the media RTSP signaling and media code streams directly through an NAT device. The configuration of the monitoring front end and the expanded RTSP signaling are simple and practical, and the media signaling and the code streams are not needed to be transferred by a streaming media server; the video monitoring system is loaded by the existing public networks and private networks to pass the media through the NAT device; the method and the system can be used by a user more conveniently; and the cost is lower.

Description

A kind of video monitoring system realizes the method and system of medium passing through NAT
Technical field
The present invention relates to network media transmission technology, be specifically related to the method and system that a kind of video monitoring system realizes the medium passing through NAT.
Background technology
In the prior art, network monitoring system by intranet (Intranet) and Internet (Internet) thus long-range video monitoring is carried out in the transmission that realizes medium.No matter the user can utilize computer or TV internet login connect the supervisory control system of far-end in where, realizes realtime graphic and transfer voice.Video monitoring is directly perceived with it, convenient, the information content is abundant and be widely used in many occasions, public security bureau for example, bank, school, hospital, highway etc.In recent years, along with the develop rapidly of computer, network and image processing, transmission technology, the video monitoring technology also has significant progress.
Internet develop rapidly and the quantitative limitation of IPv4 number of addresses makes Network address translators (NAT, Network Address Translation) equipment be used widely.NAT device allows to be in multiple host behind the same NAT and shares a public network (network that the present invention will be in behind the same NAT is called private network, and the network that is in before the NAT is called public network) IP address.Private network IP address is by other main-machine communications of NAT device and public network.Initiatively initiate to connect by main frame in the private network, give the server on the public network after the packet process NAT address transition, set up two-way transfer of data later on but connect, NAT device allows main frame active main frame transmission data in public network in the private network, but forbid reciprocal active transfer, in video monitoring system, it is interconnected to need the interior main frame of different private networks to carry out, and the problem of passing through NAT must solve.
In the prior art, patent documentation comprises: number of patent application is 200710195416.3 and 200610021989 Chinese patent application, discloses the method for flow media cross-over NAT, transmits but need utilize the media distribution service device to carry out medium; Along with networks development, many buildings have possessed local area network (LAN) and wide area network, how to utilize existing public network and private network carrying video monitoring system to realize that media data passes through public network and private network becomes the problem that needs solution.
Summary of the invention
The objective of the invention is, the defective that exists at above-mentioned prior art provides a kind of video monitoring system to realize the method and system of medium passing through NAT, by on NAT device, increasing relevant configuration, expand RTSP (Real Time Streaming Protocol real-time stream media protocol) signaling field simultaneously, medium do not need to realize passing through of medium signaling and medium through transfer by direct-connected mode.
Technical scheme of the present invention is as follows:
A kind of video monitoring system realizes the method for medium passing through NAT, and wherein, front monitoring front-end and client are directly finished passing through of medium RTSP signaling and medium code stream by NAT device.
Described method wherein, comprises the steps:
A, set up described client and connect to the TCP of described front monitoring front-end, enter RTSP Signalling exchange and playing flow, whether described front monitoring front-end sends the RTSP signaling according to the described client of signaling address notification and passes through bag, be, described client is passed through bag through public network IP address and port numbers transmission RTSP signaling, otherwise directly sends the RTSP signaling;
B, described client are obtained response message according to the medium of receiving, by expansion realizes that described front monitoring front-end passes through to the medium of described client-side to the RTSP signaling.
Described method wherein, comprises the steps: that also C, front monitoring front-end stop to send the medium code stream to client, and broadcast stops.
Described method, wherein, described steps A specifically comprises the steps:
A1, before direct-connected broadcast, described client is from the IP address that business platform obtains described front monitoring front-end, the RTSP port numbers, URL connects thereby set up described TCP;
A2, described client send the video monitoring request message to described front monitoring front-end, and described client judges whether to have to described front monitoring front-end transmission NAT passes through the signaling address of the ability and the described client of bag;
A3, described front monitoring front-end judge whether to notify described client to send the RTSP signaling to pass through bag according to whether the signaling address of described client and the signaling source address of receiving be identical.
Described method wherein, further comprises the steps: between described steps A and the step B
S1, front monitoring front-end send media description information message to client;
S2, client send the acquisition request media information to front monitoring front-end;
Described method, wherein, described step B specifically comprises the steps:
B1, described front monitoring front-end return medium to described client and obtain response message, and described response message comprises whether requiring described client to send public network IP address and port numbers that the medium code stream passes through bag and described front monitoring front-end;
B2, described client are obtained response message according to the described medium of receiving, send the medium code stream to described front monitoring front-end and pass through bag;
After B3, described front monitoring front-end receive that the medium code stream of described client passes through bag, from Socket, obtain the public network IP address and the port numbers of described client, and preserve.
Described method, wherein, described step B also comprises the steps
B4, described client send the beginning playing request to described front monitoring front-end;
B5, described front monitoring front-end send to described client and begin to play response;
B6, described front monitoring front-end send the medium code stream to described client.
A kind of video monitoring system realizes the system of medium passing through NAT, wherein, comprising: front monitoring front-end, and client, business platform, NAT device, wherein,
Described front monitoring front-end is used for video data encoding is sent to network;
Described client is used for obtaining from described business platform the IP address of described front monitoring front-end, the RTSP port numbers, and URL sets up described client and connects to the TCP of described front monitoring front-end;
Described business platform is used for the registration and the management of described front monitoring front-end and client;
Described NAT device is used to support the different port mapping of private network IP address and public network IP address.
Described system, wherein, described front monitoring front-end is connected with camera, is used to absorb video data.
Described system, wherein, described client and front monitoring front-end lay respectively at public network or private network, send data to described private network from described public network, and medium RTSP signaling or medium code stream pass through described NAT device.
Described system, wherein, described client and described front monitoring front-end lay respectively at private network separately, and medium RTSP signaling and medium code stream pass through described NAT device.
A kind of video monitoring system provided by the present invention realizes the method and system of medium passing through NAT, compared with prior art, the present invention is in video monitoring system, field by expansion RTSP signaling, and the configuration of NAT device, effectively solved the problem of the medium passing through NAT of front monitoring front-end under the direct-connected situation between the client, the RTSP signaling of the configuration of front monitoring front-end and expansion is simple and practical, and medium signaling and code stream do not need by the streaming media server transfer, utilizing the system of existing public network and private network carrying video monitoring, can to allow the user use more convenient, and cost is also cheaper.
Description of drawings
Fig. 1 is the schematic diagram that video monitoring system of the present invention realizes the method and system application scenarios 1 of medium passing through NAT;
Fig. 2 is the schematic diagram that video monitoring system of the present invention realizes the method and system application scenarios 2 of medium passing through NAT;
Fig. 3 is the schematic diagram that video monitoring system of the present invention realizes the method and system application scenarios 3 of medium passing through NAT;
Fig. 4 is that video monitoring system of the present invention realizes media play flow chart in the method and system of medium passing through NAT.
Embodiment
The invention provides the method that a kind of video monitoring system realizes the medium passing through NAT, clearer, clear and definite for making purpose of the present invention, technical scheme and advantage, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.
In order to solve problem at the medium passing through NAT of front monitoring front-end under the direct-connected situation between the client, core of the present invention is: by increase configured port number and IP address on the NAT device of front monitoring front-end side, expand RTSP signaling field simultaneously, the realization client is passed through to the RTSP signaling of front monitoring front-end, by being expanded, the RTSP signaling realizes that front monitoring front-end passes through to the medium of client-side then, directly finish medium by NAT device and pass through to reach front monitoring front-end and client, and do not need the forwarding of finishing medium signaling and code stream by transferring in the streaming media server, solved the problem that the media play signaling can't passing through NAT.The present invention realizes that the system of medium passing through NAT mainly comprises, front monitoring front-end, and client, business platform, NAT device, wherein, front monitoring front-end connects camera, and the video data encoding to the camera input is sent to network; Client is accepted the medium code stream, decoding, and display image can be terminal equipment, also can be for operating in the client-side program on the computer; Business platform is used for front monitoring front-end, the registration of client and management etc.; NAT device, the NAT device of client-side does not have special requirement, and the NAT device of front monitoring front-end side need be supported the NAT configuration, is used to support the different port mapping of private network IP address and public network IP address.Its main flow process comprises the RTSP Signalling exchange flow process and the medium code stream transmission flow of client and front monitoring front-end, and concrete steps are:
A, before direct-connected broadcast, client is from the IP address that business platform obtains front monitoring front-end, the RTSP port numbers, URL connects to the TCP of front monitoring front-end thereby set up client;
B, client send video monitoring request message (RTSP DESCRIBE request) to front monitoring front-end, comprise the relevant information of front monitoring front-end among the URL of RTSP.In the DESCRIBE expanded signalling, comprise whether client has the ability of passing through bag to front monitoring front-end transmission NAT, the signaling address of oneself.Front monitoring front-end can judge whether to notify client to send NAT to pass through bag, if the same, directly send according to whether the source address of this address and the signaling of receiving is the same, otherwise needs transmission NAT pass through bag;
C, front monitoring front-end send media description information message (RTSP DESCRIBE response) to client;
D, client send acquisition request media information (RTSP SETUP request) to front monitoring front-end;
E, front monitoring front-end return medium to client and obtain response message (RTSP SETUP response), pass through bag and front monitoring front-end through public network IP address and port numbers behind the NAT comprising whether requiring client to send NAT;
Increase extended field in the SETUP response message, comprise whether front monitoring front-end requires client to send NAT and pass through bag, the time interval of transmission, the media port of front monitoring front-end, client sends destination address and the port numbers that NAT passes through bag;
F, client are obtained response message (SETUP response message) according to the medium of receiving and are judged whether that need send NAT to front monitoring front-end passes through bag, then the client Socket that use to prepare to accept medium sends NAT to front monitoring front-end and passes through bag if desired, NAT passes through the time interval of bag by client and front monitoring front-end agreement, can also can adopt other modes by front monitoring front-end by this spreading parameter formulation blanking time of passing through bag in the SETUP response message;
After G, front monitoring front-end receive that the NAT of client passes through bag, from Socket, obtain the public network IP address and the port numbers of client, and preserve;
H, front monitoring front-end send NAT to client and pass through the bag response.NAT passes through to comprise in the bag response and passes through packet number;
I, client send beginning playing request (RTSP PLAY request) to front monitoring front-end;
J, front monitoring front-end send to client and begin to play response (RTSP PLAY response);
K, front monitoring front-end send the medium code stream to client, pass through bag if client has sent NAT, and then front monitoring front-end uses the public network IP address of client and port numbers to send the medium code stream to client; Otherwise front monitoring front-end uses the IP address of the client in the SETUP request and port numbers to send the medium code stream to client;
In the time of need stopping to play, the flow process below continuing:
L, client send to front monitoring front-end and stop monitoring request (RTSP Teardown request);
M, front monitoring front-end send to client and stop monitoring response (RTSP Teardown response);
N, front monitoring front-end stop to send the medium code stream to client.
RTSP Signalling exchange flow process and medium code stream transmission flow according to client described above and front monitoring front-end, this method can be applicable to as Fig. 1,2, in the application scenarios shown in 3, wherein, as shown in Figure 1, front monitoring front-end 101 is arranged in private network 102, client 106 and platform 105 are arranged in public network 104, NAT device 103 is arranged between public network and the private network, in this connected mode, need to consider that client is to the RTSP signaling of the front monitoring front-end problem of passing through NAT how, front monitoring front-end then can directly send to the medium code stream of client, need not to consider crossing problem.
As shown in Figure 2, client 201 is arranged in private network 202, front monitoring front-end 206 and be arranged in platform 205 and be positioned at public network 204, there is NAT device 203 between public network and the private network, front monitoring front-end is positioned at public network, and client is positioned at private network, in this connected mode, client can directly send to the RTSP signaling of front monitoring front-end, need to consider that front monitoring front-end is to the medium of the client problem of passing through NAT how.
As shown in Figure 3, front monitoring front-end 301 is arranged in private network 302, and client 308 is arranged in private network 307, and platform 305 is arranged in public network 304, has NAT device 303 between public network 304 and the private network 302, has another NAT device 306 between public network 304 and the private network 307; Front monitoring front-end is positioned at different private networks with client, this be the most complicated also be a kind of mode relatively commonly used, this mode need consider how client passes through to the RTSP signaling of front monitoring front-end, and the front monitoring front-end problem of how to pass through to the medium of client.
In the application scenarios of Fig. 1 and Fig. 3 description, can be at the NAT device of front monitoring front-end side, being respectively on NAT device 103 and 303 increases corresponding static NAT configuration and realizes client passing through to the RTSP signaling of front monitoring front-end, RTSP signaling among Fig. 2 is to be connected to front monitoring front-end by client, the problem that does not exist the configuration NAT device to pass through.Front monitoring front-end and client do not need to dispose NAT device when being in same private network or being in the public network simultaneously.
So, method realization client of the present invention is passed through to the RTSP signaling of front monitoring front-end, by being expanded, the RTSP signaling realizes that front monitoring front-end passes through to the medium of client-side then, directly finish medium by NAT device and pass through to reach front monitoring front-end and client, and do not need the forwarding of finishing medium signaling and code stream by transferring in the streaming media server.
Be that example describes media play flow process of the present invention in detail below with Fig. 4, wherein the concrete steps of the Signalling exchange of front monitoring front-end 401 and client 402 are as follows:
S1, front monitoring front-end bring into operation and promptly register to being responsible for professional platform, carry local ip address and RTSP port numbers during registration, the outer net IP address and the RTSP port numbers of platform record front monitoring front-end;
S2, when client needs broadcast code flow, connect platform, obtain the IP address, port numbers and URL; Client is set up TCP according to these information to front monitoring front-end and is connected, and enters RTSP Signalling exchange and playing flow, 403 in its flow process corresponding diagram 4;
After S3, connection are set up, client sends video monitoring request message 404 to front monitoring front-end, RTSP DESCRIBE request just, the numbering of front monitoring front-end 402 and the image size information of request have been comprised among the URL of RTSP, comprise client 402 in the DESCRIBE expanded signalling and whether had to front monitoring front-end 401 and send the field that NAT pass through the bag ability, also comprised the IP address of public network just, address of the signaling of client 402 simultaneously;
The example of video monitoring request message 404 is as follows:
DESCRIBE
rtsp://172.16.100.190:554/000055010500000501.sdp?StreamID=1RTSP/1.0
CSeq:1
Accept:application/sdp
Authorization:Basic
Range:npt=now-
Content-length:0
User-Agent:ZTE?MOC
x-SpeedupPlay:yes
x-NAT:192.168.1.17:554
Parameter x-NAT represents that client notice front monitoring front-end oneself has the NAT ride-through capability, and the signaling address of oneself is: 192.168.1.17:554; Front monitoring front-end judges whether to notify client to send NAT to pass through bag according to whether this address and the source address of receiving signaling be the same;
It is the RTSPDESCRIBE response message that S4, front monitoring front-end 401 return media description information message 405 to client 402;
S5, client 402 send acquisition request media information 406, i.e. RTSPSETUP request message to front monitoring front-end 401;
S6, front monitoring front-end 401 send medium to client 402 and obtain response message 407, it is the RTSPSETUP response message, expand in the response message, comprise in the extended field whether front monitoring front-end requires client to send NAT and pass through bag, the time interval that sends, the media port of front monitoring front-end, client sends destination address and the port numbers that NAT passes through bag.
The example that medium obtain response message 407 message is as follows:
RTSP/1.0200OK
Server:ZXV10PUSS/1.0
Cseq:2
Cache-Control:cache-control
Session:1445520826657905223;timeout=51
x-Dynamic-Rate:0
x-KeepAliveInterval:30000
Transport:RTP/AVP/UDP;unicast;destination=172.16.100.190;
client_port=6000-6001;
server_port=6970-6971;mode=PLAY;ssrc=00000001
X-KeepAliveInterval:30000 represents that front monitoring front-end 401 requires client 402 to send NAT and passes through bag, and the time interval that sends is 30 seconds; Bring client 402 media port of front monitoring front-end 401 by the Transport parameter, wherein, destination represents that client 402 sends the destination address that NAT passes through bag, and server_port is a port numbers;
S7, medium obtain and have taken back the information whether front monitoring front-end 401 requires client 402 transmission NAT to pass through bag in the response message 407, if desired, then client 402 is created the Socket for preparing to accept the medium sent from front monitoring front-end 401, and utilizes this Socket to send NAT to front monitoring front-end and pass through bag 408; Wherein NAT passes through the session number that comprises RTSP in the bag, numbering, the medium type of front monitoring front-end and the numbering of passing through bag, and the time interval that NAT passes through bag is this parameter blanking time of passing through bag in the SETUP response message by front monitoring front-end 401;
After S8, front monitoring front-end 401 receive that the NAT of client passes through bag, from Socket, obtain the public network IP address and the port numbers of client 402, and preserve; Front monitoring front-end 401 sends NAT to client 402 and passes through bag response message 409, and NAT passes through to comprise in the bag response message 409 and passes through packet number.
S9, client 402 send 410 (the RTSP PLAY requests) of beginning playing request message to front monitoring front-end 401;
S10, front monitoring front-end 401 send to client 402 and begin to play response 411 (RTSP PLAY responses);
This moment, the RTSP link was set up, front monitoring front-end 401 sends the medium code stream to client 402 and passes through bag 412, if client 402 has sent NAT and passed through bag 408, then front monitoring front-end 401 uses the public network IP address of client and port numbers to pass through bag to client transmission medium code stream; Otherwise front monitoring front-end 401 uses the IP address of the client 402 in the SETUP request and port numbers to send the medium code stream to client;
S11, in the time of need stopping broadcast code flow, client 402 sends to front monitoring front-end 401 and stops to monitor request message 413 (RTSP Teardown request);
S12, front monitoring front-end 401 send to client 402 and stop to monitor response message 414 (RTSP Teardown response);
S13, front monitoring front-end 401 stop to send the medium code stream to client 402 and pass through bag, as the flow process among Fig. 4 415.
In sum, the present invention is by the field of expansion RTSP signaling, and the configuration of NAT device, has effectively solved the problem that medium do not need to pass through transfer in video monitoring system, has reached the direct cross-over NAT equipment of medium.
It should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1. the method for a video monitoring system realization medium passing through NAT is characterized in that front monitoring front-end and client are directly finished passing through of medium RTSP signaling and medium code stream by NAT device, comprise the steps:
A, set up of the TCP connection of described client to described front monitoring front-end, enter RTSP Signalling exchange and playing flow, whether the signaling source address that the signaling address of the client of carrying in the video monitoring request message that described front monitoring front-end sends according to described client and described front monitoring front-end are received identical notifies the whether signaling address transmission RTSP signaling by described public network of described client, if the signaling address of described client is different with the signaling source address that described front monitoring front-end is received, described client sends the RTSP signaling through public network IP address and port numbers, otherwise directly sends the RTSP signaling;
B, described client are obtained response message according to the medium of receiving, medium are obtained response message expand, and the field of expansion comprises that the media port of front monitoring front-end, client send destination address and the port numbers that NAT passes through bag; Obtain by the medium of receiving and to carry described front monitoring front-end in the response message and realize that through public network IP address and port numbers behind the NAT described front monitoring front-end passes through to the medium of described client.
2. method according to claim 1 is characterized in that, comprises the steps: that also C, front monitoring front-end stop to send the medium code stream to client, and broadcast stops.
3. method according to claim 1 is characterized in that described steps A specifically comprises the steps:
A1, before direct-connected broadcast, described client is from the IP address that business platform obtains described front monitoring front-end, RTSP port numbers and URL connect thereby set up described TCP;
A2, described client send the video monitoring request message to described front monitoring front-end, the video monitoring request message is expanded, and described video monitoring request message expanded signalling comprises whether client has and sends NAT to described front monitoring front-end and pass through the signaling address of the ability and the described client of bag;
A3, described front monitoring front-end judge whether to notify described client to send the RTSP signaling to pass through bag according to whether the signaling address of described client and the signaling source address of receiving be identical.
4. method according to claim 3 is characterized in that, further comprises the steps: between described steps A and the step B
S1, front monitoring front-end send media description information message to client;
S2, client send the acquisition request media information to front monitoring front-end.
5. method according to claim 1 is characterized in that described step B specifically comprises the steps:
B1, described front monitoring front-end return medium to described client and obtain response message, and described response message comprises whether requiring described client to send public network IP address and port numbers that the medium code stream passes through bag and described front monitoring front-end;
B2, described client are obtained response message according to the described medium of receiving, send the medium code stream to described front monitoring front-end and pass through bag;
After B3, described front monitoring front-end receive that the medium code stream of described client passes through bag, from Socket, obtain the public network IP address and the port numbers of described client, and preserve.
6. method according to claim 5 is characterized in that described step B also comprises the steps
B4, described client send the beginning playing request to described front monitoring front-end;
B5, described front monitoring front-end send to described client and begin to play response;
B6, described front monitoring front-end send the medium code stream to described client.
7. the system of a video monitoring system realization medium passing through NAT is characterized in that, comprising: front monitoring front-end, and client, business platform, NAT device, wherein,
Described front monitoring front-end, be used for video data encoding, be sent to network, whether the signaling source address that the signaling address of the client of carrying in the video monitoring request message that sends according to described client and described front monitoring front-end are received identical notifies the whether signaling address transmission RTSP signaling by described public network of described client, if the signaling address of described client is different with the signaling source address that described front monitoring front-end is received, notify described client to send the RTSP signaling through public network IP address and port numbers, otherwise notify described client directly to send the RTSP signaling, send medium and obtain response message to described client, extended medium is obtained the response message signaling, and described medium obtain the media port that the field of expanding in the response message comprises front monitoring front-end, client sends destination address and the port numbers that NAT passes through bag;
Described client, be used for obtaining the IP address of described front monitoring front-end from described business platform, RTSP port numbers and URL, set up of the TCP connection of described client to described front monitoring front-end, in sending to the video monitoring request message of described front monitoring front-end, carry the signaling address of the public network of described client, notice according to described front monitoring front-end sends the RTSP signaling, and receive the medium that described front monitoring front-end sends and obtain response message, realize that by the RTSP signaling expansion of receiving described front monitoring front-end passes through to the medium of described client;
Described business platform is used for the registration and the management of described front monitoring front-end and client;
Described NAT device is used to support the different port mapping of private network IP address and public network IP address.
8. system according to claim 7 is characterized in that described front monitoring front-end is connected with camera, is used to absorb video data.
9. system according to claim 8 is characterized in that described client and front monitoring front-end lay respectively at public network or private network, sends data to described private network from described public network, and medium RTSP signaling or medium code stream pass through described NAT device.
10. system according to claim 9 is characterized in that, described client and described front monitoring front-end lay respectively at private network separately, and medium RTSP signaling and medium code stream pass through described NAT device.
CN200810216944.7A 2008-10-21 2008-10-21 Method and system for passing media through NAT by using video monitoring system Active CN101729862B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810216944.7A CN101729862B (en) 2008-10-21 2008-10-21 Method and system for passing media through NAT by using video monitoring system
PCT/CN2009/074115 WO2010045834A1 (en) 2008-10-21 2009-09-22 Method and system for video monitoring system to implement media traversing network address translation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810216944.7A CN101729862B (en) 2008-10-21 2008-10-21 Method and system for passing media through NAT by using video monitoring system

Publications (2)

Publication Number Publication Date
CN101729862A CN101729862A (en) 2010-06-09
CN101729862B true CN101729862B (en) 2011-12-28

Family

ID=42118942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810216944.7A Active CN101729862B (en) 2008-10-21 2008-10-21 Method and system for passing media through NAT by using video monitoring system

Country Status (2)

Country Link
CN (1) CN101729862B (en)
WO (1) WO2010045834A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378064A (en) * 2010-08-04 2012-03-14 中兴通讯股份有限公司 Method and device for realizing traversal of network address translators (NAT) in internet protocol television (IPTV) network
CN101980508B (en) * 2010-11-01 2013-05-15 深圳市鼎盛威电子有限公司 Network adaptive operation mode on network monitoring system
CN102082709B (en) * 2011-01-24 2014-04-30 中国人民解放军国防科学技术大学 Monitoring system for internal network video files based on message interception
CN102651778A (en) * 2011-02-24 2012-08-29 中兴通讯股份有限公司 Method and system for implementing NAT (Network Address Translator) traversal by FCC (Fast Channel Change) system
CN102215276A (en) * 2011-06-20 2011-10-12 中兴通讯股份有限公司 Video monitoring system and method of media traverse of network address translation equipment
CN102281293B (en) * 2011-08-01 2017-04-05 中兴通讯股份有限公司 The transmission method and system of transmission control protocol type of session Media Stream
CN103945174A (en) * 2013-01-23 2014-07-23 苏州市伏泰信息科技有限公司 Environmental sanitation operation stream media network video monitoring system
CN104219589B (en) * 2013-06-03 2017-10-03 福达新创通讯科技(厦门)有限公司 Image transfer method, system and its record media
CN103533305B (en) * 2013-10-10 2018-01-12 国电南瑞科技股份有限公司 A kind of plugin-free universal video monitoring of B/S frameworks
CN104506802B (en) * 2014-12-17 2018-06-05 浙江宇视科技有限公司 The method of video monitoring system, passing through NAT monitor video data
CN106331195B (en) * 2015-06-23 2020-01-14 中兴通讯股份有限公司 Data receiving and sending method and device
CN110740300B (en) * 2019-11-01 2021-10-15 普联技术有限公司 Multimedia data transmission method, system, client and video monitoring equipment
CN111131544B (en) * 2019-12-26 2023-03-24 杭州迪普科技股份有限公司 Method for realizing NAT traversal
CN113949695A (en) * 2020-06-29 2022-01-18 中兴通讯股份有限公司 Method for accessing network, media gateway, electronic equipment and storage medium
CN112312094B (en) * 2020-10-29 2022-10-18 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929481A (en) * 2006-09-30 2007-03-14 四川长虹电器股份有限公司 Method for flow media cross-over NAT equipment based on UDP
CN1946055A (en) * 2006-10-24 2007-04-11 深圳市瑞福特信息技术有限公司 Method for switching medium data transmission path in instant communication
CN101110774A (en) * 2007-08-28 2008-01-23 中兴通讯股份有限公司 Flow media system NAT traversing device supporting authentication and implementing method thereof
CN101159628A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method for video monitoring front end to cross over network address conversion module
CN101170687A (en) * 2007-11-28 2008-04-30 武汉烽火网络有限责任公司 Method for front recording order to penetrate NAT based on video monitoring
CN101227593A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method and system for playing front end video recording

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071717A2 (en) * 2000-12-14 2002-09-12 Vocaltec Communications Ltd. Traversing firewalls and nats
US7406709B2 (en) * 2002-09-09 2008-07-29 Audiocodes, Inc. Apparatus and method for allowing peer-to-peer network traffic across enterprise firewalls

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929481A (en) * 2006-09-30 2007-03-14 四川长虹电器股份有限公司 Method for flow media cross-over NAT equipment based on UDP
CN1946055A (en) * 2006-10-24 2007-04-11 深圳市瑞福特信息技术有限公司 Method for switching medium data transmission path in instant communication
CN101110774A (en) * 2007-08-28 2008-01-23 中兴通讯股份有限公司 Flow media system NAT traversing device supporting authentication and implementing method thereof
CN101159628A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method for video monitoring front end to cross over network address conversion module
CN101170687A (en) * 2007-11-28 2008-04-30 武汉烽火网络有限责任公司 Method for front recording order to penetrate NAT based on video monitoring
CN101227593A (en) * 2008-01-29 2008-07-23 中兴通讯股份有限公司 Method and system for playing front end video recording

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特表2008-527842A 2008.07.24

Also Published As

Publication number Publication date
CN101729862A (en) 2010-06-09
WO2010045834A1 (en) 2010-04-29

Similar Documents

Publication Publication Date Title
CN101729862B (en) Method and system for passing media through NAT by using video monitoring system
US10893080B2 (en) Relaying multimedia conferencing utilizing software defined networking architecture
JP4575663B2 (en) Method and apparatus for performing multicast communication in a UMTS network
CN104618349B (en) A kind of trunked communication system, server and communication means
US7996543B2 (en) Client-to-client direct RTP exchange in a managed client-server network
CN100442774C (en) Method and system for providing multicast service in microwave access global intercommunication system
US6646997B1 (en) Large-scale, fault-tolerant audio conferencing in a purely packet-switched network
CN101313554B (en) Interactive media session establishing system, method and apparatus based on IP multimedia subsystem
JP4814998B2 (en) Method and apparatus for reliable delivery of multicast data
CN101030918B (en) Method, apparatus and system for supplying packet service based on IP network
CN102215276A (en) Video monitoring system and method of media traverse of network address translation equipment
CN1913533A (en) Remote video monitoring system based on session initialize protocol and its implementing method
CN103916382B (en) NAT through method, proxy server and system based on SIP media ability re-negotiations
CN105657368A (en) Method for rapidly switching IPC (Inter Process Communication) camera into IP (Internet Protocol) multimedia system IMS
CN102378177A (en) Method and system for combining Internet of things capability with terminal
CN101141397A (en) Single broadcast to multicast switching method
CN107959672A (en) A kind of transfer method of multicasting based on Darwin's streaming media server
RU2519511C2 (en) Method and system for creating multimedia service
WO2011023024A1 (en) Monitoring message transmission method and system
CN108810475A (en) A kind of Android video monitoring apparatus based on Onvif standards and Sip agreements
CN105812909A (en) Video transmission method and device
CN102378064A (en) Method and device for realizing traversal of network address translators (NAT) in internet protocol television (IPTV) network
KR100953507B1 (en) System and method for communication in groups using a lot of Data Transferring Server
EP2590378B1 (en) Method and system for audio broadcast in video surveillance
Shibeshi et al. Using an RTSP Proxy to implement the IPTV Media Function via a streaming server

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