CN101159628B - Method for video monitoring front end to cross over network address conversion module - Google Patents

Method for video monitoring front end to cross over network address conversion module Download PDF

Info

Publication number
CN101159628B
CN101159628B CN2007101769745A CN200710176974A CN101159628B CN 101159628 B CN101159628 B CN 101159628B CN 2007101769745 A CN2007101769745 A CN 2007101769745A CN 200710176974 A CN200710176974 A CN 200710176974A CN 101159628 B CN101159628 B CN 101159628B
Authority
CN
China
Prior art keywords
monitoring front
media server
streaming media
monitoring
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007101769745A
Other languages
Chinese (zh)
Other versions
CN101159628A (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 CN2007101769745A priority Critical patent/CN101159628B/en
Publication of CN101159628A publication Critical patent/CN101159628A/en
Application granted granted Critical
Publication of CN101159628B publication Critical patent/CN101159628B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for monitoring video monitoring front end passing through a network address conversion module. The method comprises the following steps: the monitoring front end actively connects with a streaming media server through a network address conversion module, and after setting up connection, the monitoring front end sets up a real-time steaming protocol (RTSP) conversation with the streaming media server; and keeping the RTSP conversation through periodically sending keeping message. The invention sets up the RTSP conversion between the monitoring front end and the monitoring platform through extension of the existing RTSP, and implements controlling of the real-time bit rate of playing through the active communication between the monitoring front end and the monitoring platform. The method does not require to use additional network equipments, is easy to implement, and has low cost.

Description

A kind of method of video monitoring front end to cross over network address conversion module
Technical field
The present invention relates to the video monitoring technology, particularly a kind of method of video monitoring front end to cross over network address conversion (NAT, Network Address Translation) module.
Background technology
Is an emerging multi-media value-added business by IP network for the client provides video monitoring service, and so-called video monitoring service is meant the brand-new value-added telecom services that image, sound and various alarm signal remote collection, transmission, storage, processing and relay are provided on use broadband network basis for the client.By this business, the user can not be subjected to time, site limitation, easily to monitoring objective monitor in real time, supervision and management and video recording storage, can arrange that also warning device be connected the realization alarm linkage with monitoring terminal equipment in the monitoring place.When abnormal conditions took place, system can send warning message to customized user by modes such as E-MAIL, mobile phones by the alarm mode that sets in advance, and to the abnormal conditions candid photograph of recording a video.
As shown in Figure 1, this operation system is made up of monitor supervision platform, some front monitoring front-ends, plurality of client end three parts.Wherein, front monitoring front-end mainly finish video/audio signal collection, encode, upload, finish collection, the processing of alarm signal, and finish control of auxiliary equipment such as video camera, The Cloud Terrace etc.; Monitor supervision platform generally is positioned at public network, mainly finishes distribution, equipment control, service management, operation support of medium etc.; Client is mainly the client and presents concrete video monitoring service.
Consideration for internet security, front monitoring front-end generally is not placed directly on the public network, but set up the local area network (LAN) (LAN that uses private IP address, Local Area Network), carry out the IP address transition by the network address translation (nat) module then, the NAT module can be router or the fire compartment wall with nat feature.As each front monitoring front-end among Fig. 1, the NAT module can make the monitor supervision platform that is positioned at public network directly control front monitoring front-end between front monitoring front-end and monitor supervision platform like this.
At present, the method that addresses this is that mainly is to increase gateway device in the front monitoring front-end side, but this method need be used extra equipment, has the high shortcoming of cost.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of video monitoring front-end passing through NAT module, and realization is simple, convenient, and cost is low.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of video monitoring front end to cross over network address conversion module, this method may further comprise the steps:
A, front monitoring front-end initiatively are connected with streaming media server by network address conversion module, connect foundation back front monitoring front-end and streaming media server and set up real time streaming transport protocol RTSP session;
B, keep message, keep real time streaming transport protocol RTSP session by periodic the transmission;
C, streaming media server send request by the Set Parameter message of expansion to front monitoring front-end, carry out the control to front monitoring front-end; The request of described streaming media server is the expansion to the Set Parameter message format of RTSP, increases but is not limited to begin play, stops to play field; Described front monitoring front-end is operated the medium code stream to streaming media server transmission medium code stream and execution accordingly according to the field of expanding in the described Set Parameter message.
Steps A further comprises:
A1, front monitoring front-end send conversation message to streaming media server, the conversation message of streaming media server response monitoring front end;
A2, front monitoring front-end send the request of foundation, the foundation request of streaming media server response monitoring front end to streaming media server;
A3, front monitoring front-end send record request to streaming media server, the request of streaming media server response record, and real time streaming transport protocol RTSP session is set up successfully.
The described maintenance of step B RTSP session is:
Front monitoring front-end regularly sends to streaming media server and keeps message, streaming media server response monitoring front end.
This method also comprises step D: according to the request of streaming media server, corresponding medium code stream is play, stopped to front monitoring front-end.
Step D further comprises:
When client-requested stopped the playing media code stream, whether streaming media server judges had other clients to this front monitoring front-end monitoring, if do not have, then send and stop playing request to front monitoring front-end, stop the current media code stream and play,, then continue the current media code stream and play if having.
The present invention passes through existing real time streaming transport protocol (RTSP, Real Time Streaming Protocol) expands, set up the RTSP session that front monitoring front-end is initiated to monitor supervision platform, realize the active communication of front monitoring front-end and monitor supervision platform, this method does not need to increase the network equipment, is easy to realize, cost is low.
Description of drawings
Fig. 1 forms the schematic diagram of structure for existing supervisory control system;
Fig. 2 is that the supervisory control system of one embodiment of the invention is formed structural representation;
Fig. 3 is the realization flow figure of the inventive method;
Fig. 4 is for setting up the flow chart of RTSP session among the present invention.
Embodiment
Basic thought of the present invention is: by the expansion to the RTSP protocol message, make front monitoring front-end initiatively initiate the RTSP communication to monitor supervision platform, make be positioned at public network monitor supervision platform can with the front monitoring front-end communication that is positioned at private LAN, thereby the passing through NAT module has solved the problem that monitor supervision platform can not be controlled front monitoring front-end in the private network in the public network.
Be example with the supervisory control system among Fig. 2 below, method of the present invention is described.This supervisory control system comprises client 1, client 2, monitor supervision platform, NAT module, front monitoring front-end 1 and front monitoring front-end 2, wherein, comprises streaming media server (SS, Stream Server) 1 and streaming media server 2 in the monitor supervision platform; Monitor supervision platform is positioned at public network, and NAT module and front monitoring front-end 1, front monitoring front-end 2 are arranged in certain privately owned LAN.At this moment, the process that the monitor supervision platform that is positioned at public network is controlled, play each front monitoring front-end is that example describes with front monitoring front-end 1 as shown in Figure 3 below:
Step 1: front monitoring front-end 1 is to the available streaming media server of monitor supervision platform request.
Front monitoring front-end 1 is set up TCP by NAT module and monitor supervision platform and is linked after inserting supervisory control system, URL(uniform resource locator) (URL, the UniformResource Locator) address of the streaming media server that can use to the monitor supervision platform acquisition request.If this moment, streaming media server 1 can be used, then monitor supervision platform sends to front monitoring front-end 1 with the URL address of streaming media server 1.
Step 2: front monitoring front-end 1 uses the URL address to initiate the RTSP conversation request to SS1, and sets up corresponding RTSP session.
Front monitoring front-end 1 is arranged in privately owned local area network (LAN), and monitor supervision platform is arranged in public network, convert the privately owned address of front monitoring front-end 1 to available public address by the NAT module, thereby set up the communication of front monitoring front-end 1 and monitor supervision platform, and then, initiatively initiate a session request to SS1 by front monitoring front-end 1 by RTSPANNOUNCE message, SS1 responds this request, make SS1 find front monitoring front-end 1, thus the communication of setting up SS1 and front monitoring front-end 1, and detailed process is as shown in Figure 4.
Step 3:SS1 sends the request that begins the playing media code stream to front monitoring front-end 1, front monitoring front-end 1 response SS1.
Client 1 is sent monitoring request to front monitoring front-end 1 to monitor supervision platform, after monitor supervision platform is received the request of client 1, sends beginning playing request by Set Parameter message to front monitoring front-end 1 by SS1, the beginning playing request of front monitoring front-end 1 response SS1.Set Parameter message is the standard message in the RTSP agreement, here, to expand the Play Control command format of this message, increased and begun to play, stopped playing field, like this, when SS1 sent Set Parameter message to front monitoring front-end 1, front monitoring front-end 1 was operated media code stream accordingly according to the field of new expansion in this message.
Step 4: front monitoring front-end 1 sends the medium code stream to SS1.
Front monitoring front-end 1 sends the medium code stream to SS 1 by RTP (RTP, Real-time Transport Protocol), and front monitoring front-end 1 is regularly reported the transmission situation of code stream to SS1, go wrong if send, in time notice SS1.
Step 5:SS1 notice front monitoring front-end 1 stops monitoring, front monitoring front-end 1 response SS1.
Client 1 stops monitoring to front monitoring front-end 1 to the monitor supervision platform request, SS1 has judged whether that other clients are monitoring front monitoring front-end 1, if do not have, then send the message that stops the playing media code stream to front monitoring front-end 1 by Set Parameter message, front monitoring front-end 1 is received the message of SS1, return the response message of RTSP to SS1, and stop to send the medium code stream of response; If have, the media code that does not then stop front monitoring front-end 1 is spread and is put, and does not promptly send to stop message.
The detailed process that front monitoring front-end 1 and SS1 set up the RTSP session is as shown in Figure 4:
Step 201: front monitoring front-end 1 has comprised media description informations such as media formats, medium type, streaming media server address, streaming media server receiving port number to the conversation message ANNOUNCE that SS1 sends RTSP in this message;
Media description informations such as step 202:SS1 medium type are in order to follow-up use;
Step 203:SS1 sends the ANNOUNCE response to front monitoring front-end 1;
Step 204: front monitoring front-end 1 sends to SS1 and sets up request SETUP;
Step 205:SS1 sends the SETUP response to front monitoring front-end 1, comprises the port numbers of SS1 receiving media in response message, so that during client-requested, SS1 is by corresponding port receiving stream media information;
Step 206: front monitoring front-end 1 sends record request RECORD to SS 1;
Step 207:SS1 sends the RECORD response to front monitoring front-end 1, and front monitoring front-end 1 and SS1 session are set up successfully;
Step 208: after front monitoring front-end 1 and SS1 session were set up successfully, front monitoring front-end 1 regularly sent RTSP to SS1 and keeps request message OPTIONS, to keep session connection; The initiation cycle of OPTION message is set when system's static configuration according to user's request.
Step 209:SS1 sends RTSP OPTIONS response to front monitoring front-end 1.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (5)

1. the method for a video monitoring front end to cross over network address conversion module is characterized in that, this method may further comprise the steps:
A, front monitoring front-end initiatively are connected with streaming media server by network address conversion module, connect foundation back front monitoring front-end and streaming media server and set up real time streaming transport protocol RTSP session;
B, keep message, keep real time streaming transport protocol RTSP session by periodic the transmission;
C, streaming media server send request by the Set Parameter message of expansion to front monitoring front-end, carry out the control to front monitoring front-end; The request of described streaming media server is the expansion to the Set Parameter message format of RTSP, increases but is not limited to begin play, stops to play field; Described front monitoring front-end is operated the medium code stream to streaming media server transmission medium code stream and execution accordingly according to the field of expanding in the described Set Parameter message.
2. the method for video monitoring front end to cross over network address conversion module according to claim 1 is characterized in that, steps A further comprises:
A1, front monitoring front-end send conversation message to streaming media server, the conversation message of streaming media server response monitoring front end;
A2, front monitoring front-end send the request of foundation, the foundation request of streaming media server response monitoring front end to streaming media server;
A3, front monitoring front-end send record request to streaming media server, the request of streaming media server response record, and real time streaming transport protocol RTSP session is set up successfully.
3. the method for video monitoring front end to cross over network address conversion module according to claim 1 is characterized in that, the described maintenance of step B RTSP session is:
Front monitoring front-end regularly sends to streaming media server and keeps message, streaming media server response monitoring front end.
4. the method for video monitoring front end to cross over network address conversion module according to claim 1 is characterized in that, this method also comprises step D: according to the request of streaming media server, corresponding medium code stream is play, stopped to front monitoring front-end.
5. the method for video monitoring front end to cross over network address conversion module according to claim 4 is characterized in that, step D further comprises:
When client-requested stopped the playing media code stream, whether streaming media server judges had other clients to this front monitoring front-end monitoring, if do not have, then send and stop playing request to front monitoring front-end, stop the current media code stream and play,, then continue the current media code stream and play if having.
CN2007101769745A 2007-11-07 2007-11-07 Method for video monitoring front end to cross over network address conversion module Expired - Fee Related CN101159628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101769745A CN101159628B (en) 2007-11-07 2007-11-07 Method for video monitoring front end to cross over network address conversion module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101769745A CN101159628B (en) 2007-11-07 2007-11-07 Method for video monitoring front end to cross over network address conversion module

Publications (2)

Publication Number Publication Date
CN101159628A CN101159628A (en) 2008-04-09
CN101159628B true CN101159628B (en) 2011-01-19

Family

ID=39307554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101769745A Expired - Fee Related CN101159628B (en) 2007-11-07 2007-11-07 Method for video monitoring front end to cross over network address conversion module

Country Status (1)

Country Link
CN (1) CN101159628B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729862B (en) * 2008-10-21 2011-12-28 中兴通讯股份有限公司 Method and system for passing media through NAT by using video monitoring system
CN103475533B (en) * 2012-06-08 2019-02-15 中兴通讯股份有限公司 Front monitoring front-end cut-in method, apparatus and system
CN109246115B (en) * 2018-09-26 2021-05-25 杭州当虹科技股份有限公司 Wireless network monitoring method of SIP protocol under GB28181

Also Published As

Publication number Publication date
CN101159628A (en) 2008-04-09

Similar Documents

Publication Publication Date Title
JP4510082B2 (en) Management system monitoring and control
CN101146047B (en) A method, system and gateway for controlling quantity of network access terminal under routing mode
JP4740328B2 (en) Messenger notification system and method using sink server
CN101764816B (en) Data transmission method and device
CN101710975A (en) Video monitoring system and video monitoring method
JP3909303B2 (en) Telecommunications system and streaming video content transmission method
CN101808233A (en) Universal system for realizing video monitoring of mobile phone and method thereof
CN101090486A (en) Monitoring device for multimedium monitoring information and its monitoring method
CN101547343A (en) System and method for remote video monitoring
CN105450994A (en) Video commanding and dispatching system and method based on RTSP
CN101710974A (en) Method for monitoring fused video
CN101448144B (en) Method for realizing alarm in video monitoring system and video monitor alarm system
KR100805255B1 (en) method and system for monitoring using watch camera
CN101702774A (en) Mobile video code stream customizing device and method applied to mobile video monitoring system
CN101141397A (en) Single broadcast to multicast switching method
WO2011160561A1 (en) Method for realizing video browsing, ip multimedia subsystem (ims) video monitoring system, and monitoring front end
JP2006325038A (en) Controlling method of server device, controlling method of client device, and session controlling method
CN101159628B (en) Method for video monitoring front end to cross over network address conversion module
CN111147789B (en) Method, device and equipment for recording audio and video stream and storage medium
EP2845375B1 (en) Communication terminal, communication function starting method, and computer-readable recording medium
CN101720035A (en) Disaster-recovery method and equipment in video monitoring scene
WO2008005927A2 (en) Distributive network control
CN201781575U (en) Monitoring device and video monitoring system
CN102111606B (en) Method and device for accessing to video images in video conference system
CN1972430A (en) Video monitoring method and apparatus for on-demand application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110119

Termination date: 20161107