CN110958432A - RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method - Google Patents

RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method Download PDF

Info

Publication number
CN110958432A
CN110958432A CN201911280620.4A CN201911280620A CN110958432A CN 110958432 A CN110958432 A CN 110958432A CN 201911280620 A CN201911280620 A CN 201911280620A CN 110958432 A CN110958432 A CN 110958432A
Authority
CN
China
Prior art keywords
rtsp
server
video stream
client
monitoring
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.)
Granted
Application number
CN201911280620.4A
Other languages
Chinese (zh)
Other versions
CN110958432B (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.)
Ringslink Xiamen Network Communication Technologies Co ltd
Original Assignee
Ringslink Xiamen Network Communication Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ringslink Xiamen Network Communication Technologies Co ltd filed Critical Ringslink Xiamen Network Communication Technologies Co ltd
Priority to CN201911280620.4A priority Critical patent/CN110958432B/en
Publication of CN110958432A publication Critical patent/CN110958432A/en
Application granted granted Critical
Publication of CN110958432B publication Critical patent/CN110958432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • 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/40Support for services or applications
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The invention discloses a RTSP (real time streaming protocol) -based cross-network cloud remote equipment monitoring system and a monitoring method, wherein the system comprises an RTSP client, an RTSP server, an access server, an equipment end and a video stream forwarding module; the method comprises the following steps: the RTSP client initiates a monitoring request to a designated equipment terminal to the RTSP server; the RTSP server allocates a designated port for the video stream forwarding module and associates the video stream port of the RTSP client; the RTSP server sends an instruction to the access server, and the access server informs the specified equipment terminal to send the stream to the specified video stream forwarding module port; the video stream forwarding module forwards the received video stream to the RTSP client; when the RTSP client stops receiving the video stream, a stop request is sent to the RTSP server, the access server controls the corresponding equipment terminal to stop sending the stream, and monitoring is finished. The technical scheme can adopt the standard RTSP protocol to realize video monitoring under different networks, thereby greatly improving the flexibility of the client and reducing the development cost of third party access.

Description

RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method
Technical Field
The invention belongs to the technical field of video monitoring networks, and particularly relates to a cross-network cloud remote equipment monitoring solution based on an RTSP (real time streaming protocol).
Background
At present, when remote monitoring is implemented, since the RTSP client is usually located under a wide area network, and the device end is located under a local area network, the RTSP client and the device end are located in different networks, when the RTSP client requests video monitoring data, an RTSP server port of a mapping device is usually adopted for operation, but the method requiring manual operation by a terminal user is not suitable for remote monitoring at a cloud.
In most of the existing remote equipment monitoring fields, a client is connected with a cloud of the client through a private protocol, and the cloud is in butt joint with an equipment end, so that the flexibility of the client is reduced due to the adoption of the private protocol. Particularly, if the third party needs to access remote monitoring, the SDK of the manufacturer needs to be integrated, or an API interface provided by the manufacturer is called, so that the development cost of the third party access is increased.
For remote monitoring, the industry does not currently have an effective scheme, each manufacturer has a corresponding method, and equipment manufacturers do not well consider the problem of cost brought by the access of a third party when solving the problem.
Based on the above analysis, the present case has been made.
Disclosure of Invention
The invention aims to provide a cross-network cloud remote equipment monitoring system and a monitoring method based on an RTSP (real time streaming protocol). the system and the method can realize video monitoring under different networks by adopting a standard RTSP, greatly improve the flexibility of a client and reduce the development cost of third-party access.
In order to achieve the above purpose, the solution of the invention is:
the utility model provides a cross network cloud end remote equipment monitored control system based on RTSP, includes RTSP client, RTSP server, inserts server, equipment end and video stream forwarding module, wherein:
the RTSP client and the RTSP server are in the same network, and the RTSP client initiates a remote video monitoring start/stop request to the designated equipment terminal to the RTSP server;
the RTSP server allocates a port for the video stream forwarding module according to a request initiated by the RTSP client, associates the video stream port of the RTSP client and sends a monitoring start instruction, port information allocated for the video stream forwarding module and a unique identifier of a device end appointed by the RTSP client to the access server if the request is started; if the RTSP request is a stop request, sending a monitoring stop instruction and the unique identifier of the equipment terminal specified by the RTSP client to the access server;
the access server interacts with the RTSP server through the cloud server and is used for controlling the specified equipment end to send the stream to the specified port according to a monitoring starting instruction sent by the RTSP server, and the access server is also used for controlling the specified equipment end to stop sending the stream according to a monitoring stopping instruction sent by the RTSP server;
the equipment end sends a flow to a specified position or stops sending the flow according to an instruction sent by the access server;
the video stream forwarding module interacts with the RTSP server through the cloud server, and is used for starting a service for receiving the stream according to a port distributed by the RTSP server and forwarding the video stream sent by the equipment terminal to the RTSP client.
The cloud server is also internally provided with a security detection module, and when the RTSP client requests the RTSP server to monitor the specified equipment terminal, the security detection module starts security defense to perform security defense on the request.
The cloud server is also internally provided with a video forwarding strategy module, when the plurality of RTSP clients are judged to designate the same equipment terminal, the designated equipment terminal sends a video stream to the cloud server, and the video forwarding strategy module respectively forwards the video stream to all the RTSP clients of the designated equipment terminal.
A cross-network cloud remote equipment monitoring method based on RTSP comprises the following steps:
step 1, an RTSP client initiates a monitoring request to a designated equipment terminal to an RTSP server;
step 2, after receiving a monitoring request initiated by the RTSP client, the RTSP server allocates a specified port for the video stream forwarding module and associates the video stream port of the RTSP client;
step 3, the RTSP server sends an instruction to the access server, and the access server informs the RTSP client that the specified equipment terminal sends the stream to the specified port of the video stream forwarding module;
step 4, the access server informs the appointed equipment terminal to send the stream to the appointed port;
step 5, according to the notice of the access server, the appointed equipment terminal sends stream to the video stream forwarding module;
step 6, the video stream forwarding module forwards the received video stream to the RTSP client through the associated port;
and 7, when the RTSP client stops receiving the video stream, sending a stop request to the RTSP server, then sending a stop instruction to the access server by the RTSP server, controlling the corresponding equipment terminal to stop streaming by the access server, and finishing monitoring.
When all the equipment terminals are connected with the access server, the access server is informed of the unique identification and the monitoring verification information of the equipment terminals, and then the access server sends the unique identification and the monitoring verification information of all the connected equipment terminals into the RTSP server for storage.
In the step 1, the RTSP client specifies the device side through the unique identifier and the verification information of the device side.
After the scheme is adopted, the invention controls the processing of the video stream of the terminal equipment by developing the access server which is in butt joint with the terminal equipment; meanwhile, a standard RTSP server is developed and is in butt joint with the access server, so that the client monitors corresponding equipment through a standard protocol, the problem that the server and the client cannot monitor due to the fact that the server and the client are not in the same network is solved, monitoring can be conducted through the standard RTSP protocol, and flexibility of the client is improved.
Drawings
Fig. 1 is an overall architecture diagram of the present invention.
Detailed Description
The technical solution and the advantages of the present invention will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the invention provides an RTSP protocol-based cross-network cloud remote device monitoring system, which includes a device side, an access server, an RTSP server, and a video stream forwarding module. The overall communication architecture is: the RTSP client side initiates a remote video monitoring request to the designated equipment side to the RTSP server, and the RTSP server notifies the access server, starts the receiving of the video stream forwarding module and forwards the video stream to the equipment side by the access server; the device side responds to the monitoring request, transmits the video data to the video stream forwarding module and then transmits the video data to the RTSP client side, so that the remote monitoring across the network is realized, and the components are introduced below.
The RTSP server and the RTSP client are in the same network (under a public network), the RTSP client and the RTSP client communicate with each other by adopting an RTSP protocol, the RTSP client can conveniently send a video monitoring request to the RTSP server without adopting a private protocol, and therefore the cost of the SDK is reduced.
The RTSP server is in butt joint with the RTSP client, receives the monitoring request from the RTSP client, distributes a port for the video stream forwarding module according to the equipment designated by the RTSP client, and associates the video stream port of the RTSP client.
The video stream forwarding module interacts with the RTSP server through the cloud server, starts a stream receiving service according to a port distributed by the RTSP server, and forwards the video stream from the equipment end to the RTSP client.
The access server is arranged at the cloud end and used for sending the unique identification and the monitoring verification information of each connected device end into the RTSP server for storage and forwarding the monitoring request lifted by the RTSP client to the corresponding device end.
The equipment terminals can be configured with a plurality of equipment terminals which are respectively used for interacting with the access server, and when each equipment terminal is connected with the access server, the equipment terminal can provide the unique identification and the monitoring verification information of the equipment terminal; the equipment end responds to the remote video monitoring operation of the RTSP client end according to the instruction sent by the access server and sends the stream to the appointed position of the access server; the invention realizes the convenient communication between the RTSP client and the equipment terminal in different networks by arranging the access server.
In this embodiment, a security detection module is further arranged in the cloud server, and when the RTSP client requests the RTSP server to monitor the specified device, the security detection module starts security defense to defend against malicious requests, so that a security defense function is realized in a video request process. According to the service requirement of a manufacturer, different security defense strategies can be realized by the security detection module, and the security defense of all client monitoring is transferred to the cloud server by arranging the security detection module on the cloud server, so that when the security strategy needs to be updated, the security detection module of the cloud server maintained by the manufacturer is only required to be updated without updating the security detection module of one old equipment, and the security detection module is uniformly managed by the cloud server, so that the maintenance cost of the manufacturer is saved.
In this embodiment, the cloud server is further provided with a video forwarding policy module, and when a plurality of RTSP clients designate the same device end, the designated device end only needs to send one video stream to the cloud server, and the video forwarding policy module forwards the video stream to all the RTSP clients designating the device end respectively. By introducing the video forwarding strategy module, the bandwidth requirement of the equipment end when the equipment end needs to support simultaneous monitoring of a plurality of RTSP clients is reduced.
The invention also provides a cross-network cloud remote equipment monitoring method based on the RTSP, which comprises the following steps:
step 1, when all equipment terminals are connected with an access server, informing the access server of own unique identification (such as mac address of the equipment terminal) and monitoring verification information, and sending the unique identification and the monitoring verification information of all the connected equipment terminals into an RTSP server by the access server;
step 2, the RTSP client communicates with the RTSP server through the RTSP protocol, and initiates a monitoring request to a certain equipment end (the unique identifier and the monitoring verification information of the equipment end are displayed by the equipment end page);
step 3, after receiving a monitoring request initiated by the RTSP client, the RTSP server allocates a specified port for the video stream forwarding module, wherein the specified port is used for receiving the video stream of the equipment terminal and is simultaneously associated with the video stream port of the RTSP client;
step 4, the RTSP server sends an instruction to the access server to inform the RTSP client of the appointed equipment terminal to send the stream to the appointed port of the video stream forwarding module;
step 5, the access server informs the appointed equipment terminal to send the stream to the appointed position;
step 6, according to the notice of the access server, the appointed equipment end sends stream to the video stream forwarding module;
step 7, the video stream forwarding module forwards the received video stream to the RTSP client through the associated port;
and 8, when the RTSP client stops receiving the video stream, sending a stop request to the RTSP server, then sending a stop instruction to the access server by the RTSP server, controlling the corresponding equipment terminal to stop streaming by the access server, and finishing monitoring.
It should be noted that, if the RTSP client needs to pause the reception of the video stream in the monitoring process, a pause request may be sent to the RTSP server, and the specific process is the same as step 8 and is not described again.
The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention.

