Video-picture hybrid storage method, apparatus and system
Through the mixed view storage method and data index processing, the problems of low storage efficiency and difficult deployment in the video surveillance storage system are solved, efficient video, picture and intelligent metadata storage is realized, and construction costs and network complexity are reduced. Improves the service life cycle of the storage system.
Patent Information
- Application Number
- PCT/CN2023/142705
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-12
- Filing Date
- 2023-12-28
- Publication Date
- 2025-01-16
AI Technical Summary
When processing video, pictures and intelligent metadata, existing video surveillance storage systems have problems such as low storage efficiency, high deployment difficulty and high construction cost. Especially when meeting streaming storage needs, system separation construction leads to complex networking. Required and low reuse rate.
Using the view hybrid storage method, by obtaining video, pictures and intelligent metadata collected by the camera, storing information on disk based on preset time periods, and updating the storage information of the dispatch center, combining data index processing to adapt to the streaming method of video surveillance Storage requirements reduce network complexity and difficulty in scaling.
It improves the efficiency and scalability of the storage system, reduces construction costs, simplifies the deployment process, improves the service life cycle, adapts to the streaming storage characteristics of video surveillance, and realizes efficient storage and data management.
Smart Images

Figure CN2023142705_16012025_PF_FP_ABST
Abstract
Description
View hybrid storage method, device and system
[0001] priority
[0002] The PCT patent application claims priority of the Chinese patent with application date of July 12, 2023 and application number 202310848630.3. This patent application combines the technical solutions of the above-mentioned patent. Technical Field
[0003] The present disclosure relates to the field of video surveillance storage, and in particular to a view hybrid storage method, device, and system. Background Art
[0004] Currently, video surveillance cloud storage technology is being applied in more and more scenarios to meet the needs of time-streaming storage of videos, images, and intelligent metadata in public safety. Among them, the storage modes of various data are different. For example, continuous input and output writing is used for continuous large-scale video; while random small-scale input and output writing is used for captured images and intelligent metadata.
[0005] In the existing technology, based on the different storage requirements of the above data, a system separation construction method is usually adopted. Although this method can meet the storage requirements of various data, it also has the characteristics of different storage technology requirements and low reuse rate of construction costs, which easily leads to greater difficulties in subsequent horizontal expansion and distributed deployment, complex networking requirements, and high construction costs.
[0006] Therefore, how to store video surveillance data while improving storage efficiency and reducing deployment difficulty is an urgent problem to be solved.
[0007] Summary of the Invention
[0008] In view of the above-mentioned deficiencies in the prior art, the purpose of the present disclosure is to provide a view hybrid storage method, device and system, aiming to solve the problems of low storage efficiency and great deployment difficulty in the existing storage of video surveillance data.
[0009] The technical solution of the present disclosure is as follows: The present disclosure provides a view hybrid storage method, device and system, including: obtaining first information collected by a first camera; the first information includes: video, pictures and intelligent metadata; based on a preset time period, storing the first information on a disk; and storing location information corresponding to the first information on a first server; based on the first camera and the time period, updating the storage information of the first camera of the dispatch center.
[0010] In one embodiment of the present disclosure, the first information is stored in the disk based on a preset time period; and the position information corresponding to the first information is stored in the first server, including: based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk; the first position of the first information at the start time of the first time period in the first storage area is obtained; based on the first position, all offset positions of the first information in the first time period are obtained; and the first position and the offset position are stored in the first server.
[0011] In one embodiment of the present disclosure, based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk, including: storing the first information in the cache in a queue manner; based on the time period and the capacity of the disk, storing the first information in the first storage area.
[0012] In one embodiment of the present disclosure, the storage information includes: storage node information corresponding to the first camera and time period information corresponding to the first camera.
[0013] In one embodiment of the present disclosure, after updating the storage information of the first camera of the dispatch center, it also includes: based on the time period information and the preset number of storage days, when it is determined that the storage time of the first information is greater than or equal to the number of storage days, the first information and location information are deleted according to the storage node information and the time period information.
[0014] The present disclosure provides a view hybrid storage device, comprising: an acquisition module for acquiring first information collected by a first camera; the first information includes: video, pictures and intelligent metadata; a first processing module for storing the first information on a disk based on a preset time period; and storing location information corresponding to the first information on a first server; and a second processing module for updating the storage information of the first camera of a dispatch center based on the first camera and the time period.
[0015] In one embodiment of the present disclosure, the first processing module is specifically used to: based on the time period, store the first information corresponding to the first time period in the first storage area of the disk; obtain the first position of the first information at the start time of the first time period in the first storage area; based on the first position, obtain all the offset positions of the first information in the first time period; store the first position and the offset position in the first server.
[0016] In one embodiment of the present disclosure, based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk, including: storing the first information in the cache in a queue manner; based on the time period and the capacity of the disk, storing the first information in the first storage area.
[0017] The present disclosure provides a storage medium storing program instructions, wherein the program instructions implement the steps of the view hybrid storage method when executed.
[0018] The present disclosure provides a view hybrid storage system, including: a camera, a storage system, a storage service block, a scheduling center, and a distributed recording node; the distributed recording node includes a storage system and a storage service block; the camera is connected to the storage service block, and is used to store the collected first information in the cache of the storage service block; the storage service block is connected to the storage system, and is used to store the first information in the storage system based on a preset time period; the storage service block is also used to store location information corresponding to the first information in a first server; the first server is in the storage service block; the scheduling center is connected to the distributed recording node, and is used to update the storage information of the camera based on the camera and the time period.
[0019] As described above, the view hybrid storage method, device, and system disclosed herein have the following beneficial effects:
[0020] (1) Hybrid storage and data indexing are used to combine processing, taking into account both cost and deployment requirements.
[0021] (2) Adapt to the characteristics of video surveillance streaming storage requirements and improve the service life cycle of the storage system.
[0022] (3) Reduce networking requirements and facilitate expansion and construction. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] FIG1 is a schematic flow chart of a hybrid view storage method according to an embodiment of the present disclosure.
[0024] FIG2 is a schematic diagram of a storage example of a view hybrid storage method according to an embodiment of the present disclosure.
[0025] FIG3 is a schematic diagram of storage expiration deletion in an embodiment of the hybrid view storage method disclosed herein.
[0026] FIG4 is a schematic structural diagram of a view hybrid storage device according to an embodiment of the present disclosure.
[0027] FIG5 is a system diagram of a view hybrid storage device according to an embodiment of the present disclosure.
[0028] Component Number Description 41 Acquisition Module 42 First Processing Module 43 Second Processing Module 51 Camera 52 Storage System 53 Storage Service Block 54 Scheduling Center 55 Distributed Recording Node DETAILED DESCRIPTION
[0029] The present disclosure provides a method, device, and system for hybrid storage of views. To clarify the objectives, technical solutions, and effects of the present disclosure, the present disclosure is further described below. It should be understood that the specific embodiments described herein are intended only to illustrate the present disclosure and are not intended to limit the present disclosure.
[0030] The view hybrid storage method, device, and system provided by the present disclosure use a combination of hybrid storage and data indexing to balance cost and deployment requirements; adapt to the characteristics of video surveillance streaming storage requirements, improve the service life cycle of the storage system; reduce networking requirements, and facilitate expansion and construction.
[0031] As shown in FIG1 , in one embodiment, the view hybrid storage method disclosed herein includes the following steps:
[0032] Step S1: Acquire first information collected by a first camera; the first information includes: video, picture, and intelligent metadata.
[0033] Specifically, the first information includes a variety of data collected by the camera, and the intelligent metadata is descriptive information data based on the video or picture.
[0034] Step S2: Based on a preset time period, the first information is stored in a disk; and the location information corresponding to the first information is stored in a first server.
[0035] Specifically, based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk; the first position of the first information at the start time of the first time period in the first storage area is obtained; based on the first position, all offset positions of the first information in the first time period are obtained; the first position and the offset position are stored in the first server.
[0036] More specifically, based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk, including: storing the first information in the cache in a queue manner; based on the time period and the capacity of the disk, storing the first information in the first storage area.
[0037] As shown in Figure 2, in one embodiment, a schematic diagram of a storage example of the present disclosure is provided. For example, a preset time period is one hour. The camera captures first information from the first time period of 9:00-10:00. The first information is stored in a queue in the cache and then sequentially stored in the first storage area of the disk. For example, if a picture is captured at 9:00, the first position of the picture in the first storage area is obtained. Based on this first position, the offset positions of each video, picture, and intelligent metadata between 9:00-10:00 are obtained, and the first positions and these offset positions are stored in the first server. Furthermore, when the first information is stored in the first storage area of the disk, the storage capacity of the first storage area is determined based on the capacity of the disk to ensure that the first information is written as an integer multiple of the disk stripe size and does not exceed the storage capacity of the first storage area.
[0038] Step S3: Based on the first camera and the time period, update the storage information of the first camera of the dispatch center.
[0039] Specifically, the storage information includes: storage node information corresponding to the first camera and time period information corresponding to the first camera.
[0040] More specifically, after updating the storage information of the first camera of the dispatch center, it also includes: based on the time period information and the preset number of storage days, when it is determined that the storage time of the first information is greater than or equal to the number of storage days, the first information and location information are deleted according to the storage node information and the time period information.
[0041] For example, the dispatch center is connected to multiple distributed recording nodes, and the first camera is connected to the first distributed recording node, that is, the storage node information corresponding to the first camera is the first distributed recording node. For example, the first camera has collected the first information up to 12:00 noon, and the first information collected now is in a time period of 1 hour, that is, the first information from 12:00 to 13:00. After the first information of this time period is stored in the disk and the location information corresponding to the first information is stored in the first server, the time period information of 12:00-13:00 needs to be updated to the dispatch center.
[0042] As shown in Figure 3, in one embodiment, a schematic diagram of storage expiration deletion disclosed in the present invention is provided. For example, the first information is pre-set with a storage period of 10 days. When it is determined that the current time minus the storage time of the first information of the dispatch center is greater than 10 days, a deletion operation is required. Specifically, based on the storage node information corresponding to the first camera corresponding to the first information of the dispatch center, and the time period information of the first information, the first information in the disk corresponding to the time period is deleted, and the location information in the corresponding first server is deleted, and then the time period information corresponding to the first information in the dispatch center is deleted.
[0043] Through the method of steps S1-S3 above, hybrid storage and data indexing are combined to improve the continuous storage performance of videos, pictures, and intelligent metadata. The deletion of expired data can also ensure that the file system is free of fragmentation and performance degradation during long-term operation. Cost and deployment requirements are taken into account. The system adapts to the characteristics of video surveillance streaming storage requirements and improves the service life cycle of the storage system. The system also reduces networking requirements and facilitates expansion and construction.
[0044] As shown in FIG4 , in one embodiment, the view hybrid storage device of the present disclosure includes:
[0045] An acquisition module, configured to acquire first information collected by a first camera; the first information includes: video, picture, and intelligent metadata;
[0046] A first processing module is configured to store the first information in a disk based on a preset time period; and store location information corresponding to the first information in a first server;
[0047] The second processing module is used to update the storage information of the first camera of the dispatching center based on the first camera and the time period.
[0048] Among them, the first processing module is specifically used to: based on the time period, store the first information corresponding to the first time period in the first storage area of the disk; obtain the first position of the first information of the start time in the first time period in the first storage area; based on the first position, obtain all the offset positions of the first information in the first time period; store the first position and the offset position in the first server.
[0049] More specifically, based on the time period, the first information corresponding to the first time period is stored in the first storage area of the disk, including: storing the first information in the cache in a queue manner; based on the time period and the capacity of the disk, storing the first information in the first storage area.
[0050] The technical features specifically implemented by the view hybrid storage device of this embodiment are substantially the same as the principles of the various steps in the view hybrid storage method in Example 1, and the common technical contents between the method and the device are not repeated here.
[0051] The storage medium of the present disclosure stores a computer program, which implements the above-mentioned view hybrid storage method when executed by a processor.
[0052] As shown in Figure 5, in one embodiment, the view hybrid storage system of the present disclosure includes: a camera 51, a storage system 52, a storage service block 53, a scheduling center 54, and a distributed recording node 55; the distributed recording node 55 includes the storage system 52 and the storage service block 53; the camera 51 is connected to the storage service block 53, and is used to store the collected first information in the cache of the storage service block 53; the storage service block 53 is connected to the storage system 52, and is used to store the first information in the storage system 52 based on a preset time period; the storage service block 53 is also used to store the location information corresponding to the first information in the first server; the first server is in the storage service block 53; the scheduling center 54 is connected to the distributed recording node 55, and is used to update the storage information of the camera 51 based on the camera 51 and the time period.
[0053] In summary, the view hybrid storage method, device and system provided by the present disclosure adopt a combination of hybrid storage and data indexing, which can take into account both cost and deployment requirements; adapt to the characteristics of video surveillance streaming storage requirements, and improve the service life cycle of the storage system; reduce networking requirements and facilitate expansion and construction.
[0054] It should be understood that the application of the present disclosure is not limited to the above examples. For those of ordinary skill in the art, improvements or changes can be made based on the above description, and all such improvements and changes should fall within the scope of protection of the claims attached to the present disclosure. That is, the above are only embodiments of the present disclosure, and the patent scope of the present disclosure is not limited thereto. The terms "include", "comprise" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, function or method including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, function or method. Any equivalent structure or equivalent process transformation made using the contents of the present disclosure specification and drawings, or directly or indirectly applied in other related technical fields, are similarly included in the scope of patent protection of the present disclosure.
Claims
1. A view hybrid storage method, wherein: include: Acquire first information collected by a first camera; The first information includes: videos, pictures and intelligent metadata; Based on a preset time period, the first information is stored in a disk; and the location information corresponding to the first information is stored in a first server; Based on the first camera and the time period, storage information of the first camera of the dispatch center is updated.
2. The method according to claim 1, wherein: storing the first information in a disk based on a preset time period; and storing the location information corresponding to the first information in the first server, including: Based on the time period, storing the first information corresponding to the first time period in a first storage area of the disk; Obtaining a first position of the first information at a start time in the first time period in the first storage area; Based on the first position, obtaining all offset positions of the first information within the first time period; The first position and the offset position are stored in the first server.
3. The method according to claim 2, wherein: The storing, based on the time period, the first information corresponding to the first time period into the first storage area of the disk includes: storing the first information in a cache in a queue manner; Based on the time period and the capacity of the disk, the first information is stored in the first storage area.
4. The method according to claim 1, wherein: The storage information includes: storage node information corresponding to the first camera and time period information corresponding to the first camera.
5. The method according to claim 4, wherein: After the storage information of the first camera of the dispatch center is updated, the method further includes: Based on the time period information and the preset number of days for storage, when it is determined that the storage time of the first information is greater than or equal to the number of days for storage, the first information and the location information are deleted according to the storage node information and the time period information.
6. A view hybrid storage device, wherein: include: An acquisition unit, used to acquire first information collected by a first camera; The first information includes: videos, pictures and intelligent metadata; A first processing unit is used to store the first information in a disk based on a preset time period; and store the location information corresponding to the first information in a first server; The second processing unit is used to update the storage information of the first camera of the dispatch center based on the first camera and the time period.
7. The device according to claim 6, wherein: The first processing unit is specifically configured to: Based on the time period, storing the first information corresponding to the first time period in a first storage area of the disk; Obtaining a first position of the first information at a start time in the first time period in the first storage area; Based on the first position, obtaining all offset positions of the first information within the first time period; The first position and the offset position are stored in the first server.
8. The device according to claim 7, wherein: The storing, based on the time period, the first information corresponding to the first time period into the first storage area of the disk includes: storing the first information in a cache in a queue manner; Based on the time period and the capacity of the disk, the first information is stored in the first storage area.
9. A storage medium storing program instructions, wherein: When the program instructions are executed, the steps of the view hybrid storage method according to any one of claims 1 to 5 are implemented.
10. A view hybrid storage system, wherein: include: Camera, storage system, storage service block, dispatch center, distributed recording node; The distributed recording node includes the storage system and the storage service block; The camera is connected to the storage service block and is used to store the collected first information into a cache of the storage service block; The storage service block is connected to the storage system and is used to store the first information in the storage system based on a preset time period; The storage service block is further used to store the location information corresponding to the first information in the first server; The first server is in the storage service block; The dispatch center is connected to the distributed recording node and is used to update the storage information of the camera based on the camera and the time period.
Citation Information
Patent Citations
Flow data distributed meta-data management method based time sequence
CN105100815A
Method and system for storing real-time video data and image data
CN106599292A
Data storage method, device and medium based on streaming processing
CN114064647A
View mixed storage method, device and system
CN116578741A
Method and apparatus for managing thin provisioning volume by using file storage system
US20100306500A1
