A video management method, device, storage medium and system

By acquiring video storage information and determining video stream information from slave electronic devices in real time by the main electronic device, the problems of incomplete and unavailable video in the video management system are solved, the integrity and availability of video streams are realized, the initiation and playback process of video streams are optimized, and the user experience is improved.

CN116418943BActive Publication Date: 2025-11-11ZHEJIANG UNIVIEW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111652999.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-11-11
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Existing video management systems cannot effectively guarantee the integrity and availability of video channels when faced with malfunctions in electronic devices or monitoring equipment connections, resulting in incomplete or unusable video.

Method used

The main electronic device acquires video storage information from each slave electronic device in real time, determines the video stream information of the monitoring device, and feeds back the target video stream information when a client query command is detected, thereby achieving the integrity and availability of the video stream.

Benefits of technology

It effectively ensures the integrity and availability of video collected by various monitoring devices in the video management system, avoids the problem of incomplete video, and improves the user experience by optimizing video stream initiation and playback through multicast addresses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116418943B_ABST
    Figure CN116418943B_ABST
Patent Text Reader

Abstract

This invention discloses a video management method, apparatus, storage medium, and system. The method includes: a main electronic device acquiring video storage information sent by various slave electronic devices in real time; the main electronic device determining video stream information corresponding to each monitoring device based on the video storage information; wherein the video stream information includes time distribution information of at least one video segment and storage block information of the target storage block where the at least one video segment is located in the slave electronic device, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, the main electronic device acquires the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client. The technical solution provided by this invention can effectively ensure the integrity and availability of the videos collected by the various monitoring devices managed by the video management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video technology, and in particular to a video management method, apparatus, storage medium and system. Background Technology

[0002] With the rapid development of the video surveillance industry, an increasing number of video channels (each camera corresponding to one video channel) are being integrated into video management systems. Ensuring the integrity and availability of the video data from each channel becomes crucial during the management process. Summary of the Invention

[0003] This invention provides a video management method, apparatus, storage medium, and system that can effectively ensure the integrity and availability of the video collected by the various monitoring devices managed by the video management system.

[0004] In a first aspect, embodiments of the present invention provide a video management method applied to a video management system, wherein the video management system includes a master electronic device and at least two slave electronic devices, each slave electronic device being used to manage at least one monitoring device, and the method includes:

[0005] The main electronic device acquires video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: the storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block;

[0006] The main electronic device determines the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream information includes the time distribution information of at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located; the at least one video segment is acquired by the same monitoring device and the at least one video segment is stored in at least one slave electronic device.

[0007] When a video stream query command sent by a client is detected, the main electronic device obtains the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client.

[0008] Secondly, embodiments of the present invention also provide a video management device applied to a video management system, wherein the video management system includes a main electronic device and at least two slave electronic devices, each slave electronic device being used to manage at least one monitoring device, and the device includes: a video storage information acquisition module, used by the main electronic device to acquire video storage information sent by each slave electronic device in real time; wherein the video storage information includes: storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments being stored in the target storage block;

[0009] The video stream information determination module is used by the main electronic device to determine the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device;

[0010] The target video stream information acquisition module is used to acquire the target video stream information corresponding to the video stream query command when a video stream query command sent by the client is detected, and to feed back the target video stream information to the client.

[0011] Thirdly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the video management method provided in embodiments of the present invention.

[0012] Fourthly, embodiments of the present invention provide a video management system, which includes a master electronic device and at least two slave electronic devices, each slave electronic device being used to manage at least one monitoring device, wherein...

[0013] The main electronic device is used to acquire video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block; based on the video storage information, determine the video stream information corresponding to each monitoring device; wherein, the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, acquire the target video stream information corresponding to the video stream query command, and feed back the target video stream information to the client.

[0014] This invention provides a video management scheme applied to a video management system. The video management system includes a main electronic device and at least two slave electronic devices, each slave electronic device managing at least one monitoring device. The method includes: the main electronic device acquiring video storage information sent by each slave electronic device in real time; wherein the video storage information includes: storage block information of the target storage block where video segments acquired by each monitoring device managed by the slave electronic device are located in the slave electronic device, and the start and end times of the acquired video segments stored in the target storage block; the main electronic device determining video stream information corresponding to each monitoring device based on the video storage information; wherein the video stream information includes time distribution information of the at least one video segment and storage block information of the target storage block where the at least one video segment is located in the slave electronic device, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, the main electronic device acquires the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client. The technical solution provided by the embodiments of the present invention can effectively ensure the integrity and availability of the video collected by each monitoring device managed by the video management system, and avoid the problem of incomplete video collected by the monitoring device being queried. Attached Figure Description

[0015] Figure 1 A flowchart illustrating a video management method according to an embodiment of the present invention;

[0016] Figure 2 This is a schematic diagram of the structure of a video management device according to another embodiment of the present invention;

[0017] Figure 3 This is a schematic diagram of the structure of a video management system according to another embodiment of the present invention. Detailed Implementation

[0018] Embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. While some embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the invention. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the invention.

[0019] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0020] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0021] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0022] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0023] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0024] In related technologies, a video management system is constructed using a master + slave configuration. The master manages the slaves, and the slaves directly manage the monitoring devices in each video channel, storing the video data within each channel to expand video storage capacity and improve the stability of monitoring device management. The master only records the correspondence between each slave and the monitoring devices it manages; that is, the master only records which monitoring devices each slave manages. When a slave malfunctions, to ensure the stability of slave management, a backup slave typically takes over the managed monitoring devices. However, on the one hand, when the number of backup slaves is less than the number of malfunctioning slaves, the stability of monitoring device management cannot be adequately guaranteed; on the other hand, when the monitoring devices managed by the malfunctioning slave are attached to a backup slave, the video data originally stored in the malfunctioning slave cannot be retrieved, resulting in video incompleteness and unavailability.