Claims (6)

1. The utility model provides a cross network cloud end remote equipment monitored control system based on RTSP, its characterized in that: the RTSP server comprises an RTSP client, an RTSP server, an access server, an equipment terminal and a video stream forwarding module, wherein:
the RTSP client and the RTSP server are in the same network, and the RTSP client initiates a remote video monitoring start/stop request to the designated equipment terminal to the RTSP server;
the RTSP server allocates a port for the video stream forwarding module according to a request initiated by the RTSP client, associates the video stream port of the RTSP client and sends a monitoring start instruction, port information allocated for the video stream forwarding module and a unique identifier of a device end appointed by the RTSP client to the access server if the request is started; if the RTSP request is a stop request, sending a monitoring stop instruction and the unique identifier of the equipment terminal specified by the RTSP client to the access server;
the access server interacts with the RTSP server through the cloud server and is used for controlling the specified equipment end to send the stream to the specified port according to a monitoring starting instruction sent by the RTSP server, and the access server is also used for controlling the specified equipment end to stop sending the stream according to a monitoring stopping instruction sent by the RTSP server;
the equipment end sends a flow to a specified position or stops sending the flow according to an instruction sent by the access server;
the video stream forwarding module interacts with the RTSP server through the cloud server, and is used for starting a service for receiving the stream according to a port distributed by the RTSP server and forwarding the video stream sent by the equipment terminal to the RTSP client.
2. The system of claim 1, wherein: and when the RTSP client requests the RTSP server to monitor the specified equipment terminal, the security detection module starts security defense to perform security defense on the request.
3. The system of claim 1, wherein: the cloud server is also internally provided with a video forwarding strategy module, when the plurality of RTSP clients are judged to designate the same equipment terminal, the designated equipment terminal sends a video stream to the cloud server, and the video forwarding strategy module respectively forwards the video stream to all the RTSP clients of the designated equipment terminal.
4. A cross-network cloud remote equipment monitoring method based on RTSP is characterized by comprising the following steps:
step 1, an RTSP client initiates a monitoring request to a designated equipment terminal to an RTSP server;
step 2, after receiving a monitoring request initiated by the RTSP client, the RTSP server allocates a specified port for the video stream forwarding module and associates the video stream port of the RTSP client;
step 3, the RTSP server sends an instruction to the access server, and the access server informs the RTSP client that the specified equipment terminal sends the stream to the specified port of the video stream forwarding module;
step 4, the access server informs the appointed equipment terminal to send the stream to the appointed port;
step 5, according to the notice of the access server, the appointed equipment terminal sends stream to the video stream forwarding module;
step 6, the video stream forwarding module forwards the received video stream to the RTSP client through the associated port;
and 7, when the RTSP client stops receiving the video stream, sending a stop request to the RTSP server, then sending a stop instruction to the access server by the RTSP server, controlling the corresponding equipment terminal to stop streaming by the access server, and finishing monitoring.
5. The method of claim 4, wherein: when all the equipment terminals are connected with the access server, the access server is informed of the unique identification and the monitoring verification information of the equipment terminals, and then the access server sends the unique identification and the monitoring verification information of all the connected equipment terminals into the RTSP server for storage.
6. The method of claim 4, wherein: in the step 1, the RTSP client monitors the device side through the unique identifier and the verification information of the device side.
CN201911280620.4A 2019-12-13 2019-12-13 RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method Active CN110958432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911280620.4A CN110958432B (en) 2019-12-13 2019-12-13 RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911280620.4A CN110958432B (en) 2019-12-13 2019-12-13 RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method

