CN113395487A - Video data storage management method and device, computer equipment and storage medium - Google Patents

Video data storage management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113395487A
CN113395487A CN202110609292.9A CN202110609292A CN113395487A CN 113395487 A CN113395487 A CN 113395487A CN 202110609292 A CN202110609292 A CN 202110609292A CN 113395487 A CN113395487 A CN 113395487A
Authority
CN
China
Prior art keywords
video data
storage
video
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110609292.9A
Other languages
Chinese (zh)
Inventor
兰东平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202110609292.9A priority Critical patent/CN113395487A/en
Publication of CN113395487A publication Critical patent/CN113395487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video data storage management method and device, computer equipment and a storage medium, which are applied to the technical field of computers. The method provided by the invention comprises the following steps: storing the preprocessed video data to a first storage end, distributing corresponding storage space for the video data according to the storage capacity of the video data, monitoring the storage time of the video data at the first storage end, adopting a preset compression coding strategy if the storage time exceeds the preset storage time, uploading the video data subjected to compression coding processing to a cloud service end, inquiring the video data stored in the cloud service end according to a request for acquiring the video data, and returning the video data serving as a request result to the video data. The invention manages the storage of the video data, improves the utilization rate of the storage resources of the video data and improves the efficiency of managing the video data.

Description

Video data storage management method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for managing storage of video data, a computer device, and a storage medium.
Background
The smart city strategy comprehensively improves the management and service capacity of the city. Video surveillance is increasingly important. The amount of video data generated by a video surveillance system is very large and therefore the storage requirements are high.
The existing video monitoring system acquires monitoring video data through a collection front end and stores the monitoring video data in a local storage mode. The local storage mode makes the video monitoring system relatively independent, but the use process needs maintenance and is extremely easy to damage, so that the monitoring video data is lost.
The other mode is that the collected monitoring video data are uploaded to a cloud storage server, and the operation and maintenance cost of the cloud storage server is high, so that the operation and maintenance cost of the video monitoring system is relatively high, and the improvement of the storage resource utilization rate of the monitoring video data is not facilitated.
Disclosure of Invention
The invention provides a video data storage management method and device, computer equipment and a storage medium, which are used for improving the video data storage utilization rate in a video monitoring scene and improving the video data storage management efficiency.
A method of storage management of video data, comprising:
receiving video data sent by an acquisition end, preprocessing the video data, and storing the processed video data to a first storage end;
in a first storage end, acquiring the storage capacity and video tags of video data, allocating corresponding storage space for the video data based on the storage capacity, and taking the video tags as index values of the video data;
the method comprises the steps of obtaining the storage time of video data in a first storage end, if the storage time of the video data exceeds the preset storage time, carrying out compression coding processing on the video data, uploading the video data after compression coding to a cloud server, and if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud server;
when a request for acquiring video data is received, acquiring target video data description from the request, retrieving at the cloud service side based on the target video data description, and returning the acquired target video data serving as a request result to the requester.
A storage management apparatus of video data, comprising:
the video data acquisition module is used for receiving the video data sent by the acquisition end, preprocessing the video data and storing the processed video data to the first storage end;
the video data temporary storage module is used for acquiring the storage capacity and video tags of the video data in the first storage end, allocating corresponding storage space for the video data based on the storage capacity, and taking the video tags as index values of the video data;
the video data storage module is used for acquiring the storage time of the video data in the first storage end, if the storage time of the video data exceeds the preset storage time, performing compression coding processing on the video data, uploading the video data after the compression coding to the cloud service end, and if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud service end;
and the video data acquisition module is used for acquiring the target video data description from the request when receiving the request for acquiring the video data, retrieving the target video data description at the cloud service terminal based on the target video data description, and returning the target video data as a request result to the requester.
A computer device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the steps of the above-mentioned storage management method of video data when executing said computer program.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described storage management method of video data.
The invention provides a video data storage management method, a video data storage management device, a computer device and a storage medium, wherein preprocessed video data are stored in a first storage end, a corresponding storage space is distributed for the video data according to the storage capacity of the video data, the storage time of the video data in the first storage end is monitored, if the storage time exceeds the preset storage time, a preset compression coding strategy is adopted, the video data after compression coding processing are uploaded to a cloud service end, if the storage time of the video data does not exceed the preset storage time, the video data are directly uploaded to the cloud service end, the video data stored in the cloud service end are inquired according to a request for obtaining the video data, and the video data are returned to the video data as a request result. The invention manages the storage of the video data, improves the utilization rate of the storage resources of the video data and improves the efficiency of managing the video data.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic diagram of an application environment of a method for storing and managing video data according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for managing storage of video data according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for storing and managing video data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The storage management method for video data provided by the present application can be applied to the application environment as shown in fig. 1, in which a terminal device communicates with a server through a network. The terminal device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
The system framework may include terminal devices, networks, and servers. The network serves as a medium for providing a communication link between the terminal device and the server. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use a terminal device to interact with a server over a network to receive or send messages or the like.
The terminal device may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture experts Group Audio Layer III, motion Picture experts compression standard Audio Layer 3), an MP4 player (Moving Picture experts compression standard Audio Layer IV, motion Picture experts compression standard Audio Layer 4), a laptop portable computer, a desktop computer, and the like.
The server may be a server providing various services, such as a background server providing support for pages displayed on the terminal device.
It should be noted that the storage management method for video data provided by the embodiment of the present invention is executed by a server, and accordingly, a storage management apparatus for video data is provided in the server.
It should be understood that the number of the terminal devices, the networks, and the servers in fig. 1 is only illustrative, and any number of the terminal devices, the networks, and the servers may be provided according to implementation requirements, and the terminal devices in the embodiment of the present invention may specifically correspond to an application system in actual production.
In an embodiment, as shown in fig. 2, a method for storing and managing video data is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps S101 to S104:
s101, receiving video data sent by a collection end, preprocessing the video data, and storing the processed video data to a first storage end.
The acquisition end refers to a camera subsystem for distribution control in a video monitoring system, and comprises a CMOS optical sensor, a camera and other acquisition equipment for shooting the live scene of a monitoring rod scene, wherein corresponding acquisition end numbers are distributed to each acquisition equipment corresponding to the distribution area of the acquisition equipment.
For example, the number of the collecting end of the first collecting device in the first street of the first area is 111. And the video data acquired by each acquisition device in different time periods are correspondingly distributed with the codes of the acquisition numbers of the acquisition devices. For example, the encoding of video data shot by the capturing device of capturing end number 111 at 9 AM to 10 AM is 111-AM 0910.
The preprocessing of the video data specifically means decoding, screening and the like of the video data, and eliminating video data frames with damaged pictures, so that the representation effect of the video data is better.
The first storage end specifically refers to a storage space accessed through the internet and can receive video data transmitted by the acquisition equipment.
It should be noted that the above numbers for the capturing device and the video data are only for convenience of understanding the application scenario of the embodiment of the present invention, and should not be taken as a limitation of the embodiment of the present invention.
S102, in the first storage end, the storage capacity and the video tags of the video data are obtained, corresponding storage spaces are distributed for the video data based on the storage capacity, and the video tags are used as index values of the video data.
And in the first storage end, a dynamic storage mode is adopted, a storage space corresponding to the storage capacity of the video data is dynamically allocated to each received video data, and the video data are stored according to the number of the acquisition equipment.
And after receiving the video data, reading a video tag corresponding to the video data, and storing the video tag as an index value of the video data. The video tag of the video data is associated with a video data acquisition device.
S103, acquiring the storage time of the video data in the first storage end, if the storage time of the video data exceeds the preset storage time, performing compression coding processing on the video data, uploading the video data after the compression coding to the cloud service end, and if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud service end.
When the first storage end receives the video data, a buried point is set based on the video data, a threshold time period is set, the storage time point of the video data is used as a trigger starting point, and when the storage time period of the video data exceeds the threshold time period, the video data is subjected to compression coding processing, and the video data after compression coding is uploaded to the cloud service end.
And if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud server.
And S104, when a request for acquiring the video data is received, acquiring the target video data description from the request, retrieving the target video data description at the cloud service side based on the target video data description, and returning the target video data as a request result to the requester.
When an acquisition request of video data is received, analyzing a target video data description of the request from the acquisition request, for example, the requested target data is video data acquired by second acquisition equipment in a first street in a first area, analyzing the video data to generate an acquisition end number of the acquisition equipment and a video tag of the video data, taking the acquisition end number and the video tag as the target video data description, inquiring the target video data in a cloud service end based on the target video data description as an index value, and returning the inquired target video data as a request result to a requester.
In this embodiment, the video data subjected to preprocessing is stored in a first storage end, a corresponding storage space is allocated for the video data according to the storage capacity of the video data, the storage time of the video data in the first storage end is monitored, if the storage time exceeds the preset storage time, a preset compression coding strategy is adopted, the video data subjected to compression coding processing is uploaded to a cloud service end, the video data stored in the cloud service end is inquired according to a request for acquiring the video data, and the video data is returned to the video data as a request result. The invention manages the storage of the video data, improves the utilization rate of the storage resources of the video data and improves the efficiency of managing the video data.
In some optional implementation manners of this embodiment, in step S101, receiving video data sent by a collecting end, and performing preprocessing on the video data includes:
s1011, decoding the video data to generate an original video frame data sequence.
The video data is decoded to obtain an original video frame data sequence. And extracting key video frame data from the decoded video frame data sequence, and finally obtaining the decoded video frame data.
And S1012, screening the original video frame data sequence to obtain a video frame data sequence.
As an optional mode, after the video data is decoded to obtain an original video frame data sequence, performing picture identification on each frame of video frame data, and when a moving object is detected and identified and the motion state of the moving object is consistent in a period of time, marking the video frame data of the moving object detected for the first time, so as to be convenient for performing fast positioning on the moving object in the video data.
The video frame data with unclear pictures or damaged picture quality are removed, so that the recorded content of the video frame data is clear and the condition of a monitored scene is truly reflected, the video frame data and the content of the monitored scene can be reduced, the subsequent data amount needing to be processed can be reduced, and the efficiency of processing the video data is improved.
In some optional implementations of this embodiment, in the first storage, obtaining the storage capacity of the video data and the video tag before includes:
and S1021, acquiring the number of the acquisition end of the video data and the acquisition time, and generating a video tag of the video data based on the number of the acquisition end and the acquisition time.
When the first storage end receives the video data, the first storage end simultaneously obtains the video data and the acquisition time to generate a video label of the video data. The video tags are used for distinguishing video data shot by different acquisition equipment and the same acquisition equipment at different times, and according to the unique corresponding relation between the video tags and the video data, unified management on the video data can be realized, and the efficiency of storing and acquiring the video data is improved conveniently.
In some optional implementation manners of this embodiment, in step S103, obtaining storage time of the video data in the first storage end, if the storage time of the video data exceeds a preset storage time, performing compression coding processing on the video data, and uploading the video data after the compression coding to the cloud service end includes:
and S1031, when the storage time of the video data exceeds the preset storage time, adopting a preset transcoding compression strategy based on the storage capacity of the video data to obtain compressed video data.
Wherein, based on the storage capacity of the video data, a corresponding compression coding mode is selected.
As an optional mode, if the storage capacity of the video data is small and the flow consumed in the process of transmitting the video data to the cloud server is not large, the original video data is uploaded to the cloud server without performing compression coding on the video data.
If the storage capacity of the video data is large and the time consumption is too long when the video data is transmitted to the cloud server, the video data is encoded and compressed, so that the video data can be transmitted to the cloud server more quickly.
As an alternative, the step of compression encoding the video data is:
and carrying out coding compression on the video frame data of the first frame to obtain the coded data of the video frame data of one frame, comparing the video frame data of the first frame with the coded data, and outputting the data with smaller data quantity as a result.
Comparing the current video frame data with the previous frame video frame data to obtain difference data of the current video frame data and the previous frame video frame data;
and respectively coding and compressing the current video frame data and the difference data to obtain the current video frame coded data and the coded difference data, comparing the current video frame data, the current video frame coded data and the coded difference data, and taking the data with the minimum data quantity as an output result of the current video frame data.
And traversing each frame of video frame data, and performing compression coding on the video data by the method to obtain the video data subjected to compression coding.
S1032, the compressed video data and the video tags are uploaded to a cloud server.
As an implementation manner, the cloud server decompresses the video data after receiving the compressed video data, and stores the decompressed video data.
Whether compression processing is carried out or not is selected according to the storage capacity of the video data, so that the efficiency of transmitting the video data is improved, and the storage efficiency of the video data is improved.
In some optional implementation manners of this embodiment, in step S104, when a request for obtaining video data is received, obtaining a target video data description from the request, retrieving, based on the target video data description, at the cloud service end, the obtaining of the target video data as a request result, and returning the obtained target video data to the requesting party includes:
s1041, analyzing the target video data description to obtain a video label description.
The video data acquisition request includes feature description of the video data, specifically information such as shooting time and shooting place, and an identifier of the feature target video data such as shooting time and shooting place is read from the acquisition request.
And S1042, inquiring target video data corresponding to the video tag description in the cloud service terminal based on the video tag description, and returning the target video data serving as a request result to the requester.
The method comprises the steps of reading information such as shooting time and shooting place of target video data from a video data acquisition request, using the shooting time and the shooting place or one of the shooting time and the shooting place as an index value, inquiring a video tag corresponding to the index value, and acquiring corresponding video data based on the video tag.
In the present embodiment, step S105 includes:
and when the target video data is inquired, decompressing the target video data to obtain decompressed video data.
When the video data are uploaded to the cloud server, the video data need to be compressed and coded, as an optional mode, the cloud server stores the video data in a compressed form, when the video data are inquired according to the video data acquisition request, the video data in the compressed form are decompressed and then returned to the request initiator, so that the request initiator can acquire the video data in the original form according to the acquired video data, and information recorded by the video data can be acquired more intuitively.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In one embodiment, a storage management apparatus for video data is provided, and the storage management apparatus for video data corresponds to the storage management method for video data in the above-described embodiments one to one. As shown in fig. 3, the video data storage management apparatus includes:
and the video data acquisition module 31 is configured to receive video data sent by the acquisition end, preprocess the video data, and store the processed video data to the first storage end.
The video data temporary storage module 32 is configured to obtain the storage capacity and the video tag of the video data in the first storage end, allocate a corresponding storage space to the video data based on the storage capacity, and use the video tag as an index value of the video data.
The video data storage module 33 is configured to acquire storage time of the video data in the first storage end, perform compression coding processing on the video data if the storage time of the video data exceeds preset storage time, upload the video data after the compression coding to the cloud server, and directly upload the video data to the cloud server if the storage time of the video data does not exceed the preset storage time.
And the video data acquisition module 34 is configured to, when receiving a request for acquiring video data, acquire a target video data description from the request, perform retrieval on the cloud server based on the target video data description, and return the acquired target video data as a request result to the requester.
In this embodiment, the video data acquisition module 31 includes the following units:
and the video data decoding unit is used for decoding the video data to generate an original video frame data sequence.
And the video frame data screening unit is used for screening the original video frame data sequence to obtain the video frame data sequence.
In this embodiment, the video data temporary storage module 32 includes the following modules:
and the video label generating unit is used for acquiring the number and the acquisition time of the acquisition end of the video data and generating the video label of the video data based on the number and the acquisition time of the acquisition end.
In the present embodiment, the video data storage module 33 includes the following units:
and the compressed video data generating unit is used for obtaining compressed video data by adopting a preset transcoding compression strategy based on the storage capacity of the video data when the storage time of the video data exceeds the preset storage time.
And the video data uploading unit is used for uploading the compressed video data and the video tags to the cloud server.
In the present embodiment, the video data acquisition module 34 includes the following units:
and the video label description generation unit is used for analyzing the target video data description to obtain the video label description.
And the video data query unit is used for querying target video data corresponding to the video tag description in the cloud server based on the video tag description, and returning the target video data serving as a request result to the requester.
In this embodiment, the video data obtaining module 34 further includes:
and the video data decompression unit is used for decompressing the target video data after the target video data is inquired to obtain decompressed video data.
Wherein the meaning of "first" and "second" in the above modules/units is only to distinguish different modules/units, and is not used to define which module/unit has higher priority or other defining meaning. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, and such that a division of modules presented in this application is merely a logical division and may be implemented in a practical application in a further manner.
For specific limitations of the video data storage management apparatus, reference may be made to the above limitations of the video data storage management method, which are not described herein again. The respective modules in the storage management apparatus for video data described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data involved in the storage management method of video data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of storage management of video data.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the storage management method for video data in the above embodiments are implemented, for example, steps S101 to S104 shown in fig. 2 and other extensions of the method and related steps. Alternatively, the processor, when executing the computer program, implements the functions of the respective modules/units of the storage management apparatus for video data in the above-described embodiments, such as the functions of the modules 31 to 34 shown in fig. 3. To avoid repetition, further description is omitted here.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc.
The memory may be integrated in the processor or may be provided separately from the processor.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the storage management method for video data in the above-described embodiments, such as the steps S101 to S104 shown in fig. 2 and extensions of other extensions and related steps of the method. Alternatively, the computer program, when executed by the processor, implements the functions of the respective modules/units of the storage management apparatus for video data in the above-described embodiments, such as the functions of the modules 31 to 34 shown in fig. 3. To avoid repetition, further description is omitted here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for managing storage of video data, comprising:
receiving video data sent by a collection end, preprocessing the video data, and storing the processed video data to a first storage end;
in the first storage end, acquiring the storage capacity and video tags of the video data, allocating corresponding storage space to the video data based on the storage capacity, and taking the video tags as index values of the video data;
acquiring the storage time of the video data in the first storage end, if the storage time of the video data exceeds the preset storage time, performing compression coding processing on the video data, and uploading the video data subjected to compression coding to a cloud service end, and if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud service end;
when a request for acquiring video data is received, acquiring target video data description from the request, retrieving at a cloud service terminal based on the target video data description, and returning the acquired target video data as a request result to a requesting party.
2. The method for storing and managing video data according to claim 1, wherein the step of preprocessing the video data received from the capturing end comprises:
decoding the video data to generate an original video frame data sequence;
and screening the original video frame data sequence to obtain a video frame data sequence.
3. The method for storing and managing video data according to claim 1, wherein the step of obtaining the storage capacity and the video tag of the video data in the first storage terminal is preceded by:
acquiring the number of a collecting end of the video data and collecting time, and generating a video label of the video data based on the number of the collecting end and the collecting time.
4. The method according to claim 1, wherein the step of acquiring the storage time of the video data in the first storage end, performing compression coding processing on the video data if the storage time of the video data exceeds a preset storage time, and uploading the video data subjected to compression coding to a cloud service end comprises:
when the storage time of the video data exceeds the preset storage time, based on the storage capacity of the video data, adopting a preset transcoding compression strategy to obtain compressed video data;
and uploading the compressed video data and the video tag to the cloud server.
5. The method for storing and managing video data according to claim 1, wherein when receiving a request for obtaining video data, obtaining a target video data description from the request, performing a search at a cloud server based on the target video data description, and returning the target video data as a request result to a requester comprises:
analyzing the target video data description to obtain a video label description;
and inquiring target video data corresponding to the video tag description in the cloud server based on the video tag description, and returning the target video data serving as a request result to the requester.
6. The method for managing storage of video data according to claim 5, wherein said method comprises:
and when the target video data is inquired, decompressing the target video data to obtain decompressed video data.
7. An apparatus for managing storage of video data, the apparatus comprising:
the video data acquisition module is used for receiving video data sent by an acquisition end, preprocessing the video data and storing the processed video data to a first storage end;
a video data temporary storage module, configured to obtain the storage capacity and a video tag of the video data in the first storage end, allocate a corresponding storage space to the video data based on the storage capacity, and use the video tag as an index value of the video data;
the video data storage module is used for acquiring the storage time of the video data in the first storage end, if the storage time of the video data exceeds the preset storage time, performing compression coding processing on the video data, uploading the video data subjected to compression coding to a cloud service end, and if the storage time of the video data does not exceed the preset storage time, directly uploading the video data to the cloud service end;
the video data acquisition module is used for acquiring target video data description from a request when the request for acquiring the video data is received, retrieving the target video data description at a cloud server side based on the target video data description, and returning the target video data serving as a request result to a requester.
8. The apparatus for storing and managing video data according to claim 7, wherein the video data acquisition module comprises:
the video data decoding unit is used for decoding the video data to generate an original video frame data sequence;
and the video frame data screening unit is used for screening the original video frame data sequence to obtain a video frame data sequence.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the storage management method of video data according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for storage management of video data according to any one of claims 1 to 6.
CN202110609292.9A 2021-06-01 2021-06-01 Video data storage management method and device, computer equipment and storage medium Pending CN113395487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110609292.9A CN113395487A (en) 2021-06-01 2021-06-01 Video data storage management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110609292.9A CN113395487A (en) 2021-06-01 2021-06-01 Video data storage management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113395487A true CN113395487A (en) 2021-09-14

