CN114286040B - Method, device, system and storage medium for managing distributed control - Google Patents

Method, device, system and storage medium for managing distributed control Download PDF

Info

Publication number
CN114286040B
CN114286040B CN202010979546.1A CN202010979546A CN114286040B CN 114286040 B CN114286040 B CN 114286040B CN 202010979546 A CN202010979546 A CN 202010979546A CN 114286040 B CN114286040 B CN 114286040B
Authority
CN
China
Prior art keywords
media stream
rejection information
information
server
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.)
Active
Application number
CN202010979546.1A
Other languages
Chinese (zh)
Other versions
CN114286040A (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

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 method, a device, a system and a storage medium for controlling and managing, wherein the method determines whether a request for uploading a real-time video stream is received through a media stream sending device, if the request is received, whether rejection information is acquired is further determined, if the request is acquired, the rejection information is sent to a media stream receiving server, and then the media stream receiving server finishes the task of controlling the media stream sending device sending the rejection information, namely, when the media stream sending device is controlled, for example, a mobile terminal is controlled, the rejection information can be sent to the media stream receiving server, so that the media stream receiving server stops controlling the media stream sending device, for example, the mobile terminal, initiates the video request, the flexibility of controlling the media stream sending device is improved, and the trouble to the actual user of the media stream sending device is avoided.

Description

Method, device, system and storage medium for managing distributed control
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 public security intelligent analysis and control scenes, most of the control scenes are initiated by a media stream receiving server, for example, a control platform initiates, and the end side instructed to initiate control is media stream sending equipment, for example, a plurality of cameras arranged at the dense positions of people stream such as bayonets or intersections. And the control platform distributes control tasks for the appointed bayonet and the appointed camera group. The camera is only in an online state and an offline state, but at present, the mobile terminal is controlled by a law enforcement recorder, for example, so that the camera is a new trend in the industry. I.e. the media stream transmission device is set to mobile terminals to be new trend. The mobile terminal is operated by a user, and the service mode is different from that of a fixed camera, and besides the online and offline states, the mobile terminal also has service characteristics, such as busy user, refused control due to high-priority service of the user, terminated control existing by the user and the like.
The existing camera control management flow is as follows: on the control platform, if intelligent analysis and control tasks exist, a request for uploading real-time video streams is initiated to the camera, and if the camera is overtime and unresponsive, the control background can also periodically pull the video streams. Correspondingly, if the mobile terminal is distributed according to the camera distribution management flow, the distribution management flow is as follows: the control platform initiates a request for pulling up the real-time video stream to the mobile terminal, and if the mobile terminal has no response after overtime, the control background can also periodically pull up the video stream.
However, when the mobile terminal is controlled, it may occur that: even if the terminal user hangs up the real-time video, as long as the intelligent analysis and the control task are not finished, the control background can still continue to initiate the video request to the terminal, so that the flexibility of the control of the mobile terminal is reduced, and the trouble is caused to the actual user of the mobile terminal.
Disclosure of Invention
In order to solve the problems in the prior art, the application provides a method, a device, a system and a storage medium for controlling and managing.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for controlling and managing, where the method includes:
determining whether a request for uploading 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, the rejection information is sent to a media stream receiving server, wherein the rejection information is used for indicating the media stream receiving server to finish the task of controlling the media stream sending equipment sending the rejection information.
In one possible implementation manner, the sending the rejection information to the media stream receiving server includes:
And sending the rejection information to a session initiation protocol (Session Initiation Protocol, SIP) server, wherein the rejection information is used for instructing 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 one 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 device, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending device.
In one possible implementation manner, after the sending the rejection information to the media stream receiving server, the method further includes:
generating a cloth control prompt after a preset time interval;
and if the consent information is acquired according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a control task for the media stream sending device.
In a second aspect, an embodiment of the present application provides another method for controlling and managing, where the method includes:
determining whether rejection information is received;
and if the rejection information is received, ending the task of controlling the media stream sending equipment sending the rejection information.
In one possible implementation, the determining whether rejection information is received includes:
determining whether the rejection information sent by the SIP server is received, wherein the rejection information is sent to the SIP server by the media stream sending device, and the rejection information is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to a 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 management device, including:
the first determining module is used for determining whether a request for uploading the real-time video stream is received or not;
the second determining module is used for determining whether the 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, wherein the rejection information is used for indicating the media stream receiving server to finish the task of controlling the media stream sending equipment sending 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 system further comprises a connection module, configured to receive a connection request sent by the media stream receiving server before the first determination module 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 device, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending device.
In one possible implementation, the processing module is further configured to:
generating a cloth control prompt after a preset time interval;
and if the consent information is acquired according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a control task for the media stream sending device.
In a fourth aspect, an embodiment of the present application provides another fabric control management apparatus, including:
a third determining module, configured to determine whether rejection information is received;
and the control module is used for ending the control task of the media stream sending equipment sending the rejection information if the rejection information is received.
In one possible implementation manner, the third determining module is specifically configured to:
determining whether the rejection information sent by the SIP server is received, wherein the rejection information is sent to the SIP server by the media stream sending device, and the rejection information is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to a 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 management and control system, including:
the media stream sending device is used for determining whether a request for uploading the 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;
And the media stream receiving server is used for ending the task of controlling the media stream sending equipment sending the rejection information.
In one possible implementation, the method 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;
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 sending device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the method of administration as described above in the first aspect and the various possible designs of the first aspect.
In a seventh aspect, embodiments of the present application provide a media stream receiving server, including: at least one processor and memory;
the memory stores computer-executable instructions;
The at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the method of administration as described above in the first aspect and the various possible designs of the first aspect.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium, where computer executable instructions are stored, and when executed by a processor, implement the method for managing control according to the first aspect and the various possible designs of the first aspect.
In a ninth aspect, embodiments of the present application provide a computer readable storage medium, where computer executable instructions are stored, when executed by a processor, to implement the method for managing control according to the first aspect and the various possible designs of the first aspect.
According to the method, the device, the system and the storage medium for managing the distribution, whether a request for uploading the real-time video stream is received or not is determined through the media stream sending device, if the request is received, whether rejection information is acquired is further determined, if the rejection information is acquired, the rejection information is sent to the media stream receiving server, and then the media stream receiving server finishes the distribution task of the media stream sending device sending the rejection information, namely, when the media stream sending device is distributed, for example, when the mobile terminal is distributed, the rejection information can be sent to the media stream receiving server, so that the media stream receiving server stops distributing the media stream sending device, for example, the mobile terminal, initiates the video request, the flexibility of distributing the media stream sending device is improved, and the trouble to an actual user of the media stream sending device is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of a fabric control management system architecture according to an embodiment of the present application;
fig. 2 is a flow chart of a method for managing control according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for managing control according to an embodiment of the present disclosure;
fig. 4 is a flow chart of another method for managing control according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a management device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another configuration management device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a distributed management system according to an embodiment of the present application;
FIG. 8A is a schematic diagram of a basic hardware architecture of a media streaming device according to an embodiment of the present disclosure;
Fig. 8B is a schematic diagram of a possible basic hardware architecture of a media stream receiving server according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise 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 control management flow is: on a media receiving server, for example, a control platform, if intelligent analysis and control tasks exist, a request for uploading real-time video streams is initiated to a camera, and if the camera is overtime and has no response, a control background can also periodically pull the video streams. Taking the technical requirements of public safety video monitoring networking system information transmission, exchange and control as an example, in the GB-T28181 protocol flow, no media stream sending equipment sends a flow of refusing to hang up, and only a media receiving server sends a process of refusing information (BYE).
Correspondingly, if the mobile terminal is distributed according to the distribution management flow, the distribution management flow is as follows: the control platform initiates a request for pulling up the real-time video stream to the mobile terminal, and if the mobile terminal has no response after overtime, the control background can also periodically pull up the video stream. However, when the mobile terminal is controlled, it may occur that: even if the terminal user hangs up the real-time video, as long as the intelligent analysis and the control task are not finished, the control background can still continue to initiate the video request to the terminal, so that the flexibility of the control of the mobile terminal is reduced, and the trouble is caused to the actual user of the mobile terminal.
Therefore, in view of the above-mentioned problems, the present application provides a distribution management method, when a media stream sending device is distributed, for example, when a mobile terminal is distributed, the media stream sending device may send rejection information (BYE information) to a media stream receiving server, so that the media stream receiving server stops sending a video request to the media stream sending device, for example, the mobile terminal, and improves flexibility of distributing the media stream sending device, and avoids causing trouble to an actual user of the media stream sending device.
Optionally, the method for managing and controlling according to the embodiment of the present application may be applied to an application scenario as shown in fig. 1. Fig. 1 illustrates, by way of example only, one possible application scenario of the method for managing and controlling according to the embodiment of the present application, where the application scenario of the method for managing and controlling according to the embodiment of the present application is not limited to the application scenario illustrated in fig. 1.
FIG. 1 is a schematic diagram of a distributed management system architecture. In fig. 1, the architecture takes a media stream transmission device as an example of a mobile terminal. The architecture comprises a media stream receiving server and a mobile terminal.
It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the architecture of the administration management system. In other possible embodiments of the present application, the architecture may include more or fewer components than those illustrated, or some components may be combined, some components may be separated, or different component arrangements may be specifically determined according to the actual application scenario, and the present application 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 control on the mobile terminal, for example, the media stream receiving server initiates a request for pulling up the 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 refuses to control because of high priority service or the terminal user terminates to control, the mobile terminal can send the rejection information to the media stream receiving server, so that the media stream receiving server stops sending video requests to the mobile terminal, the flexibility of controlling the media stream sending equipment is improved, and the trouble to the actual user of the media stream sending equipment is avoided.
In addition, the architecture further comprises a SIP server and a media server.
The mobile terminal may send rejection information to the SIP server, and further, the SIP server sends the rejection information to the media server, and after receiving a preset response returned by the media server, sends the rejection information to the media stream receiving server.
It should be understood that, the system architecture and the service scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and are not limited to the technical solution provided in the embodiments of the present application, and those of ordinary skill in the art can know that, with the evolution of the system architecture and the appearance of the new service scenario, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of a method for managing management of distribution, which is provided in the embodiment of the present application, an execution body of the embodiment of the present application may be a media stream sending device, for example, a mobile terminal in the embodiment of fig. 1, and may be specifically determined according to an actual situation, which is not particularly 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 a real-time video stream is received, that is, determine whether to be controlled, if so, execute a subsequent procedure, otherwise, stop the corresponding operation, and ensure that the subsequent process is accurately performed.
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, 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, 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 the type of the media stream sending device, and then, the media stream receiving server establishes 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 performing the control on the media stream sending device, so that after the media stream sending device is subsequently controlled, if the rejection information sent by the media stream sending device is received, whether to end the control task on the media stream sending device may be determined 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 on the media stream sending device is ended, so as to meet the application requirement.
S202: if the request for uploading the real-time video stream is received, determining whether rejection information is acquired.
For example, if the media stream sending device receives the request for uploading the real-time video stream, it is further determined whether to obtain rejection information, taking the media stream sending device as a mobile terminal for example, where the mobile terminal determines whether the end user rejects the control due to the high priority service or whether the end user terminates the existing control, and if so, a subsequent procedure is performed, and if not, the corresponding operation is stopped.
S203: and if the rejection information is acquired, the rejection information is sent to a media stream receiving server, and the rejection information is used for indicating the media stream receiving server to finish the task of controlling the media stream sending equipment sending the rejection information.
Here, if the media stream transmission apparatus acquires the above-described rejection information, the above-described 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 to the media stream sending device with a response, for example, a 200OK response, after receiving the rejection message, and disconnect the session. The SIP server sends the rejection information to the media server, disconnecting the Invite session with the media server. After receiving the rejection message, the media server replies a certain response, such as a 200OK response, and the session is disconnected. After receiving the response, the SIP server sends the rejection message to the media stream receiver. After receiving the rejection message, the media stream receiver replies a certain response, such as a 200OK response, and the session is disconnected, so as to end the task of controlling the media stream sending device.
As can be seen from the foregoing description, in the embodiments of the present application, whether a request for uploading a real-time video stream is received is determined by a media stream sending device, if the request is received, whether rejection information is obtained is further determined, if the request is obtained, the rejection information is sent to a media stream receiving server, so that the media stream receiving server ends a task of controlling the media stream sending device sending the rejection information, that is, when the media stream sending device is controlled, for example, a mobile terminal is controlled, the rejection information can be sent to the media stream receiving server, thereby enabling the media stream receiving server to stop controlling the media stream sending device, for example, the mobile terminal, initiate a video request, improving flexibility of controlling the media stream sending device, and avoiding causing trouble to an actual user of the media stream sending device.
In addition, after the above-mentioned rejection information is sent to the media stream receiving server, the embodiment of the present application further considers that a preset time interval has elapsed, generates a control prompt, and if the consent information is obtained according to the control prompt, sends the consent information to the media stream receiving server, and fig. 3 is a flow chart of another control management method according to 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: 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, the rejection information is sent to a media stream receiving server, and the rejection information is used for indicating the media stream receiving server to finish the task of controlling the media stream sending equipment sending the rejection information.
The implementation manners of steps S301 to S303 are the same as those of steps S201 to S203, and are not repeated here.
S304: and generating a control prompt after a preset time interval.
The preset time interval may be determined according to practical situations, which is not particularly limited in the embodiment of the present application.
Here, the media stream sending device may generate a control prompt after a period of time, taking the media stream sending device as an example of a mobile terminal, and the mobile terminal may generate the control prompt after a period of time to prompt the terminal user whether to control the mobile terminal.
S305: and if the consent information is obtained according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start the control task of the media stream sending equipment.
In this embodiment of the present application, if the media stream sending device obtains the consent information according to the foregoing distribution prompt, the consent information is sent to the media stream receiving server, and by way of example, the media stream sending device may send the consent information to the SIP server, where the consent information is used to instruct the SIP server to send the consent information to the media server, and after receiving a certain response returned by the media server, send the consent information to the media stream receiving server, where the media stream receiving server starts a distribution task for the media stream sending device.
After the rejection information is sent to the media stream receiving server, the embodiment of the application also considers that a preset time interval is passed to generate a control prompt, and if the consent information is obtained according to the control prompt, the consent information is sent to the media stream receiving server, so that the media stream receiving server starts a control task for the media stream sending device, 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 application can send rejection information to the media stream receiving server, so that the media stream receiving server stops sending the media stream sending device, for example, the mobile terminal, initiates a video request, improves the flexibility of controlling the media stream sending device, and avoids the trouble to the actual user of the media stream sending device.
The foregoing embodiment describes in detail a management method for distribution according to an embodiment of the present application from a media stream transmission device side, and the following embodiment describes in detail the management method for distribution according to the embodiment of the present application from a media stream reception server side. It should be understood that certain concepts, characteristics, etc. described on the media stream receiving server side correspond to those described on the media stream transmitting device side, and duplicate descriptions are omitted as appropriate for brevity.
Fig. 4 is a flow chart of another method for managing control according to an embodiment of the present application. The execution body 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, 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, before determining whether to receive the 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: and if the rejection information is received, ending the task of controlling the media stream sending equipment sending the rejection information.
Here, after receiving the rejection information and ending the task of controlling the media stream sending device, the media stream receiving server may further receive the consent information sent by the media stream sending device, and start the task of controlling the media stream sending device according to the consent information.
As can be seen from the foregoing description, in the embodiments of the present application, whether the rejection information is received is determined by the media stream receiving server, if the rejection information is received, the task of controlling the media stream sending device sending the rejection information is ended, that is, when the media stream sending device is controlled, for example, when the mobile terminal is controlled, the rejection information may 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, initiates the video request, thereby improving the flexibility of controlling the media stream sending device, and avoiding the trouble to the actual user of the media stream sending device.
Corresponding to the above method for controlling and managing the embodiments, fig. 5 is a schematic structural diagram of the device for controlling and managing the embodiments of the present application. For convenience of explanation, only portions relevant to the embodiments of the present application are shown. Fig. 5 is a schematic structural diagram of a management device according to an embodiment of the present application, where the management device 50 includes: a first determination module 501, a second determination module 502, a processing module 503, and a connection module 504. The management device may be the media streaming device itself, or a chip or an integrated circuit for implementing the functions of the media streaming device. Here, the division of the first determining module, the second determining module, the processing module, and the connection module is only a division of a logic function, and both may be integrated or independent physically.
Wherein, 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 to obtain rejection information if the request for uploading the real-time video stream is received.
And a processing module 503, 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 task of controlling a media stream sending device that sends the rejection information.
In one 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 device, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending device.
In a possible implementation manner, the processing module 503 is further configured to:
generating a cloth control prompt after a preset time interval;
and if the consent information is acquired according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a control task for the media stream sending device.
The device provided in the embodiment of the present application may be used to implement the technical solutions of the embodiments of the methods described in fig. 2 and fig. 3, and its implementation principle and technical effects are similar, and the embodiments of the present application are not repeated here.
Fig. 6 is a schematic structural diagram of another configuration management device according to an embodiment of the present application. The management device 60 includes: the third determining module 601 and the controlling module 602. The management device may be the media stream receiving server itself, or a chip or an integrated circuit for realizing the functions of the media stream receiving server. It should be noted that, the division of the third determining module and the distributing module is only a division of a logic function, and the two may be integrated or independent physically.
The third determining module 601 is configured to determine whether rejection information is received.
And the control module 602 is configured to end the control task for the media stream sending device that sends the rejection information if the rejection information is received.
In a possible implementation manner, the third determining module 601 is specifically configured to:
determining whether the rejection information sent by the SIP server is received, wherein the rejection information is sent to the SIP server by the media stream sending device, and the rejection information is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to a media stream receiving server after receiving a preset response returned by the media server.
The device provided in the embodiment of the present application may be used to implement the technical solution of the embodiment of the method described in fig. 4, and its implementation principle and technical effects are similar, and the embodiment of the present application will not be described here again.
Fig. 7 is a schematic structural diagram of a distributed management system according to an embodiment of the present application, where the distributed 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 task of controlling the media stream sending device that sends the rejection information.
In one possible implementation, further includes a SIP server 703 and a media server 704.
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.
When the media stream sending device is controlled, for example, when the mobile terminal is controlled, the embodiment of the application can send rejection information to the media stream receiving server, so that the media stream receiving server stops sending the media stream sending device, for example, the mobile terminal, initiates a video request, improves the flexibility of controlling the media stream sending device, and avoids puzzlement to actual users of the media stream sending device.
Alternatively, fig. 8A and 8B schematically provide one possible basic hardware architecture of the media stream sending device and the media stream receiving server, respectively, as described herein.
Referring to fig. 8A and 8B, the media stream transmitting device 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.
Wherein the number of processors 801 may be one or more in the media stream sending device and the media stream receiving server, fig. 8A and 8B illustrate only one of the processors 801. Optionally, the processor 801 may be a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) or digital signal processing (Digital Signal Process, 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. Optionally, the multiple processors 801 of the media stream sending device and the media stream receiving server may also be integrated as a multi-core processor.
Memory 802 stores computer instructions and data; the memory 802 may store computer instructions and data required to implement the above-described administration management methods provided herein, e.g., the memory 802 stores instructions for implementing the steps of the above-described administration management methods. 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 an information input/output to the at least one processor. Any one or any combination of the following devices may also be included: a network interface (e.g., ethernet interface), a wireless network card, etc., having network access functionality.
Optionally, the communication interface 803 may also be used for data communication with other computing devices or terminals by a media stream sending device and a media stream receiving server.
Further alternatively, fig. 8A and 8B represent bus 804 with a bold line. Bus 804 may connect processor 801 with memory 802 and communication interface 803. Thus, through bus 804, processor 801 may access memory 802 and may also interact with other computing devices or terminals using communication interface 803.
In the present application, the media stream sending device and the media stream receiving server execute computer instructions in the memory 802, so that the media stream sending device and the media stream receiving server implement the above-mentioned distributed control management method provided in the present application, or the media stream sending device and the media stream receiving server deploy the above-mentioned distributed control management apparatus.
From a logical functional partitioning perspective, as illustrated in fig. 8A, the memory 802 may include a first determination module 501, a second determination module 502, a processing module 503, and a connection module 504. The inclusion herein is not limited to a physical structure, and may involve only the functions of the first determining module, the second determining module, the processing module, and the connecting module, respectively, when the instructions stored in the memory are executed.
For example, as shown in fig. 8B, the memory 802 may further include a third determining module 601 and a distributing module 602. The inclusion herein is not limited to a physical structure, and may involve only the functions of the third determining module and the controlling module, respectively, when the instructions stored in the memory are executed.
In addition, the media stream transmission device and the media stream reception server may be implemented in hardware as hardware modules or as circuit units, as well as in software as in fig. 8A and 8B.
The present application provides a computer-readable storage medium, the computer program product comprising computer instructions that instruct a computing device to perform the above-described method of administration provided herein.
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 configured to invoke and execute the computer instructions to execute the above-mentioned fabric control management method provided in the present application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.

Claims (12)

1. A method for controlling and managing media stream transmission equipment, comprising:
the media stream sending equipment determines whether a request for uploading the real-time video stream is received;
if the media stream sending equipment receives the request for uploading the real-time video stream, determining whether the rejection information of the media stream sending equipment is acquired;
if the media stream sending device acquires the rejection information, the media stream sending device sends 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 task of controlling the media stream sending device sending the rejection information;
After the sending the rejection information to the media stream receiving server, the method further comprises:
the media stream sending equipment generates a control prompt after a preset time interval;
and if the consent information is acquired according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a control task for the media stream sending device.
2. The method of claim 1, wherein said 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, further comprising, prior to said determining whether a request to upload a real-time video stream is received:
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 device, and the connection information is used for indicating the media stream receiving server to establish communication connection with the media stream sending device.
4. A method for controlling and managing a media stream, which is applied to a media stream receiving server, comprising the following steps:
after the media stream sending equipment receives a request for uploading the real-time video stream, the media stream receiving server determines whether rejection information is received or not;
if the rejection information is received, finishing the task of controlling the media stream sending equipment sending the rejection information;
after the preset time interval of the rejection information is acquired, receiving consent information sent by the media stream sending device, and starting a control task for the media stream sending device according to the consent information, wherein the consent information is used for indicating the media stream receiving server to start the control task for the media stream sending device.
5. The method of claim 4, wherein the determining whether rejection information is received comprises:
determining whether the rejection information sent by the SIP server is received, wherein the rejection information is sent to the SIP server by the media stream sending device, and the rejection information is used for indicating the SIP server to send the rejection information to the media server and sending the rejection information to a media stream receiving server after receiving a preset response returned by the media server.
6. A distributed management apparatus applied to a media stream transmission device, comprising:
the first determining module is used for determining whether a request for uploading the real-time video stream is received or not;
the second determining module is used for determining whether the rejection information is acquired or not if the request for uploading the real-time video stream is received;
the processing module is used for sending the rejection information to a media stream receiving server if the rejection information is acquired, wherein the rejection information is used for indicating the media stream receiving server to finish the task of controlling the media stream sending equipment sending the rejection information;
the processing module is further configured to: generating a cloth control prompt after a preset time interval; and if the consent information is acquired according to the control prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a control task for the media stream sending device.
7. A distributed control management device applied to a media stream receiving server, which is characterized by further comprising:
the third determining module is used for determining whether rejection information is received after the media stream sending equipment receives the request for uploading the real-time video stream;
The distribution control module is used for ending the distribution control task of the media stream sending equipment sending the rejection information if the rejection information is received;
the control module is further configured to receive, after a preset time interval of the rejection information is acquired, consent information sent by the media stream sending device, and start a control task for the media stream sending device according to the consent information, where the consent information is used to instruct the media stream receiving server to start the control task for the media stream sending device.
8. A distributed management system, comprising:
the media stream sending device is used for determining whether a request for uploading the 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;
the media stream receiving server is used for ending the task of distributing and controlling the media stream sending equipment which sends the rejection information;
the media stream sending device is further used for generating a control prompt after a preset time interval;
if the consent information is obtained according to the distribution prompt, the consent information is sent to the media stream receiving server, and the consent information is used for indicating the media stream receiving server to start a distribution task for the media stream sending equipment;
The media stream receiving server is further configured to initiate a task of controlling the media stream sending device according to the consent information, where the consent information is used to instruct the media stream receiving server to initiate a task of controlling the media stream sending device.
9. The system of claim 8, 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;
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.
10. A media stream transmission apparatus, the apparatus comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of administration management as claimed in any one of claims 1 to 3.
11. A media stream receiving server, the apparatus comprising: at least one processor and memory;
The memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of administration as claimed in any one of claims 4 or 5.
12. A computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the method of orchestration management according to any one of claims 1 to 5.
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 CN114286040A (en) 2022-04-05
CN114286040B true 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 (14)

* 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
CN109327620A (en) * 2018-11-19 2019-02-12 广东小天才科技有限公司 mobile terminal call processing method and 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020012220A1 (en) * 2018-07-11 2020-01-16 Yogesh Chunilal 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

Patent Citations (14)

* 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
CN109327620A (en) * 2018-11-19 2019-02-12 广东小天才科技有限公司 mobile terminal call processing method and 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
刘龙 ; .保卫手机通知栏,拒绝广告推送.电脑知识与技术(经验技巧).2015,(10),全文. *

Also Published As

Publication number Publication date
CN114286040A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US8755785B2 (en) Collaborative image control
US8452838B2 (en) Multimodal service session establishing and providing method, and multimodal service session establishing and providing system, and control program for same
KR20190088063A (en) Resource sharing methods, devices and systems
CN108650667B (en) Terminal scheduling method and device
WO2006044098A1 (en) Method for sessions including multiple resources
CN110266810A (en) Message receival method, equipment and storage medium based on MQTT agreement
CN108702486A (en) A kind of low delay audio/video transmission method, device and computer readable storage medium
CN112057846B (en) Interaction method, device, equipment and storage medium for cloud game service scheduling
CN111432158A (en) Load balancing method and device for media nodes, storage medium and electronic device
EP3257197B1 (en) Distribution of bandwidth in a network
CN116319790A (en) Rendering method, device, equipment and storage medium of full-true scene
CN115445194A (en) Rendering method, device and equipment of game and storage medium
US9473316B2 (en) Resource consumption reduction via meeting affinity
CN103581607B (en) The method that video flowing is transmitted to local endpoint host using remote shooting machine equipment
US20170214725A1 (en) Communication Method, Communication System, and Storage Medium Storing Communication Program
CN114286040B (en) Method, device, system and storage medium for managing distributed control
US11064156B2 (en) Camera control method, camera, and surveillance system
CN116980557A (en) Video conference management method and device
CN109819277A (en) A kind of 4K video broadcasting method and device
CN113765745A (en) Service performance testing method and device, terminal equipment and storage medium
CN117435354B (en) Method, device and system for running algorithm model, electronic equipment and storage medium
CN113037700B (en) Method, device, equipment and storage medium for loading boundary video service
KR100307194B1 (en) Method and apparatus for managing session and component in creative and new technology virtual application system
CN106209753B (en) Service control method, management server, client, service server and system
CN115834816A (en) Method for assisting terminal in utilizing server resources, server and storage medium

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