[0025] Figure 1 This is a flowchart illustrating a video management method according to an embodiment of the present invention. This embodiment is applicable to the management of monitoring equipment. The method can be executed by a video management device, which may consist of hardware and / or software and is generally integrated into a video management system. The video management system includes a master electronic device and at least two slave electronic devices, each slave electronic device managing at least one monitoring device. Figure 1 As shown, the method specifically includes the following steps:

[0026] Step 110: The main electronic device acquires video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: the storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block.

[0027] The video management system includes a main electronic device and at least two slave electronic devices. The main electronic device communicates with each slave electronic device, and each slave electronic device communicates with at least one monitoring device to manage the monitoring devices, such as storing the monitoring videos acquired by each monitoring device. The monitoring devices can include cameras of different shapes, such as dome cameras and bullet cameras.

[0028] In this embodiment of the invention, each slave electronic device includes one or more storage blocks. Each monitoring device managed by the slave electronic device stores the video segments it acquires in units of storage blocks. It is understood that the slave electronic device acquires video segments collected by each monitoring device it manages and stores the video segments of each video channel (one video channel corresponding to each monitoring device) in storage blocks. Different video channels may have different storage blocks for their video segments, and due to storage space limitations, video segments corresponding to the same video channel may be stored in multiple storage blocks. The slave electronic device not only stores the video segments acquired by each monitoring device it manages but also records the storage information of the video segments acquired by each monitoring device. For example, it records which target storage blocks the video segments acquired by each monitoring device managed by the slave electronic device are stored in, and the start and end times of the video segments' storage in each target storage block.

[0029] In this embodiment of the invention, each slave electronic device sends its recorded video storage information to the master electronic device, thereby synchronizing the video storage information between the master electronic device and each slave electronic device. Specifically, each slave electronic device allocates a new storage block for a video channel and synchronizes the start and end times of the video segment stored in that storage block.

[0030] Step 120: The main electronic device determines the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device.

[0031] The video stream is a video stream composed of at least one video segment acquired by the same monitoring device. In this embodiment of the invention, the main electronic device determines the video stream information corresponding to the video streams acquired by each monitoring device based on video storage information. The video stream information includes the slave electronic device to which the at least one video segment constituting the corresponding video stream belongs (i.e., on which slave electronic device it is stored), the storage information of the target storage block within the slave electronic device (i.e., in which storage block of the slave electronic device it is stored), and the time distribution information of its storage in the target storage block within the slave electronic device. The time distribution information may include the start and end times of the target storage block within the slave electronic device for at least one video segment in the video stream corresponding to the video stream information.

[0032] It should be noted that during the video management system's management of video, one or more slave electronic devices may malfunction. Therefore, it is necessary to reassign new backup slave electronic devices or other non-backup slave electronic devices to take over the monitoring devices managed by the malfunctioning slave electronic devices. Alternatively, there may be situations where one or more monitoring devices experience network connection failures with slave electronic devices. In such cases, the monitoring device with the network connection failure needs to establish a network connection with a backup slave electronic device or other non-backup slave electronic device, meaning that the backup slave electronic device or other non-backup slave electronic device takes over the monitoring device. Given these two scenarios, in the video stream information corresponding to each monitoring device, at least one video segment of the video stream may belong to multiple slave electronic devices; that is, at least one video segment of the video stream may be stored on multiple different slave electronic devices. Because the main electronic device records the video stream information corresponding to each monitoring device, even if there are abnormalities in the slave electronic devices or abnormal connections of the monitoring devices during the video management process of the video surveillance system, and the monitoring devices may be taken over by other slave electronic devices, the main electronic device records the video stream information corresponding to the monitoring device in real time. When the abnormal slave electronic device is repaired, the video streams collected in the video channels of each monitoring device can be found through the video stream information corresponding to the monitoring devices stored in the main electronic device, which can ensure the integrity and uninterruptedness of the video stream.

[0033] Step 130: When a video stream query command sent by the client is detected, the main electronic device obtains the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client.

[0034] The video stream query command can carry the identification information of the video channel (i.e., the monitoring device) to which the video stream belongs. In this embodiment of the invention, when the main electronic device receives the video stream query command sent by the client, the main electronic device searches for the corresponding target video stream information based on the identification information of the video channel in the video stream query command. The target video stream information is the video stream information corresponding to the video stream collected by a certain monitoring device that the user wants to render and play on the client. The main electronic device feeds back the determined target video stream information to the client, allowing the user to clearly understand, through the target video stream information displayed on the client, which slave electronic devices (i.e., which slave electronic devices specifically store the video stream, or which slave electronic devices manage it), which target storage blocks on each slave electronic device specifically store it in, and the time distribution information in each target storage block. Furthermore, the client can further render and play the corresponding video stream based on the target video stream information.

[0035] This invention provides a video management method applied to a video management system, wherein the video management system includes a main electronic device and at least two slave electronic devices, each slave electronic device managing at least one monitoring device. The method includes: the main electronic device acquiring video storage information sent by each slave electronic device in real time; wherein the video storage information includes: storage block information of the target storage block where video segments acquired by each monitoring device managed by the slave electronic device are located in the slave electronic device, the start time and end time of the acquired video segments being stored in the target storage block; the main electronic device determining video stream information corresponding to each monitoring device based on the video storage information; wherein the video stream information includes time distribution information of the at least one video segment and storage block information of the target storage block where the at least one video segment is located in the slave electronic device, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, the main electronic device acquires the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client. The technical solution provided by the embodiments of the present invention can effectively ensure the integrity and availability of the video collected by each monitoring device managed by the video management system, and avoid the problem of incomplete video collected by the monitoring device being queried.

[0036] In some embodiments, after feeding back the target video stream information to the client, the method further includes: when the master electronic device detects a video playback command sent by the client, the master electronic device determines a target multicast address corresponding to the video playback command; the master electronic device determines a first target slave electronic device based on the target video stream information and sends the target multicast address to the first target slave electronic device; the first target slave electronic device transmits a video segment corresponding to the target video stream information to the target multicast address; the master electronic device sends the target multicast address to the client, so that the client reads and plays the video segment corresponding to the target video stream information from the target multicast address. The advantage of this configuration is that it allows for simple and fast initiation and playback of the video stream corresponding to the target video stream information, greatly shortening the initiation time and improving the user experience.

[0037] In related technologies, when a client needs to play a video stream, the client directly accesses the slave electronic device storing the video stream. When there are multiple slave electronic devices storing the video stream, it can easily lead to a slow start-up of the video stream. Alternatively, when a client needs to play a video stream, the client sends the video stream playback command to the master electronic device, which reads the video stream from the slave electronic device storing the video stream and then forwards the read video stream to the client, which takes a long time.

[0038] In this embodiment of the invention, when the main electronic device detects a video playback command sent by the client, the main electronic device determines a target multicast address corresponding to the video playback command. The main electronic device may also negotiate with each slave electronic device to determine the target multicast address corresponding to the video playback command. The target multicast address can be understood as an address used to store the video stream to be played. The main electronic device determines a first target slave electronic device based on the target video stream information. The first target slave electronic device can be understood as a slave electronic device used to store the video stream corresponding to the target video stream information. There can be one or more first target slave electronic devices; this embodiment of the invention does not limit the number of first target slave electronic devices. The main electronic device sends the target multicast address to the first target slave electronic device and the client. After receiving the target multicast address, the first target slave electronic device transmits each video segment corresponding to the target video stream information stored within it to the target multicast address. During the transmission of video segments to the target multicast address, the client reads each video segment transmitted by the first target slave electronic device from the target multicast address and plays it.

[0039] It should be noted that the first target device can send video segments to the target multicast address based on the time distribution information of each video segment in the target video stream information, according to the chronological order of each video segment corresponding to the target video stream, thereby ensuring the continuity and integrity of the video segments read by the client from the target multicast address.

[0040] In some embodiments, there are at least two first target slave electronic devices; the first target slave electronic devices transmitting video segments corresponding to the target video stream information to the target multicast address includes: according to the time distribution information of at least two consecutive video segments in the target video stream information, each first target slave electronic device transmitting the corresponding stored video segments corresponding to the target video stream information to the target multicast address; wherein, during the process of each first target slave electronic device transmitting the corresponding stored video segments corresponding to the target video stream information to the target multicast address, when the current first target slave electronic device transmits the corresponding stored video segments corresponding to the target video stream information to the target multicast address, Before a preset time elapses before the transmission of a video segment to the target multicast address ends, the master electronic device determines the first target slave electronic device where the next video segment is located; wherein, the current video segment is the video segment currently being transmitted to the target multicast address; when the first target slave electronic device where the next video segment is located is not the current first target slave electronic device, the master electronic device sends a video segment transmission command to the first target slave electronic device where the next video segment is located at a preset time start point, so that the first target slave electronic device where the next video segment is located transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address before the preset time ends. The advantage of this setting is that when there are multiple first target slave electronic devices used to store the video stream corresponding to the target video stream information, the smoothness and uninterruptedness of the client's video stream playback can be guaranteed.

[0041] In this embodiment of the invention, when there are multiple first target slave electronic devices used to store the video stream corresponding to the target video stream information, each first target slave electronic device transmits the corresponding stored video segment to the target multicast address according to the time distribution information of each consecutive video segment in the target video stream information. For example, the video stream corresponding to the target video stream information contains three video segments: video segment A, video segment B, and video segment C, and these three video segments constitute a continuous video stream in chronological order. Video segment A is stored in first target slave electronic device a, video segment B is stored in first target slave electronic device b, and video segment C is stored in first target slave electronic device c. Then, first target slave electronic devices a, b, and c send their corresponding video segments to the target multicast address in chronological order.

[0042] Specifically, during the process of each first target slave electronic device transmitting the corresponding video segment stored with the target video stream information to the target multicast address, before the preset time elapsed after the current first target slave electronic device transmits the current video segment stored with the target video stream information to the target multicast address, the master electronic device determines the first target slave electronic device where the next video segment is located (i.e., determines the first target slave electronic device used to store the next video segment). When the first target slave electronic device where the next video segment is located is not the same slave electronic device as the current first target slave electronic device (i.e., the current video segment and the next video segment are not stored in the same slave electronic device), the master electronic device sends a video segment transmission instruction to the first target slave electronic device used to store the next video segment at a preset time point, so that the first target slave electronic device used to store the next video segment transmits the next video segment to the target multicast address. For example, 5 seconds before the first target slave electronic device a transmits its stored video segment A to the target multicast address, the master electronic device determines the first target slave electronic device b where video segment B is located. Clearly, the first target slave electronic devices used to store video clip A and video clip B are not the same slave electronic device. Therefore, at a preset time point, the master electronic device sends a video clip transmission command to the first target slave electronic device b, where video clip B is located. When the first target slave electronic device b receives the video clip transmission command, it transmits video clip B to the target multicast address. For example, since the communication time between the master electronic device and the first target slave electronic device a is t1, and the communication time between the master electronic device and the first target slave electronic device b is t2, 5 seconds before the first target slave electronic device a finishes transmitting its stored video clip A to the target multicast address, the first target slave electronic device sends a notification command to the master electronic device. When the master electronic device receives this notification command, there are (5-t1 / 2) seconds remaining before playing video clip B (i.e., the next video clip). Therefore, the master electronic device can initiate a countdown task. When the countdown reaches t2 / 2, the master electronic device sends a video clip transmission command to the first target slave electronic device b.

[0043] It should be noted that, in order to ensure the smoothness of video segment switching, the master electronic device can determine the first target slave electronic device where the next video segment is located before the client finishes playing the current video segment corresponding to the target video stream information a preset time period. When the first target slave electronic device where the next video segment is located is not the first target slave electronic device where the current video segment is located, the master electronic device sends a video segment transmission command to the first target slave electronic device where the next video segment is located at a preset time point, so that the first target slave electronic device where the next video segment is located transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address.

[0044] In some embodiments, the video stream information further includes a video stream type; wherein the video stream type includes a normal video stream and an event video stream; after the main electronic device sends the target multicast address to the client, so that the client reads and plays the video segment corresponding to the target video stream information from the target multicast address, the method further includes: when the main electronic device determines that the video stream corresponding to the target video stream information is an event video stream based on the video stream type in the target video stream information, the main electronic device obtains first distribution information of a first preset number of first event video segments that are adjacent in time to the video segment currently being played by the client; wherein the currently played video segment and the first event video segment are video segments obtained by the same monitoring device; and / or, when the main electronic device detects a video redirection pre-playback event through the client, it obtains second distribution information of a second preset number of second event video segments that match the video redirection pre-playback event; wherein the... The first distribution information includes the first time distribution information of the first event video segment and the storage information of the target storage block where the first event video segment is located in the slave electronic device; the second distribution information includes the second time distribution information of the second event video segment and the storage information of the target storage block where the second event video segment is located in the slave electronic device; when the master electronic device detects a video redirection playback instruction sent by the client, it determines the redirection playback time corresponding to the video redirection playback instruction; when the redirection playback time exists in the first time distribution information and / or the second time distribution information, the master electronic device determines the corresponding second target slave electronic device based on the storage information in the first distribution information and / or the second distribution information; the second target slave electronic device transmits the video segment corresponding to the redirection playback time to the target multicast address, so that the client reads and plays the video segment corresponding to the redirection playback time from the target multicast address. The advantage of this setting is that when the user jumps to a certain event video segment, the playback event of the event video segment can be responded to quickly, reducing the user's waiting time.

[0045] In this embodiment of the invention, the video stream information also includes video stream types, which include ordinary video streams and event video streams. An event video stream can be understood as a video stream containing alarm video segments, while an ordinary video stream can be understood as a video stream that does not contain any alarm video segments. Alarm video segments may include video segments from fire scenes or car accident scenes, etc. It should be noted that this embodiment of the invention does not limit the specific type of alarm video segments. When drawing the timeline corresponding to the event video stream, the timeline corresponding to the event segment (alarm event segment) can be marked in red, while the timeline corresponding to non-event segments can be marked in blue or left unmarked.

[0046] In this embodiment of the invention, when the video stream corresponding to the target video stream information is an event video stream, it indicates that the video stream corresponding to the target video stream information contains one or more event video segments. During playback of this video stream, the user will pay more attention to the event video segments, potentially leading to skipping or fast-forwarding of the video stream. Typically, the video segments that the user fast-forwards or skips are event video segments surrounding the currently playing video segment. Therefore, when the main electronic device determines that the video stream corresponding to the target video stream information is an event video stream based on the video stream type, the main electronic device determines the video segment currently being played by the client and determines the first distribution information of a first preset number of first event video segments that are temporally adjacent to the currently playing video segment. The currently playing video segment and the first event video segments are video segments acquired by the same monitoring device. For example, the three event video segments before and after the currently playing video segment can be considered as the first event video segments, and the first distribution information of these six first event video segments can be determined. The first distribution information includes the first temporal distribution information of the first event video segments and the storage information of the first event video segments in the target storage block of the slave electronic device. Additionally, before issuing a fast-play or skip-play command, the user will move the mouse on the client to the timeline of the desired video segment. Therefore, when the main electronic device detects a video redirection pre-play event through the client, it obtains second distribution information for a second preset number of second event video segments matching the video redirection pre-play event. Here, redirection playback can be understood as skipping or fast-playing. For example, the client can monitor mouse movement events. By monitoring these events, the client can obtain the mouse coordinates (x, y) on the desktop and plot the corresponding position on the timeline of the video stream corresponding to the target video stream information. When the y-coordinate changes in a direction close to the timeline position and the magnitude of the change gradually decreases, or when the y-coordinate remains close to the timeline (e.g., differing by no more than 50 pixels), and the x-coordinate changes, it can be assumed that the user needs to adjust the video stream playback time. That is, it can be assumed that the user is moving the mouse closer to the timeline or confirming the redirection time near the timeline. In this case, the client can determine that a video redirection pre-play event has been detected. For example, the client can send the time point on the time axis corresponding to the x-coordinate to the main electronic device. The main electronic device will then select the three event video clips closest to that time point as a second preset number of second event video clips to match the video redirection pre-playback event, and determine the second distribution information of the second event video clips. The second distribution information includes the second temporal distribution information of the second event video clips and the storage information of the target storage block where the second event video clips are located in the slave electronic device.

[0047] When the client detects a video redirection playback command, it indicates that the user has actually triggered the video redirection event and determined the video redirection playback time. The client then sends the video redirection playback command to the master electronic device. The master electronic device determines the redirection playback time corresponding to the video redirection playback command. The master electronic device checks whether the redirection playback time is within the first time distribution information and / or the second time distribution information. If so, it means that the video segment corresponding to the redirection playback time belongs to the first event video segment, the second event video segment, or a sub-event video segment. At this time, based on the stored information in the first distribution information and / or the second distribution information, the master electronic device determines the second slave electronic device where the video segment corresponding to the redirection playback time is located. The second target slave electronic device transmits the video segment corresponding to the redirection playback time to the target multicast address, so that the client can read and play the video segment corresponding to the redirection playback time from the target multicast address.

[0048] Optionally, before the second target slave electronic device transmits the video segment corresponding to the redirected playback time to the target multicast address, the method further includes: when the first target slave electronic device and the second target slave electronic device are not the same slave electronic device, controlling the first target slave electronic device to stop transmitting the video segment corresponding to the target video stream information to the target multicast address. The advantage of this setting is that it can effectively prevent playback errors of the video segment corresponding to the redirected playback time.

[0049] In this embodiment of the invention, when the first target slave electronic device and the second target slave electronic device are not the same slave electronic device, it indicates that the video segment currently being played by the client and the video segment corresponding to the redirected playback time are stored on different slave electronic devices. In this case, the master electronic device controls the first target slave electronic device to stop transmitting the video segment corresponding to the target video stream information to the target multicast address, that is, controls the first target slave electronic device to stop sending streams to the target multicast address. Optionally, when the first target slave electronic device and the second target slave electronic device are the same slave electronic device, in order to reduce the black screen phenomenon during video redirection playback, after the client sends the redirected playback time to the master electronic device, the master electronic device directly sends a synchronized playback time and stream start command to the second target slave electronic device, and the second target slave electronic device directly sends the stream after receiving the instruction.

[0050] In some embodiments, before the master electronic device acquires the video storage information sent by each slave electronic device in real time, the method further includes: the master electronic device acquiring the association information of each slave electronic device in real time; wherein the association information includes performance information and information of each managed monitoring device; the performance information includes the number of currently managed monitoring devices, the maximum number of monitoring devices that can be managed, current storage space occupancy information, maximum storage space information, current bandwidth usage information, maximum bandwidth usage information, CPU and memory; when the master electronic device detects an abnormal slave electronic device among the at least one slave electronic device, it determines a third target slave electronic device from the non-abnormal slave electronic devices based on the association information of each slave electronic device; wherein the non-abnormal slave electronic device is the electronic device other than the abnormal slave electronic device among the at least one slave electronic device; the master electronic device controls the third target slave electronic device to manage the monitoring devices managed by the abnormal slave electronic device. The advantage of this configuration is that when a slave electronic device malfunctions, it can take over the monitoring devices managed by the abnormal slave electronic device based on the association information of each slave electronic device, thereby ensuring the integrity and continuity of the video stream of each video channel.

[0051] In this embodiment of the invention, during the process of managing various monitoring devices, the slave electronic device updates its own association information in real time. The association information of the slave electronic device may include its performance information and the information of each monitoring device it manages. The performance information may include the number of monitoring devices currently managed by the slave electronic device, the maximum number of monitoring devices it can manage, its currently available storage space, its maximum storage space, its current bandwidth usage, its maximum bandwidth usage, and information related to its CPU and memory. The information of each monitoring device managed by the slave electronic device may include the model and IP address of each managed device. Each slave electronic device sends its corresponding association information to the master electronic device in real time, achieving information synchronization between the master electronic device and all slave electronic devices.

[0052] When the master electronic device detects an anomaly in one or more slave electronic devices, it determines a third target slave electronic device from the non-abnormal slave electronic devices based on the association information of each slave electronic device. This third target slave electronic device then takes over the monitoring devices managed by the abnormal slave electronic device. The number of third target slave electronic devices can be the same as or different from the number of abnormal slave electronic devices. The monitoring devices managed by the abnormal slave electronic device can be taken over by the same third target slave electronic device or by different third target slave electronic devices. For example, the master electronic device can prioritize selecting the non-abnormal slave electronic device with the fewest currently managed monitoring devices as the third target slave electronic device based on the association information of each slave electronic device, or it can select the non-abnormal slave electronic device with the smallest current storage space usage as the third target slave electronic device. It should be noted that this embodiment of the invention does not limit the method of determining the third target slave electronic device.

[0053] In some embodiments, after the master electronic device acquires the association information of each slave electronic device in real time, the method further includes: when a first slave electronic device detects a monitoring device with connection abnormalities among the monitoring devices it manages, the first slave electronic device reports the monitoring device with connection abnormalities to the master electronic device; the master electronic device determines a fourth target slave electronic device from the second slave electronic devices based on the association information of each slave electronic device; wherein, the second slave electronic device is a slave electronic device other than the first slave electronic device among the at least one slave electronic device; the master electronic device controls the fourth target slave electronic device to send a network link probe request to the monitoring device with connection abnormalities; the fourth target slave electronic device determines the network link quality of the fourth target slave electronic device based on the network link probe response information fed back from the monitoring device with connection abnormalities, and sends the network link quality to the master electronic device; the master electronic device selects the fourth target slave electronic device with the highest network link quality to manage the monitoring device with connection abnormalities. The advantage of this configuration is that when a monitoring device managed by a slave electronic device experiences a connection abnormality, the master electronic device can select the slave electronic device with the highest network link quality to take over the monitoring device with connection abnormalities based on the association information of each slave electronic device, thereby ensuring the integrity and continuity of the video stream of each video channel.

[0054] Specifically, when a slave electronic device detects frequent online / offline activity of one or more monitoring devices under its management, it determines that the monitoring device under its management has a connection anomaly. For ease of description, the slave electronic device of the monitoring device with one or more connection anomalies under its management is referred to as the first slave electronic device. It should be noted that there can be one or more first slave electronic devices, and the number of first slave electronic devices is not limited in this embodiment of the invention. The first slave electronic device reports the monitoring devices with connection anomalies under its management to the master electronic device. The master electronic device determines a fourth target slave electronic device from the second slave electronic devices based on the association information of each slave electronic device, wherein the second slave electronic device is any slave electronic device other than the first slave electronic device. Optionally, the electronic device can select the second slave electronic device with the fewest currently managed monitoring devices as the fourth target slave electronic device based on the association information of each slave electronic device, or it can select the second slave electronic device with the smallest current storage space usage as the fourth target slave electronic device. There can be one or more fourth target slave electronic devices. It should be noted that the method of determining the fourth target slave electronic device and the number of fourth target slave electronic devices are not limited in this embodiment of the invention.

[0055] The master electronic device controls the fourth target slave electronic device to send network link probe requests to the monitoring device with connection problems. Based on the network link probe response information from the monitoring device with connection problems, the fourth target slave electronic device determines its network link quality. A faster network link probe response indicates higher network link quality. Higher network link quality means that after establishing a connection with the monitoring device with connection problems, the monitoring device is less likely to experience frequent online / offline cycles. Each fourth target slave electronic device sends its corresponding network link quality information to the master electronic device, which then selects the fourth target slave electronic device with the highest network link quality to manage the monitoring device with connection problems.

[0056] Figure 2 This is a schematic diagram of a video management device according to another embodiment of the present invention. The video management device is applied to a video management system, wherein the video management system includes a main electronic device and at least two slave electronic devices, each slave electronic device managing at least one monitoring device. Figure 2 As shown, the device includes: a video storage information acquisition module 210, a video stream information determination module 220, and a target video stream information acquisition module 230. Among them,

[0057] The video storage information acquisition module 210 is used by the main electronic device to acquire video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: the storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block;

[0058] The video stream information determination module 220 is used by the main electronic device to determine the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device;

[0059] The target video stream information acquisition module 230 is used to acquire the target video stream information corresponding to the video stream query instruction when a video stream query instruction sent by the client is detected, and to feed back the target video stream information to the client.

[0060] This invention provides a video management device applied to a video management system. The video management system includes a main electronic device and at least two slave electronic devices. Each slave electronic device manages at least one monitoring device. The device includes: the main electronic device acquiring video storage information sent by each slave electronic device in real time; wherein the video storage information includes: storage block information of the target storage block where video segments acquired by each monitoring device managed by the slave electronic device are located in the slave electronic device, and the start and end times of the acquired video segments stored in the target storage block; the main electronic device determining video stream information corresponding to each monitoring device based on the video storage information; wherein the video stream information includes time distribution information of at least one video segment and storage block information of the target storage block where the at least one video segment is located in the slave electronic device, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, the main electronic device acquires the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client. The technical solution provided by the embodiments of the present invention can effectively ensure the integrity and availability of the video collected by each monitoring device managed by the video management system, and avoid the problem of incomplete video collected by the monitoring device being queried.

[0061] Optionally, the device further includes:

[0062] The target multicast address determination module is used to determine the target multicast address corresponding to the video playback command when the main electronic device detects the video playback command sent by the client after feeding back the target video stream information to the client.

[0063] The first target slave electronic device determination module is used by the master electronic device to determine the first target slave electronic device based on the target video stream information, and to send the target multicast address to the first target slave electronic device;

[0064] The first video segment transmission module is used to transmit a video segment corresponding to the target video stream information to the target multicast address from the first target electronic device.

[0065] The video segment reading module is used by the main electronic device to send the target multicast address to the client, so that the client can read and play the video segment corresponding to the target video stream information from the target multicast address.

[0066] Optionally, the first target may be at least two electronic devices;

[0067] The first video segment transmission module is used for:

[0068] According to the time distribution information of at least two consecutive video segments in the target video stream information, each first target slave electronic device transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address;

[0069] Specifically, during the process of each first target slave electronic device transmitting the corresponding video segment stored in the target video stream information to the target multicast address, before the preset time period before the current first target slave electronic device finishes transmitting the current video segment stored in the target video stream information to the target multicast address, the master electronic device determines the first target slave electronic device where the next video segment is located; wherein, the current video segment is the video segment currently being transmitted to the target multicast address;

[0070] When the first target slave electronic device where the next video segment is located is not the current first target slave electronic device, the master electronic device sends a video segment transmission instruction to the first target slave electronic device where the next video segment is located at a preset time start point, so that the first target slave electronic device where the next video segment is located transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address before the preset time ends.

[0071] Optionally, the video stream information may further include the video stream type; wherein, the video stream type includes normal video stream and event video stream;

[0072] The device further includes:

[0073] The distribution information determination module is configured to: after the main electronic device sends the target multicast address to the client, enabling the client to read and play the video segment corresponding to the target video stream information from the target multicast address; when the main electronic device determines that the video stream corresponding to the target video stream information is an event video stream based on the video stream type in the target video stream information; the main electronic device acquires first distribution information of a first preset number of first event video segments whose time is adjacent to the video segment currently being played by the client; wherein the currently played video segment and the first event video segment are video segments acquired by the same monitoring device; and / or, when the main electronic device detects a video redirection pre-playback event through the client, acquire second distribution information of a second preset number of second event video segments matching the video redirection pre-playback event; wherein the first distribution information includes first time distribution information of the first event video segments and storage information of the target storage block where the first event video segments are located in the slave electronic device; the second distribution information includes second time distribution information of the second event video segments and storage information of the target storage block where the second event video segments are located in the slave electronic device;

[0074] The redirection playback time determination module is used to determine the redirection playback time corresponding to the video redirection playback instruction when the main electronic device detects the video redirection playback instruction sent by the client.

[0075] The second target slave electronic device determination module is used to determine the corresponding second target slave electronic device based on the storage information in the first distribution information and / or the second distribution information when the redirected playback time exists in the first time distribution information and / or the second time distribution information;

[0076] The second video segment transmission module is used to transmit a video segment corresponding to the redirected playback time from the second target electronic device to the target multicast address, so that the client can read and play the video segment corresponding to the redirected playback time from the target multicast address.

[0077] Optionally, the device further includes:

[0078] The video segment transmission stop module is used to control the first target electronic device to stop transmitting the video segment corresponding to the target video stream information to the target multicast address before the second target electronic device transmits the video segment corresponding to the redirected playback time to the target multicast address, when the first target electronic device and the second target electronic device are not the same electronic device.

[0079] Optionally, the device further includes:

[0080] The association information acquisition module is used to acquire the association information of each slave electronic device in real time before the main electronic device acquires the video storage information sent by each slave electronic device in real time; wherein, the association information includes performance information and information of each monitored device under management; the performance information includes the number of currently managed monitored devices, the maximum number of monitored devices that can be managed, current storage space occupancy information, maximum storage space information, current bandwidth usage information, maximum bandwidth usage information, CPU and memory;