Family

ID=77619767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110609292.9A Pending CN113395487A (en) 2021-06-01 2021-06-01 Video data storage management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113395487A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114007100A (en) * 2021-10-28 2022-02-01 深圳市商汤科技有限公司 Video processing method, video processing device, computer equipment and storage medium
CN114205641A (en) * 2021-11-30 2022-03-18 杭州华橙软件技术有限公司 Video data processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046735A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Video data compression method
CN105335387A (en) * 2014-07-04 2016-02-17 杭州海康威视系统技术有限公司 Retrieval method for video cloud storage system
CN106202273A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 File management method and system
CN107193968A (en) * 2017-05-25 2017-09-22 努比亚技术有限公司 A kind of method, device and the computer-readable recording medium of positional information storage
CN107948605A (en) * 2017-12-11 2018-04-20 日立楼宇技术(广州)有限公司 Method, apparatus, equipment and the storage medium of vehicle-mounted monitoring video data storage
CN111083520A (en) * 2018-10-19 2020-04-28 杭州海康威视系统技术有限公司 Method and apparatus for storing video data
CN111131786A (en) * 2019-12-30 2020-05-08 安徽长泰信息安全服务有限公司 Video monitoring storage system applying cloud storage
CN112218025A (en) * 2020-09-02 2021-01-12 北京迈格威科技有限公司 Data processing method, device, server and storage medium
CN112584155A (en) * 2020-12-11 2021-03-30 南京中兴力维软件有限公司 Video data processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046735A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Video data compression method
CN105335387A (en) * 2014-07-04 2016-02-17 杭州海康威视系统技术有限公司 Retrieval method for video cloud storage system
CN106202273A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 File management method and system
CN107193968A (en) * 2017-05-25 2017-09-22 努比亚技术有限公司 A kind of method, device and the computer-readable recording medium of positional information storage
CN107948605A (en) * 2017-12-11 2018-04-20 日立楼宇技术(广州)有限公司 Method, apparatus, equipment and the storage medium of vehicle-mounted monitoring video data storage
CN111083520A (en) * 2018-10-19 2020-04-28 杭州海康威视系统技术有限公司 Method and apparatus for storing video data
CN111131786A (en) * 2019-12-30 2020-05-08 安徽长泰信息安全服务有限公司 Video monitoring storage system applying cloud storage
CN112218025A (en) * 2020-09-02 2021-01-12 北京迈格威科技有限公司 Data processing method, device, server and storage medium
CN112584155A (en) * 2020-12-11 2021-03-30 南京中兴力维软件有限公司 Video data processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114007100A (en) * 2021-10-28 2022-02-01 深圳市商汤科技有限公司 Video processing method, video processing device, computer equipment and storage medium
CN114205641A (en) * 2021-11-30 2022-03-18 杭州华橙软件技术有限公司 Video data processing method and device