Publications (2)

Publication Number Publication Date
CN110958432A true CN110958432A (en) 2020-04-03
CN110958432B CN110958432B (en) 2021-05-25

Family

ID=69981422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911280620.4A Active CN110958432B (en) 2019-12-13 2019-12-13 RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method

Country Status (1)

Country Link
CN (1) CN110958432B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363415A (en) * 2021-12-14 2022-04-15 威创集团股份有限公司 Cross-domain video scheduling method, system and device and local area network server

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123540A (en) * 2007-08-21 2008-02-13 广东志成冠军集团有限公司 A monitoring method and system based on heterogeneous network
CN104253849A (en) * 2013-12-20 2014-12-31 上海通富立信息科技有限公司 Method and system for remotely accessing web camera
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN105897842A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Video push method and system among different clients and server
CN107666592A (en) * 2017-08-18 2018-02-06 深圳市艾特智能科技有限公司 Camera head monitor method, system, storage medium and computer equipment
CN109391704A (en) * 2017-08-11 2019-02-26 浙江宇视科技有限公司 A kind of across the private network access method of video monitoring equipment and device
US20190238357A1 (en) * 2018-01-26 2019-08-01 Edst, Llc Controlling access to one or more rooms using a modular intelligent door and frame
CN110460816A (en) * 2019-08-22 2019-11-15 兰州启源信息技术服务有限公司 Cloud monitoring system
CN110536120A (en) * 2019-09-11 2019-12-03 成都千立网络科技有限公司 The acquisition system of remote monitoring data stream

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123540A (en) * 2007-08-21 2008-02-13 广东志成冠军集团有限公司 A monitoring method and system based on heterogeneous network
CN104253849A (en) * 2013-12-20 2014-12-31 上海通富立信息科技有限公司 Method and system for remotely accessing web camera
CN105897842A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Video push method and system among different clients and server
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN109391704A (en) * 2017-08-11 2019-02-26 浙江宇视科技有限公司 A kind of across the private network access method of video monitoring equipment and device
CN107666592A (en) * 2017-08-18 2018-02-06 深圳市艾特智能科技有限公司 Camera head monitor method, system, storage medium and computer equipment
US20190238357A1 (en) * 2018-01-26 2019-08-01 Edst, Llc Controlling access to one or more rooms using a modular intelligent door and frame
CN110460816A (en) * 2019-08-22 2019-11-15 兰州启源信息技术服务有限公司 Cloud monitoring system
CN110536120A (en) * 2019-09-11 2019-12-03 成都千立网络科技有限公司 The acquisition system of remote monitoring data stream

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363415A (en) * 2021-12-14 2022-04-15 威创集团股份有限公司 Cross-domain video scheduling method, system and device and local area network server
CN114363415B (en) * 2021-12-14 2024-02-06 威创集团股份有限公司 Cross-domain video scheduling method, system, device and local area network server