[0081] The third target slave electronic device determination module is used to determine a third target slave electronic device from the non-abnormal slave electronic devices based on the association information of the slave electronic devices when the master electronic device detects an abnormal slave electronic device among the at least one slave electronic devices; wherein, the non-abnormal slave electronic device is an electronic device other than the abnormal slave electronic device among the at least one slave electronic devices.

[0082] The first monitoring device management module is used to control the third target slave electronic device to manage the monitoring devices managed by the abnormal slave electronic device through the main electronic device.

[0083] Optionally, the device further includes:

[0084] The monitoring device reporting module is used to report the abnormally connected monitoring device to the main electronic device when the first slave electronic device detects a monitoring device with an abnormal connection among the monitoring devices it manages after the main electronic device obtains the association information of each slave electronic device in real time.

[0085] The fourth target slave electronic device determination module is used by the master electronic device to determine the fourth target slave electronic device from the second slave electronic devices based on the association information of each slave electronic device; wherein, the second slave electronic device is a slave electronic device other than the first slave electronic device among the at least one slave electronic device;

[0086] A network link probe request sending module is used to control the fourth target slave electronic device to send a network link probe request to the monitoring device with abnormal connection through the main electronic device;

[0087] A network link quality determination module is used to determine the network link quality of the fourth target electronic device based on network link detection response information fed back from the monitoring device of the connection anomaly, and send the network link quality to the main electronic device;

[0088] The second monitoring device management module is used by the main electronic device to select the fourth target electronic device with the highest network link quality to manage the monitoring device with abnormal connection.

[0089] The above-described apparatus can execute the methods provided in all the foregoing embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the above methods. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.

[0090] This invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the video management method provided in this invention.

[0091] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROM, floppy disk, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. Storage medium may also include other types of memory or combinations thereof. Furthermore, storage medium may reside in a first computer system in which the program is executed, or it may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage medium may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.

[0092] Of course, the computer-executable instructions provided in the embodiments of the present invention are not limited to the video management operations described above, but can also execute related operations in the video management method provided in any embodiment of the present invention.

[0093] This invention provides a video management system that can integrate the video management device provided in this invention. Figure 3 This is a structural block diagram of a video management system provided in an embodiment of the present invention. Figure 3 As shown, the video management system 300 includes a master electronic device 301 and at least two slave electronic devices 302, each slave electronic device 302 being used to manage at least one monitoring device, wherein...

[0094] The main electronic device is used to acquire video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block; based on the video storage information, determine the video stream information corresponding to each monitoring device; wherein, the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block in the slave electronic device where the at least one video segment is located, the at least one video segment is acquired by the same monitoring device, and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, acquire the target video stream information corresponding to the video stream query command, and feed back the target video stream information to the client.

[0095] The video management system provided in this embodiment of the invention includes a main electronic device and at least two slave electronic devices. Each slave electronic device manages at least one monitoring device. The main electronic device acquires video storage information sent by each slave electronic device in real time. The video storage information includes: storage block information of the target storage block where the video segments acquired by each monitoring device managed by the slave electronic device are located in the slave electronic device; the start time and end time of the acquired video segments stored in the target storage block; the main electronic device determines the video stream information corresponding to each monitoring device based on the video storage information; the video stream information includes the time distribution information of the at least one video segment and the storage block information of the target storage block where the at least one video segment is located in the slave electronic device. The at least one video segment is acquired by the same monitoring device and stored in at least one slave electronic device. When a video stream query command sent by a client is detected, the main electronic device acquires the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client. The technical solution provided in this embodiment of the invention can effectively ensure the integrity and availability of the video collected by each monitoring device managed by the video management system, avoiding the problem of incomplete video collected by the queried monitoring device.

[0096] The video management device, storage medium, and system provided in the above embodiments can execute the video management method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the above embodiments can be found in the video management method provided in any embodiment of the present invention.

[0097] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A video management method, characterized in that, An application in a video management system, wherein the video management system includes a master electronic device and at least two slave electronic devices, each slave electronic device being used to manage at least one monitoring device, the method comprising: The main electronic device acquires video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: the storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block; The main electronic device determines the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream information includes the slave electronic device to which at least one video segment constituting the corresponding video stream belongs, the storage information of the target storage block in which the at least one video segment is located in the slave electronic device, and the time distribution information during storage, wherein the at least one video segment is acquired by the same monitoring device and the at least one video segment is stored in at least one slave electronic device; When a video stream query command sent by a client is detected, the main electronic device obtains the target video stream information corresponding to the video stream query command and feeds back the target video stream information to the client.

2. The method according to claim 1, characterized in that, After sending the target video stream information back to the client, the process also includes: When the main electronic device detects a video playback command sent by the client, the main electronic device determines the target multicast address corresponding to the video playback command; The master electronic device determines the first target slave electronic device based on the target video stream information, and sends the target multicast address to the first target slave electronic device; The first target device transmits a video segment corresponding to the target video stream information to the target multicast address from the electronic device. The main electronic device sends the target multicast address to the client, so that the client reads and plays the video segment corresponding to the target video stream information from the target multicast address.

3. The method according to claim 2, characterized in that, The first target consists of at least two electronic devices; The first target device transmits a video segment corresponding to the target video stream information to the target multicast address, including: According to the time distribution information of at least two consecutive video segments in the target video stream information, each first target slave electronic device transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address; Specifically, during the process of each first target slave electronic device transmitting the corresponding video segment stored in the target video stream information to the target multicast address, before the preset time period before the current first target slave electronic device finishes transmitting the current video segment stored in the target video stream information to the target multicast address, the master electronic device determines the first target slave electronic device where the next video segment is located; wherein, the current video segment is the video segment currently being transmitted to the target multicast address; When the first target slave electronic device where the next video segment is located is not the current first target slave electronic device, the master electronic device sends a video segment transmission instruction to the first target slave electronic device where the next video segment is located at a preset time start point, so that the first target slave electronic device where the next video segment is located transmits the corresponding stored video segment corresponding to the target video stream information to the target multicast address before the preset time ends.

