A method and device for sharing video streams of visual network monitoring
By introducing a video network co-transfer server between video network servers, the monitoring video stream is directly transmitted between the cooperative servers, which solves the problem of excessive network links in the prior art and improves the video streaming transmission rate and efficiency.
Patent Information
- Application Number
- CN202010256841.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-02
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2040-04-02
AI Technical Summary
In the existing video network monitoring video stream sharing method, the docking and sharing of monitoring resources and video streams need to be carried out through the GB/T28181 gateway and the monitoring access server, resulting in a longer network link, increasing network pressure, and reducing transmission rate and efficiency.
By introducing video network co-transfer servers between video network servers, using shared instructions and acquisition requests, monitoring video streams are directly transmitted between the servers, avoiding the second video network server or its corresponding co-transfer servers, and shortening the transmission chain reduces network pressure and improves transmission rate and efficiency.
It effectively shortens the transmission link of the monitoring video stream, reduces network pressure, and improves the transmission rate and sharing efficiency of the monitoring video stream.
Smart Images

Figure CN111556284B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of visual networking, and in particular to a method and device for sharing a monitoring video stream in a visual networking. Background Art
[0002] With the popularization and development of visual networking services, visual networking high-definition video interaction technology plays a vital role in the fields of high-definition video conferencing, video surveillance and remote training, and realizes real-time interconnection of high-definition quality video communications through a variety of terminal devices.
[0003] In the visual network, each visual network monitoring and management platform has achieved the connection with the monitoring resources and video streams of the monitoring and management platforms of third-party manufacturers in accordance with the information transmission requirements of GB / T28181. The monitoring resources and video streams can also be connected and shared between the visual network monitoring and management platforms. For example, the process of visual network monitoring and management platform B within the visual network obtaining the monitoring resources and video streams related to visual network monitoring and management platform A is to share the monitoring resources and video streams related to visual network monitoring and management platform A through the GB / T28181 gateway and the monitoring access server corresponding to visual network monitoring and management platform B to visual network monitoring and management platform B, so that the corresponding users of visual network monitoring and management platform B can retrieve and view the corresponding monitoring resources and video streams of visual network monitoring and management platform A.
[0004] However, in the current solution, the connection and sharing of monitoring resources and video streams between various visual network monitoring and management platforms must go through the GB / T28181 gateway and the corresponding monitoring access server, which makes the network link for transmitting monitoring resources and video streams longer, increases network pressure, and thus reduces the transmission rate of monitoring resources and video streams, and reduces the efficiency of connection and sharing of monitoring resources and video streams between visual network monitoring and management platforms. Summary of the invention
[0005] In view of the above problems, embodiments of the present invention are proposed to provide a method for sharing a visual network monitoring video stream and a corresponding device for sharing a visual network monitoring video stream that overcome the above problems or at least partially solve the above problems.
[0006] In order to solve the above problems, an embodiment of the present invention discloses a method for sharing a video stream of a visual network monitoring system, which is applied to a first visual network server. The method includes:
[0007] Receive a sharing instruction sent by a second visual network server, wherein the sharing instruction includes resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network coordination server storing the shared monitoring video stream;
[0008] In the case of receiving a first selection operation for the shared surveillance video stream, generating a first acquisition request according to the first selection operation, wherein the first acquisition request includes the resource identification information;
[0009] According to the interface information, the first acquisition request is sent to the visual network coordination server;
[0010] Receive the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and complete the sharing operation of the shared monitoring video stream.
[0011] The embodiment of the present invention also discloses a method for sharing a video stream monitored by a visual network, which is applied to a visual network cooperative conversion server. The method includes:
[0012] Upon receiving a first acquisition request sent by a first visual network server, retrieving a shared monitoring video stream corresponding to the resource identification information in the first acquisition request;
[0013] The shared surveillance video stream is sent to the first visual network server.
[0014] The embodiment of the present invention further discloses a device for sharing a video stream of a visual network monitoring system, which is applied to a first visual network server, and the device comprises:
[0015] A first receiving module is used to receive a sharing instruction sent by a second visual network server, wherein the sharing instruction includes resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network coordination server storing the shared monitoring video stream;
[0016] A first generating module is used to generate a first acquisition request according to a first selection operation for the shared surveillance video stream when receiving the first selection operation, wherein the first acquisition request includes the resource identification information;
[0017] A first sending module, used for sending the first acquisition request to the visual network coordination server according to the interface information;
[0018] The second receiving module is used to receive the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and complete the sharing operation of the shared monitoring video stream.
[0019] The embodiment of the present invention further discloses a device for sharing a video stream monitored by a visual network, which is applied to a visual network cooperative conversion server. The device includes:
[0020] A first retrieving module is used to retrieve a shared monitoring video stream corresponding to the resource identification information in the first acquisition request when receiving a first acquisition request sent by the first visual network server;
[0021] The third sending module is used to send the shared monitoring video stream to the first visual network server.
[0022] An embodiment of the present invention also provides a device, comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, enables the device to execute a method for sharing a visual network monitoring video stream as provided in the present invention.
[0023] In addition, an embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program that enables a processor to execute the method for sharing a visual network monitoring video stream provided by the present invention.
[0024] The embodiment of the present invention includes the following advantages: when the second visual network server shares the monitoring video stream stored on the coordination server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, and the sharing instruction includes resource identification information corresponding to the shared monitoring video stream to be shared, and interface information of the visual network coordination server storing the shared monitoring video stream. After receiving the sharing instruction, the first visual network server can generate a first acquisition request for the shared monitoring video stream when receiving the first selection operation input by the user for the shared monitoring video stream, and send the first acquisition request according to the received operation. The shared monitoring video stream is stored in the visual network cooperative conversion server, and the shared monitoring video stream returned directly by the visual network cooperative conversion server is received, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly from the storage party of the shared monitoring video stream (the visual network cooperative conversion server) to the receiving party of the shared monitoring video stream (the first visual network server), and does not need to pass through the second visual network server or the visual network cooperative conversion server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, and improving the transmission rate of the monitoring video stream, as well as the efficiency of sharing the monitoring video stream between the visual network servers. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of steps of a method for sharing a video stream of a visual network monitoring system of the present invention;
[0026] Figure 2 It is a structural diagram of a sharing system of a visual network monitoring video stream of the present invention;
[0027] Figure 3 It is a flowchart of the steps of another method for sharing a video stream of a visual network monitoring system of the present invention;
[0028] Figure 4 It is a flow chart of the interaction steps of a method for sharing a video stream of a visual network monitoring system of the present invention;
[0029] Figure 5 It is a structural diagram of another system for sharing video streams of visual network monitoring of the present invention;
[0030] Figure 6 It is a structural block diagram of a device for sharing video streams of visual network monitoring according to the present invention;
[0031] Figure 7 It is a structural block diagram of another device for sharing video streams of visual network monitoring according to the present invention. DETAILED DESCRIPTION
[0032] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0033] The present invention is applied to a sharing system of visual network monitoring video streams. When sharing monitoring video streams between visual network servers in the sharing system of visual network monitoring video streams, a first visual network server can receive a sharing instruction sent by a second visual network server, and generate a first acquisition request according to resource identification information corresponding to the shared monitoring video stream in the sharing instruction, and send the first acquisition request to the visual network coordination server according to the interface information of the visual network coordination server storing the shared monitoring video stream in the sharing instruction, and receive the shared monitoring video stream directly returned by the visual network coordination server, thereby completing the sharing process of the shared monitoring video stream. Since the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (visual network coordination server) to the receiving party of the shared monitoring video stream (first visual network server), it does not need to pass through the second visual network server or the visual network coordination server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, improving the transmission rate of the monitoring video stream, and the efficiency of sharing the monitoring video stream between each visual network server.
[0034] Reference Figure 1 , shows a flowchart of the steps of a method for sharing a video stream of a visual network monitoring system of the present invention, which can be applied to a first visual network server and can specifically include the following steps:
[0035] Step 101, receiving a sharing instruction sent by a second visual network server, wherein the sharing instruction includes resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network coordination server storing the shared monitoring video stream.
[0036] In this step, the first visual network server can receive a sharing instruction sent by the second visual network server, wherein the sharing instruction includes resource identification information corresponding to the shared monitoring video stream to be shared, and interface information of the visual network coordination server storing the shared monitoring video stream.
[0037] It should be noted that the first visual network server can be a monitoring management platform in the visual network, that is, a visual network monitoring network management and scheduling system, which is used to manage the monitoring video stream in the visual network.
[0038] Optionally, the resource identification information may include: identification information of the shared surveillance video stream, device information of the device that collects the shared surveillance video stream, and one or more of area information of the area to which the shared surveillance video stream belongs, that is, there is a corresponding relationship between the shared surveillance video stream and the resource identification information. The shared surveillance video stream may be a specific surveillance video collected by a certain surveillance device in a certain area, and the corresponding resource identification information may be the number of the surveillance device or the number of the area, or the number of the surveillance video, so that the shared surveillance video stream corresponding to the resource identification information can be determined based on the resource identification information.
[0039] Specifically, refer to Figure 2 , shows a structural diagram of a visual network monitoring video stream sharing system of the present invention, the visual network monitoring video stream sharing system includes a first visual network server 10, a second visual network server 20 and a visual network cooperative server 30, the visual network cooperative server 30 is a cooperative server corresponding to the second visual network server 20, that is, the second visual network server 20 contains resource identification information of the monitoring video stream that can be managed by the second visual network server 20, and the corresponding monitoring video stream is stored in the visual network cooperative server 30 corresponding to the second visual network server 20, so that the user can retrieve the monitoring video stream corresponding to the resource identification information from the corresponding visual network cooperative server 30 through the resource identification information in the second visual network server 20. Correspondingly, the user can also retrieve the monitoring video stream corresponding to the resource identification information from the cooperative server corresponding to the first visual network server 10 through the resource identification information in the first visual network server 10. However, the user cannot directly obtain the monitoring video stream stored in the visual network cooperative server 30 corresponding to the second visual network server 20 through the first visual network server 10.
[0040] Therefore, in the embodiment of the present invention, it is necessary to complete the sharing of the monitoring video stream between the first visual networking server 10 and the second visual networking server 20. First, when the second visual networking server actively shares the monitoring video stream stored in the visual networking cooperative server with the first visual networking server, the resource identification information corresponding to the shared monitoring video stream to be shared and the interface information of the visual networking cooperative server storing the shared monitoring video are determined.
[0041] Then, the second visual network server generates a sharing instruction based on the determined resource identification information and interface information, and determines the sharing recipient with which the shared monitoring video stream needs to be shared, and then sends the sharing instruction to the first visual network server by configuring the sharing recipient, that is, the visual network number of the first visual network server. Therefore, after receiving the sharing instruction, the first visual network server can determine the shared monitoring video stream to be shared by the second visual network server based on the resource identification information in the sharing instruction, and determine in which visual network coordination server the shared monitoring video stream is specifically stored based on the interface information in the sharing instruction.
[0042] Preferably, the second visual network server can send the sharing instruction to the first visual network server in the JavaScript object notation format according to the visual network 8f95 protocol. The visual network includes a variety of transmission protocols. The first corresponding relationship in the embodiment of the present invention can select the visual network 8F95 protocol for data transmission. The specification of the 8F95 protocol can be shown in the following Table 1:
[0043]
[0044] Table 1
[0045] Step 102: upon receiving a first selection operation for the shared surveillance video stream, generating a first acquisition request according to the first selection operation, wherein the first acquisition request includes the resource identification information.
[0046] In this step, after receiving the sharing instruction, if the first visual network server receives a first selection operation input by the user for the shared monitoring video stream, it means that the user needs to obtain the shared monitoring video stream, and thus, a first acquisition request can be generated.
[0047] Specifically, the first acquisition request may include resource identification information of the shared surveillance video stream.
[0048] Step 103: Send the first acquisition request to the visual network coordination server according to the interface information.
[0049] In this step, the first visual network server may send the first acquisition request to the visual network cooperation server according to the interface information of the visual network cooperation server storing the shared monitoring video stream in the received sharing instruction.
[0050] In an embodiment of the present invention, after determining that the user needs to obtain the shared surveillance video stream, the visual network cooperation server that stores the shared surveillance video stream can be determined, and thus a first acquisition request containing resource identification information of the shared surveillance video stream can be sent to the corresponding visual network cooperation server, so that after receiving the first acquisition request, the visual network cooperation server can determine the shared surveillance video stream that the first visual network server needs to obtain according to the resource identification information in the first acquisition request, thereby returning the shared surveillance video stream to the first visual network server.
[0051] Step 104, receiving the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and completing the sharing operation of the shared monitoring video stream.
[0052] In this step, the first visual network server can receive the shared monitoring video stream returned by the visual network cooperation server according to the first acquisition request, and display the shared monitoring video stream to the user, so that the user can directly obtain the monitoring video stream stored in the visual network cooperation server corresponding to the second visual network server through the first visual network server, thereby completing the sharing process of the monitoring video stream between the first visual network server and the second visual network server.
[0053] In summary, a method for sharing a visual network monitoring video stream provided by an embodiment of the present invention is applied to a first visual network server, comprising: receiving a sharing instruction sent by a second visual network server, the sharing instruction including resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network cooperative conversion server storing the shared monitoring video stream; upon receiving a first selection operation for the shared monitoring video stream, generating a first acquisition request according to the first selection operation, the first acquisition request including resource identification information; sending the first acquisition request to the visual network cooperative conversion server according to the interface information; receiving the shared monitoring video stream returned by the visual network cooperative conversion server according to the first acquisition request, and completing the sharing operation of the shared monitoring video stream. In the present invention, when the second visual network server shares the monitoring video stream stored on the cooperative conversion server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, the sharing instruction including the shared monitoring video stream to be shared. The resource identification information corresponding to the control video stream and the interface information of the visual network cooperation server storing the shared monitoring video stream are obtained, so that after receiving the sharing instruction, the first visual network server can generate a first acquisition request for the shared monitoring video stream according to the sharing instruction, and send the first acquisition request to the visual network cooperation server storing the shared monitoring video stream according to the interface information, and directly receive the shared monitoring video stream returned by the visual network cooperation server, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (visual network cooperation server) to the receiving party of the shared monitoring video stream (the first visual network server), and there is no need to pass through the second visual network server or the visual network cooperation server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, thereby improving the transmission rate of the monitoring video stream, and the efficiency of sharing the monitoring video stream between each visual network server.
[0054] Reference Figure 3 , shows a flowchart of another method for sharing a video stream of a visual network monitoring system of the present invention, which can be applied to a visual network coordination server and can specifically include the following steps:
[0055] Step 201, upon receiving a first acquisition request sent by a first visual network server, retrieve a shared monitoring video stream corresponding to resource identification information in the first acquisition request.
[0056] In this step, when the visual network coordination server receives the first acquisition request sent by the first visual network server, it can parse the first acquisition request to obtain the resource identification information in the first acquisition request, thereby determining the shared monitoring video stream corresponding to the resource identification information that the first visual network server needs to obtain, and then call the shared monitoring video stream through the resource identification information.
[0057] Step 202: Send the shared surveillance video stream to the first visual network server.
[0058] In this step, the visual network coordination server sends the retrieved shared monitoring video stream to the first visual network server.
[0059] To summarize, a method for sharing a visual network monitoring video stream provided by an embodiment of the present invention is applied to a visual network cooperative conversion server, comprising: upon receiving a first acquisition request sent by a first visual network server, retrieving a shared monitoring video stream corresponding to the resource identification information in the first acquisition request; sending the shared monitoring video stream to the first visual network server. In the present invention, when the second visual network server shares the monitoring video stream stored on the cooperative conversion server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, wherein the sharing instruction includes the resource identification information corresponding to the shared monitoring video stream to be shared, and the interface information of the visual network cooperative conversion server storing the shared monitoring video stream, so that the first visual network server can, after receiving the sharing instruction, A first acquisition request for the shared monitoring video stream is generated according to the sharing instruction, and the first acquisition request is sent to the visual network cooperation server storing the shared monitoring video stream according to the interface information, and the shared monitoring video stream returned by the visual network cooperation server is directly received, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (the visual network cooperation server) to the receiving party of the shared monitoring video stream (the first visual network server), without passing through the second visual network server or the visual network cooperation server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, thereby improving the transmission rate of the monitoring video stream, and the efficiency of sharing the monitoring video stream between the visual network servers.
[0060] Reference Figure 4 , shows a flow chart of the interactive steps of a method for sharing a visual network monitoring video stream of the present invention, which is applied to a sharing system of a network monitoring video stream including a first visual network server, a second visual network server and a visual network cooperative conversion server, and specifically may include the following steps:
[0061] Step 301: When receiving a second selection operation for the shared surveillance video stream, the first visual network server generates a second acquisition request according to the second selection operation, wherein the second acquisition request includes resource identification information of the shared surveillance video stream.
[0062] In an embodiment of the present invention, the second visual network server can actively share the monitoring video stream stored in the visual network cooperation server with the first visual network server, and the second visual network server can also passively share the monitoring video stream to the first visual network server after receiving the second acquisition request sent by the first visual network server.
[0063] Specifically, when a user of the first visual network server needs to obtain a shared monitoring video stream corresponding to a second visual network server, the user can input a second selection operation for the shared monitoring video stream through the first visual network server. Upon receiving the second selection operation, the first visual network server can generate a second acquisition request including resource identification information of the shared monitoring video stream and interface information of the visual network coordination server storing the shared monitoring video stream. The resource identification information of the shared monitoring video stream can be obtained by the user offline and input into the first visual network server.
[0064] Step 302: The first visual networking server sends the second acquisition request to the second visual networking server, so that the second visual networking server generates the sharing instruction according to the second acquisition request.
[0065] In this step, the first visual network server sends the generated second acquisition request to the second visual network server, so that the second visual network server can parse the second acquisition request and obtain the resource identification information in the second acquisition request, thereby determining the shared monitoring video stream corresponding to the resource identification information that the first visual network server needs to obtain, and determine the interface information of the visual network coordination server that stores the shared monitoring video stream based on the resource identification information.
[0066] Step 303: The second visual network server receives the second acquisition request and generates the sharing instruction according to the second acquisition request.
[0067] In this step, the second visual networking server can receive the second acquisition request sent by the first visual networking server, so as to determine the shared monitoring video stream that the first visual networking server needs to acquire and that corresponds to the resource identification information in the second acquisition request.
[0068] Furthermore, the second visual networking server needs to share the shared monitoring video stream with the first visual networking server.
[0069] First, determine the resource identification information corresponding to the shared surveillance video stream that needs to be shared, which is the resource identification information in the second acquisition request. Secondly, determine the interface information of the visual network coordination server that stores the shared surveillance video.
[0070] Then, the second visual network server generates a sharing instruction based on the determined resource identification information and interface information.
[0071] Step 304: The second visual network server sends the sharing instruction to the first visual network server.
[0072] In this step, the second visual network server can determine the shared recipient with which the shared monitoring video stream is to be shared, and thereby send the sharing instruction to the first visual network server by configuring the shared recipient, i.e., the visual network number of the first visual network server. Thus, after receiving the sharing instruction, the first visual network server can determine the shared monitoring video stream to be shared by the second visual network server based on the resource identification information in the sharing instruction, and determine in which visual network coordination server the shared monitoring video stream is specifically stored based on the interface information in the sharing instruction.
[0073] Step 305: The first visual network server receives the sharing instruction and adds the resource identification information in the sharing instruction to the resource identification information database of the first visual network server. The sharing instruction includes the resource identification information corresponding to the shared monitoring video stream that needs to be shared, and the interface information of the visual network coordination server that stores the shared monitoring video stream.
[0074] In this step, the first visual network server can receive the sharing instruction sent by the second visual network server, and add and update the resource identification information in the sharing instruction to the resource identification information database of the first visual network server.
[0075] Specifically, refer to Figure 5 , showing a structural diagram of another visual network monitoring video stream sharing system of the present invention, in which a third-party platform collects monitoring video streams, and transmits the monitoring video streams to each visual network coordination server in the visual network through a GB / T28181 gateway, and transmits resource identification information corresponding to the monitoring video streams to each visual network server in the visual network through the GB / T28181 gateway and each visual network coordination server.
[0076] Among them, GB / T28181 "Technical Requirements for Information Transmission, Exchange and Control of Security Video Surveillance Network System" is a set of protocols used for video interconnection in the public security field as stipulated by the state. This standard specifies the interconnection structure, communication protocol structure, basic requirements and security requirements for information transmission, exchange and control in the urban monitoring alarm network system, as well as the control, transmission process and protocol interface and other technical requirements. This standard is applicable to the design, system testing, acceptance and related equipment development and production of security monitoring alarm network system, and other information systems can refer to it for adoption.
[0077] For example, Figure 5 As shown, the third-party platform 60 collects the monitoring video stream, determines to collect the resource identification information corresponding to the monitoring video stream, pushes the resource identification information / monitoring video stream to the GB / T28181 gateway 50, and the GB / T28181 gateway 50 sends the resource identification information / monitoring video stream to the first visual network coordination server 40 according to the requirements of GB / T28181 monitoring resource transmission and GB / T28181 video stream transmission. The first visual network coordination server 40 can store the resource identification information / monitoring video stream. Further, the first visual network coordination server 40 can send the resource identification information to the first visual network server 10, and the first visual network server 10 can store the resource identification information in the resource identification information database. Therefore, the first visual network server 10 only stores the resource identification information obtained from the third-party platform 60, and the monitoring video stream corresponding to the resource identification information is stored in the first visual network coordination server 40 corresponding to the first visual network server 10.
[0078] Correspondingly, the second visual network server 20 may also store resource identification information obtained from the third-party platform 60, and the monitoring video stream corresponding to the resource identification information is stored in the first visual network coordination server 30 corresponding to the second visual network server 20.
[0079] It should be noted that, generally, the resource identification information stored in the first visual network server 10 and the resource identification information stored in the second visual network server 20 are different, that is, the monitoring video stream that the user can obtain through the first visual network server 10 is different from the monitoring video stream that the user can obtain through the second visual network server 20. Therefore, it is necessary to share the monitoring video stream between the first visual network server 10 and the second visual network server 20 so that the user can obtain the monitoring video stream stored in the second visual network coordination server 30 through the first visual network server 10.
[0080] It should be noted that, refer to Figure 5The resource identification information stored in the second visual network server 20 can be pushed to the first visual network server 10 through the GB / T28181 gateway 50 and the first visual network cooperation server 40, and the monitoring video stream stored in the second visual network cooperation server 30 can also be sent to the first visual network server 10 through the visual network sharing platform 70, the GB / T28181 gateway 50 and the first visual network cooperation server 40.
[0081] Specifically, the third-party platform may be a product for collecting surveillance video streams provided by third-party manufacturers such as Zhejiang Dahua, Advanced Video, Wave-Particle Technology, and Huawei Technologies.
[0082] In this step, after receiving the sharing instruction, the first visual network server can parse the sharing instruction to obtain the resource identification information in the sharing instruction, and add the resource identification information to the resource identification information database of the first visual network server and update it. The resource identification information database of the first visual network server originally only stored the resource identification information obtained from the third-party platform, but after the update, the resource identification information database of the first visual network server also stores the resource identification information shared by the second visual network server to the first visual network server.
[0083] Step 306: When the first visual network server receives the first selection operation for the shared surveillance video stream through the resource identification information database, the first visual network server generates the first acquisition request according to the first selection operation.
[0084] In this step, the user can select the shared surveillance video stream that needs to be obtained through the resource identification information database of the first visual network server. That is, after receiving the sharing instruction, if the first visual network server receives the first selection operation for the shared surveillance video stream input by the user through the resource identification information database, it means that the user needs to obtain the shared surveillance video stream, and thus, a first acquisition request can be generated.
[0085] Specifically, the first acquisition request may include resource identification information of the shared surveillance video stream.
[0086] Step 307: The first visual network server sends the first acquisition request to the visual network coordination server according to the interface information.
[0087] This step may be specifically referred to as the above step 103, which will not be described in detail here.
[0088] Step 308: Upon receiving the first acquisition request sent by the first visual network server, the visual network coordination server retrieves the shared monitoring video stream corresponding to the resource identification information in the first acquisition request.
[0089] This step may specifically refer to the above step 201, which will not be described in detail here.
[0090] Step 309: the visual network coordination server sends the shared monitoring video stream to the first visual network server.
[0091] This step may specifically refer to the above step 202, which will not be described in detail here.
[0092] Step 310: The first visual network server receives the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and completes the sharing operation of the shared monitoring video stream.
[0093] This step may be specifically referred to as step 104 above, which will not be described in detail here.
[0094] Step 311: The second visual network server generates a third acquisition request and sends the third acquisition instruction to the visual network coordination server. The third acquisition instruction includes local resource identification information corresponding to the local monitoring video stream that the second visual network server needs to obtain.
[0095] In this step, when the user needs to obtain the local monitoring video stream stored in the visual network cooperation server through the second visual network server, the user can input a third selection operation for the local monitoring video stream through the second visual network server. Upon receiving the third selection operation, the second visual network server generates a third acquisition request containing local resource identification information corresponding to the local monitoring video stream, and sends the third acquisition request to the visual network cooperation server.
[0096] Specifically, refer to Figure 2 , the second visual network server 20 can generate a third acquisition request and send the third acquisition request to the visual network coordination server 30.
[0097] Step 312: When the visual network coordination server receives the third acquisition request sent by the second visual network server, it retrieves the local monitoring video stream corresponding to the local resource identification information in the third acquisition request.
[0098] In this step, refer to Figure 2Since the visual network cooperation server 30 is the cooperation server corresponding to the second visual network server 20, that is, the monitoring video stream stored in the visual network cooperation server 30 corresponds to the resource identification information stored in the second visual network server 20, after receiving the third acquisition request sent by the second visual network server 20, the visual network cooperation server 30 can retrieve the local monitoring video stream corresponding to the local resource identification information from the local of the visual network cooperation server 30 according to the local resource identification information in the third acquisition request.
[0099] Step 313: the visual network coordination server sends the local monitoring video stream to the second visual network server.
[0100] In this step, refer to Figure 2 , the visual network coordination server 30 returns the local monitoring video stream to the second visual network server 20.
[0101] Step 314: The second visual network server receives the local monitoring video stream and completes the process of retrieving the local monitoring video stream.
[0102] In this step, the second visual network server can receive the local monitoring video stream returned by the visual network cooperation server according to the third acquisition request, and display the shared monitoring video stream to the user, so that the user can obtain the monitoring video stream stored in the visual network cooperation server corresponding to the second visual network server through the second visual network server, thereby completing the process of retrieving the local monitoring video stream.
[0103] In summary, a method for sharing a visual network monitoring video stream provided by an embodiment of the present invention is applied to a sharing system of a networked monitoring video stream including a first visual network server, a second visual network server and a visual network cooperative conversion server, including: receiving a sharing instruction sent by the second visual network server, the sharing instruction including resource identification information corresponding to the shared monitoring video stream to be shared, and interface information of the visual network cooperative conversion server storing the shared monitoring video stream; upon receiving a first selection operation for the shared monitoring video stream, generating a first acquisition request according to the first selection operation, the first acquisition request including resource identification information; sending the first acquisition request to the visual network cooperative conversion server according to the interface information; receiving the shared monitoring video stream returned by the visual network cooperative conversion server according to the first acquisition request, and completing the sharing operation of the shared monitoring video stream. In the present invention, when the second visual network server shares the monitoring video stream stored on the cooperative conversion server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, so that The sharing instruction includes resource identification information corresponding to the shared monitoring video stream that needs to be shared, and interface information of the visual network coordination server that stores the shared monitoring video stream, so that after receiving the sharing instruction, the first visual network server can generate a first acquisition request for the shared monitoring video stream according to the sharing instruction, and send the first acquisition request to the visual network coordination server that stores the shared monitoring video stream according to the interface information, and directly receive the shared monitoring video stream returned by the visual network coordination server, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (visual network coordination server) to the receiving party of the shared monitoring video stream (first visual network server), without passing through the second visual network server or the visual network coordination server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, and thus improving the transmission rate of the monitoring video stream, as well as the efficiency of sharing the monitoring video stream between each visual network server.
[0104] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0105] Reference Figure 6, shows a structural block diagram of a device for sharing a video stream of a visual network monitoring system of the present invention, which can be applied to a first visual network server and can specifically include the following modules:
[0106] The first receiving module 401 is used to receive a sharing instruction sent by the second visual network server, wherein the sharing instruction includes resource identification information corresponding to the shared monitoring video stream to be shared, and interface information of the visual network coordination server storing the shared monitoring video stream;
[0107] Optionally, the resource identification information includes: one or more of identification information of the shared surveillance video stream, device information of a device that collects the shared surveillance video stream, and area information of an area to which the shared surveillance video stream belongs.
[0108] A first generating module 402 is configured to generate a first acquisition request according to a first selection operation for the shared surveillance video stream upon receiving the first selection operation, wherein the first acquisition request includes the resource identification information;
[0109] Optionally, the first receiving module 401 includes:
[0110] A receiving submodule, configured to receive the sharing instruction and add the resource identification information in the sharing instruction to the resource identification information database of the first visual network server;
[0111] The first generating module 402 includes:
[0112] The generating submodule is used to generate the first acquisition request when a first selection operation for the shared monitoring video stream is received through the resource identification information database.
[0113] A first sending module 403, configured to send the first acquisition request to the visual network coordination server according to the interface information;
[0114] The second receiving module 404 is used to receive the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and complete the sharing operation of the shared monitoring video stream.
[0115] Optionally, the device further comprises:
[0116] A second generating module is used to generate a second acquisition request according to the second selection operation when receiving a second selection operation for the shared monitoring video stream, wherein the second acquisition request includes resource identification information of the shared monitoring video stream and interface information of a visual network coordination server storing the shared monitoring video stream;
[0117] The second sending module is used to send the second acquisition request to the second visual network server, so that the second visual network server generates the sharing instruction according to the second acquisition request.
[0118] In summary, an embodiment of the present invention provides a device for sharing a visual network monitoring video stream, which is applied to a first visual network server, and includes: receiving a sharing instruction sent by a second visual network server, the sharing instruction including resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network cooperative server storing the shared monitoring video stream; upon receiving a first selection operation for the shared monitoring video stream, generating a first acquisition request according to the first selection operation, the first acquisition request including resource identification information; sending the first acquisition request to the visual network cooperative server according to the interface information; receiving the shared monitoring video stream returned by the visual network cooperative server according to the first acquisition request, and completing the sharing operation of the shared monitoring video stream. In the present invention, when the second visual network server shares the monitoring video stream stored on the cooperative server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, the sharing instruction including resource identification information corresponding to the shared monitoring video stream to be shared. The resource identification information corresponding to the monitoring video stream and the interface information of the visual network cooperation server storing the shared monitoring video stream enable the first visual network server to generate a first acquisition request for the shared monitoring video stream according to the sharing instruction after receiving the sharing instruction, and send the first acquisition request to the visual network cooperation server storing the shared monitoring video stream according to the interface information, and directly receive the shared monitoring video stream returned by the visual network cooperation server, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (visual network cooperation server) to the receiving party of the shared monitoring video stream (first visual network server), without passing through the second visual network server or the visual network cooperation server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, and thus improving the transmission rate of the monitoring video stream, as well as the efficiency of sharing the monitoring video stream between each visual network server.
[0119] Reference Figure 7 , shows a structural block diagram of another device for sharing video streams of visual network monitoring of the present invention, the device can be applied to a visual network coordination server, and specifically may include the following modules:
[0120] A first retrieval module 501 is used to retrieve a shared monitoring video stream corresponding to the resource identification information in the first acquisition request when receiving a first acquisition request sent by the first visual network server;
[0121] The third sending module 502 is used to send the shared monitoring video stream to the first visual network server.
[0122] Optionally, the device further comprises:
[0123] A second retrieval module is used to retrieve a local monitoring video stream corresponding to the local resource identification information in the third acquisition request when receiving a third acquisition request sent by the second visual network server, wherein the third acquisition instruction includes the local resource identification information corresponding to the local monitoring video stream that the second visual network server needs to obtain;
[0124] The fourth sending module is used to send the local monitoring video stream to the second visual network server.
[0125] To summarize, an embodiment of the present invention provides a device for sharing a visual network monitoring video stream, which is applied to a visual network cooperative conversion server, including: when receiving a first acquisition request sent by a first visual network server, retrieving the shared monitoring video stream corresponding to the resource identification information in the first acquisition request; sending the shared monitoring video stream to the first visual network server. In the present invention, when the second visual network server shares the monitoring video stream stored on the cooperative conversion server corresponding to the second visual network server with the first visual network server, it can first send a sharing instruction to the first visual network server, wherein the sharing instruction includes the resource identification information corresponding to the shared monitoring video stream to be shared, and the interface information of the visual network cooperative conversion server storing the shared monitoring video stream, so that the first visual network server can, after receiving the sharing instruction, A first acquisition request for the shared monitoring video stream is generated according to the sharing instruction, and the first acquisition request is sent to the visual network cooperation server storing the shared monitoring video stream according to the interface information, and the shared monitoring video stream returned by the visual network cooperation server is directly received, thereby completing the sharing process of the shared monitoring video stream. In this process, the transmission link of the shared monitoring video stream is directly sent from the storage party of the shared monitoring video stream (the visual network cooperation server) to the receiving party of the shared monitoring video stream (the first visual network server), without passing through the second visual network server or the visual network cooperation server corresponding to the first visual network server, thereby shortening the transmission link of the shared monitoring video stream, reducing network pressure, thereby improving the transmission rate of the monitoring video stream, and the efficiency of sharing the monitoring video stream between the visual network servers.
[0126] Preferably, an embodiment of the present invention also provides a device, comprising one or more processors; and one or more machine-readable media having instructions stored thereon. When executed by the one or more processors, the device executes one or more of the above-mentioned methods for sharing visual network monitoring video streams, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0127] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program that enables a processor to execute the above-mentioned method for sharing a visual network monitoring video stream.
[0128] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0129] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0130] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0131] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0135] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0136] The above is a detailed introduction to a method and device for sharing a visual network monitoring video stream provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for sharing a video stream of a visual network monitoring system, characterized in that: Applied to the first visual network server, the method includes: Receive a sharing instruction sent by a second visual network server, wherein the sharing instruction includes resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network coordination server storing the shared monitoring video stream; In the case of receiving a first selection operation for the shared surveillance video stream, generating a first acquisition request according to the first selection operation, wherein the first acquisition request includes the resource identification information; According to the interface information, the first acquisition request is sent to the visual network coordination server; Receive the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and complete the sharing operation of the shared monitoring video stream.
2. The method according to claim 1, characterized in that The step of receiving a sharing instruction sent by the second visual network server includes: Receive the sharing instruction, and add the resource identification information in the sharing instruction to the resource identification information database of the first visual network server; The step of generating a first acquisition request according to the first selection operation upon receiving the first selection operation for the shared surveillance video stream specifically includes: When a first selection operation for the shared surveillance video stream is received through the resource identification information database, the first acquisition request is generated according to the first selection operation.
3. The method according to claim 1, characterized in that Before the step of receiving the sharing instruction sent by the second visual network server, the method further includes: In the case of receiving a second selection operation for the shared surveillance video stream, generating a second acquisition request according to the second selection operation, wherein the second acquisition request includes resource identification information of the shared surveillance video stream; The second acquisition request is sent to the second visual networking server, so that the second visual networking server generates the sharing instruction according to the second acquisition request.
4. The method according to claim 1, characterized in that: The resource identification information includes one or more of identification information of the shared surveillance video stream, device information of a device that collects the shared surveillance video stream, and area information of an area to which the shared surveillance video stream belongs.
5. A method for sharing a video stream of a visual network monitoring system, characterized in that: Applied to a visual network coordination server, the method includes: Upon receiving a first acquisition request sent by a first visual network server according to interface information, a shared monitoring video stream corresponding to the resource identification information in the first acquisition request is retrieved; the first acquisition request is generated by the first visual network server according to the first selection operation for the shared monitoring video stream after receiving a sharing instruction sent by a second visual network server; the sharing instruction includes the resource identification information corresponding to the shared monitoring video stream to be shared, and the interface information of the visual network coordination server storing the shared monitoring video stream; The shared surveillance video stream is sent to the first visual network server.
6. The method according to claim 5, characterized in that The method further comprises: Upon receiving a third acquisition request sent by the second visual network server, retrieving a local monitoring video stream corresponding to the local resource identification information in the third acquisition request, wherein the third acquisition request includes the local resource identification information corresponding to the local monitoring video stream that the second visual network server needs to obtain; The local monitoring video stream is sent to the second visual network server.
7. A device for sharing video streams of visual network monitoring, characterized in that: Applied to the first visual network server, the device comprises: A first receiving module is used to receive a sharing instruction sent by a second visual network server, wherein the sharing instruction includes resource identification information corresponding to a shared monitoring video stream to be shared, and interface information of a visual network coordination server storing the shared monitoring video stream; A first generating module is used to generate a first acquisition request according to a first selection operation for the shared surveillance video stream when receiving the first selection operation, wherein the first acquisition request includes the resource identification information; A first sending module, used for sending the first acquisition request to the visual network coordination server according to the interface information; The second receiving module is used to receive the shared monitoring video stream returned by the visual network coordination server according to the first acquisition request, and complete the sharing operation of the shared monitoring video stream.
8. A device for sharing video streams of visual network monitoring, characterized in that: Applied to a visual network coordination server, the device comprises: A first retrieval module is used to retrieve a shared monitoring video stream corresponding to the resource identification information in the first acquisition request when receiving a first acquisition request sent by the first visual network server according to the interface information; the first acquisition request is generated by the first visual network server according to the first selection operation for the shared monitoring video stream after receiving a sharing instruction sent by the second visual network server; the sharing instruction includes the resource identification information corresponding to the shared monitoring video stream to be shared, and the interface information of the visual network coordination server storing the shared monitoring video stream; The third sending module is used to send the shared monitoring video stream to the first visual network server.
9. A device for sharing video streams of visual network monitoring, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute the method for sharing a visual network monitoring video stream as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the method for sharing the visual network monitoring video stream as described in any one of claims 1 to 4.
11. A device for sharing video streams of visual network monitoring, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute the method for sharing a visual network monitoring video stream as described in any one of claims 5 to 6.
12. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the method for sharing the visual network monitoring video stream as described in any one of claims 5 to 6.
