# US 2019/0320212 A1 · Picture storage method, apparatus and video monitoring system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0320212 A1
- Document ID: US20190320212A1
- Status: Published application
- Kind: A1
- Application number: 16/463,651
- Filed: 2017-09-11
- Published: 2019-10-17
- Earliest claimed: 2016-11-23
- Assignees: Hangzhou Hikvision Digital Technology Co., Ltd.
- Applicants: Hangzhou Hikvision Digital Technology Co., Ltd.
- Inventors: Peng CHEN; Aiqiu XU
- Web page: https://patentgrep.com/patent/US20190320212A1

## CPC

- G06F 16/51: Indexing; Data structures therefor; Storage structures
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/538: Presentation of query results
- G06F 16/5866: {using information manually generated, e.g. tags, keywords, comments, manually generated location and time information}
- H04N 7/18: Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N 21/23113: {involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions (storage management, e.g. defragmentation G06F3/0604; snloading stored programs G06F9/445; housekeeping operations in file systems, e.g. deletion policies G06F16/10; buffering arrangements in a network node or in an end terminal in packet networks H04L49/90)}
- H04N 21/2393: {involving handling client requests (scheduling or organising the servicing of application requests H04L67/60)}
- H04N 21/274: Storing end-user {multimedia} data in response to end-user request {, e.g. network recorder}
- H04N 21/6587: Control parameters, e.g. trick play commands, viewpoint selection
- H04N 21/858: Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The embodiments of the present application disclose a picture storage method, device and a video monitoring system, which relate to video monitoring technology field and are applied to a storage server in the video monitoring system. The method includes: receiving a picture writing request for an to-be-stored picture sent by the picture acquisition device; determining a first storage block for storing the to-be-stored picture according to the picture writing request; sending, to the picture acquisition device, a first identifier of the first storage block; receiving target picture data sent by the picture acquisition device according to the first identifier, wherein the target picture data includes the to-be-stored picture and a first capture time of the to-be-stored picture; storing the to-be-stored picture to the first storage block, determining a first storage time of the to-be-stored picture, and storing the first storage time and the first capture time into a first information sub-block of the first storage block. When storing pictures by applying the solution provided by the embodiments of the present application, the probability of an incorrect retrieval result in picture retrieval can be reduced.

## Claims

### Claim 1

A picture storage method, which is applied in a storage server in a video monitoring system, wherein the video monitoring system comprises a storage server and a picture acquisition device, and the method comprises:
receiving, from the picture acquisition device, a picture writing request for a to-be-stored picture;
determining a first storage block for storing the to-be-stored picture according to the picture writing request;
sending, to the picture acquisition device, a first identifier of the first storage block;
receiving target picture data sent by the picture acquisition device according to the first identifier, wherein the target picture data comprises the to-be-stored picture and a first capture time of the to-be-stored picture;
storing the to-be-stored picture to the first storage block, determining a first storage time of the to-be-stored picture, and storing the first storage time and the first capture time into a first information sub-block of the first storage block, wherein an information sub-block of each storage block of the storage server records a corresponding relationship among pictures stored in that storage block, storage time of the pictures and capture time of the pictures.

### Claim 2 (depends on 1)

The method according to claim 1, wherein,
the picture writing request carries an identifier of a first encoder corresponding to the to-be-stored picture;
the information sub-block of each storage block of the storage server further records identifiers of encoders corresponding to the pictures stored in that storage block; and
the determining a first storage block for storing the to-be-stored picture according to the picture writing request comprises:
determining the first storage block for storing the to-be-stored picture according to the identifier of the first encoder and the identifiers of the encoders recorded in the information sub-blocks of each storage block of the storage server.

### Claim 3 (depends on 1)