Similar Documents

Publication Publication Date Title
CN108683826B (en) Video data processing method, video data processing device, computer equipment and storage medium
CN108664331B (en) Distributed data processing method and device, electronic equipment and storage medium
KR101703931B1 (en) Surveillance system
CN103970793B (en) Information query method, client and server
CN110719332B (en) Data transmission method, device, system, computer equipment and storage medium
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN113395487A (en) Video data storage management method and device, computer equipment and storage medium
CN107295352B (en) Video compression method, device, equipment and storage medium
CN109167840B (en) Task pushing method, node autonomous server and edge cache server
CN110602445A (en) Video monitoring data acquisition method and device, computer equipment and storage medium
CN111327921A (en) Video data processing method and device
CN112099873A (en) Application program home page loading method, device, equipment and storage medium
CN111860313A (en) Information query method and device based on face recognition, computer equipment and medium
CN115297183A (en) Data processing method and device, electronic equipment and storage medium
CN111263097A (en) Media data transmission method and related equipment
CN112039936B (en) Data transmission method, first data processing equipment and monitoring system
CN110446118B (en) Video resource preprocessing method and device and video resource downloading method and device
CN108959393B (en) Dynamic picture processing method, device and storage medium
CN113096218A (en) Dynamic image playing method, device, storage medium and computer equipment
CN115190352A (en) Video data storage method and device, computer readable storage medium and electronic equipment
CN113099270B (en) File storage method, decoding method, device, storage medium and electronic device
CN104462422A (en) Object processing method and device
CN115062340A (en) Device access method, interface processing method and device
CN103974087A (en) Video image file compressing system, client and method
CN114039969A (en) Data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination