WO2017193651A1 - Procédé et appareil de commande de terminal - Google Patents
Procédé et appareil de commande de terminal Download PDFInfo
- 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
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/643—Communication protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client 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/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client 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/25866—Management of end-user data
- H04N21/25875—Management 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.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
L'invention concerne un procédé et un appareil de commande de terminal. Le procédé de commande de terminal comprend les opérations suivantes : lors de la réception d'une requête OPTION envoyée par un client RTSP, une extrémité de desserte RTSP renvoie une réponse OPTION qui transporte un procédé de commande de dispositif préétabli au client RTSP, pour que le client RTSP établisse une connexion RTSP avec l'extrémité de desserte RTSP sur la base de la réponse OPTION reçue ; l'extrémité de desserte RTSP reçoit une requête de commande de dispositif envoyée par le client RTSP sur la base du procédé de commande de dispositif reçu par l'intermédiaire de la connexion RTSP établie, la requête de commande de dispositif comprenant d'autres requêtes de commande autres qu'une commande de flux multimédia ; et l'extrémité de desserte RTSP extrait un paramètre de commande transporté par la requête de commande de dispositif reçue sur la base du procédé de commande de dispositif, et réalise une action correspondant au paramètre de commande. La présente invention peut réduire la consommation de réseau entraînée par une autre commande sur l'extrémité de desserte RTSP autre que la commande de flux multimédia.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610305657.8 | 2016-05-10 | ||
| CN201610305657.8A CN107360472A (zh) | 2016-05-10 | 2016-05-10 | 终端控制方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017193651A1 true WO2017193651A1 (fr) | 2017-11-16 |
Family
ID=60267919
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/072871 Ceased WO2017193651A1 (fr) | 2016-05-10 | 2017-02-04 | Procédé et appareil de commande de terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107360472A (fr) |
| WO (1) | WO2017193651A1 (fr) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119865690A (zh) * | 2023-10-19 | 2025-04-22 | 北京小米移动软件有限公司 | 拍摄控制方法、装置及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006077454A1 (fr) * | 2005-01-20 | 2006-07-27 | Nokia Corporation | Prise en charge de demandes de service au cours d'un transfert de donnees multimedia |
| CN101127772A (zh) * | 2007-09-25 | 2008-02-20 | 中兴通讯股份有限公司 | 分布式处理实时传输协议信令的方法 |
| CN101155260A (zh) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | 电子设备的控制方法、鉴权方法和服务器 |
| CN101662839A (zh) * | 2009-09-09 | 2010-03-03 | 深圳市融创天下科技发展有限公司 | 一种提高无线流媒体系统连接速度的方法 |
| CN101924743A (zh) * | 2009-06-13 | 2010-12-22 | 华为技术有限公司 | 一种获取和提供媒体数据的方法及装置 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FI20002437A7 (fi) * | 2000-11-07 | 2002-05-08 | Nokia Corp | Palveluvirran ohjaaminen |
| CN101018318A (zh) * | 2007-02-25 | 2007-08-15 | 华为技术有限公司 | 一种流媒体系统、信令转发设备以及流媒体发送方法 |
| CN101309203B (zh) * | 2007-05-17 | 2011-03-16 | 中兴通讯股份有限公司 | 一种网络媒体服务方法 |
| CN101123718B (zh) * | 2007-09-13 | 2011-12-21 | 华为技术有限公司 | 多媒体点播的方法及系统 |
| CN101854332B (zh) * | 2009-03-30 | 2013-04-24 | 华为软件技术有限公司 | 流媒体业务的处理方法、装置及系统 |
-
2016
- 2016-05-10 CN CN201610305657.8A patent/CN107360472A/zh active Pending
-
2017
- 2017-02-04 WO PCT/CN2017/072871 patent/WO2017193651A1/fr not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006077454A1 (fr) * | 2005-01-20 | 2006-07-27 | Nokia Corporation | Prise en charge de demandes de service au cours d'un transfert de donnees multimedia |
| CN101155260A (zh) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | 电子设备的控制方法、鉴权方法和服务器 |
| CN101127772A (zh) * | 2007-09-25 | 2008-02-20 | 中兴通讯股份有限公司 | 分布式处理实时传输协议信令的方法 |
| CN101924743A (zh) * | 2009-06-13 | 2010-12-22 | 华为技术有限公司 | 一种获取和提供媒体数据的方法及装置 |
| CN101662839A (zh) * | 2009-09-09 | 2010-03-03 | 深圳市融创天下科技发展有限公司 | 一种提高无线流媒体系统连接速度的方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107360472A (zh) | 2017-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11284258B1 (en) | Managing access of a computing device to a network | |
| TWI441495B (zh) | 在網路上通信的裝置之間建立連接之系統及方法 | |
| US9326139B2 (en) | System and method for delegated authentication and authorization | |
| CN105391744B (zh) | 一种管理监控设备的方法及系统 | |
| US20150222601A1 (en) | Systems for Securing Control and Data Transfer of Smart Camera | |
| KR20160110349A (ko) | 장비 바인딩 방법 및 장치 | |
| CN103503378B (zh) | 用于通过可信监控代理的家庭网络接入的方法和装置 | |
| CN106664228B (zh) | 在cpe和配套设备之间进行共享 | |
| WO2014135050A1 (fr) | Procédé de traitement de message, dispositif, passerelle, boîtier décodeur, et système de télévision basé sur le protocole internet | |
| WO2009074070A1 (fr) | Procede et equipement de telechargement amont de contenu multimedia en temps reel | |
| WO2014183540A1 (fr) | Procédé et système d'adaptation de contenu de surveillance vidéo, et serveur central et dispositif | |
| CN106412498B (zh) | 一种监控数据获取方法和云终端 | |
| TW202038602A (zh) | 用於控制攝像機的方法和系統 | |
| WO2005112338A1 (fr) | Procede de distribution de cles | |
| CN103095831A (zh) | 维持心跳机制的方法、wlan客户端和程序服务器 | |
| US20230254292A1 (en) | Private and Secure Chat Connection Mechanism for Use in a Private Communication Architecture | |
| CN102938768A (zh) | 一种漫游用户跨域登陆、跨域进行监控业务的方法和装置 | |
| CN109474667B (zh) | 一种基于tcp和udp的无人机通信方法 | |
| CN110740300A (zh) | 多媒体数据的传输方法、系统、客户端及视频监控设备 | |
| WO2010096995A1 (fr) | Procédé de réalisation d'une architecture convergente de réseau wapi avec mode mac séparé | |
| WO2011088651A1 (fr) | Système de télévision basé sur le protocole internet et procédé pour sa mise en œuvre | |
| CN105743925A (zh) | 一种数据传输控制方法及视频监控系统 | |
| WO2016109404A1 (fr) | Système et procédé d'authentification d'un flux vidéo en direct | |
| WO2017193651A1 (fr) | Procédé et appareil de commande de terminal | |
| CN113949730B (zh) | 一种设备的通信方法和装置 |
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 |