4. The method according to claim 2, characterized in that, The video stream information also includes the video stream type; wherein, the video stream type includes normal video stream and event video stream; After the main electronic device sends the target multicast address to the client, so that the client reads and plays the video segment corresponding to the target video stream information from the target multicast address, the method further includes: When the main electronic device determines that the video stream corresponding to the target video stream information is an event video stream based on the video stream type in the target video stream information, the main electronic device acquires first distribution information of a first preset number of first event video segments that are adjacent in time to the video segment currently being played by the client; wherein the currently playing video segment and the first event video segment are video segments acquired by the same monitoring device; and / or, when the main electronic device detects a video redirection pre-playback event through the client, it acquires second distribution information of a second preset number of second event video segments that match the video redirection pre-playback event; wherein the first distribution information includes first time distribution information of the first event video segments and storage information of the target storage block where the first event video segment is located in the slave electronic device; the second distribution information includes second time distribution information of the second event video segments and storage information of the target storage block where the second event video segment is located in the slave electronic device; When the main electronic device detects the video redirection playback instruction sent by the client, it determines the redirection playback time corresponding to the video redirection playback instruction; When the redirected playback time exists in the first time distribution information and / or the second time distribution information, the main electronic device determines the corresponding second target slave electronic device based on the storage information in the first distribution information and / or the second distribution information; The second target device transmits a video segment corresponding to the redirected playback time to the target multicast address, so that the client reads and plays the video segment corresponding to the redirected playback time from the target multicast address.

5. The method according to claim 4, characterized in that, Before the second target electronic device transmits the video segment corresponding to the redirected playback time to the target multicast address, the method further includes: When the first target slave electronic device and the second target slave electronic device are not the same slave electronic device, the first target slave electronic device is controlled to stop transmitting the video segment corresponding to the target video stream information to the target multicast address.

6. The method according to claim 1, characterized in that, Before the main electronic device acquires the video storage information sent by each slave electronic device in real time, the following is also included: The master electronic device acquires the association information of each slave electronic device in real time; wherein, the association information includes performance information and information of each monitored device under management; the performance information includes the number of monitored devices currently managed, the maximum number of monitored devices that can be managed, current storage space occupancy information, maximum storage space information, current bandwidth usage information, maximum bandwidth usage information, CPU and memory; When the master electronic device detects an abnormal slave electronic device among the at least one slave electronic device, it determines a third target slave electronic device from the non-abnormal slave electronic devices based on the association information of each slave electronic device; wherein, the non-abnormal slave electronic device is the slave electronic device other than the abnormal slave electronic device among the at least one slave electronic device. The main electronic device controls the third target electronic device to manage the monitoring equipment managed by the abnormal electronic device.

7. The method according to claim 6, characterized in that, After the master electronic device acquires the association information of each slave electronic device in real time, it also includes: When the first slave electronic device detects a monitoring device with a connection error among the monitoring devices it manages, the first slave electronic device reports the monitoring device with the connection error to the master electronic device; The master electronic device determines a fourth target slave electronic device from the second slave electronic devices based on the association information of each slave electronic device; wherein, the second slave electronic device is a slave electronic device other than the first slave electronic device among the at least one slave electronic device; The main electronic device controls the fourth target to send a network link probe request from the electronic device to the monitoring device with the abnormal connection. The fourth target electronic device determines the network link quality of the fourth target electronic device based on the network link detection response information fed back from the monitoring device of the connection anomaly, and sends the network link quality to the main electronic device; The main electronic device selects the fourth target with the highest network link quality to manage the monitoring device for connection anomalies.

8. A video management device, characterized in that, An apparatus for use in a video management system, wherein the video management system includes a master electronic device and at least two slave electronic devices, each slave electronic device being used to manage at least one monitoring device, the apparatus comprising: The video storage information acquisition module is used by the main electronic device to acquire video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: the storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block; The video stream information determination module is used by the main electronic device to determine the video stream information corresponding to each monitoring device based on the video storage information; wherein, the video stream corresponding to the video stream information consists of at least two consecutive video segments acquired by the same monitoring device, and the video stream information includes the slave electronic device to which at least one video segment constituting the corresponding video stream belongs, the storage information of the target storage block in which the at least one video segment is located in the slave electronic device, and the time distribution information during storage, wherein the at least one video segment is acquired by the same monitoring device and the at least one video segment is stored in at least one slave electronic device; The target video stream information acquisition module is used to acquire the target video stream information corresponding to the video stream query command when a video stream query command sent by the client is detected, and to feed back the target video stream information to the client.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processing device, it implements the video management method as described in any one of claims 1-7.

10. A video management system, characterized in that, The video management system includes a master electronic device and at least two slave electronic devices, each slave electronic device managing at least one monitoring device. The main electronic device is used to acquire video storage information sent by each slave electronic device in real time; wherein, the video storage information includes: storage block information of the target storage block in the slave electronic device where the video segments acquired by each monitoring device managed by the slave electronic device are located, the start time and end time of the acquired video segments stored in the target storage block; based on the video storage information, determine the video stream information corresponding to each monitoring device; wherein, the video stream information includes the slave electronic device to which at least one video segment constituting the corresponding video stream belongs, the storage information of the target storage block in the slave electronic device to which the at least one video segment belongs, and the time distribution information during storage, wherein the at least one video segment is acquired by the same monitoring device and the at least one video segment is stored in at least one slave electronic device; when a video stream query command sent by a client is detected, the target video stream information corresponding to the video stream query command is acquired and the target video stream information is fed back to the client.

Citation Information

Patent Citations

  • Power transmission and transformation equipment status bus type recognition and monitoring system

    CN105681760A

  • Video data storage method, device and equipment and storage medium

    CN111432151A