Also Published As

Publication number Publication date
CN110958432B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US10594595B2 (en) Method of ensuring continuity for services supplied by a residential gateway
US9130848B2 (en) Method and apparatus for enhancing QoS during home network remote access
CN101895587B (en) Prevent the methods, devices and systems of users from modifying IP addresses privately
WO2012158313A1 (en) Method and apparatus for message distribution in a device management system
KR20100031309A (en) A method for management device in a communication network and a system thereof
CN113596191A (en) Data processing method, network element equipment and readable storage medium
EP2692093B1 (en) Method and apparatus for home network access by a trusted monitoring agent
CN110086782B (en) Hotel Internet of things intelligent control system, intelligent control equipment method and electronic equipment
CN109842877B (en) Method for realizing IMSI changing function in SIM card
CN103109502B (en) The method and apparatus that Femto cell bunch access is carried out load balance
CN106453690A (en) IP address allocation method and apparatus
US9417887B2 (en) Method and apparatus for bootstrapping gateway in device management system
CN106878987B (en) Communication method, system and cloud server
CN109525620B (en) Message pushing system, method and device
CN110958432B (en) RTSP (real time streaming protocol) -based cross-network cloud remote monitoring system and monitoring method
CN115664989A (en) Monitoring system and method of cloud desktop
US20130185771A1 (en) Network system
WO2019230446A1 (en) Communication method, communication system, authentication device and user terminal
WO2016201734A1 (en) Operation control method and system for application program, and terminal
CN113055427B (en) Service-based server cluster access method and device
EP3435615A1 (en) Network service implementation method, service controller, and communication system
KR101790192B1 (en) Method and device for application management
CN106211142A (en) A kind of WiFi AP terminal wide area network cut-in method
WO2016045206A1 (en) Method for controlling mobile terminal to access home gateway and home gateway
CN112087596A (en) Method for determining media stream transmission mode and media stream transmission system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant