CN114286040A - Deployment management method, device, system and storage medium - Google Patents

Deployment management method, device, system and storage medium Download PDF

Info

Publication number
CN114286040A
CN114286040A CN202010979546.1A CN202010979546A CN114286040A CN 114286040 A CN114286040 A CN 114286040A CN 202010979546 A CN202010979546 A CN 202010979546A CN 114286040 A CN114286040 A CN 114286040A
Authority
CN
China
Prior art keywords
media stream
rejection information
server
sending
receiving server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010979546.1A
Other languages
Chinese (zh)
Other versions
CN114286040B (en
Inventor
苑雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010979546.1A priority Critical patent/CN114286040B/en
Publication of CN114286040A publication Critical patent/CN114286040A/en
Application granted granted Critical
Publication of CN114286040B publication Critical patent/CN114286040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a deployment and control management method, a device, a system and a storage medium, the method determines whether a request for uploading real-time video stream is received through a media stream sending device, if yes, further determining whether to acquire rejection information, if yes, sending the rejection information to a media stream receiving server, further, the media stream receiving server ends the control task of the media stream sending device which sends the rejection information, i.e. when the media stream sending device is armed, e.g. when the mobile terminal is armed, it may send a rejection message to the media stream receiving server, therefore, the media stream receiving server stops initiating the video request to the media stream sending equipment, such as a mobile terminal, so that the flexibility of the control of the media stream sending equipment is improved, and the trouble caused to the actual user of the media stream sending equipment is avoided.

Description

Deployment management method, device, system and storage medium
Technical Field
The embodiment of the application relates to the technical field of intelligent control, in particular to a control management method, device and system and a storage medium.
Background
In a public safety intelligent analysis and control deployment scene, the deployment scene is mostly initiated by a media stream receiving server, for example, initiated by a deployment platform, and the end side instructed to initiate deployment is a media stream sending device, for example, a plurality of cameras arranged at a traffic-intensive position such as a gate or a crossing. And the control platform controls tasks for the designated bayonet and the designated camera group. The camera only has an online state and an offline state, but the current mobile terminal deployment, such as law enforcement recorder deployment, is a new trend in the industry. That is, the media stream transmission apparatus is set as a mobile terminal, which is a new trend. The mobile terminal is operated by a user, the service mode is different from that of a fixed camera, and the mobile terminal also has service characteristics such as busy user, refusal of control due to high-priority service of the user, termination of existing control of the user and the like besides online and offline states.
The existing camera deployment and control management process is as follows: on the deployment platform, if the intelligent analysis and deployment tasks exist, a request for uploading the real-time video stream is started to the camera, and if the camera is overtime and has no response, the deployment background can periodically pull the video stream. Correspondingly, if the mobile terminal deploys control according to the deployment control management process of the camera, the deployment control management process is as follows: the deployment and control platform initiates a request for pulling up the real-time video stream to the mobile terminal, and if the mobile terminal does not respond after time out, the deployment and control background can periodically pull the video stream.
However, when a mobile terminal is deployed, it may happen that: even if the real-time video is hung up by a terminal user, as long as the intelligent analysis and control task is not finished, the control background can still continue to initiate the video request to the terminal, so that the control flexibility of the mobile terminal is reduced, and troubles are caused to the actual user of the mobile terminal.
Disclosure of Invention
In order to solve the problems in the prior art, the present application provides a deployment and control management method, device, system and storage medium.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present application provides a deployment and control management method, including:
determining whether a request to upload a real-time video stream is received;
if the request for uploading the real-time video stream is received, determining whether rejection information is acquired;
and if the rejection information is acquired, sending the rejection information to a media stream receiving server, wherein the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
In a possible implementation manner, the sending the rejection information to a media stream receiving server includes:
and sending the rejection information to a Session Initiation Protocol (SIP) server, wherein the rejection information is used for indicating the SIP server to send the rejection information to a media server, and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a possible implementation manner, before the determining whether the request for uploading the real-time video stream is received, the method further includes:
receiving a connection request sent by the media stream receiving server;
and sending connection information to the media stream receiving server according to the connection request, wherein the connection information carries the type of the media stream sending equipment, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending equipment.
In a possible implementation manner, after the sending the rejection information to the media stream receiving server, the method further includes:
generating a control arrangement prompt after a preset time interval;
and if yes, sending the agreement information to the media stream receiving server, wherein the agreement information is used for indicating the media stream receiving server to start a control task of the media stream sending equipment.
In a second aspect, an embodiment of the present application provides another deployment and control management method, where the method includes:
determining whether rejection information is received;
if the rejection information is received, ending the control task of the media stream sending equipment sending the rejection information.
In one possible implementation, the determining whether rejection information is received includes:
and determining whether the rejection information sent by the SIP server is received or not, wherein the rejection information is sent to the SIP server by the media stream sending equipment, and is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a third aspect, an embodiment of the present application provides a deployment and control management apparatus, including:
the device comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining whether a request for uploading the real-time video stream is received;
the second determining module is used for determining whether rejection information is acquired or not if the request for uploading the real-time video stream is received;
and the processing module is used for sending the rejection information to a media stream receiving server if the rejection information is acquired, and the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
In a possible implementation manner, the processing module is specifically configured to:
and sending the rejection information to an SIP server, wherein the rejection information is used for indicating the SIP server to send the rejection information to a media server, and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a possible implementation manner, the apparatus further includes a connection module, configured to receive a connection request sent by the media stream receiving server before the first determining module determines whether the request for uploading the real-time video stream is received; and sending connection information to the media stream receiving server according to the connection request, wherein the connection information carries the type of the media stream sending equipment, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending equipment.
In one possible implementation manner, the processing module is further configured to:
generating a control arrangement prompt after a preset time interval;
and if yes, sending the agreement information to the media stream receiving server, wherein the agreement information is used for indicating the media stream receiving server to start a control task of the media stream sending equipment.
In a fourth aspect, an embodiment of the present application provides another deployment and control management apparatus, including:
a third determining module for determining whether rejection information is received;
and the control module is used for ending the control task of the media stream sending equipment which sends the rejection information if the rejection information is received.
In a possible implementation manner, the third determining module is specifically configured to:
and determining whether the rejection information sent by the SIP server is received or not, wherein the rejection information is sent to the SIP server by the media stream sending equipment, and is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a fifth aspect, an embodiment of the present application provides a deployment and control management system, including:
the media stream sending equipment is used for determining whether a request for uploading the real-time video stream is received or not, determining whether rejection information is acquired or not if the request for uploading the real-time video stream is received, and sending the rejection information to a media stream receiving server if the rejection information is acquired;
and the media stream receiving server is used for finishing the control task of the media stream sending equipment which sends the rejection information.
In a possible implementation manner, the system further comprises a SIP server and a media server;
the media stream sending device is further configured to send the rejection information to the SIP server;
and the SIP server is used for sending the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a sixth aspect, an embodiment of the present application provides a media stream transmission device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the deployment management method as set forth in the first aspect above and in various possible designs of the first aspect.
In a seventh aspect, an embodiment of the present application provides a media stream receiving server, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the deployment management method as set forth in the first aspect above and in various possible designs of the first aspect.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the deployment and control management method according to the first aspect and various possible designs of the first aspect are implemented.
In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the deployment and control management method according to the first aspect and various possible designs of the first aspect are implemented.
The deployment and control management method, device, system and storage medium provided by the embodiment of the application determine whether a request for uploading a real-time video stream is received through a media stream sending device, if yes, further determining whether to acquire rejection information, if yes, sending the rejection information to a media stream receiving server, further, the media stream receiving server ends the control task of the media stream sending device which sends the rejection information, i.e. when the media stream sending device is armed, e.g. when the mobile terminal is armed, it may send a rejection message to the media stream receiving server, therefore, the media stream receiving server stops initiating the video request to the media stream sending equipment, such as a mobile terminal, so that the flexibility of the control of the media stream sending equipment is improved, and the trouble caused to the actual user of the media stream sending equipment is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a deployment management system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a deployment management method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another deployment and control management method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another deployment management method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a deployment management device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another deployment management apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a deployment management system according to an embodiment of the present application;
fig. 8A is a diagram of a possible basic hardware architecture of a media streaming apparatus according to an embodiment of the present disclosure;
fig. 8B is a diagram of a basic hardware architecture of a media stream receiving server according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of this application and the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, a media stream sending device, for example, a camera deployment management process, includes: on a media receiving server, such as a deployment platform, if an intelligent analysis and deployment task exists, a request for uploading a real-time video stream is initiated to a camera, and if the camera does not respond after time out, a deployment background can periodically pull the video stream. Taking the technical requirements of information transmission, exchange and control of a public safety video monitoring networking system as an example, in the protocol flow of the GB-T28181, no flow of a media stream sending device for sending refusal hang-up exists, and only a process of a media receiving server for sending refusal information (BYE) exists.
Correspondingly, if the mobile terminal deploys the control according to the deployment and control management process, the deployment and control management process is as follows: the deployment and control platform initiates a request for pulling up the real-time video stream to the mobile terminal, and if the mobile terminal does not respond after time out, the deployment and control background can periodically pull the video stream. However, when a mobile terminal is deployed, it may happen that: even if the real-time video is hung up by a terminal user, as long as the intelligent analysis and control task is not finished, the control background can still continue to initiate the video request to the terminal, so that the control flexibility of the mobile terminal is reduced, and troubles are caused to the actual user of the mobile terminal.
Therefore, in view of the above problems, the present application provides a deployment management method, which can send rejection information (BYE information) to a media stream receiving server when a media stream sending device is deployed and controlled, for example, a mobile terminal is deployed and controlled, so that the media stream receiving server stops initiating a video request to the media stream sending device, for example, the mobile terminal, thereby improving flexibility of deployment and control of the media stream sending device and avoiding causing trouble to an actual user of the media stream sending device.
Optionally, the control and management method provided in the embodiment of the present application may be applied to an application scenario as shown in fig. 1. Fig. 1 only describes, by way of example, one possible application scenario of the deployment and control management method provided in the embodiment of the present application, and the application scenario of the deployment and control management method provided in the embodiment of the present application is not limited to the application scenario shown in fig. 1.
Fig. 1 is a schematic diagram of a deployment management system architecture. In fig. 1, the architecture takes a media stream sending device as an example of a mobile terminal. The architecture comprises a media stream receiving server and a mobile terminal.
It is to be understood that the illustrated structure of the embodiment of the present application does not form a specific limitation on the architecture of the deployment and control management system. In other possible embodiments of the present application, the foregoing architecture may include more or less components than those shown in the drawings, or combine some components, or split some components, or arrange different components, which may be determined according to practical application scenarios, and is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
In a specific implementation process, the media stream receiving server may perform deployment control on the mobile terminal, for example, the media stream receiving server initiates a request for pulling up a real-time video stream to the mobile terminal. And the mobile terminal uploads the video to the media stream receiving server according to the request.
If the mobile terminal obtains rejection information when the mobile terminal is controlled, for example, the terminal user rejects control due to high priority service or the terminal user terminates existing control, the mobile terminal can send the rejection information to the media stream receiving server, so that the media stream receiving server stops initiating a video request to the mobile terminal, the flexibility of control of the media stream sending device is improved, and troubles caused to the actual user of the media stream sending device are avoided.
In addition, the architecture also includes a SIP server and a media server.
The mobile terminal can send rejection information to the SIP server, and then the SIP server sends the rejection information to the media server, and sends the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
It should be understood that the system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a control management method provided in an embodiment of the present application, where an execution subject in the embodiment of the present application may be a media stream sending device, such as a mobile terminal, in the embodiment of fig. 1, and may be determined specifically according to an actual situation, which is not limited in the embodiment of the present application. As shown in fig. 2, the method may include:
s201: it is determined whether a request to upload a real-time video stream is received.
Here, the media stream sending device may first determine whether a request for uploading the real-time video stream is received, that is, determine whether the request is controlled, if the request is controlled, execute a subsequent flow, otherwise, stop a corresponding operation, and ensure that the subsequent processing is performed accurately.
In some possible embodiments, before determining whether the request for uploading the real-time video stream is received, the media stream sending device may further receive a connection request sent by the media stream receiving server, and send connection information to the media stream receiving server according to the connection request, where the connection information carries a type of the media stream sending device, and the connection information is used to instruct the media stream receiving server to establish a communication connection with the media stream sending device.
In this embodiment of the present application, before the media stream receiving server performs control on the media stream sending device, a communication connection needs to be established with the media stream sending device, that is, the media stream receiving server sends a connection request to the media stream sending device, after receiving the connection request, the media stream sending device sends connection information to the media stream receiving server according to the connection request, where the connection information carries a type of the media stream sending device, and further, the media stream receiving server establishes a communication connection with the media stream sending device according to the connection information. The type of the media stream sending device may be a mobile terminal, that is, the media stream receiving server determines the type of the media stream sending device first before controlling the media stream sending device, so that, after subsequently controlling the media stream sending device, if a rejection message sent by the media stream sending device is received, it may be determined whether to end the control task for the media stream sending device according to the determined type of the media stream sending device, for example, if the type of the media stream sending device is a mobile terminal, the control task for the media stream sending device is ended, and the application needs are met.
S202: and if the request for uploading the real-time video stream is received, determining whether rejection information is acquired.
Illustratively, if the media stream sending device receives the request for uploading the real-time video stream, it is further determined whether to acquire rejection information, taking the media stream sending device as a mobile terminal, where the mobile terminal determines whether the terminal user rejects deployment due to a high-priority service or whether the terminal user terminates existing deployment and the like, if so, a subsequent flow is executed, otherwise, the corresponding operation is stopped.
S203: and if the rejection information is acquired, sending the rejection information to a media stream receiving server, wherein the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
Here, if the media stream transmission apparatus acquires the rejection information, the rejection information is transmitted to the media stream reception server. For example, the media stream sending device may send the rejection information to the SIP server, where the rejection information is used to instruct the SIP server to send the rejection information to the media server, and send the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In this embodiment of the present application, the media stream sending device may send the rejection information to the SIP server, and the SIP server may reply a certain response, such as a 200OK response, to the media stream sending device after receiving the rejection information, and disconnect the session. The SIP server sends the rejection information to the media server, and disconnects the Invite session with the media server. The media server receives the rejection message and replies a certain response, such as a 200OK response, and the session is disconnected. And after receiving the response, the SIP server sends the rejection message to the media stream receiver. And after receiving the rejection message, the media stream receiver replies a certain response, such as a 200OK response, disconnects the session, and ends the control task of the media stream sending equipment.
As can be seen from the above description, in the embodiment of the present application, it is determined whether a request for uploading a real-time video stream is received through a media stream sending device, and if the request is received, it is further determined whether rejection information is obtained, and if the rejection information is obtained, the rejection information is sent to a media stream receiving server, so that the media stream receiving server ends a deployment task for the media stream sending device that sends the rejection information, that is, when the media stream sending device is deployed and controlled, for example, when a mobile terminal is deployed and controlled, the rejection information may be sent to the media stream receiving server, so that the media stream receiving server stops initiating a video request for the media stream sending device, for example, the mobile terminal, thereby improving flexibility of deployment and control of the media stream sending device, and avoiding causing trouble to an actual user of the media stream sending device.
In addition, in the embodiment of the present application, after the rejection information is sent to the media stream receiving server, it is further considered that a preset time interval elapses, a deployment control prompt is generated, and if agreement information is obtained according to the deployment control prompt, the agreement information is sent to the media stream receiving server, where fig. 3 is a schematic flow diagram of another deployment control management method provided in the embodiment of the present application. As shown in fig. 3, the method includes:
s301: it is determined whether a request to upload a real-time video stream is received.
S302: and if the request for uploading the real-time video stream is received, determining whether rejection information is acquired.
S303: and if the rejection information is acquired, sending the rejection information to a media stream receiving server, wherein the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
The steps S301 to S303 are the same as the steps S201 to S203, and are not described herein again.
S304: and generating a control prompt after a preset time interval.
The preset time interval may be determined according to actual conditions, and is not particularly limited in the embodiment of the present application.
Here, the media stream sending device may generate the deployment prompt after a period of time, and taking the media stream sending device as the mobile terminal as an example, the mobile terminal may generate the deployment prompt after a period of time to prompt the terminal user whether to deploy the mobile terminal.
S305: and if the agreement information is obtained according to the control arrangement prompt, sending the agreement information to the media stream receiving server, wherein the agreement information is used for indicating the media stream receiving server to start a control arrangement task of the media stream sending equipment.
In this embodiment of the present application, if the media stream sending device obtains the agreement information according to the control prompt, the agreement information is sent to the media stream receiving server, for example, the media stream sending device may send the agreement information to an SIP server, where the agreement information is used to instruct the SIP server to send the agreement information to the media server, and after receiving a certain response returned by the media server, the agreement information is sent to the media stream receiving server, and the media stream receiving server starts a control task for the media stream sending device.
According to the embodiment of the application, after the rejection information is sent to the media stream receiving server, a deployment and control prompt is generated by considering the preset time interval, and if the agreement information is obtained according to the deployment and control prompt, the agreement information is sent to the media stream receiving server, so that the media stream receiving server starts a deployment and control task for the media stream sending equipment, and the actual application needs are met. In addition, when the media stream sending device is controlled, for example, when the mobile terminal is controlled, the embodiment of the present application may send the rejection information to the media stream receiving server, so that the media stream receiving server stops initiating the video request to the media stream sending device, for example, the mobile terminal, thereby improving flexibility of controlling the media stream sending device and avoiding causing trouble to an actual user of the media stream sending device.
The above embodiment describes in detail the deployment management method according to the embodiment of the present application from the media stream transmitting device side, and the deployment management method provided by the embodiment of the present application will be described in detail below with reference to the following embodiment from the media stream receiving server side. It should be understood that some concepts, characteristics, and the like described on the media stream reception server side correspond to those on the media stream transmission apparatus side, and the overlapping description is appropriately omitted for the sake of brevity.
Fig. 4 is a flowchart illustrating another deployment and control management method according to an embodiment of the present application. The execution subject of this embodiment may be the media stream receiving server in fig. 1, and as shown in fig. 4, the method may include the following steps:
s401: it is determined whether rejection information is received.
For example, the media stream receiving server may determine whether the rejection information sent by the SIP server is received, where the rejection information is sent by the media stream sending device to the SIP server, and the rejection information is used to instruct the SIP server to send the rejection information to the media server, and send the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In this embodiment of the present application, before determining whether to receive rejection information, the media stream receiving server may further send a connection request to the media stream sending device, where the connection request is used to instruct the media stream sending device to return connection information, and the connection information carries a type of the media stream sending device, so that the media stream receiving server establishes a communication connection with the media stream sending device based on the connection information.
S402: if the rejection information is received, ending the control task of the media stream sending equipment sending the rejection information.
Here, after receiving the rejection information and ending the deployment task for the media stream sending device, the media stream receiving server may also receive agreement information sent by the media stream sending device, and start the deployment task for the media stream sending device according to the agreement information.
As can be seen from the above description, in the embodiment of the present application, the media stream receiving server determines whether rejection information is received, and if the rejection information is received, the deployment task for the media stream sending device that sends the rejection information is ended, that is, when the media stream sending device is deployed, for example, when the mobile terminal is deployed, the rejection information may be sent to the media stream receiving server, so that the media stream receiving server stops initiating a video request for the media stream sending device, for example, the mobile terminal, to improve flexibility of deployment of the media stream sending device, and to avoid causing a trouble to an actual user of the media stream sending device.
Fig. 5 is a schematic structural diagram of a deployment and control management apparatus according to an embodiment of the present application, which corresponds to the deployment and control management method according to the foregoing embodiment. For convenience of explanation, only portions related to the embodiments of the present application are shown. Fig. 5 is a schematic structural diagram of an administration and control device according to an embodiment of the present application, where the administration and control device 50 includes: a first determining module 501, a second determining module 502, a processing module 503, and a connecting module 504. The control management device may be the media stream transmitting apparatus itself, or a chip or an integrated circuit that implements the functions of the media stream transmitting apparatus. It should be noted here that the division of the first determining module, the second determining module, the processing module and the connecting module is only a division of logical functions, and the two may be integrated or independent physically.
The first determining module 501 is configured to determine whether a request for uploading a real-time video stream is received.
A second determining module 502, configured to determine whether rejection information is obtained if the request for uploading the real-time video stream is received.
The processing module 503 is configured to send the rejection information to a media stream receiving server if the rejection information is obtained, where the rejection information is used to instruct the media stream receiving server to end a deployment and control task for a media stream sending device that sends the rejection information.
In a possible implementation manner, the processing module 503 is specifically configured to:
and sending the rejection information to an SIP server, wherein the rejection information is used for indicating the SIP server to send the rejection information to a media server, and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
In a possible implementation manner, the connection module 504 is configured to receive a connection request sent by the media stream receiving server before the first determining module 501 determines whether a request for uploading a real-time video stream is received; and sending connection information to the media stream receiving server according to the connection request, wherein the connection information carries the type of the media stream sending equipment, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending equipment.
In a possible implementation manner, the processing module 503 is further configured to:
generating a control arrangement prompt after a preset time interval;
and if yes, sending the agreement information to the media stream receiving server, wherein the agreement information is used for indicating the media stream receiving server to start a control task of the media stream sending equipment.
The apparatus provided in the embodiment of the present application may be configured to execute the technical solutions of the method embodiments described in fig. 2 and fig. 3, and the implementation principles and technical effects are similar, which are not described herein again in the embodiment of the present application.
Fig. 6 is a schematic structural diagram of another deployment management device according to an embodiment of the present application. The deployment management apparatus 60 includes: a third determination module 601 and a deployment control module 602. The deployment management device may be the media stream receiving server itself, or a chip or an integrated circuit that implements the functions of the media stream receiving server. It should be noted here that the division of the third determining module and the controlling module is only a division of logical functions, and the third determining module and the controlling module may be integrated or independent physically.
The third determining module 601 is configured to determine whether rejection information is received.
And the deployment and control module 602 is configured to, if the rejection information is received, terminate a deployment and control task for the media stream sending device that sends the rejection information.
In a possible implementation manner, the third determining module 601 is specifically configured to:
and determining whether the rejection information sent by the SIP server is received or not, wherein the rejection information is sent to the SIP server by the media stream sending equipment, and is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
The apparatus provided in the embodiment of the present application may be configured to implement the technical solution of the method embodiment shown in fig. 4, which has similar implementation principles and technical effects, and is not described herein again in the embodiment of the present application.
Fig. 7 is a schematic structural diagram of a deployment management system according to an embodiment of the present application, where the deployment management system 70 includes:
the media stream sending device 701 is configured to determine whether a request for uploading a real-time video stream is received, determine whether rejection information is obtained if the request for uploading the real-time video stream is received, and send the rejection information to the media stream receiving server 702 if the rejection information is obtained.
The media stream receiving server 702 is configured to end the deployment and control task of the media stream sending device that sends the rejection information.
In one possible implementation, a SIP server 703 and a media server 704 are also included.
The media stream sending device 701 is further configured to send the rejection information to the SIP server 703.
The SIP server 703 is configured to send the rejection information to the media server 704, and send the rejection information to the media stream receiving server 702 after receiving a preset response returned by the media server 704.
According to the embodiment of the application, when the media stream sending device is controlled, for example, when the mobile terminal is controlled, the rejection information can be sent to the media stream receiving server, so that the media stream receiving server stops sending the video request to the media stream sending device, for example, the mobile terminal, the flexibility of controlling the media stream sending device is improved, and troubles caused to an actual user of the media stream sending device are avoided.
Alternatively, fig. 8A and 8B schematically provide one possible basic hardware architecture of the media stream sending device and the media stream receiving server described in the present application, respectively.
Referring to fig. 8A and 8B, the media stream transmitting apparatus and the media stream receiving server include at least one processor 801 and a communication interface 803. Further optionally, a memory 802 and a bus 804 may also be included.
Among them, in the media stream transmitting apparatus and the media stream receiving server, the number of the processors 801 may be one or more, and fig. 8A and 8B only illustrate one of the processors 801. Alternatively, the processor 801 may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or a Digital Signal Processing (DSP). If the media stream transmission apparatus and the media stream reception server have a plurality of processors 801, the types of the plurality of processors 801 may be different, or may be the same. Alternatively, the plurality of processors 801 of the media stream transmission apparatus and the media stream reception server may also be integrated into a multi-core processor.
Memory 802 stores computer instructions and data; the memory 802 may store computer instructions and data necessary to implement the above-described deployment management methods provided herein, e.g., the memory 802 stores instructions for implementing the steps of the above-described deployment management methods. The memory 802 may be any one or any combination of the following storage media: nonvolatile memory (e.g., Read Only Memory (ROM), Solid State Disk (SSD), hard disk (HDD), optical disk), volatile memory.
The communication interface 803 may provide information input/output for the at least one processor. Any one or any combination of the following devices may also be included: a network interface (e.g., an ethernet interface), a wireless network card, etc. having a network access function.
Optionally, the communication interface 803 may also be used for data communication between the media stream transmitting device and the media stream receiving server and other computing devices or terminals.
Further alternatively, fig. 8A and 8B show the bus 804 by a thick line. A bus 804 may connect the processor 801 with the memory 802 and the communication interface 803. Thus, via bus 804, processor 801 may access memory 802 and may also interact with other computing devices or terminals using communication interface 803.
In this application, the media stream sending device and the media stream receiving server execute the computer instructions in the memory 802, so that the media stream sending device and the media stream receiving server implement the deployment and control management method provided in this application, or the media stream sending device and the media stream receiving server deploy the deployment and control management apparatus.
From the viewpoint of logical function division, illustratively, as shown in fig. 8A, a first determining module 501, a second determining module 502, a processing module 503, and a connecting module 504 may be included in the memory 802. The inclusion herein merely refers to that the instructions stored in the memory may, when executed, implement the functions of the first determining module, the second determining module, the processing module, and the connecting module, respectively, and is not limited to a physical structure.
Illustratively, as shown in fig. 8B, the memory 802 may further include a third determining module 601 and a controlling module 602. The inclusion herein merely refers to that the instructions stored in the memory may, when executed, implement the functions of the third determining module and the controlling module, respectively, and is not limited to a physical structure.
In addition, the media stream transmitting apparatus and the media stream receiving server may be implemented by software as in fig. 8A and 8B, or may be implemented by hardware as a hardware module or a circuit unit.
The present application provides a computer-readable storage medium, and the computer program product includes computer instructions that instruct a computing device to execute the deployment management method provided in the present application.
The present application provides a chip comprising at least one processor and a communication interface providing information input and/or output for the at least one processor. Further, the chip may also include at least one memory for storing computer instructions. The at least one processor is used for calling and running the computer instructions to execute the deployment and control management method provided by the application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

Claims (13)

1. A deployment and control management method is characterized by comprising the following steps:
determining whether a request to upload a real-time video stream is received;
if the request for uploading the real-time video stream is received, determining whether rejection information is acquired;
and if the rejection information is acquired, sending the rejection information to a media stream receiving server, wherein the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
2. The method of claim 1, wherein sending the rejection information to a media stream receiving server comprises:
and sending the rejection information to a Session Initiation Protocol (SIP) server, wherein the rejection information is used for indicating the SIP server to send the rejection information to a media server, and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
3. The method of claim 1, prior to said determining whether a request to upload a live video stream is received, further comprising:
receiving a connection request sent by the media stream receiving server;
and sending connection information to the media stream receiving server according to the connection request, wherein the connection information carries the type of the media stream sending equipment, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending equipment.
4. The method according to any one of claims 1 to 3, further comprising, after said sending the rejection information to a media stream receiving server:
generating a control arrangement prompt after a preset time interval;
and if yes, sending the agreement information to the media stream receiving server, wherein the agreement information is used for indicating the media stream receiving server to start a control task of the media stream sending equipment.
5. A deployment and control management method is characterized by comprising the following steps:
determining whether rejection information is received;
if the rejection information is received, ending the control task of the media stream sending equipment sending the rejection information.
6. The method of claim 5, wherein the determining whether rejection information is received comprises:
and determining whether the rejection information sent by the SIP server is received or not, wherein the rejection information is sent to the SIP server by the media stream sending equipment, and is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
7. A deployment management apparatus, comprising:
the device comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining whether a request for uploading the real-time video stream is received;
the second determining module is used for determining whether rejection information is acquired or not if the request for uploading the real-time video stream is received;
and the processing module is used for sending the rejection information to a media stream receiving server if the rejection information is acquired, and the rejection information is used for indicating the media stream receiving server to finish the control task of the media stream sending equipment which sends the rejection information.
8. A deployment management apparatus, comprising:
a third determining module for determining whether rejection information is received;
and the control module is used for ending the control task of the media stream sending equipment which sends the rejection information if the rejection information is received.
9. A deployment management system, comprising:
the media stream sending equipment is used for determining whether a request for uploading the real-time video stream is received or not, determining whether rejection information is acquired or not if the request for uploading the real-time video stream is received, and sending the rejection information to a media stream receiving server if the rejection information is acquired;
and the media stream receiving server is used for finishing the control task of the media stream sending equipment which sends the rejection information.
10. The system of claim 9, further comprising a SIP server and a media server;
the media stream sending device is further configured to send the rejection information to the SIP server;
and the SIP server is used for sending the rejection information to the media server and sending the rejection information to the media stream receiving server after receiving a preset response returned by the media server.
11. A media stream transmission apparatus, characterized in that the apparatus comprises: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the orchestration management method according to any of claims 1-4.
12. A media stream receiving server, characterized in that the apparatus comprises: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the orchestration management method according to any of claims 5 or 6.
13. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the deployment management method according to any one of claims 1 to 6 is implemented.
CN202010979546.1A 2020-09-17 2020-09-17 Method, device, system and storage medium for managing distributed control Active CN114286040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010979546.1A CN114286040B (en) 2020-09-17 2020-09-17 Method, device, system and storage medium for managing distributed control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010979546.1A CN114286040B (en) 2020-09-17 2020-09-17 Method, device, system and storage medium for managing distributed control

Publications (2)

Publication Number Publication Date
CN114286040A true CN114286040A (en) 2022-04-05
CN114286040B CN114286040B (en) 2023-08-08

Family

ID=80867428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010979546.1A Active CN114286040B (en) 2020-09-17 2020-09-17 Method, device, system and storage medium for managing distributed control

Country Status (1)

Country Link
CN (1) CN114286040B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791147A (en) * 2004-12-15 2006-06-21 展讯通信(上海)有限公司 Method and apparatus for responding call of mobile station
CN1976346A (en) * 2006-12-01 2007-06-06 华为技术有限公司 Method system and apparatus for realizing video frequency cosharing Business
CN102546976A (en) * 2012-01-12 2012-07-04 前卫视讯(北京)科技发展有限公司 Commanding/scheduling method based on video surveillance and device
CN103200366A (en) * 2013-04-15 2013-07-10 中国联合网络通信集团有限公司 Long-distance shooting control method, network server and terminal equipment
US8943140B1 (en) * 2014-03-26 2015-01-27 Ankit Dilip Kothari Assign photographers on an event invite and automate requesting, uploading, and sharing of photos and videos for an event
CN105471935A (en) * 2014-08-12 2016-04-06 腾讯科技(深圳)有限公司 Information prompting method and information prompting device
CN105635625A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Video conversation method and device
CN105741535A (en) * 2016-03-10 2016-07-06 江苏南亿迪纳数字科技发展有限公司 Real time road condition on-demand method and system based on image or video
CN106686251A (en) * 2017-02-13 2017-05-17 北京奇虎科技有限公司 Calling request response method, calling request response device and wearable device
US20180351895A1 (en) * 2018-07-11 2018-12-06 Yogesh Rathod In the event of selection of message, invoking camera to enabling to capture media and relating, attaching, integrating, overlay message with/on/in captured media and send to message sender
CN109327620A (en) * 2018-11-19 2019-02-12 广东小天才科技有限公司 Mobile terminal call processing method, device, mobile terminal and storage medium
CN110536100A (en) * 2019-09-02 2019-12-03 视联动力信息技术股份有限公司 A kind of recording method and system of view networking meeting
CN110599774A (en) * 2019-08-23 2019-12-20 绍兴文理学院 Traffic violation processing method and system based on block chain
CN110933357A (en) * 2019-11-18 2020-03-27 深圳明心科技有限公司 Method and system for integrating monitoring system with video conference system
CN111629250A (en) * 2020-05-28 2020-09-04 海信视像科技股份有限公司 Display device and video playing method

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791147A (en) * 2004-12-15 2006-06-21 展讯通信(上海)有限公司 Method and apparatus for responding call of mobile station
CN1976346A (en) * 2006-12-01 2007-06-06 华为技术有限公司 Method system and apparatus for realizing video frequency cosharing Business
CN102546976A (en) * 2012-01-12 2012-07-04 前卫视讯(北京)科技发展有限公司 Commanding/scheduling method based on video surveillance and device
CN103200366A (en) * 2013-04-15 2013-07-10 中国联合网络通信集团有限公司 Long-distance shooting control method, network server and terminal equipment
US8943140B1 (en) * 2014-03-26 2015-01-27 Ankit Dilip Kothari Assign photographers on an event invite and automate requesting, uploading, and sharing of photos and videos for an event
CN105471935A (en) * 2014-08-12 2016-04-06 腾讯科技(深圳)有限公司 Information prompting method and information prompting device
CN105635625A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Video conversation method and device
CN105741535A (en) * 2016-03-10 2016-07-06 江苏南亿迪纳数字科技发展有限公司 Real time road condition on-demand method and system based on image or video
CN106686251A (en) * 2017-02-13 2017-05-17 北京奇虎科技有限公司 Calling request response method, calling request response device and wearable device
US20180351895A1 (en) * 2018-07-11 2018-12-06 Yogesh Rathod In the event of selection of message, invoking camera to enabling to capture media and relating, attaching, integrating, overlay message with/on/in captured media and send to message sender
CN109327620A (en) * 2018-11-19 2019-02-12 广东小天才科技有限公司 Mobile terminal call processing method, device, mobile terminal and storage medium
CN110599774A (en) * 2019-08-23 2019-12-20 绍兴文理学院 Traffic violation processing method and system based on block chain
CN110536100A (en) * 2019-09-02 2019-12-03 视联动力信息技术股份有限公司 A kind of recording method and system of view networking meeting
CN110933357A (en) * 2019-11-18 2020-03-27 深圳明心科技有限公司 Method and system for integrating monitoring system with video conference system
CN111629250A (en) * 2020-05-28 2020-09-04 海信视像科技股份有限公司 Display device and video playing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘龙;: "保卫手机通知栏, 拒绝广告推送", 电脑知识与技术(经验技巧), no. 10 *

Also Published As

Publication number Publication date
CN114286040B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN109617731A (en) Adaptive gateway role configuration method and device under a kind of multi-gateway environment
CN108702486A (en) A kind of low delay audio/video transmission method, device and computer readable storage medium
EP3493468A1 (en) Network function processing method and related device
CN112988346A (en) Task processing method, device, equipment and storage medium
CN107493486B (en) Method, system and terminal equipment for video playing termination
US10044777B2 (en) Method and device for communicating between at least a first terminal and a second terminal
US20150201164A1 (en) Camera control method, camera, and surveillance system
CN114286040A (en) Deployment management method, device, system and storage medium
CN111600808A (en) Information processing method and device for instant messaging
CN110768816B (en) Multimedia service exception protection method and device
CN110798647B (en) Device switching method and device in audio and video call process and storage medium
CN109600346B (en) Intercommunication method, central server, stream server and intercommunication system
CN111064915B (en) Audio and video call method, device, equipment and readable storage medium
CN113727152A (en) Method, device and storage medium for adjusting code rate
CN108093199B (en) Conference processing method and device
CN117435354B (en) Method, device and system for running algorithm model, electronic equipment and storage medium
CN108833206A (en) A kind of RCU goes offline judgment method, system, equipment and computer storage medium
CN109451266B (en) Remote control method and device
CN103458011A (en) Network interface controller binding method of multi-NIC computers in remote control
CN110233908B (en) Method and device for directly connecting network cable of android play box with computer
CN113434187B (en) Server and whiteboard version compatible method
CN117156599B (en) Session interaction method, apparatus, system, device, storage medium and program product
CN113747100B (en) Audio and video call method and device, storage medium and electronic equipment
CN111182158B (en) Call processing method, device and equipment
CN114025243A (en) Live screenshot obtaining method and device, storage medium and electronic equipment

Legal Events

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