The method according to claim 1, wherein, the information sub-block of each storage block of the storage server further records an earliest capture time, a latest capture time, an earliest storage time, and a latest storage time with respect to the stored pictures;
the method further comprises:
updating, according to the first capture time, the earliest capture time and/or the latest capture time recorded in the first information sub-block; and
updating, according to the first storage time, the earliest storage time and/or the latest storage time recorded in the first information sub-block.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the video monitoring system further comprises a video monitoring platform, and the method further comprises:
receiving a first picture downloading request sent by the video monitoring platform, wherein the first picture downloading request carries an identifier of a second encoder corresponding to a to-be-downloaded picture, a first start time, and a first end time;
determining, according to the identifier of the second encoder, a second storage block storing a picture corresponding to the second encoder;
searching, in pictures stored in the second storage block, for a picture with a capture time and/or a storage time within a range from the first start time to the first end time;
sending a searching result to the video monitoring platform;
receiving a second picture downloading request sent by the video monitoring platform according to the searching result; and
reading a picture according to the second picture downloading request and the searching result, and sending the read picture to the video monitoring platform.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the method further comprises:
sending, to the picture acquisition device, a storage result for the to-be-stored picture, so that the picture acquisition device creates a first picture download link of the to-be-stored picture according to the storage result in a case that the to-be-stored picture is successfully stored.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the video monitoring system further comprises a video monitoring platform, and the method further comprises:
receiving a third picture downloading request sent by the video monitoring platform, wherein the third picture downloading request carries a second picture download link of a to-be-downloaded picture;
parsing the second picture download link, and determining a second storage block storing the to-be-downloaded picture and a first offset of a storage location of the to-be-downloaded picture in the second storage block;
obtaining the to-be-downloaded picture from the second storage block according to the first offset, and feeding the to-be-downloaded picture back to the video monitoring platform.

### Claim 7 (depends on 4)

The method according to claim 4, wherein the method further comprises:
receiving a video playback request sent by the video monitoring platform, wherein the video playback request is a request for playing back a video associated with a third picture in the to be downloaded pictures;
determining a second capture time of the third picture;
determining a playback video according to the second capture time;
sending the playback video to the video monitoring platform.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the video monitoring system further comprises a managing server, and the method further comprises:
receiving a storage space release instruction sent by the managing server, wherein the storage space release instruction carries a second end time and information of an encoder corresponding to a to-be-deleted picture;
determining, according to the information of the encoder, a third storage block in which the to-be-deleted picture is stored; and
deleting pictures in the third storage block with storage time earlier than the second end time, and releasing the storage space.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving a stopping picture writing instruction sent by the picture acquisition device, and recycling the first storage block.

### Claim at position 10

10-18. (canceled)

### Claim 19

A video monitoring system, comprising: a managing server, a storage server, and an a picture acquisition device, wherein,
the picture acquisition device is configured for sending, to the managing server, a resource allocation request for a to-be-stored picture;
the managing server is configured for receiving the resource allocation request, and determining a first storage server according to the resource allocation request, and sending an identifier of the first storage server to the picture acquisition device;
the picture acquisition device is configured for receiving the identifier of the first storage server, and sending a picture writing request for the to-be-stored picture according to the received identifier;
the first storage server is configured for receiving the picture writing request, determining a first storage block for storing the to-be-stored picture according to the picture writing request; and send, to the picture acquisition device, a first identifier of the first storage block;
the picture acquisition device is configured for receiving the first identifier, generating target picture data according to the to-be-stored picture and a first capture time of the to-be-stored picture, and sending the target picture data to the first storage server according to the first identifier;
the first storage server is configured for receiving the target picture data, storing the to-be-stored picture to the first storage block, determining a first storage time of the to-be-stored picture, and storing the first storage time and the first capture time into a first information sub-block of the first storage block, wherein an information sub-block of each storage block of the storage server records a corresponding relationship among pictures stored in that storage block, storage time of the pictures and capture time of the picture.

### Claim 20 (depends on 19)

The system according to claim 19, wherein,
the picture writing request carries an identifier of a first encoder corresponding to the to-be-stored picture;
the information sub-block of each storage block of the storage server further records identifiers of encoders corresponding to the pictures stored in that storage block; and
the first storage server is further configured for determining the first storage block for storing the to-be-stored picture according to the identifier of the first encoder and the identifiers of the encoders recorded in the information sub-blocks of each storage block of the storage server.

### Claim 21 (depends on 19)

The system according to claim 19, wherein, the information sub-block of each storage block of the storage server further records an earliest capture time, a latest capture time, an earliest storage time, and a latest storage time with respect to the stored pictures;
the first storage server is further configured for updating, according to the first capture time, the earliest capture time and/or the latest capture time recorded in the first information sub-block; and updating, according to the first storage time, the earliest storage time and/or the latest storage time recorded in the first information sub-block.

### Claim 22 (depends on 21)

