WO2017193651A1 - Terminal control method and apparatus - Google Patents

Terminal control method and apparatus Download PDF

Info

Publication number
WO2017193651A1
WO2017193651A1 PCT/CN2017/072871 CN2017072871W WO2017193651A1 WO 2017193651 A1 WO2017193651 A1 WO 2017193651A1 CN 2017072871 W CN2017072871 W CN 2017072871W WO 2017193651 A1 WO2017193651 A1 WO 2017193651A1
Authority
WO
WIPO (PCT)
Prior art keywords
rtsp
device control
control method
server
client
Prior art date
Application number
PCT/CN2017/072871
Other languages
French (fr)
Chinese (zh)
Inventor
柏林玲
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017193651A1 publication Critical patent/WO2017193651A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a terminal control method and apparatus.
  • RTSP Real Time Streaming Protocol
  • RTSP provides an extensible framework that enables RTSP servers to provide controlled, on-demand real-time data, such as audio and video files.
  • the camera acts as an RTSP server, and the monitoring terminal acts as an RTSP client.
  • RTSP is usually used as a transmission control protocol for real-time monitoring data.
  • the camera can provide media streams such as pause, fast forward, and fast rewind to the monitoring terminal. control.
  • the RTSP client needs to perform other control than the media stream control on the RTSP server, such as adjusting the surveillance area of the camera, the RTSP client and RTSP are required.
  • the server establishes a control channel dedicated to the control command, and even needs an additional dedicated server to control the forwarding of the command, which requires more network resources to be consumed.
  • a main object of the embodiments of the present invention is to provide a terminal control method and apparatus, which are intended to reduce network consumption caused by performing other control than the media stream control on the RTSP server.
  • an embodiment of the present invention provides a terminal control method, where the terminal control method includes:
  • the RTSP server Upon receiving the OPTION request sent by the RTSP client, the RTSP server returns an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive the OPTION response according to the received
  • the RSTP server establishes an RTSP connection;
  • the RTSP server receives the RTSP client base through the established RTSP connection a device control request sent by the received device control method, where the device control request includes a control request other than media flow control;
  • the RTSP server extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
  • the method before the step of the RTSP server returning the OPTION response carrying the preset device control method to the RTSP client, the method further includes:
  • the RTSP server Upon receiving the OPTION request sent by the RTSP client, the RTSP server extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
  • the RTSP server is returned to the RTSP client to return an OPTION response carrying a preset device control method.
  • the step of the RTSP server returning the OPTION response carrying the preset device control method to the RTSP client includes:
  • the RTSP server determines an identity level of the RTSP client based on the authentication information
  • the RTSP server sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
  • the terminal control method further includes:
  • the RTSP server Upon receiving the update instruction of the device control method, the RTSP server adjusts the corresponding device control method based on the update instruction.
  • an embodiment of the present invention further provides a terminal control apparatus, where the terminal control apparatus includes:
  • the response module is configured to, when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, return an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive based on the RTSP client
  • the OPTION response establishes an RTSP connection with the RSTP server;
  • a receiving module configured to receive the RTSP client based on the received device control party a device control request sent by the method, wherein the device control request includes a control request other than media flow control;
  • the execution module is configured to extract, according to the device control method, a control parameter carried by the received device control request, and control an action of the RTSP server where the control parameter is located.
  • the terminal control device further includes:
  • the authentication module is configured to: when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, extract and perform an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
  • the response module is further configured to return an OPTION response carrying the preset device control method to the RTSP client when the authentication is passed.
  • the response module is further configured to determine an identity level of the RTSP client based on the authentication information when the authentication is passed; and to the RTSP based on a mapping relationship between the preset identity level and the device control method.
  • the client sends an OPTION response carrying the device control method corresponding to its identity level.
  • the terminal control device further includes:
  • the update module is configured to adjust a corresponding device control method based on the update instruction when the RTSP server at which the RTSP server is located receives the update instruction of the device control method.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the terminal control method in the foregoing embodiment.
  • the RTSP server returns an OPTION response including a preset device control method to the RTSP client by establishing an RTSP connection between the RTSP client and the RTSP server.
  • the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. Ending, based on the device control method, extracting control parameters carried by the received device control request, and performing the control The action corresponding to the parameter.
  • the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control.
  • the device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
  • FIG. 1 is a schematic flowchart of a first embodiment of a terminal control method according to the present invention
  • FIG. 2 is a schematic diagram of a networking topology structure applied to a terminal control method according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a terminal control method according to the present invention.
  • FIG. 4 is a schematic diagram showing a refinement process of the OPTION response of the RTSP server carrying the preset device control method to the RTSP client in FIG. 3;
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a terminal control method according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a terminal control apparatus according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of a terminal control apparatus according to the present invention.
  • the present invention provides a terminal control method.
  • the terminal control method includes:
  • Step S10 Upon receiving the OPTION request sent by the RTSP client, the RTSP server returns an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive the OPTION based on the received Responding to the establishment of the RSTP server RTSP connection;
  • the main purpose of this embodiment is to utilize the established RTSP connection, so that the RTSP client can directly send a control request to the RTSP server, so that it is not necessary to establish a new dedicated connection to send a control request, and no additional dedicated
  • the server forwards the control request to reduce network consumption caused by other controls other than the media stream, and improve control efficiency.
  • the RTSP server and the RTSP client are located behind the NAT device, and are connected to the public network through the NAT device.
  • the cloud server is deployed on the public network, facilitating the connection between the RTSP client and the RTSP server.
  • the following is an explanation of both the RTSP client and the RTSP server. Those skilled in the art can understand that, in the specific implementation, multiple RTSP clients and multiple RTSP servers can be set according to actual needs.
  • the user may trigger the controllable device acquisition request to be sent to the cloud server of the public network based on the RTSP client; when the cloud server receives the controllable device acquisition request sent by the RTSP client, due to the RTSP After the client and the RTSP server are in the same NAT device, the private network address of the RTSP server is directly returned to the RTSP client. After receiving the private network address of the RTSP server returned by the cloud server, the RTSP client is based on the received private network. The address sends an OPTION request to the RTSP server to open the RTSP connection establishment process.
  • a custom device control method is pre-configured on the RTSP server, and the RTSP server is equipped with an electronically controlled camera.
  • the device control method may include actions supported by the electronically controlled pan/tilt, such as left/right/up/down rotation, horizontal cruise, and vertical cruise, etc., respectively, corresponding control parameters are set based on different actions, such as control parameter LEFT Corresponding to the left rotation, the control parameter HNAVIGATE corresponds to horizontal cruise, etc., which can be set as needed.
  • the RTSP server returns an OPTION response to the RTSP client when receiving the OPTION request sent by the RTSP client, wherein the OPTION response returned by the RTSP server to the RTSP client includes a preset device control method, and all other supported methods.
  • the OPTION request sent by the RTSP client to the RTSP server is as follows:
  • the OPTION response returned by the RTSP server to the RTSP client is as follows:
  • PTZ Pan/Tilt/Zoom, PTZ control
  • PTZ control is a preset device control method.
  • the RTSP client when receiving the OPTION response returned by the RTSP server, sequentially sends requests such as DESCRIBE, SETUP, and PLAY to the RTSP server, and the RTSP server sequentially responds to requests such as DESCRIBE, SETUP, and PLAY to establish an RTSP. connection.
  • the DESCRIBE request sent by the RTSP client is used to obtain the session description information
  • the SETUP request is used to remind the RTSP server to establish a session and determine the transmission mode
  • the PLAY request is used to initiate a play request to the RTSP server.
  • the RTSP client is provided with a device control interface, and the device control interface provides multiple controls, which are in one-to-one correspondence with the actions supported by the RTSP server, and the user can trigger the control through the device control interface.
  • a device control request that requests the RTSP server to perform the corresponding action.
  • Step S20 the RTSP server receives, by using the established RTSP connection, a device control request sent by the RTSP client based on the received device control method, where the device control request includes: Other control requests;
  • Step S30 The RTSP server extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
  • the user can send a device control request to the RTSP server at any time based on the device control interface provided by the RTSP client, and the RTSP server receives the RTSP client.
  • the device control request is sent, the control parameter carried by the received device control request is extracted based on the device control method, and the action corresponding to the control parameter is executed.
  • the user goes to the camera through the RTSP client. (RTSP server) sends a device control request that controls the camera to rotate to the left as follows:
  • the camera After receiving the device control request sent by the RTSP client, the camera extracts the control parameter carried by the device control request, that is, “LEFT”, thereby identifying that the device control request is a “turn to the left” request, and responding to the device Control the request and control the pan/tilt to rotate to the left.
  • the RTSP server returns the response of the device control request as follows:
  • the RTSP client may send a TEARDOWN request to the RTSP server to disconnect the RTSP between the RTSP client and the RTSP server. Connection, the TEARDOWN request is as follows:
  • the RTSP server After receiving the TEARDOWN request sent by the RTSP client, the RTSP server returns a TEARDOWN response to the RTSP client and disconnects the RTSP connection between the two.
  • the TEARDOWN response is as follows:
  • the RTSP client can send a media control request to the RTSP server in addition to sending a device control request to the RTSP server based on the established RTSP connection, for performing normal operation on the RTSP server.
  • Media flow control
  • the RTSP server in the process of establishing an RTSP connection between the RTSP client and the RTSP server, the RTSP server returns an OPTION response including a preset device control method to the RTSP client.
  • the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service.
  • the terminal extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
  • the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control.
  • the device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
  • the method further includes:
  • Step S40 Upon receiving the OPTION request sent by the RTSP client, the RTSP server extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request.
  • step S10 is performed.
  • the RTSP server can perform other control than the media stream control.
  • the RTSP client performs the authentication operation and provides only the control services other than the media stream control for the RTSP client through which the authentication is passed.
  • the RTSP server receives the OPTION request sent by the RTSP client.
  • the RTSP client is first authenticated and authenticated based on the authentication information carried by the OPTION request.
  • the user pre-registers the user name and password on the RTSP server based on the RTSP client, and establishes an RTSP connection.
  • the OPTION request sent by the RTSP client will carry the user name and password pre-registered by the user as the authentication information; correspondingly, the RTSP server will extract the received OPTION request when receiving the OPTION request sent by the RTSP client.
  • step S40 the method further includes:
  • the RTSP server When the authentication fails, the RTSP server returns an OPTION response carrying all other methods supported by the preset device control method to the RTSP client, for the RTSP client to perform normal on the RTSP server.
  • Media flow control When the authentication fails, the RTSP server returns an OPTION response carrying all other methods supported by the preset device control method to the RTSP client, for the RTSP client to perform normal on the RTSP server.
  • the authentication information carried by the OPTION request is transmitted in cipher text.
  • the RTSP server decrypts the authentication information by using the same encryption and decryption algorithm as the RTSP client, and then, based on the decrypted authentication information, the RTSP client.
  • the authentication operation refer to the above description, and details are not described herein again.
  • step S10 includes:
  • Step S101 when the authentication is passed, the RTSP server determines an identity level of the RTSP client based on the authentication information;
  • Step S102 The RTSP server sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
  • this embodiment is for different RTSP clients. Different device control services are provided.
  • the RTSP server associates the currently registered user name with a preset identity level, wherein different identity levels
  • the user has different control rights.
  • the camera has a preset secondary identity level. The first level can obtain the control permission of all actions of the camera, and the second level can obtain the camera except horizontal/vertical cruise. Control permissions for all actions outside.
  • the RTSP server is pre-configured with different device control methods for different identity levels.
  • the RTSP server determines the RTSP based on the username in the authentication information.
  • the identity level of the client after determining the identity level of the RTSP client, the RTSP server sends an OPTION response carrying the device control method corresponding to the identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
  • a fourth embodiment of the terminal control method of the present invention is provided. Referring to FIG. 5, in the embodiment, after step S20, the method further includes:
  • Step S50 When the device control request sent by the RTSP client is not received within a preset time period, the RTSP server disconnects the established RTSP connection.
  • the terminal control method further includes:
  • the RTSP server Upon receiving the update instruction of the device control method, the RTSP server adjusts the corresponding device control method based on the update instruction.
  • the RTSP server With the upgrade of the RTSP server hardware platform, the RTSP server will be able to provide more controllable actions besides media stream control. For example, after the camera replaces the new PTZ, it can implement new controllable actions.
  • the device control method of the RTSP server needs to be updated. Specifically, the user can write a new mapping of controllable actions and control parameters on the RTSP server, and trigger an update of the device control method.
  • the instruction updates the specified device control method, and the RTSP server adds the mapping of the new controllable action and control parameters to the device control method corresponding to the update instruction to complete the update of the device control method.
  • the present invention further provides a terminal control device.
  • the terminal control device includes:
  • the response module 10 is configured to, when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, return an OPTION response carrying the preset device control method to the RTSP client, where the RTSP client is based on the RTSP client. Receiving the OPTION response to establish an RTSP connection with the RSTP server;
  • the terminal control apparatus is based on the RTSP server, and the main purpose is to utilize the established RTSP connection, so that the RTSP client can directly send a control request to the RTSP server, thereby eliminating the need to establish a new dedicated connection. Controlling the request does not require an additional dedicated server to forward control requests to reduce network consumption caused by other controls beyond the media stream and improve control efficiency.
  • the RTSP server and the RTSP client are located behind the NAT device, and are connected to the public network through the NAT device.
  • the cloud server is deployed on the public network, facilitating the connection between the RTSP client and the RTSP server.
  • the following is an explanation of both the RTSP client and the RTSP server. Those skilled in the art can understand that, in the specific implementation, multiple RTSP clients and multiple RTSP servers can be set according to actual needs.
  • the user may trigger the controllable device acquisition request to be sent to the cloud server of the public network based on the RTSP client; when the cloud server receives the controllable device acquisition request sent by the RTSP client, due to the RTSP After the client and the RTSP server are in the same NAT device, the private network address of the RTSP server is directly returned to the RTSP client. After receiving the private network address of the RTSP server returned by the cloud server, the RTSP client is based on the received private network. The address is sent to the RTSP server to send an OPTION request to enable the establishment of the RTSP connection. It should be noted that, in the embodiment of the present invention, the RTSP connection may also be existing according to the application scenario. Connection, for the camera device, adjust the camera angle, which should be based on watching the video stream.
  • a custom device control method is pre-configured on the RTSP server, and the RTSP server is equipped with an electronically controlled camera.
  • the device control method may include actions supported by the electronically controlled pan/tilt, such as left/right/up/down rotation, horizontal cruise, and vertical cruise, etc., respectively, corresponding control parameters are set based on different actions, such as control parameter LEFT Corresponding to the left rotation, the control parameter HNAVIGATE corresponds to horizontal cruise, etc., which can be set as needed.
  • the response module 10 When the RTSP server receives the OPTION request sent by the RTSP client, the response module 10 returns an OPTION response to the RTSP client based on the RTSP server, wherein the OPTION response returned by the response module 10 to the RTSP client includes the preset device. Control methods, and all other methods supported by the RTSP server. For example, the OPTION request sent by the RTSP client to the RTSP server is as follows:
  • the OPTION response returned by the response module 10 to the RTSP client based on the RTSP server is as follows:
  • PTZ Pan/Tilt/Zoom, PTZ control
  • PTZ control is a preset device control method.
  • the RTSP client when receiving the OPTION response returned by the response module 10, sequentially sends requests such as DESCRIBE, SETUP, and PLAY to the RTSP server, and the response module 10 sequentially responds to the DESCRIBE, SETUP, and PLAY based on the RTSP server. Request to establish an RTSP connection.
  • the DESCRIBE request sent by the RTSP client is used to obtain session description information.
  • the SETUP request is used to remind the RTSP server to establish a session and determine the transmission mode, and the PLAY request is used to initiate a play request to the RTSP server.
  • the RTSP client is provided with a device control interface, and the device control interface provides multiple controls, which are in one-to-one correspondence with the actions supported by the RTSP server, and the user can trigger the control through the device control interface.
  • a device control request that requests the RTSP server to perform the corresponding action.
  • the receiving module 20 is configured to receive a device control request sent by the RTSP client based on the received device control method, where the device control request includes a control request other than media flow control;
  • the executing module 30 is configured to extract, according to the device control method, a control parameter carried by the received device control request, and control an action performed by the RTSP server where the control parameter is located.
  • the user can send a device control request to the RTSP server at any time based on the device control interface provided by the RTSP client, and the execution module 30 receives the RTSP client at the receiving module 20.
  • the device control request is sent, the control parameter carried by the received device control request is extracted based on the device control method, and the action corresponding to the control parameter is executed by the RTSP server where the terminal is located.
  • the user sends a device control request to the camera (RTSP server) to control the camera to rotate to the left through the RTSP client, as follows:
  • the camera After receiving the device control request sent by the RTSP client, the camera extracts the control parameter carried by the device control request, that is, “LEFT”, thereby identifying that the device control request is a “turn to the left” request, and responding to the device Control the request and control the pan/tilt to rotate to the left.
  • the RTSP server returns the response of the device control request as follows:
  • the RTSP client may send a TEARDOWN request to the RTSP server to disconnect the RTSP between the RTSP client and the RTSP server. Connection, the TEARDOWN request is as follows:
  • the receiving module 20 After receiving the TEARDOWN request sent by the RTSP client, the receiving module 20 returns a TEARDOWN response to the RTSP client and disconnects the RTSP connection between the two.
  • the TEARDOWN response is as follows:
  • the RTSP client can send a media control request to the RTSP server in addition to sending a device control request to the RTSP server based on the established RTSP connection, for performing normal operation on the RTSP server.
  • Media flow control
  • the terminal control apparatus provided in this embodiment is based on the RTSP server running.
  • the RTSP server In the process of establishing an RTSP connection between the RTSP client and the RTSP server, the RTSP server returns an OPTION response including the preset device control method to the RTSP client.
  • the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. Ending, based on the device control method, extracting the received device control request The control parameters are carried out, and the actions corresponding to the control parameters are executed.
  • the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control.
  • the device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
  • the terminal control apparatus further includes:
  • the authentication module 40 is configured to: when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, extract and perform an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
  • the response module 10 is further configured to return an OPTION response carrying the preset device control method to the RTSP client when the authentication is passed.
  • the RTSP server can perform other control than the media stream control.
  • the RTSP client performs the authentication operation and provides only the control services other than the media stream control for the RTSP client through which the authentication is passed.
  • the authentication module 40 when the RTSP server receives the OPTION request sent by the RTSP client, the authentication module 40 first extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request. Specifically, the user pre-registers the user name and password on the RTSP server based on the RTSP client.
  • the OPTION request sent by the RTSP client carries the user name and password pre-registered by the user as the authentication information.
  • the RTSP server receives the OPTION request sent by the RTSP client, the authentication module 40 extracts the username and password (authentication information) carried in the received OPTION request, and determines the username and password. Whether it is a pre-registered user name and password, the authentication is passed, otherwise the authentication fails.
  • the response module 10 is further configured to: when the authentication fails, Returning, to the RTSP client, an OPTION response carrying all other methods supported by the preset device control method, for the RTSP client to perform normal media stream control on the RTSP server.
  • the authentication information carried by the OPTION request is transmitted in cipher text.
  • the authentication module 40 decrypts the authentication information by using the same encryption and decryption algorithm as the RTSP client, and then the RTSP client based on the decrypted authentication information.
  • the response module 10 is further configured to determine, according to the authentication information, when the authentication is passed.
  • the present embodiment provides different device control services for different RTSP clients.
  • the RTSP server responds.
  • the user name registered in the current time is associated with a preset identity level, wherein the user with different identity levels obtains different control rights, for example, the camera (RTSP server) has a preset secondary identity level, and the first level can be obtained.
  • the control authority of all actions of the camera, the second level can obtain the control authority of all actions of the camera except horizontal/vertical cruise.
  • the RTSP server is pre-configured with different device control methods for different identity levels.
  • the response module 10 is based on the user in the authentication information. Determining the identity level of the RTSP client; after determining the identity level of the RTSP client, the response module 10 sends a correspondence corresponding to the identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
  • the OPTION response of the device control method provides differentiated device control services to meet the control needs of different users.
  • the terminal control apparatus further includes:
  • connection module configured to disconnect the established RTSP connection when the receiving module does not receive the device control request sent by the RTSP client within a preset time period.
  • the RTSP server can only provide device control services for a few limited RTSP clients, if the RTSP client establishes an RTSP connection with the RTSP server. Long-term non-operation will cause unnecessary waste of the bandwidth of the RTSP server and affect the use of other users. Therefore, the embodiment adds a chain breaking control based on the foregoing embodiment. Specifically, the connection module starts the RTSP connection between the RTSP client and the RTSP client, and starts the internal timer of the RTSP server to start timing. If the receiving module 20 does not receive the device control request sent by the RTSP client within the preset time period, the connection module disconnects the established RTSP connection.
  • the terminal control apparatus further includes:
  • the update module is configured to adjust a corresponding device control method based on the update instruction when the RTSP server at which the RTSP server is located receives the update instruction of the device control method.
  • the RTSP server With the upgrade of the RTSP server hardware platform, the RTSP server will be able to provide more controllable actions besides media stream control. For example, after the camera replaces the new PTZ, it can implement new controllable actions.
  • the device control method of the RTSP server needs to be updated. Specifically, the user can write a new mapping of controllable actions and control parameters on the RTSP server, and trigger an update instruction of the device control method to update the specified device control method, and the update module will have new controllable actions and controls. The mapping of parameters is added to the device control method corresponding to the update instruction, and the device control method is completed. new.
  • the RTSP server returns a preset device control method to the RTSP client by establishing an RTSP connection between the RTSP client and the RTSP server.
  • OPTION response After the RTSP connection is established, if the RTSP client has other control requirements other than the media stream control for the RTSP server, the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service.
  • the terminal extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
  • the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control.
  • the device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.

Abstract

Disclosed are a terminal control method and apparatus. The terminal control method comprises: when receiving an OPTION request sent by an RTSP client, an RTSP serving end returning an OPTION response which carries a pre-set device control method to the RTSP client, for the RTSP client to establish an RTSP connection with the RTSP serving end based on the received OPTION response; the RTSP serving end receiving a device control request sent by the RTSP client based on the received device control method via the established RTSP connection, wherein the device control request comprises other control requests other than media stream control; and the RTSP serving end extracting a control parameter carried by the received device control request based on the device control method, and carrying out an action corresponding to the control parameter. The present invention can reduce the network consumption caused by other control over the RTSP serving end other than the media stream control.

Description

终端控制方法及装置Terminal control method and device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种终端控制方法及装置。The present invention relates to the field of communications technologies, and in particular, to a terminal control method and apparatus.
背景技术Background technique
RTSP(Real Time Streaming Protocol,实时流媒体协议),是由Real network和Netscape共同提出的如何有效地在IP网络上传输流媒体数据的应用层协议。RTSP提供一种可扩展的框架,使RTSP服务端能够提供可控制的,按需传输实时数据,比如音频和视频文件。例如,在视频监控领域中,摄像头作为RTSP服务端,监控终端作为RTSP客户端,通常采用RTSP作为实时监控数据的传输控制协议,摄像头能够向监控终端提供诸如暂停、快进以及快退等媒体流控制。RTSP (Real Time Streaming Protocol) is an application layer protocol proposed by Real Network and Netscape to effectively transmit streaming media data over an IP network. RTSP provides an extensible framework that enables RTSP servers to provide controlled, on-demand real-time data, such as audio and video files. For example, in the field of video surveillance, the camera acts as an RTSP server, and the monitoring terminal acts as an RTSP client. RTSP is usually used as a transmission control protocol for real-time monitoring data. The camera can provide media streams such as pause, fast forward, and fast rewind to the monitoring terminal. control.
然而,在采用RTSP作为实时监控数据的传输控制协议之外,若RTSP客户端需要对RTSP服务端进行除媒体流控制之外的其它控制,如调整摄像头的监控区域,则需要RTSP客户端和RTSP服务端建立控制指令专用的控制信道,甚至需要额外的专用服务器负责控制命令的转发,需要消耗较多的网络资源。However, in addition to the RTSP as the transmission control protocol for real-time monitoring data, if the RTSP client needs to perform other control than the media stream control on the RTSP server, such as adjusting the surveillance area of the camera, the RTSP client and RTSP are required. The server establishes a control channel dedicated to the control command, and even needs an additional dedicated server to control the forwarding of the command, which requires more network resources to be consumed.
发明内容Summary of the invention
本发明实施例的主要目的在于提供一种终端控制方法及装置,旨在降低对RTSP服务端进行除媒体流控制之外的其它控制所造成的网络消耗。A main object of the embodiments of the present invention is to provide a terminal control method and apparatus, which are intended to reduce network consumption caused by performing other control than the media stream control on the RTSP server.
为实现上述目的,本发明实施例提供一种终端控制方法,所述终端控制方法包括:To achieve the above objective, an embodiment of the present invention provides a terminal control method, where the terminal control method includes:
在接收到RTSP客户端发送的OPTION请求时,RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立RTSP连接;Upon receiving the OPTION request sent by the RTSP client, the RTSP server returns an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive the OPTION response according to the received The RSTP server establishes an RTSP connection;
所述RTSP服务端通过建立的所述RTSP连接接收所述RTSP客户端基 于接收的所述设备控制方法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;The RTSP server receives the RTSP client base through the established RTSP connection a device control request sent by the received device control method, where the device control request includes a control request other than media flow control;
所述RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。And the RTSP server extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
可选的,所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤之前,还包括:Optionally, before the step of the RTSP server returning the OPTION response carrying the preset device control method to the RTSP client, the method further includes:
在接收到RTSP客户端发送的OPTION请求时,所述RTSP服务端提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作;Upon receiving the OPTION request sent by the RTSP client, the RTSP server extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
在鉴权通过时,执行所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤。When the authentication is passed, the RTSP server is returned to the RTSP client to return an OPTION response carrying a preset device control method.
可选的,所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤包括:Optionally, the step of the RTSP server returning the OPTION response carrying the preset device control method to the RTSP client includes:
在鉴权通过时,所述RTSP服务端基于所述鉴权信息确定所述RTSP客户端的身份级别;When the authentication is passed, the RTSP server determines an identity level of the RTSP client based on the authentication information;
所述RTSP服务端基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。The RTSP server sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
可选的,所述终端控制方法还包括:Optionally, the terminal control method further includes:
在接收到设备控制方法的更新指令时,所述RTSP服务端基于所述更新指令调整对应的设备控制方法。Upon receiving the update instruction of the device control method, the RTSP server adjusts the corresponding device control method based on the update instruction.
此外,为实现上述目的,本发明实施例还提供一种终端控制装置,所述终端控制装置包括:In addition, in order to achieve the above object, an embodiment of the present invention further provides a terminal control apparatus, where the terminal control apparatus includes:
响应模块,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立RTSP连接;The response module is configured to, when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, return an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive based on the RTSP client The OPTION response establishes an RTSP connection with the RSTP server;
接收模块,设置为接收所述RTSP客户端基于接收的所述设备控制方 法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;a receiving module, configured to receive the RTSP client based on the received device control party a device control request sent by the method, wherein the device control request includes a control request other than media flow control;
执行模块,设置为基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并控制其所在RTSP服务端执行所述控制参数对应的动作。The execution module is configured to extract, according to the device control method, a control parameter carried by the received device control request, and control an action of the RTSP server where the control parameter is located.
可选的,所述终端控制装置还包括:Optionally, the terminal control device further includes:
鉴权模块,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作;The authentication module is configured to: when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, extract and perform an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
所述响应模块还设置为在鉴权通过时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应。The response module is further configured to return an OPTION response carrying the preset device control method to the RTSP client when the authentication is passed.
可选的,所述响应模块还设置为在鉴权通过时,基于所述鉴权信息确定所述RTSP客户端的身份级别;以及基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。Optionally, the response module is further configured to determine an identity level of the RTSP client based on the authentication information when the authentication is passed; and to the RTSP based on a mapping relationship between the preset identity level and the device control method. The client sends an OPTION response carrying the device control method corresponding to its identity level.
可选的,所述终端控制装置还包括:Optionally, the terminal control device further includes:
更新模块,设置为当其所在RTSP服务端接收到设备控制方法的更新指令时,基于所述更新指令调整对应的设备控制方法。The update module is configured to adjust a corresponding device control method based on the update instruction when the RTSP server at which the RTSP server is located receives the update instruction of the device control method.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的终端控制方法的实现。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the implementation of the terminal control method in the foregoing embodiment.
本发明实施例通过在RTSP客户端和RTSP服务端建立RTSP的连接过程中,由RTSP服务端向RTSP客户端返回包括预设的设备控制方法的OPTION响应。在建立RTSP连接后,若RTSP客户端存在对RTSP服务端进行除媒体流控制之外的其它控制需求,可按照所述设备控制方法规定的格式基于建立的RTSP连接返回设备控制请求,供RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控 制参数对应的动作。相较于现有技术,本发明在需要对RTSP服务端进行除媒体流控制之外的其它控制时,可直接利用已经建立的RTSP连接进行设备控制请求的传输,而无需建立新的专用连接发送设备控制请求,也不需要借助额外的专用服务器转发设备控制请求,能够达到降低网络消耗的目的。In the embodiment of the present invention, the RTSP server returns an OPTION response including a preset device control method to the RTSP client by establishing an RTSP connection between the RTSP client and the RTSP server. After the RTSP connection is established, if the RTSP client has other control requirements other than the media stream control for the RTSP server, the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. Ending, based on the device control method, extracting control parameters carried by the received device control request, and performing the control The action corresponding to the parameter. Compared with the prior art, the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control. The device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
附图说明DRAWINGS
图1为本发明终端控制方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a terminal control method according to the present invention;
图2为本发明终端控制方法应用的组网拓扑结构示意图;2 is a schematic diagram of a networking topology structure applied to a terminal control method according to the present invention;
图3为本发明终端控制方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a terminal control method according to the present invention;
图4为图3中RTSP服务端向RTSP客户端返回携带有预设的设备控制方法的OPTION响应的细化流程示意图;4 is a schematic diagram showing a refinement process of the OPTION response of the RTSP server carrying the preset device control method to the RTSP client in FIG. 3;
图5为本发明终端控制方法第四实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a terminal control method according to the present invention; FIG.
图6为本发明终端控制装置第一实施例的功能模块示意图;6 is a schematic diagram of functional modules of a first embodiment of a terminal control apparatus according to the present invention;
图7为本发明终端控制装置第二实施例的功能模块示意图。FIG. 7 is a schematic diagram of functional modules of a second embodiment of a terminal control apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种终端控制方法,参照图1,在本发明终端控制方法的第一实施例中,所述终端控制方法包括:The present invention provides a terminal control method. Referring to FIG. 1, in a first embodiment of the terminal control method of the present invention, the terminal control method includes:
步骤S10,在接收到RTSP客户端发送的OPTION请求时,RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立 RTSP连接;Step S10: Upon receiving the OPTION request sent by the RTSP client, the RTSP server returns an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive the OPTION based on the received Responding to the establishment of the RSTP server RTSP connection;
需要说明的是,本实施例的主旨在于利用已经建立的RTSP连接,使得RTSP客户端能够直接向RTSP服务端发送控制请求,从而无需建立新的专用连接发送控制请求,也不需要借助额外的专用服务器转发控制请求,以降低实现媒体流之外的其他控制所造成网络消耗,并提升控制效率。It should be noted that the main purpose of this embodiment is to utilize the established RTSP connection, so that the RTSP client can directly send a control request to the RTSP server, so that it is not necessary to establish a new dedicated connection to send a control request, and no additional dedicated The server forwards the control request to reduce network consumption caused by other controls other than the media stream, and improve control efficiency.
参照图2,RTSP服务端和RTSP客户端位于NAT设备之后,通过NAT设备接入公网,云服务器部署在公网,便于RTSP客户端和RTSP服务端建立连接。以下以RTSP客户端和RTSP服务端均为一台进行说明,本领域技术人员可以理解的是,在具体实施时,可按实际需要设置多台RTSP客户端以及多台RTSP服务端。Referring to FIG. 2, the RTSP server and the RTSP client are located behind the NAT device, and are connected to the public network through the NAT device. The cloud server is deployed on the public network, facilitating the connection between the RTSP client and the RTSP server. The following is an explanation of both the RTSP client and the RTSP server. Those skilled in the art can understand that, in the specific implementation, multiple RTSP clients and multiple RTSP servers can be set according to actual needs.
本实施例中,当存在控制需求时,用户可基于RTSP客户端触发可控设备获取请求发送至公网的云服务器;云服务器在接收到RTSP客户端发送的可控设备获取请求时,由于RTSP客户端和RTSP服务端处于同一个NAT设备之后,直接将RTSP服务端的私网地址返回至RTSP客户端;RTSP客户端在接收到云服务器返回的RTSP服务端的私网地址之后,基于接收的私网地址向RTSP服务端发送OPTION请求,以开启RTSP连接的建立流程。In this embodiment, when there is a control requirement, the user may trigger the controllable device acquisition request to be sent to the cloud server of the public network based on the RTSP client; when the cloud server receives the controllable device acquisition request sent by the RTSP client, due to the RTSP After the client and the RTSP server are in the same NAT device, the private network address of the RTSP server is directly returned to the RTSP client. After receiving the private network address of the RTSP server returned by the cloud server, the RTSP client is based on the received private network. The address sends an OPTION request to the RTSP server to open the RTSP connection establishment process.
为实现基于RTSP连接进行除媒体流控制之外的其它控制,在本实施例中,在RTSP服务端预设有自定义的设备控制方法,以RTSP服务端为配备有电控云台的摄像头为例,该设备控制方法可以包括该电控云台支持的动作,如向左/右/上/下转动、水平巡航以及垂直巡航等,基于不同的动作分别设置对应的控制参数,如控制参数LEFT对应向左转动,控制参数HNAVIGATE对应水平巡航等,具体可按需设置。In order to implement other control than the media stream control based on the RTSP connection, in the embodiment, a custom device control method is pre-configured on the RTSP server, and the RTSP server is equipped with an electronically controlled camera. For example, the device control method may include actions supported by the electronically controlled pan/tilt, such as left/right/up/down rotation, horizontal cruise, and vertical cruise, etc., respectively, corresponding control parameters are set based on different actions, such as control parameter LEFT Corresponding to the left rotation, the control parameter HNAVIGATE corresponds to horizontal cruise, etc., which can be set as needed.
RTSP服务端在接收到RTSP客户端发送的OPTION请求时,向RTSP客户端返回OPTION响应,其中,RTSP服务端向RTSP客户端返回的OPTION响应包括预设的设备控制方法,以及支持的其它所有方法。例如,RTSP客户端向RTSP服务端发送的OPTION请求如下所示:The RTSP server returns an OPTION response to the RTSP client when receiving the OPTION request sent by the RTSP client, wherein the OPTION response returned by the RTSP server to the RTSP client includes a preset device control method, and all other supported methods. . For example, the OPTION request sent by the RTSP client to the RTSP server is as follows:
OPTIONS rtsp://192.168.1.3:5000/***RTSP/1.0 OPTIONS rtsp://192.168.1.3:5000/***RTSP/1.0
CSeq:1CSeq: 1
RTSP服务端向RTSP客户端返回的OPTION响应如下所示:The OPTION response returned by the RTSP server to the RTSP client is as follows:
RTSP/1.0 200 OKRTSP/1.0 200 OK
CSeq:1CSeq: 1
Public:OPTIONS,DESCRIBE,SETUP,PLAY,PTZ,TEARDOWNPublic:OPTIONS,DESCRIBE,SETUP,PLAY,PTZ,TEARDOWN
其中,PTZ(Pan/Tilt/Zoom,云台控制)为预设的设备控制方法。Among them, PTZ (Pan/Tilt/Zoom, PTZ control) is a preset device control method.
本实施例中,RTSP客户端在接收到RTSP服务端返回的OPTION响应时,依次向RTSP服务端发送DESCRIBE、SETUP以及PLAY等请求,RTSP服务端则依次响应DESCRIBE、SETUP以及PLAY等请求,建立RTSP连接。In this embodiment, when receiving the OPTION response returned by the RTSP server, the RTSP client sequentially sends requests such as DESCRIBE, SETUP, and PLAY to the RTSP server, and the RTSP server sequentially responds to requests such as DESCRIBE, SETUP, and PLAY to establish an RTSP. connection.
其中,RTSP客户端发送的DESCRIBE请求用于得到会话描述信息,SETUP请求用于提醒RTSP服务端建立会话并确定传输模式,PLAY请求用于向RTSP服务端发起播放请求。The DESCRIBE request sent by the RTSP client is used to obtain the session description information, the SETUP request is used to remind the RTSP server to establish a session and determine the transmission mode, and the PLAY request is used to initiate a play request to the RTSP server.
此外,需要说明的是,在RTSP客户端提供有设备控制界面,该设备控制界面提供有多个控件,与RTSP服务端支持的动作一一对应,用户通过该设备控制界面的控件即可触发用于请求RTSP服务端执行相应动作的设备控制请求。In addition, it should be noted that the RTSP client is provided with a device control interface, and the device control interface provides multiple controls, which are in one-to-one correspondence with the actions supported by the RTSP server, and the user can trigger the control through the device control interface. A device control request that requests the RTSP server to perform the corresponding action.
步骤S20,所述RTSP服务端通过建立的所述RTSP连接接收所述RTSP客户端基于接收的所述设备控制方法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;Step S20, the RTSP server receives, by using the established RTSP connection, a device control request sent by the RTSP client based on the received device control method, where the device control request includes: Other control requests;
步骤S30,所述RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。Step S30: The RTSP server extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
本实施例中,在RTSP客户端和RTSP服务端建立RTSP连接之后,用户可基于RTSP客户端提供的设备控制界面随时向RTSP服务端发送设备控制请求,所述RTSP服务端在接收到RTSP客户端发送的设备控制请求时,基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。例如,用户通过RTSP客户端向摄像头 (RTSP服务端)发送控制摄像头向左转动的设备控制请求,如下所示:In this embodiment, after the RTSP connection is established between the RTSP client and the RTSP server, the user can send a device control request to the RTSP server at any time based on the device control interface provided by the RTSP client, and the RTSP server receives the RTSP client. When the device control request is sent, the control parameter carried by the received device control request is extracted based on the device control method, and the action corresponding to the control parameter is executed. For example, the user goes to the camera through the RTSP client. (RTSP server) sends a device control request that controls the camera to rotate to the left as follows:
PTZ LEFTPTZ LEFT
RTSP/1.0RTSP/1.0
CSeq:7CSeq: 7
摄像头在接收到RTSP客户端发送的设备控制请求之后,提取该设备控制请求携带的控制参数,即“LEFT”,从而识别出该设备控制请求为“向左转动”的请求,并响应该设备控制请求,控制云台向左转动。同时,RTSP服务端返回该设备控制请求的响应,如下所示:After receiving the device control request sent by the RTSP client, the camera extracts the control parameter carried by the device control request, that is, “LEFT”, thereby identifying that the device control request is a “turn to the left” request, and responding to the device Control the request and control the pan/tilt to rotate to the left. At the same time, the RTSP server returns the response of the device control request as follows:
RTSP/1.0 200 OKRTSP/1.0 200 OK
CSeq:7CSeq: 7
进一步的,在本实施例中,当用户不存在继续控制RTSP服务端的需求时,可基于RTSP客户端向所述RTSP服务端发送TEARDOWN请求,以断开RTSP客户端与RTSP服务端之间的RTSP连接,该TEARDOWN请求如下所示:Further, in this embodiment, when the user does not have the requirement to continue to control the RTSP server, the RTSP client may send a TEARDOWN request to the RTSP server to disconnect the RTSP between the RTSP client and the RTSP server. Connection, the TEARDOWN request is as follows:
TEARDOWN rtsp://192.168.1.3:5000/***RTSP/1.0TEARDOWN rtsp://192.168.1.3:5000/***RTSP/1.0
CSeq:8CSeq: 8
Session:123456789Session: 123456789
User-Agent:PTZ ControlUser-Agent: PTZ Control
RTSP服务端在接收到RTSP客户端发送的TEARDOWN请求之后,向RTSP客户端返回TEARDOWN响应,并断开二者之间的RTSP连接,该TEARDOWN响应如下所示:After receiving the TEARDOWN request sent by the RTSP client, the RTSP server returns a TEARDOWN response to the RTSP client and disconnects the RTSP connection between the two. The TEARDOWN response is as follows:
RTSP/1.0 200 OKRTSP/1.0 200 OK
Server:PTZServer: PTZ
Cseq:8Cseq: 8
Session:123456789 Session: 123456789
Connection:CloseConnection:Close
本领域技术人员应当理解的是,RTSP客户端除了基于建立的RTSP连接向RTSP服务端发送设备控制请求之外,还可以向RTSP服务端发送流媒体控制请求,用于对RTSP服务端进行正常的媒体流控制。It should be understood by those skilled in the art that the RTSP client can send a media control request to the RTSP server in addition to sending a device control request to the RTSP server based on the established RTSP connection, for performing normal operation on the RTSP server. Media flow control.
本实施例提出的终端控制方法,在RTSP客户端和RTSP服务端建立RTSP的连接过程中,由RTSP服务端向RTSP客户端返回包括预设的设备控制方法的OPTION响应。在建立RTSP连接后,若RTSP客户端存在对RTSP服务端进行除媒体流控制之外的其它控制需求,可按照所述设备控制方法规定的格式基于建立的RTSP连接返回设备控制请求,供RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。相较于现有技术,本发明在需要对RTSP服务端进行除媒体流控制之外的其它控制时,可直接利用已经建立的RTSP连接进行设备控制请求的传输,而无需建立新的专用连接发送设备控制请求,也不需要借助额外的专用服务器转发设备控制请求,能够达到降低网络消耗的目的。In the terminal control method provided in this embodiment, in the process of establishing an RTSP connection between the RTSP client and the RTSP server, the RTSP server returns an OPTION response including a preset device control method to the RTSP client. After the RTSP connection is established, if the RTSP client has other control requirements other than the media stream control for the RTSP server, the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. The terminal extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter. Compared with the prior art, the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control. The device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
进一步的,基于第一实施例,提出本发明终端控制方法的第二实施例,参照图3,在本实施例中,步骤S10之前,还包括:Further, based on the first embodiment, a second embodiment of the terminal control method of the present invention is proposed. Referring to FIG. 3, in the embodiment, before step S10, the method further includes:
步骤S40,在接收到RTSP客户端发送的OPTION请求时,所述RTSP服务端提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作;Step S40: Upon receiving the OPTION request sent by the RTSP client, the RTSP server extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request.
在鉴权通过时,执行步骤S10。When the authentication is passed, step S10 is performed.
需要说明的是,本实施例与第一实施例的区别在于,为避免任何RTSP客户端连接RTSP服务端均可对RTSP服务端进行除媒体流控制之外的其它控制,本实施例还需要对RTSP客户端进行鉴权操作,并仅对鉴权通过的RTSP客户端提供除媒体流控制之外的其它控制服务。It should be noted that the difference between this embodiment and the first embodiment is that in order to prevent any RTSP client from connecting to the RTSP server, the RTSP server can perform other control than the media stream control. The RTSP client performs the authentication operation and provides only the control services other than the media stream control for the RTSP client through which the authentication is passed.
在本实施例中,RTSP服务端在接收到RTSP客户端发送的OPTION请求 时,首先提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作,具体的,用户基于RTSP客户端在RTSP服务端预先注册有用户名以及密码,在建立RTSP连接时,RTSP客户端发送的OPTION请求中将携带有用户预先注册的用户名以及密码作为鉴权信息;相应的,RTSP服务端在接收到RTSP客户端发送的OPTION请求时,将提取接收的OPTION请求携带的用户名及密码(鉴权信息),并判断该用户名及密码是否为预先注册的用户名及密码,是则鉴权通过,否则鉴权失败,需要说明的是,RTSP协议中的鉴权通常发生在DESCRIBE请求阶段,本发明实施例对此不作限定。In this embodiment, the RTSP server receives the OPTION request sent by the RTSP client. Initially, the RTSP client is first authenticated and authenticated based on the authentication information carried by the OPTION request. Specifically, the user pre-registers the user name and password on the RTSP server based on the RTSP client, and establishes an RTSP connection. The OPTION request sent by the RTSP client will carry the user name and password pre-registered by the user as the authentication information; correspondingly, the RTSP server will extract the received OPTION request when receiving the OPTION request sent by the RTSP client. Carrying the user name and password (authentication information), and judging whether the user name and password are pre-registered user names and passwords, then the authentication is passed, otherwise the authentication fails. It should be noted that the RTSP protocol The rights usually occur in the DESCRIBE request phase, which is not limited by the embodiment of the present invention.
进一步的,本实施例中,步骤S40之后,还包括:Further, in this embodiment, after step S40, the method further includes:
在鉴权失败时,RTSP服务端向所述RTSP客户端返回携带有除预设的设备控制方法之外支持的其它所有方法的OPTION响应,供所述RTSP客户端对所述RTSP服务端进行正常的媒体流控制。When the authentication fails, the RTSP server returns an OPTION response carrying all other methods supported by the preset device control method to the RTSP client, for the RTSP client to perform normal on the RTSP server. Media flow control.
进一步的,在本实施例中,为提升用户信息的安全性,OPTION请求携带的鉴权信息以密文形式传输。相应的,RTSP服务端在提取到密文形式的鉴权信息时,采用与RTSP客户端相同的加解密算法对鉴权信息进行解密操作,再基于解密后的鉴权信息对所述RTSP客户端进行鉴权操作,具体可参照上述描述,此处不再赘述。Further, in this embodiment, to improve the security of the user information, the authentication information carried by the OPTION request is transmitted in cipher text. Correspondingly, when extracting the authentication information in the cipher text form, the RTSP server decrypts the authentication information by using the same encryption and decryption algorithm as the RTSP client, and then, based on the decrypted authentication information, the RTSP client. For the authentication operation, refer to the above description, and details are not described herein again.
进一步的,基于第二实施例,提出本发明终端控制方法的第三实施例,参照图4,在本实施例中,步骤S10包括:Further, based on the second embodiment, a third embodiment of the terminal control method of the present invention is proposed. Referring to FIG. 4, in the embodiment, step S10 includes:
步骤S101,在鉴权通过时,所述RTSP服务端基于所述鉴权信息确定所述RTSP客户端的身份级别;Step S101, when the authentication is passed, the RTSP server determines an identity level of the RTSP client based on the authentication information;
步骤S102,所述RTSP服务端基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。Step S102: The RTSP server sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
需要说明的是,基于第二实施例,本实施例对于不同的RTSP客户端 提供有不同的设备控制服务,相应的,RTSP服务端在响应RTSP客户端发送的用户注册请求并完成用户注册后,将当次注册的用户名与预设的身份级别关联,其中,不同身份级别的用户获取到的控制权限不同,例如,摄像头(RTSP服务端)共预设二级身份级别,第一级能够获得摄像头的所有动作的控制权限,第二级能够获得摄像头除水平/垂直巡航之外的所有的动作的控制权限。为此,在RTSP服务端分别为不同的身份级别对应预设有相应的设备控制方法。It should be noted that, according to the second embodiment, this embodiment is for different RTSP clients. Different device control services are provided. Correspondingly, after responding to the user registration request sent by the RTSP client and completing the user registration, the RTSP server associates the currently registered user name with a preset identity level, wherein different identity levels The user has different control rights. For example, the camera (RTSP server) has a preset secondary identity level. The first level can obtain the control permission of all actions of the camera, and the second level can obtain the camera except horizontal/vertical cruise. Control permissions for all actions outside. To this end, the RTSP server is pre-configured with different device control methods for different identity levels.
本实施例中,RTSP服务端在接收到RTSP客户端发送的OPTION请求,并基于OPTION请求携带的鉴权信息完成RTSP客户端的鉴权之后,基于所述鉴权信息中的用户名确定所述RTSP客户端的身份级别;在确定RTSP客户端的身份级别之后,RTSP服务端基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应,从而差异化提供设备控制服务,满足不同用户的控制需求。In this embodiment, after receiving the OPTION request sent by the RTSP client, and completing the authentication of the RTSP client based on the authentication information carried in the OPTION request, the RTSP server determines the RTSP based on the username in the authentication information. The identity level of the client; after determining the identity level of the RTSP client, the RTSP server sends an OPTION response carrying the device control method corresponding to the identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method. Thereby differentiated to provide device control services to meet the control needs of different users.
进一步的,基于前述任一实施例,提出本发明终端控制方法的第四实施例,参照图5,在本实施例中,步骤S20之后,还包括:Further, based on any of the foregoing embodiments, a fourth embodiment of the terminal control method of the present invention is provided. Referring to FIG. 5, in the embodiment, after step S20, the method further includes:
步骤S50,在预设时间段内未接收到所述RTSP客户端发送的设备控制请求时,所述RTSP服务端断开建立的所述RTSP连接。Step S50: When the device control request sent by the RTSP client is not received within a preset time period, the RTSP server disconnects the established RTSP connection.
进一步的,基于前述任一实施例,提出本发明终端控制方法的第五实施例,在本实施例中,所述终端控制方法还包括:Further, based on any of the foregoing embodiments, a fifth embodiment of the terminal control method of the present invention is provided. In this embodiment, the terminal control method further includes:
在接收到设备控制方法的更新指令时,所述RTSP服务端基于所述更新指令调整对应的设备控制方法。Upon receiving the update instruction of the device control method, the RTSP server adjusts the corresponding device control method based on the update instruction.
随着RTSP服务端硬件平台的升级,RTSP服务端将能够提供更多的除媒体流控制之外的其它可控动作,例如,摄像头更换了新的云台之后,能够实现新的可控动作。为基于RTSP连接实现新的可控动作,在本实施例中,需要对RTSP服务端的设备控制方法进行更新。具体的,用户可在RTSP服务端写入新的可控动作和控制参数的映射,并触发设备控制方法的更新 指令以对指定的设备控制方法进行更新,RTSP服务端将新的可控动作和控制参数的映射添加至更新指令对应的设备控制方法,完成设备控制方法的更新。With the upgrade of the RTSP server hardware platform, the RTSP server will be able to provide more controllable actions besides media stream control. For example, after the camera replaces the new PTZ, it can implement new controllable actions. In order to implement a new controllable action based on the RTSP connection, in this embodiment, the device control method of the RTSP server needs to be updated. Specifically, the user can write a new mapping of controllable actions and control parameters on the RTSP server, and trigger an update of the device control method. The instruction updates the specified device control method, and the RTSP server adds the mapping of the new controllable action and control parameters to the device control method corresponding to the update instruction to complete the update of the device control method.
本发明还提供一种终端控制装置,参照图6,在本发明终端控制装置的第一实施例中,所述终端控制装置包括:The present invention further provides a terminal control device. Referring to FIG. 6, in a first embodiment of the terminal control device of the present invention, the terminal control device includes:
响应模块10,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立RTSP连接;The response module 10 is configured to, when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, return an OPTION response carrying the preset device control method to the RTSP client, where the RTSP client is based on the RTSP client. Receiving the OPTION response to establish an RTSP connection with the RSTP server;
需要说明的是,本实施例提供的终端控制装置基于RTSP服务端运行,主旨在于利用已经建立的RTSP连接,使得RTSP客户端能够直接向RTSP服务端发送控制请求,从而无需建立新的专用连接发送控制请求,也不需要借助额外的专用服务器转发控制请求,以降低实现媒体流之外的其他控制所造成网络消耗,并提升控制效率。It should be noted that the terminal control apparatus provided in this embodiment is based on the RTSP server, and the main purpose is to utilize the established RTSP connection, so that the RTSP client can directly send a control request to the RTSP server, thereby eliminating the need to establish a new dedicated connection. Controlling the request does not require an additional dedicated server to forward control requests to reduce network consumption caused by other controls beyond the media stream and improve control efficiency.
参照图2,RTSP服务端和RTSP客户端位于NAT设备之后,通过NAT设备接入公网,云服务器部署在公网,便于RTSP客户端和RTSP服务端建立连接。以下以RTSP客户端和RTSP服务端均为一台进行说明,本领域技术人员可以理解的是,在具体实施时,可按实际需要设置多台RTSP客户端以及多台RTSP服务端。Referring to FIG. 2, the RTSP server and the RTSP client are located behind the NAT device, and are connected to the public network through the NAT device. The cloud server is deployed on the public network, facilitating the connection between the RTSP client and the RTSP server. The following is an explanation of both the RTSP client and the RTSP server. Those skilled in the art can understand that, in the specific implementation, multiple RTSP clients and multiple RTSP servers can be set according to actual needs.
本实施例中,当存在控制需求时,用户可基于RTSP客户端触发可控设备获取请求发送至公网的云服务器;云服务器在接收到RTSP客户端发送的可控设备获取请求时,由于RTSP客户端和RTSP服务端处于同一个NAT设备之后,直接将RTSP服务端的私网地址返回至RTSP客户端;RTSP客户端在接收到云服务器返回的RTSP服务端的私网地址之后,基于接收的私网地址向RTSP服务端发送OPTION请求,以开启RTSP连接的建立流程,需要说明的是,在本发明实施例中根据应用场景RTSP连接也可以为已有 连接,针对摄像头设备,调整摄像头视角,应该是建立在观看视频流的基础上的。In this embodiment, when there is a control requirement, the user may trigger the controllable device acquisition request to be sent to the cloud server of the public network based on the RTSP client; when the cloud server receives the controllable device acquisition request sent by the RTSP client, due to the RTSP After the client and the RTSP server are in the same NAT device, the private network address of the RTSP server is directly returned to the RTSP client. After receiving the private network address of the RTSP server returned by the cloud server, the RTSP client is based on the received private network. The address is sent to the RTSP server to send an OPTION request to enable the establishment of the RTSP connection. It should be noted that, in the embodiment of the present invention, the RTSP connection may also be existing according to the application scenario. Connection, for the camera device, adjust the camera angle, which should be based on watching the video stream.
为实现基于RTSP连接进行除媒体流控制之外的其它控制,在本实施例中,在RTSP服务端预设有自定义的设备控制方法,以RTSP服务端为配备有电控云台的摄像头为例,该设备控制方法可以包括该电控云台支持的动作,如向左/右/上/下转动、水平巡航以及垂直巡航等,基于不同的动作分别设置对应的控制参数,如控制参数LEFT对应向左转动,控制参数HNAVIGATE对应水平巡航等,具体可按需设置。In order to implement other control than the media stream control based on the RTSP connection, in the embodiment, a custom device control method is pre-configured on the RTSP server, and the RTSP server is equipped with an electronically controlled camera. For example, the device control method may include actions supported by the electronically controlled pan/tilt, such as left/right/up/down rotation, horizontal cruise, and vertical cruise, etc., respectively, corresponding control parameters are set based on different actions, such as control parameter LEFT Corresponding to the left rotation, the control parameter HNAVIGATE corresponds to horizontal cruise, etc., which can be set as needed.
响应模块10当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,基于RTSP服务端向RTSP客户端返回OPTION响应,其中,响应模块10向RTSP客户端返回的OPTION响应包括预设的设备控制方法,以及RTSP服务端支持的其它所有方法。例如,RTSP客户端向RTSP服务端发送的OPTION请求如下所示:When the RTSP server receives the OPTION request sent by the RTSP client, the response module 10 returns an OPTION response to the RTSP client based on the RTSP server, wherein the OPTION response returned by the response module 10 to the RTSP client includes the preset device. Control methods, and all other methods supported by the RTSP server. For example, the OPTION request sent by the RTSP client to the RTSP server is as follows:
OPTIONS rtsp://192.168.1.3:5000/***RTSP/1.0OPTIONS rtsp://192.168.1.3:5000/***RTSP/1.0
CSeq:1CSeq: 1
响应模块10基于RTSP服务端向RTSP客户端返回的OPTION响应如下所示:The OPTION response returned by the response module 10 to the RTSP client based on the RTSP server is as follows:
RTSP/1.0 200 OKRTSP/1.0 200 OK
CSeq:1CSeq: 1
Public:OPTIONS,DESCRIBE,SETUP,PLAY,PTZ,TEARDOWNPublic:OPTIONS,DESCRIBE,SETUP,PLAY,PTZ,TEARDOWN
其中,PTZ(Pan/Tilt/Zoom,云台控制)为预设的设备控制方法。Among them, PTZ (Pan/Tilt/Zoom, PTZ control) is a preset device control method.
本实施例中,RTSP客户端在接收到响应模块10返回的OPTION响应时,依次向RTSP服务端发送DESCRIBE、SETUP以及PLAY等请求,响应模块10则基于RTSP服务端依次响应DESCRIBE、SETUP以及PLAY等请求,建立RTSP连接。In this embodiment, when receiving the OPTION response returned by the response module 10, the RTSP client sequentially sends requests such as DESCRIBE, SETUP, and PLAY to the RTSP server, and the response module 10 sequentially responds to the DESCRIBE, SETUP, and PLAY based on the RTSP server. Request to establish an RTSP connection.
其中,RTSP客户端发送的DESCRIBE请求用于得到会话描述信息, SETUP请求用于提醒RTSP服务端建立会话并确定传输模式,PLAY请求用于向RTSP服务端发起播放请求。The DESCRIBE request sent by the RTSP client is used to obtain session description information. The SETUP request is used to remind the RTSP server to establish a session and determine the transmission mode, and the PLAY request is used to initiate a play request to the RTSP server.
此外,需要说明的是,在RTSP客户端提供有设备控制界面,该设备控制界面提供有多个控件,与RTSP服务端支持的动作一一对应,用户通过该设备控制界面的控件即可触发用于请求RTSP服务端执行相应动作的设备控制请求。In addition, it should be noted that the RTSP client is provided with a device control interface, and the device control interface provides multiple controls, which are in one-to-one correspondence with the actions supported by the RTSP server, and the user can trigger the control through the device control interface. A device control request that requests the RTSP server to perform the corresponding action.
接收模块20,设置为接收所述RTSP客户端基于接收的所述设备控制方法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;The receiving module 20 is configured to receive a device control request sent by the RTSP client based on the received device control method, where the device control request includes a control request other than media flow control;
执行模块30,设置为基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并控制其所在RTSP服务端执行所述控制参数对应的动作。The executing module 30 is configured to extract, according to the device control method, a control parameter carried by the received device control request, and control an action performed by the RTSP server where the control parameter is located.
本实施例中,在RTSP客户端和RTSP服务端建立RTSP连接之后,用户可基于RTSP客户端提供的设备控制界面随时向RTSP服务端发送设备控制请求,执行模块30在接收模块20接收到RTSP客户端发送的设备控制请求时,基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并控制其所在RTSP服务端执行所述控制参数对应的动作。例如,用户通过RTSP客户端向摄像头(RTSP服务端)发送控制摄像头向左转动的设备控制请求,如下所示:In this embodiment, after the RTSP connection is established between the RTSP client and the RTSP server, the user can send a device control request to the RTSP server at any time based on the device control interface provided by the RTSP client, and the execution module 30 receives the RTSP client at the receiving module 20. When the device control request is sent, the control parameter carried by the received device control request is extracted based on the device control method, and the action corresponding to the control parameter is executed by the RTSP server where the terminal is located. For example, the user sends a device control request to the camera (RTSP server) to control the camera to rotate to the left through the RTSP client, as follows:
PTZ LEFTPTZ LEFT
RTSP/1.0RTSP/1.0
CSeq:7CSeq: 7
摄像头在接收到RTSP客户端发送的设备控制请求之后,提取该设备控制请求携带的控制参数,即“LEFT”,从而识别出该设备控制请求为“向左转动”的请求,并响应该设备控制请求,控制云台向左转动。同时,RTSP服务端返回该设备控制请求的响应,如下所示:After receiving the device control request sent by the RTSP client, the camera extracts the control parameter carried by the device control request, that is, “LEFT”, thereby identifying that the device control request is a “turn to the left” request, and responding to the device Control the request and control the pan/tilt to rotate to the left. At the same time, the RTSP server returns the response of the device control request as follows:
RTSP/1.0 200 OK RTSP/1.0 200 OK
CSeq:7CSeq: 7
进一步的,在本实施例中,当用户不存在继续控制RTSP服务端的需求时,可基于RTSP客户端向所述RTSP服务端发送TEARDOWN请求,以断开RTSP客户端与RTSP服务端之间的RTSP连接,该TEARDOWN请求如下所示:Further, in this embodiment, when the user does not have the requirement to continue to control the RTSP server, the RTSP client may send a TEARDOWN request to the RTSP server to disconnect the RTSP between the RTSP client and the RTSP server. Connection, the TEARDOWN request is as follows:
TEARDOWN rtsp://192.168.1.3:5000/***RTSP/1.0TEARDOWN rtsp://192.168.1.3:5000/***RTSP/1.0
CSeq:8CSeq: 8
Session:123456789Session: 123456789
User-Agent:PTZ ControlUser-Agent: PTZ Control
接收模块20在接收到RTSP客户端发送的TEARDOWN请求之后,向RTSP客户端返回TEARDOWN响应,并断开二者之间的RTSP连接,该TEARDOWN响应如下所示:After receiving the TEARDOWN request sent by the RTSP client, the receiving module 20 returns a TEARDOWN response to the RTSP client and disconnects the RTSP connection between the two. The TEARDOWN response is as follows:
RTSP/1.0 200 OKRTSP/1.0 200 OK
Server:PTZServer: PTZ
Cseq:8Cseq: 8
Session:123456789Session: 123456789
Connection:CloseConnection:Close
本领域技术人员应当理解的是,RTSP客户端除了基于建立的RTSP连接向RTSP服务端发送设备控制请求之外,还可以向RTSP服务端发送流媒体控制请求,用于对RTSP服务端进行正常的媒体流控制。It should be understood by those skilled in the art that the RTSP client can send a media control request to the RTSP server in addition to sending a device control request to the RTSP server based on the established RTSP connection, for performing normal operation on the RTSP server. Media flow control.
本实施例提出的终端控制装置,基于RTSP服务端运行,在RTSP客户端和RTSP服务端建立RTSP的连接过程中,由RTSP服务端向RTSP客户端返回包括预设的设备控制方法的OPTION响应。在建立RTSP连接后,若RTSP客户端存在对RTSP服务端进行除媒体流控制之外的其它控制需求,可按照所述设备控制方法规定的格式基于建立的RTSP连接返回设备控制请求,供RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携 带的控制参数,并执行所述控制参数对应的动作。相较于现有技术,本发明在需要对RTSP服务端进行除媒体流控制之外的其它控制时,可直接利用已经建立的RTSP连接进行设备控制请求的传输,而无需建立新的专用连接发送设备控制请求,也不需要借助额外的专用服务器转发设备控制请求,能够达到降低网络消耗的目的。The terminal control apparatus provided in this embodiment is based on the RTSP server running. In the process of establishing an RTSP connection between the RTSP client and the RTSP server, the RTSP server returns an OPTION response including the preset device control method to the RTSP client. After the RTSP connection is established, if the RTSP client has other control requirements other than the media stream control for the RTSP server, the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. Ending, based on the device control method, extracting the received device control request The control parameters are carried out, and the actions corresponding to the control parameters are executed. Compared with the prior art, the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control. The device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.
进一步的,基于第一实施例,提出本发明终端控制装置的第二实施例,参照图7,在本实施例中,所述终端控制装置还包括:Further, based on the first embodiment, a second embodiment of the terminal control apparatus of the present invention is provided. Referring to FIG. 7, in the embodiment, the terminal control apparatus further includes:
鉴权模块40,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作;The authentication module 40 is configured to: when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, extract and perform an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
所述响应模块10还设置为在鉴权通过时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应。The response module 10 is further configured to return an OPTION response carrying the preset device control method to the RTSP client when the authentication is passed.
需要说明的是,本实施例与第一实施例的区别在于,为避免任何RTSP客户端连接RTSP服务端均可对RTSP服务端进行除媒体流控制之外的其它控制,本实施例还需要对RTSP客户端进行鉴权操作,并仅对鉴权通过的RTSP客户端提供除媒体流控制之外的其它控制服务。It should be noted that the difference between this embodiment and the first embodiment is that in order to prevent any RTSP client from connecting to the RTSP server, the RTSP server can perform other control than the media stream control. The RTSP client performs the authentication operation and provides only the control services other than the media stream control for the RTSP client through which the authentication is passed.
在本实施例中,鉴权模块40当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,首先提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作,具体的,用户基于RTSP客户端在RTSP服务端预先注册有用户名以及密码,在建立RTSP连接时,RTSP客户端发送的OPTION请求中将携带有用户预先注册的用户名以及密码作为鉴权信息;相应的,鉴权模块40当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,将提取接收的OPTION请求携带的用户名及密码(鉴权信息),并判断该用户名及密码是否为预先注册的用户名及密码,是则鉴权通过,否则鉴权失败。In this embodiment, when the RTSP server receives the OPTION request sent by the RTSP client, the authentication module 40 first extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request. Specifically, the user pre-registers the user name and password on the RTSP server based on the RTSP client. When the RTSP connection is established, the OPTION request sent by the RTSP client carries the user name and password pre-registered by the user as the authentication information. Correspondingly, when the RTSP server receives the OPTION request sent by the RTSP client, the authentication module 40 extracts the username and password (authentication information) carried in the received OPTION request, and determines the username and password. Whether it is a pre-registered user name and password, the authentication is passed, otherwise the authentication fails.
进一步的,本实施例中,所述响应模块10还设置为在鉴权失败时, 向所述RTSP客户端返回携带有除预设的设备控制方法之外支持的其它所有方法的OPTION响应,供所述RTSP客户端对所述RTSP服务端进行正常的媒体流控制。Further, in this embodiment, the response module 10 is further configured to: when the authentication fails, Returning, to the RTSP client, an OPTION response carrying all other methods supported by the preset device control method, for the RTSP client to perform normal media stream control on the RTSP server.
进一步的,在本实施例中,为提升用户信息的安全性,OPTION请求携带的鉴权信息以密文形式传输。相应的,鉴权模块40在提取到密文形式的鉴权信息时,采用与RTSP客户端相同的加解密算法对鉴权信息进行解密操作,再基于解密后的鉴权信息对所述RTSP客户端进行鉴权操作,具体可参照上述描述,此处不再赘述。Further, in this embodiment, to improve the security of the user information, the authentication information carried by the OPTION request is transmitted in cipher text. Correspondingly, when the authentication information in the cipher text form is extracted, the authentication module 40 decrypts the authentication information by using the same encryption and decryption algorithm as the RTSP client, and then the RTSP client based on the decrypted authentication information. For details, refer to the above description, and details are not described herein again.
进一步的,基于第二实施例,提出本发明终端控制装置的第三实施例,在本实施例中,所述响应模块10还设置为在鉴权通过时,基于所述鉴权信息确定所述RTSP客户端的身份级别;以及基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。Further, based on the second embodiment, a third embodiment of the terminal control apparatus of the present invention is proposed. In this embodiment, the response module 10 is further configured to determine, according to the authentication information, when the authentication is passed. The identity level of the RTSP client; and the mapping relationship based on the preset identity level and the device control method, sending an OPTION response carrying the device control method corresponding to the identity level to the RTSP client.
需要说明的是,基于第二实施例,本实施例对于不同的RTSP客户端提供有不同的设备控制服务,相应的,RTSP服务端在响应RTSP客户端发送的用户注册请求并完成用户注册后,将当次注册的用户名与预设的身份级别关联,其中,不同身份级别的用户获取到的控制权限不同,例如,摄像头(RTSP服务端)共预设二级身份级别,第一级能够获得摄像头的所有动作的控制权限,第二级能够获得摄像头除水平/垂直巡航之外的所有的动作的控制权限。为此,在RTSP服务端分别为不同的身份级别对应预设有相应的设备控制方法。It should be noted that, according to the second embodiment, the present embodiment provides different device control services for different RTSP clients. Correspondingly, after responding to the user registration request sent by the RTSP client and completing the user registration, the RTSP server responds. The user name registered in the current time is associated with a preset identity level, wherein the user with different identity levels obtains different control rights, for example, the camera (RTSP server) has a preset secondary identity level, and the first level can be obtained. The control authority of all actions of the camera, the second level can obtain the control authority of all actions of the camera except horizontal/vertical cruise. To this end, the RTSP server is pre-configured with different device control methods for different identity levels.
本实施例中,在接收到RTSP客户端发送的OPTION请求,并由鉴权模块40基于OPTION请求携带的鉴权信息完成RTSP客户端的鉴权之后,响应模块10基于所述鉴权信息中的用户名确定所述RTSP客户端的身份级别;在确定RTSP客户端的身份级别之后,响应模块10基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的 设备控制方法的OPTION响应,从而差异化提供设备控制服务,满足不同用户的控制需求。In this embodiment, after receiving the OPTION request sent by the RTSP client, and after the authentication module 40 completes the authentication of the RTSP client based on the authentication information carried by the OPTION request, the response module 10 is based on the user in the authentication information. Determining the identity level of the RTSP client; after determining the identity level of the RTSP client, the response module 10 sends a correspondence corresponding to the identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method. The OPTION response of the device control method provides differentiated device control services to meet the control needs of different users.
进一步的,基于前述任一实施例,提出本发明终端控制装置的第四实施例,在本实施例中,所述终端控制装置还包括:Further, based on any of the foregoing embodiments, a fourth embodiment of the terminal control apparatus of the present invention is provided. In this embodiment, the terminal control apparatus further includes:
连接模块,设置为当所述接收模块在预设时间段内未接收到所述RTSP客户端发送的设备控制请求时,断开建立的所述RTSP连接。And a connection module, configured to disconnect the established RTSP connection when the receiving module does not receive the device control request sent by the RTSP client within a preset time period.
本领域技术人员可以理解的是,由于RTSP服务端的性能限制以及网络带宽的限制,RTSP服务端仅能为少数有限的RTSP客户端提供设备控制服务,如果RTSP客户端与RTSP服务端建立RTSP连接后,长期不操作,将对RTSP服务端的带宽造成不必要的浪费,并影响其他用户的使用。因此,本实施例在前述实施例的基础上增加了断链控制,具体的,连接模块在其所在RTSP服务端与RTSP客户端建立RTSP连接的同时,启动其所在RTSP服务端内部定时器开始计时,若接收模块20在预设时间段内未接收到RTSP客户端发送的设备控制请求,则连接模块断开建立的RTSP连接。Those skilled in the art can understand that due to the performance limitation of the RTSP server and the limitation of the network bandwidth, the RTSP server can only provide device control services for a few limited RTSP clients, if the RTSP client establishes an RTSP connection with the RTSP server. Long-term non-operation will cause unnecessary waste of the bandwidth of the RTSP server and affect the use of other users. Therefore, the embodiment adds a chain breaking control based on the foregoing embodiment. Specifically, the connection module starts the RTSP connection between the RTSP client and the RTSP client, and starts the internal timer of the RTSP server to start timing. If the receiving module 20 does not receive the device control request sent by the RTSP client within the preset time period, the connection module disconnects the established RTSP connection.
进一步的,基于前述任一实施例,提出本发明终端控制装置的第五实施例,在本实施例中,所述终端控制装置还包括:Further, based on any of the foregoing embodiments, a fifth embodiment of the terminal control apparatus of the present invention is provided. In this embodiment, the terminal control apparatus further includes:
更新模块,设置为当其所在RTSP服务端接收到设备控制方法的更新指令时,基于所述更新指令调整对应的设备控制方法。The update module is configured to adjust a corresponding device control method based on the update instruction when the RTSP server at which the RTSP server is located receives the update instruction of the device control method.
随着RTSP服务端硬件平台的升级,RTSP服务端将能够提供更多的除媒体流控制之外的其它可控动作,例如,摄像头更换了新的云台之后,能够实现新的可控动作。为基于RTSP连接实现新的可控动作,在本实施例中,需要对RTSP服务端的设备控制方法进行更新。具体的,用户可在RTSP服务端写入新的可控动作和控制参数的映射,并触发设备控制方法的更新指令以对指定的设备控制方法进行更新,更新模块将新的可控动作和控制参数的映射添加至更新指令对应的设备控制方法,完成设备控制方法的更 新。With the upgrade of the RTSP server hardware platform, the RTSP server will be able to provide more controllable actions besides media stream control. For example, after the camera replaces the new PTZ, it can implement new controllable actions. In order to implement a new controllable action based on the RTSP connection, in this embodiment, the device control method of the RTSP server needs to be updated. Specifically, the user can write a new mapping of controllable actions and control parameters on the RTSP server, and trigger an update instruction of the device control method to update the specified device control method, and the update module will have new controllable actions and controls. The mapping of parameters is added to the device control method corresponding to the update instruction, and the device control method is completed. new.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例提供的上述技术方案,可以应用于终端控制过程中,通过在RTSP客户端和RTSP服务端建立RTSP的连接过程中,由RTSP服务端向RTSP客户端返回包括预设的设备控制方法的OPTION响应。在建立RTSP连接后,若RTSP客户端存在对RTSP服务端进行除媒体流控制之外的其它控制需求,可按照所述设备控制方法规定的格式基于建立的RTSP连接返回设备控制请求,供RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。相较于现有技术,本发明在需要对RTSP服务端进行除媒体流控制之外的其它控制时,可直接利用已经建立的RTSP连接进行设备控制请求的传输,而无需建立新的专用连接发送设备控制请求,也不需要借助额外的专用服务器转发设备控制请求,能够达到降低网络消耗的目的。 The foregoing technical solution provided by the embodiment of the present invention can be applied to the terminal control process, and the RTSP server returns a preset device control method to the RTSP client by establishing an RTSP connection between the RTSP client and the RTSP server. OPTION response. After the RTSP connection is established, if the RTSP client has other control requirements other than the media stream control for the RTSP server, the device control request may be returned based on the established RTSP connection according to the format specified by the device control method, for the RTSP service. The terminal extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter. Compared with the prior art, the present invention can directly use the established RTSP connection to perform device control request transmission without requiring a new dedicated connection to be sent when the RTSP server needs to perform other control than the media stream control. The device control request does not need to use an additional dedicated server to forward device control requests, which can reduce network consumption.

Claims (8)

  1. 一种终端控制方法,所述终端控制方法包括:A terminal control method includes:
    在接收到RTSP客户端发送的OPTION请求时,RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立RTSP连接;Upon receiving the OPTION request sent by the RTSP client, the RTSP server returns an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive the OPTION response according to the received The RSTP server establishes an RTSP connection;
    所述RTSP服务端通过建立的所述RTSP连接接收所述RTSP客户端基于接收的所述设备控制方法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;The RTSP server receives, by the established RTSP connection, a device control request sent by the RTSP client based on the received device control method, where the device control request includes other control requests except media flow control ;
    所述RTSP服务端基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并执行所述控制参数对应的动作。And the RTSP server extracts the control parameter carried by the received device control request according to the device control method, and performs an action corresponding to the control parameter.
  2. 根据权利要求1所述的终端控制方法,其中,所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤之前,还包括:The terminal control method according to claim 1, wherein before the step of returning the OPTION response carrying the preset device control method to the RTSP client, the RTSP server further includes:
    在接收到RTSP客户端发送的OPTION请求时,所述RTSP服务端提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作;Upon receiving the OPTION request sent by the RTSP client, the RTSP server extracts and performs an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
    在鉴权通过时,执行所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤。When the authentication is passed, the RTSP server is returned to the RTSP client to return an OPTION response carrying a preset device control method.
  3. 根据权利要求2所述的终端控制方法,其中,所述RTSP服务端向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应的步骤包括:The terminal control method according to claim 2, wherein the step of returning, by the RTSP server, the OPTION response carrying the preset device control method to the RTSP client comprises:
    在鉴权通过时,所述RTSP服务端基于所述鉴权信息确定所述RTSP客户端的身份级别; When the authentication is passed, the RTSP server determines an identity level of the RTSP client based on the authentication information;
    所述RTSP服务端基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。The RTSP server sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client based on the mapping relationship between the preset identity level and the device control method.
  4. 根据权利要求1-3任一项所述的终端控制方法,其中,所述终端控制方法还包括:The terminal control method according to any one of claims 1 to 3, wherein the terminal control method further comprises:
    在接收到设备控制方法的更新指令时,所述RTSP服务端基于所述更新指令调整对应的设备控制方法。Upon receiving the update instruction of the device control method, the RTSP server adjusts the corresponding device control method based on the update instruction.
  5. 一种终端控制装置,其中,所述终端控制装置包括:A terminal control device, wherein the terminal control device comprises:
    响应模块,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应,以供所述RTSP客户端基于接收的所述OPTION响应与所述RSTP服务端建立RTSP连接;The response module is configured to, when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, return an OPTION response carrying the preset device control method to the RTSP client, for the RTSP client to receive based on the RTSP client The OPTION response establishes an RTSP connection with the RSTP server;
    接收模块,设置为接收所述RTSP客户端基于接收的所述设备控制方法发送的设备控制请求,其中,所述设备控制请求包括除媒体流控制之外的其它控制请求;a receiving module, configured to receive a device control request sent by the RTSP client based on the received device control method, where the device control request includes a control request other than media flow control;
    执行模块,设置为基于所述设备控制方法提取接收的所述设备控制请求所携带的控制参数,并控制其所在RTSP服务端执行所述控制参数对应的动作。The execution module is configured to extract, according to the device control method, a control parameter carried by the received device control request, and control an action of the RTSP server where the control parameter is located.
  6. 根据权利要求5所述的终端控制装置,其中,所述终端控制装置还包括:The terminal control device according to claim 5, wherein the terminal control device further comprises:
    鉴权模块,设置为当其所在RTSP服务端接收到RTSP客户端发送的OPTION请求时,提取并基于所述OPTION请求携带的鉴权信息对所述RTSP客户端进行鉴权操作; The authentication module is configured to: when the RTSP server that is located at the RTSP server receives the OPTION request sent by the RTSP client, extract and perform an authentication operation on the RTSP client based on the authentication information carried by the OPTION request;
    所述响应模块,还设置为在鉴权通过时,向所述RTSP客户端返回携带有预设的设备控制方法的OPTION响应。The response module is further configured to, when the authentication passes, return an OPTION response carrying the preset device control method to the RTSP client.
  7. 根据权利要求6所述的终端控制装置,其中,所述响应模块还设置为在鉴权通过时,基于所述鉴权信息确定所述RTSP客户端的身份级别;以及基于预设身份级别和设备控制方法的映射关系,向所述RTSP客户端发送携带其身份级别对应的设备控制方法的OPTION响应。The terminal control apparatus according to claim 6, wherein the response module is further configured to determine an identity level of the RTSP client based on the authentication information when authentication is passed; and based on a preset identity level and device control The mapping relationship of the method sends an OPTION response carrying the device control method corresponding to its identity level to the RTSP client.
  8. 根据权利要求6-7任一项所述的终端控制装置,其中,所述终端控制装置还包括:The terminal control device according to any one of claims 6 to 7, wherein the terminal control device further comprises:
    更新模块,设置为当其所在RTSP服务端接收到设备控制方法的更新指令时,基于所述更新指令调整对应的设备控制方法。 The update module is configured to adjust a corresponding device control method based on the update instruction when the RTSP server at which the RTSP server is located receives the update instruction of the device control method.