The system according to claim 21, wherein the video monitoring system further comprises a video monitoring platform,
the video monitoring platform is configured for sending a first resource query request to the managing server, wherein the first resource query request carries an identifier of a second encoder corresponding to a to-be-downloaded picture;
the managing server is configured for receiving the first resource query request, determining a second storage server storing the to-be-downloaded picture according to the identifier of the second encoder, and sending the identifier of the second encoder to the video monitoring platform;
the video monitoring platform is configured for receiving the identifier of the second encoder, and sending a first picture downloading request to the second storage server according to the received identifier, wherein the first picture downloading request carries an identifier of a second encoder corresponding to a to-be-downloaded picture, a first start time, and a first end time;
the second storage server is configured for receiving the first picture downloading request, determining a second storage block storing a picture corresponding to the second encoder according to the identifier of the second encoder; searching, in pictures stored in the second storage block, for a picture with a capture time and/or a storage time within a range from the first start time to the first end time; and send a searching result to the video monitoring platform;
the video monitoring platform is configured for receiving the searching result and sending a second picture downloading request to the second storage server according to the searching result;
the second storage server is configured for receiving the second picture downloading request, reading a picture according to the second picture downloading request and the searching result, and sending the read picture to the video monitoring platform;
the video monitoring platform is configured for receiving the picture sent by the second storage server.

### Claim 23 (depends on 19)

The system according to claim 19, wherein,
the first storage server is further configured for send, to the picture acquisition device, a storage result for the to-be-stored picture;
the picture acquisition device is further configured for creating a first picture download link of the to-be-stored picture according to the storage result in a case that the to-be-stored picture is successfully stored.

### Claim 24 (depends on 23)

The system according to claim 23, wherein, the video monitoring system further comprises a video monitoring platform,
the video monitoring platform is configured for sending a second resource query request to the managing server, wherein the second resource query request carries a second picture download link of the to-be-downloaded picture;
the managing server is configured for receiving the second resource query request, determining, according to the second picture download link, a second storage server storing the to-be-downloaded picture, and sending an identifier of the second storage server to the video monitoring platform;
the video monitoring platform is configured for receiving the identifier of the second storage server, and sending a third picture downloading request to the second storage server according to the received identifier, wherein the third picture downloading request carries the second picture download link;
the second storage server is configured for receiving the third picture downloading request, parsing the second picture download link, and determining a second storage block storing the to-be-downloaded picture and a first offset of a storage location of the to-be-downloaded picture in the second storage block; obtaining the to-be-downloaded picture from the second storage block according to the first offset, and feeding the to-be-downloaded picture back to the video monitoring platform;
the video monitoring platform is configured for receiving the picture fed back by the second storage server.

### Claim 25 (depends on 22)

The system according to claim 22, wherein,
the video monitoring platform is configured for sending a video playback request to the second storage server, wherein the video playback request is a request for playing back a video associated with a third picture in the to be downloaded pictures;
the second storage server is configured for receiving the video playback request, determining a second capture time of the third picture, determining a playback video according to the second capture time, and sending the playback video to the video monitoring platform;
the video monitoring platform is configured for receiving the playback video.

### Claim 26 (depends on 19, 20)

The system according to claim 19 or 20, wherein,
the managing server is configured for generating a storage space release instruction when detecting that the first storage server meets a storage space release condition, wherein the storage space release instruction carries a second end time and information of an encoder corresponding to a to-be-deleted picture;
the first storage server is configured for receiving the storage space release instruction, determining, according to the information of the encoder, a third storage block in which the to-be-deleted picture is stored, and deleting pictures in the third storage block with storage time earlier than the second end time, and releasing the storage space.

### Claim 27 (depends on 19, 20)

The system according to claim 19 or 20, wherein,
the picture acquisition device is configured for sending a stopping picture writing instruction to the first storage server;
the first storage server is configured for receiving the stopping picture writing instruction, and recycling the first storage block.

### Claim 28 (depends on 1)

A server, wherein the server is a storage server in a video monitoring system, and the video monitoring system comprises a storage server and a picture acquisition device, the storage server comprises a processor, a communication interface, a memory, and a communication bus, the processor, the communication interface, and the memory communicate with each other via the communication bus;
the memory is configured to store a computer program;
the processor is configured to implement the method according to claim 1 when executing the program stored in the memory.

### Claim 29 (depends on 1)

A non-transitory computer readable storage medium, wherein the computer readable storage medium is a storage medium of a storage server in a video monitoring system, the video monitoring system comprises a storage server and a picture acquisition device, the computer readable storage medium stores a computer program, and the computer program implements the method according to claim 1 when being executed by a processor.

### Claim 30

(canceled)