PCT/CN2017/072871 2016-05-10 2017-02-04 Terminal control method and apparatus WO2017193651A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610305657.8 2016-05-10
CN201610305657.8A CN107360472A (en) 2016-05-10 2016-05-10 Terminal control method and device

Publications (1)

Publication Number Publication Date
WO2017193651A1 true WO2017193651A1 (en) 2017-11-16

Family

ID=60267919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072871 WO2017193651A1 (en) 2016-05-10 2017-02-04 Terminal control method and apparatus

Country Status (2)

Country Link
CN (1) CN107360472A (en)
WO (1) WO2017193651A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006077454A1 (en) * 2005-01-20 2006-07-27 Nokia Corporation Supporting service requests during media data transfer
CN101127772A (en) * 2007-09-25 2008-02-20 中兴通讯股份有限公司 Method for distributed processing of real time transfer of protocol signaling
CN101155260A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Control method, authentication method and server for electronic equipments
CN101662839A (en) * 2009-09-09 2010-03-03 深圳市融创天下科技发展有限公司 Method for increasing connection rate of wireless streaming media system
CN101924743A (en) * 2009-06-13 2010-12-22 华为技术有限公司 Method and device for acquiring and providing media data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20002437A (en) * 2000-11-07 2002-05-08 Nokia Corp Service flow control
CN101018318A (en) * 2007-02-25 2007-08-15 华为技术有限公司 A stream media system, signaling forward device and stream media transmission method
CN101309203B (en) * 2007-05-17 2011-03-16 中兴通讯股份有限公司 Network media service method
CN101123718B (en) * 2007-09-13 2011-12-21 华为技术有限公司 Multi-media ordering method and system
CN101854332B (en) * 2009-03-30 2013-04-24 华为软件技术有限公司 Method, device and system for processing streaming service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006077454A1 (en) * 2005-01-20 2006-07-27 Nokia Corporation Supporting service requests during media data transfer
CN101155260A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Control method, authentication method and server for electronic equipments
CN101127772A (en) * 2007-09-25 2008-02-20 中兴通讯股份有限公司 Method for distributed processing of real time transfer of protocol signaling
CN101924743A (en) * 2009-06-13 2010-12-22 华为技术有限公司 Method and device for acquiring and providing media data
CN101662839A (en) * 2009-09-09 2010-03-03 深圳市融创天下科技发展有限公司 Method for increasing connection rate of wireless streaming media system

Also Published As

Publication number Publication date
CN107360472A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
TWI441495B (en) Systems and methods for establishing connections between devices communicating over a network
US20180152745A1 (en) System and method for delegated authentication and authorization
US11284258B1 (en) Managing access of a computing device to a network
US9705864B2 (en) Media session resumption in web session restoration
WO2016127667A1 (en) Device binding method and device
US20150222601A1 (en) Systems for Securing Control and Data Transfer of Smart Camera
WO2017181894A1 (en) Method and system for connecting virtual private network by terminal, and related device
EP2713546A1 (en) Method and device for data transmission
WO2005112338A1 (en) Key distribution method
CN105391744A (en) Method and system for managing monitoring equipment
WO2009074070A1 (en) A method and equipment for uploading the real-time media content
WO2014183540A1 (en) Method and system for video surveillance content adaptation, and central server and device
KR101487123B1 (en) Method and apparatus for home network access by a trusted monitoring agent
CN108174151A (en) Video monitoring system and control method, the call method of video information
CN106412498B (en) monitoring data acquisition method and cloud terminal
US10878678B2 (en) Method and system for controlling cameras
JP2013138518A (en) Remote control device, remote control program, remote control method, and remote control system
EP2186290A2 (en) System and method for identifying encrypted conference media traffic
WO2011088651A1 (en) Internet protocol television system and implementation method thereof
CN110740300A (en) Multimedia data transmission method, system, client and video monitoring equipment
CN106302369A (en) Long-range Activiation method, device and the remote activation system of a kind of network monitoring device
WO2010096995A1 (en) Method for realizing convergent wapi network architecture with separate mac mode
WO2015117520A1 (en) Set top box management method, device and system
US9825942B2 (en) System and method of authenticating a live video stream
US20230254292A1 (en) Private and Secure Chat Connection Mechanism for Use in a Private Communication Architecture

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17795273

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17795273

Country of ref document: EP

Kind code of ref document: A1