CN115209079A - Method and equipment suitable for long-time data storage of high-speed camera - Google Patents

Method and equipment suitable for long-time data storage of high-speed camera Download PDF

Info

Publication number
CN115209079A
CN115209079A CN202210164433.5A CN202210164433A CN115209079A CN 115209079 A CN115209079 A CN 115209079A CN 202210164433 A CN202210164433 A CN 202210164433A CN 115209079 A CN115209079 A CN 115209079A
Authority
CN
China
Prior art keywords
data
grid
video
frame
picture
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.)
Granted
Application number
CN202210164433.5A
Other languages
Chinese (zh)
Other versions
CN115209079B (en
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.)
Beijing Zhuohe Technology Co Ltd
Original Assignee
Beijing Zhuohe Technology 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 Beijing Zhuohe Technology Co Ltd filed Critical Beijing Zhuohe Technology Co Ltd
Priority to CN202210164433.5A priority Critical patent/CN115209079B/en
Publication of CN115209079A publication Critical patent/CN115209079A/en
Application granted granted Critical
Publication of CN115209079B publication Critical patent/CN115209079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a method and equipment suitable for a high-speed camera to store data for a long time, and belongs to the technical field of image processing. The method comprises the following steps: s1: acquiring video data acquired by a high-speed camera; s2: acquiring each frame of picture of video data; s3: gridding each frame of picture to obtain a plurality of grid data; s4: performing encoding compression on each grid data; s5: and storing the grid data after the coding compression to an external storage medium. The equipment comprises a video picture frame extraction module, a video encoder processing capacity acquisition module, a picture gridding processing module, a gridding data distribution module, an external storage medium and a decoding playing module. The technical scheme of the invention can effectively store the high frame rate image data collected by the high-speed camera for a long time without configuring special storage and processing equipment, thereby reducing the hardware cost.

Description

Method and equipment suitable for long-time data storage of high-speed camera
Technical Field
The invention belongs to the technical field of image processing, and particularly relates to a method and equipment suitable for a high-speed camera to store data for a long time, computer equipment for realizing the method and a storage medium.
Background
A high-speed camera is an apparatus that captures continuous images at an extremely high frame rate, and the amount of data generated per unit time is much higher than that of a general camera due to the extremely high frame rate.
On the other hand, if the original video data is not compressed, the data amount thereof is very large, for example, for a 4K camera, the resolution of one frame of picture obtained by shooting thereof is 3840 × 2160. If an image is stored in the original RGB format, each pixel corresponds to 3 bytes of data, the amount of data corresponding to one frame of picture is 3840x2160x3=24883200 bytes, which is about 23.73MB, and the number of frames taken by a general video camera per second is 25 frames, the amount of data per second is 23.73 × 25 ≈ 593MB, and if an uncompressed video is stored in a 500GB hard disk, only about 14 minutes can be stored. In addition, the I/O speed of a common hard disk is far less than 593MB/s, so that the video is usually stored after being compressed and encoded. Taking the commonly used H264 encoder as an example, 4K video can be compressed to about 2MB/s, thereby reducing the requirement on the I/O speed of the hard disk and storing longer time video data.
For a high-speed camera, the shooting frame rate can reach 1000 frames/second or higher, and then the speed of the high-speed camera generating data is more than 40 times that of a common camera under the same resolution. If the data is not subjected to coding compression, the data output speed can reach 23.73GB, and the speed can not be reached by commercial memories at present. Therefore, a storage method commonly adopted by high-speed cameras is to use a computer memory for storage. There are two problems with this approach:
1. the storage space of the memory is far smaller than that of the hard disk, and data cannot be stored for a long time. Taking the above-mentioned camera as an example, 256GB of memory can only hold 10.78 seconds of data.
2. The data storage device cannot be powered down and power-down data is lost.
In order to solve the problems, the technical effect of the scheme provided by the prior art is poor.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method and equipment suitable for storing data for a high-speed camera for a long time, computer equipment for realizing the method and a storage medium.
In a first aspect of the present invention, a method for storing data for a long time by a high-speed camera is provided, the method comprising the following steps S1-S5:
s1: acquiring video data acquired by a high-speed camera;
s2: acquiring each frame of picture of the video data;
s3: gridding each frame of picture to obtain a plurality of grid data;
s4: performing coding compression on each grid data;
s5: and storing the grid data after the coding compression to an external storage medium.
As an implementation manner of the gridding, the step S3 specifically includes:
and for each frame of video picture, averagely dividing the video picture into M multiplied by N grid pictures, wherein the data volume contained in each grid in unit time does not exceed the real-time processing capacity of a video encoder, and M and N are positive integers larger than 2.
As a specific implementation manner of the encoding compression processing, the step S4 specifically includes:
sending each grid data to at least one video encoder for encoding and compressing;
the number of video encoders is not less than the number of grids.
In order to realize normal subsequent decoding playing, the step S3 further includes:
obtaining a plurality of grid pictures aiming at a video picture of the same frame, and inserting a timestamp into each grid picture, wherein the precision of the timestamp is millisecond, microsecond or nanosecond;
the step S4 further includes:
and sending each time stamp-inserted grid picture data to at least one video coder for coding compression processing.
As a further improvement of the gridding method, the present invention may also adopt other non-averaging gridding methods, and in this case, other methods are required to determine the grid size and the grid number.
As a specific implementation manner, after the step S2, the following steps may be executed before the step S3:
s21: acquiring the real-time processing capacity of each existing video encoder;
s22: determining a grid specification for gridding the current frame picture based on the real-time processing capacity, wherein the grid specification comprises the number of grids to be segmented and the size of each grid;
it is understood that in this step, the sizes of the different grids may be the same or different, depending on the real-time processing capability of each video encoder.
In order to realize that the data of the high-speed camera can be normally decoded and played after being transmitted and stored for a long time, after the step S5, the method further comprises: s6: and decoding and playing the stored grid data.
The decoding and playing specifically comprises the following steps:
s601: reading each grid data after the coding compression;
s602: decoding each grid data to find the grid data with the same timestamp;
s603: splicing the grid data with the same time stamp according to the positions of the grid data in the whole frame picture;
s604: and displaying the spliced picture to a user.
In order to implement the method according to the first aspect, in a second aspect of the present invention, there is provided an apparatus adapted to store data for a long time by a high-speed camera, the apparatus being connected to a high-speed camera array.
In a specific configuration, the apparatus includes:
the video frame extraction module is used for extracting the frame in the video data shot by each high-speed camera;
the video encoder processing capacity acquisition module is used for acquiring the real-time processing capacity information of each existing video encoder;
the frame gridding processing module is used for determining a grid specification based on the real-time processing capacity information of each video encoder acquired by the video encoder processing capacity acquisition module, and gridding a current frame based on the grid specification to obtain a plurality of grid data;
the grid data distribution module is used for distributing each grid data to a corresponding video encoder for encoding and compressing;
an external storage medium for storing each mesh data subjected to the encoding compression processing;
and the decoding playing module is used for decoding and playing the stored grid data.
Corresponding to decoding and playing, the picture gridding processing module also comprises a timestamp generation submodule;
the timestamp generation submodule generates a timestamp for each grid data, and inserts the timestamp into the grid data to obtain the plurality of grid data.
The decoding playing module decodes and plays the stored grid data, and specifically comprises the following steps:
s901: reading each grid data after the coding compression;
s902: decoding each grid data to find the grid data with the same timestamp;
s903: splicing the grid data with the same time stamp according to the positions of the grid data in the whole frame picture;
s904: and displaying the spliced picture to a user.
As a further improvement, in order to improve the efficiency of the encoding compression process and match with the subsequent decoding playing process, each video encoder has a unique encoding identifier;
the mesh data distribution module distributes each mesh data to a corresponding video encoder for encoding and compressing, and specifically includes:
and the grid data distribution module associates the position identifier of each grid data with the unique coding identifier of the corresponding video coder, and then distributes each grid data to the corresponding video coder for coding compression processing.
The technical scheme of the invention can be automatically realized by computer equipment based on computer program instructions.
Therefore, in a third aspect of the present invention, the present invention can be realized as a computer medium having stored thereon computer program instructions, which, by executing the program instructions, realize a method for storing data for a long time by a high-speed video camera according to the first aspect.
Similarly, in the fourth aspect of the present invention, the present invention may also be embodied as a computer program product, which is loaded into a computer storage medium and executed by a processor, thereby implementing all or part of the steps of the above method for storing data for a long time by a high-speed camera.
The technical scheme of the invention can effectively store the high frame rate image data collected by the high-speed camera for a long time without configuring special storage and processing equipment, thereby reducing the hardware cost. The concrete expression is as follows:
1, common storage equipment can store the high-frame-rate video for a long time by carrying out frame division and grid post-coding compression transmission on the high-frame-rate video shot by a high-speed camera;
2, dynamically updating the grid specification used by each time of gridding based on the idle processing capacity of the existing encoder, and ensuring that no delay and data blockage exist in each time of encoding compression processing;
3, adding a time stamp to the grid data of the same frame before encoding and compressing can ensure that the picture probably decoded, played and spliced and the original video picture accurately correspond to each other, improve the data processing efficiency and reduce the hardware cost.
Further advantages of the invention will be apparent in the detailed description section in conjunction with the drawings attached hereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required in the embodiments will be briefly described below, 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 the drawings without creative efforts.
Fig. 1 is a schematic main flowchart of a method for storing data for a long time by a high-speed camera according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of a further preferred embodiment for implementing the method of FIG. 1;
FIG. 3 is an overall flow chart of the implementation of the high-speed video decoding and playing of the camera after the method of FIG. 1 is executed;
FIG. 4 is a schematic block diagram of an apparatus for storing data for a long time by a high speed camera, which implements the method of FIGS. 1-3;
fig. 5 is a schematic diagram of decoding and playing after the device in fig. 4 realizes high-speed camera video storage.
Detailed Description
The invention is further described with reference to the following drawings and detailed description.
Referring to fig. 1, fig. 1 is a schematic main flow chart of a method for storing data for a long time by a high-speed camera according to an embodiment of the present invention.
Fig. 1 illustrates steps S1 to S5 of a method for storing data for a long time by a high-speed camera, where the steps are implemented as follows:
s1: acquiring video data acquired by a high-speed camera;
s2: acquiring each frame of picture of the video data;
s3: gridding each frame of picture to obtain a plurality of grid data;
s4: performing coding compression on each grid data;
s5: and storing the grid data after the coding compression to an external storage medium.
In this embodiment, in the step S3, the each frame of picture is gridded to obtain a plurality of grid data, and firstly, the grid specification of the gridding needs to be determined, including how many sub-grids each frame of picture is divided into, and the size of each sub-grid.
As a general principle, the complete video picture is first gridded, the size of the grid depending on the data rate generated by each grid can be handled by a video encoder.
As an implementation manner, an average splitting manner may be adopted, and the implementation manner is as follows:
and for each frame of video picture, segmenting the frame of video picture into M multiplied by N (M and N are both positive integers greater than 2) grid pictures, wherein the data quantity contained in each grid in unit time does not exceed the real-time processing capacity of a video encoder.
As a more specific example, existing commercial encoders are known that can encode video at 4K resolution, 25 frames per second, in real time. That is, its real-time encoding capability is 3840x2160x25=207360000 pixels/sec.
We can grid the video as a 5x8 grid, each grid size being 480x432.
For a 1000 frame per second camera, each grid produces an amount of data of
480x432x1000=207360000 pixels/sec, not exceeding the real-time processing power of the encoder. For cameras with higher frame rates, this approach can be implemented using small mesh partitions or using higher processing power encoders.
The processing device internally comprises no less than the number of the grids of encoders which respectively carry out encoding compression on the video data of one grid. Calculated by the above example, the data volume after each grid is coded is about 2MB/s, the data volume generated by all grids is about 80MB/s, and the I/O speed of many existing commercial storage devices can fully meet the requirement.
As another implementation, other non-averaging gridding methods are used, and in this case, other methods are needed to determine the grid size and the grid number.
As a specific implementation manner, the following steps may be executed after the step S2 and before the step S3:
s21: acquiring the real-time processing capacity of each existing video encoder;
s22: determining a grid specification for gridding the current frame picture based on the real-time processing capacity, wherein the grid specification comprises the number of grids to be segmented and the size of each grid;
in the specific implementation, the sizes of the different grids in this step may be the same or different, depending on the real-time processing capability of each existing video encoder.
It should be noted that the above steps are performed for each current frame, that is, the slicing manner (grid specification) of each current frame is not necessarily the same, but is dynamically changed, because the real-time processing capability of each currently existing video encoder is changed, the previously idle video encoder may be busy at the next frame, and the previously busy video encoder may be idle at the next frame.
After the cutting, the step S4 specifically includes: each mesh data is sent to at least one video encoder for encoding compression processing.
As a preference, during the slicing, it is ensured that the number of the video encoders is not lower than the number of the grids, so as to avoid data waiting.
In order to realize normal decoding and playing of the data of the high-speed camera after the long-time transmission and storage, after step S5, the method further comprises: s6: and decoding and playing the stored grid data.
Based on the above description, a further embodiment of the method described in fig. 2 can be obtained as follows:
s1: acquiring video data acquired by a high-speed camera;
s2: acquiring each frame of picture of the video data;
s21: acquiring the real-time processing capacity of each existing video encoder;
s22: determining a current grid specification for gridding a current frame based on the real-time processing capacity;
s3: gridding each frame of picture based on the current grid specification to obtain a plurality of grid data;
s4: performing encoding compression on each grid data;
s5: storing the encoded and compressed mesh data to an external storage medium;
s6: and decoding and playing the stored grid data.
Further, in order to realize that the data of the high-speed camera can be normally decoded and played after being transmitted and stored for a long time, the step S3 further includes:
obtaining a plurality of grid pictures aiming at the video picture of the same frame, and inserting a timestamp into each grid picture, wherein the precision of the timestamp is millisecond, microsecond or nanosecond;
specifically, in order to align the mesh data belonging to the same frame in time, the time information of the frame is added to one frame of uncompressed image data input to the encoder by the mesh (depending on the frame rate, the accuracy of the time stamp needs to be in the order of milliseconds, microseconds, or nanoseconds).
The step S4 further includes:
and sending each grid picture data inserted with the time stamp to at least one video encoder for encoding compression processing.
In step S5, the video encoded by these encoders is provided with the grid coordinate information and the timestamp information of each frame, and then stored on an external storage medium (e.g., a hard disk).
When in storage, the video data of each grid can be divided into different files for storage, and can also be stored into one file according to a certain format. If a single file storage mode is used, a custom format may be used, or a file format that supports multi-track video storage, such as the MP4 format, MPEG-TS format.
The whole process of processing and playing each frame of the video may refer to the training judgment process described in fig. 3, where the process is implemented in the form of computer program instructions, and the pseudo code process language thereof is as follows:
acquiring video data acquired by a high-speed camera;
acquiring a current frame picture of video data;
acquiring the real-time processing capacity of each existing video encoder;
determining a current grid specification for gridding a current frame picture;
gridding the current frame picture based on the determined current grid specification to obtain a plurality of current grid picture data;
inserting a timestamp in each current grid picture data;
sending each current grid picture data to a video encoder for encoding and compressing;
storing the current grid picture data after being coded and compressed to an external storage medium;
judging whether a next frame exists or not, and if not, entering a decoding and playing processing step;
otherwise, taking the next frame as the current frame, and returning to the step of acquiring the current frame of the video data.
In the above method, the decoding and playing processing steps may be summarized as follows:
1. the encoded video data of each grid is read from the storage medium.
2. These mesh videos are decoded to find the mesh frame pictures of the same timestamp.
3. And splicing the grid frame pictures together according to the positions of the grid frame pictures in the whole frame picture.
4. And displaying the spliced picture to a user.
Based on the above process, it is clear that each time the grid is sliced, the grid specification is dynamically changed for each frame of the current picture, because the real-time processing capability of each currently existing video encoder is changed, the previously idle video encoder may be busy at the next frame, and the previously busy video encoder may be idle at the next frame.
FIG. 4 is a block diagram of a high-speed camera long-term data storage device implementing the method of FIGS. 1-3;
the apparatus is connected to a high speed camera array.
In a specific structure, the apparatus includes:
the video frame extraction module is used for extracting the frame in the video data shot by each high-speed camera;
the video encoder processing capacity acquisition module is used for acquiring the real-time processing capacity information of each existing video encoder;
the frame gridding processing module is used for determining a grid specification based on the real-time processing capacity information of each video encoder acquired by the video encoder processing capacity acquisition module, and gridding a current frame based on the grid specification to obtain a plurality of grid data;
the grid data distribution module is used for distributing each grid data to a corresponding video encoder for encoding and compressing;
an external storage medium for storing each mesh data subjected to the encoding compression processing;
and the decoding playing module is used for decoding and playing the stored grid data.
Corresponding to decoding and playing, the picture gridding processing module also comprises a timestamp generation submodule;
the timestamp generation submodule generates a timestamp for each grid data, and inserts the timestamp into the grid data to obtain the plurality of grid data.
As a further improvement, in order to improve the efficiency of the encoding compression process and match with the subsequent decoding playing process, each video encoder has a unique encoding identifier;
the mesh data distribution module distributes each mesh data to a corresponding video encoder for encoding and compressing, and specifically includes:
and the grid data distribution module associates the position identifier of each grid data with the unique coding identifier of the corresponding video coder, and then distributes each grid data to the corresponding video coder for coding compression processing.
Fig. 5 is a schematic diagram of decoding and playing after the device in fig. 4 realizes high-speed camera video storage.
After obtaining the storage frame data from the external storage medium, the decoding playing module executes the following steps:
s901: reading each grid data after the coding compression;
s902: decoding each grid data to find the grid data with the same timestamp;
s903: splicing the grid data with the same time stamp according to the positions of the grid data in the whole frame picture;
s904: and displaying the spliced picture to a user.
According to the embodiment of the invention, the high-frame-rate video shot by the high-speed camera is subjected to encoding compression transmission after frame division and grid transmission, so that the high-frame-rate video can be stored for a long time by a common storage device; dynamically updating the grid specification used by each time of gridding based on the idle processing capacity of the existing encoder, and ensuring that no delay and data blockage exist in each time of encoding compression processing; the time stamp is added to the grid data of the same frame before coding and compressing, so that the pictures which are probably decoded, played and spliced can be ensured to be accurately corresponding to the original video pictures, the data processing efficiency is improved, and the hardware cost is reduced.
It should be noted that, the present invention may solve the above problems or achieve the corresponding technical effects, but not require that each embodiment of the present invention solves all the technical problems or achieves all the technical effects, and an embodiment that separately solves one or several technical problems or achieves one or more improved effects also constitutes a separate technical solution.
The technical scheme of the invention can be automatically realized by computer equipment based on computer program instructions. Similarly, the present invention can also be embodied as a computer program product, which is loaded on a computer storage medium and executed by a processor to implement the foregoing technical solutions.
Further embodiments therefore include a computer device comprising a memory storing a computer executable program and a processor configured to perform the steps of the above method.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
The present invention is not limited to the specific module structure described in the prior art. The prior art mentioned in the background section can be used as part of the invention to understand the meaning of some technical features or parameters. The scope of the present invention is defined by the claims.

Claims (10)

1. A method for storing data for a long time suitable for a high-speed camera is characterized in that,
the method comprises the following steps:
s1: acquiring video data acquired by a high-speed camera;
s2: acquiring each frame of picture of the video data;
s3: gridding each frame of picture to obtain a plurality of grid data;
s4: performing coding compression on each grid data;
s5: and storing the grid data after the coding compression to an external storage medium.
2. A method for storing data for a long time suitable for a high speed video camera according to claim 1,
the step S3 specifically includes:
for each frame of video picture, the frame is sliced into M × N grid pictures, wherein each grid contains no more data per unit time than the real-time processing capability of the video encoder.
3. A method for storing data for a long time suitable for a high speed video camera according to claim 1,
the step S4 specifically includes:
sending each grid data to at least one video coder for coding compression processing;
the number of video encoders is not less than the number of grids.
4. A method for storing data for a long time suitable for a high speed video camera according to claim 1,
the step S3 further includes:
obtaining a plurality of grid pictures aiming at the video picture of the same frame, and inserting a timestamp into each grid picture, wherein the precision of the timestamp is millisecond, microsecond or nanosecond;
the step S4 further includes:
and sending each grid picture data inserted with the time stamp to at least one video encoder for encoding compression processing.
5. The method for storing data for a long time by a high-speed camera according to claim 1, wherein after the step S2 and before the step S3, the method further comprises:
s21: acquiring the real-time processing capacity of each video encoder currently existing;
s22: and determining the grid specification for gridding the current frame picture based on the real-time processing capacity.
6. A method for storing data for a long time by a high speed camera according to any one of claims 1-5, wherein after step S5, the method further comprises:
s6: and decoding and playing the stored grid data.
7. An apparatus adapted for long term storage of data by high speed cameras, said apparatus connected to an array of high speed cameras, said apparatus comprising:
the video frame extraction module is used for extracting the frame in the video data shot by each high-speed camera;
the video encoder processing capacity acquisition module is used for acquiring the real-time processing capacity information of each existing video encoder;
the frame gridding processing module is used for determining a grid specification based on the real-time processing capacity information of each video encoder acquired by the video encoder processing capacity acquisition module, and gridding a current frame based on the grid specification to obtain a plurality of grid data;
the grid data distribution module is used for distributing each grid data to a corresponding video encoder for encoding and compressing;
an external storage medium for storing each mesh data subjected to the encoding compression processing;
and the decoding playing module is used for decoding and playing the stored grid data.
8. An apparatus for storing data for a long time suitable for a high speed camera according to claim 7, characterized by the values:
the picture gridding processing module also comprises a timestamp generation submodule;
the timestamp generation submodule generates a timestamp for each grid data, and inserts the timestamp into the grid data to obtain the plurality of grid data.
9. An apparatus for storing data for a long time by a high speed camera according to claim 8, characterized by the values:
the decoding playing module decodes and plays the stored grid data, and specifically comprises the following steps:
s901: reading each grid data after the coding compression;
s902: decoding each grid data to find the grid data with the same timestamp;
s903: splicing the grid data with the same timestamp according to the positions of the grid data in the whole frame picture;
s904: and displaying the spliced picture to a user.
10. An apparatus for storing data for a long time suitable for a high speed camera according to claim 7, characterized by the values:
each of the video encoders has a unique encoding identifier;
the mesh data distribution module distributes each mesh data to a corresponding video encoder for encoding and compressing, and specifically includes:
and the grid data distribution module correlates the position identifier of each grid data with the unique coding identifier of the corresponding video coder, and then distributes each grid data to the corresponding video coder for coding compression processing.
CN202210164433.5A 2022-02-23 2022-02-23 Method and equipment suitable for long-time data storage of high-speed camera Active CN115209079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210164433.5A CN115209079B (en) 2022-02-23 2022-02-23 Method and equipment suitable for long-time data storage of high-speed camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210164433.5A CN115209079B (en) 2022-02-23 2022-02-23 Method and equipment suitable for long-time data storage of high-speed camera

Publications (2)

Publication Number Publication Date
CN115209079A true CN115209079A (en) 2022-10-18
CN115209079B CN115209079B (en) 2023-05-02

Family

ID=83574257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210164433.5A Active CN115209079B (en) 2022-02-23 2022-02-23 Method and equipment suitable for long-time data storage of high-speed camera

Country Status (1)

Country Link
CN (1) CN115209079B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522543A (en) * 2002-04-26 2004-08-18 ���µ�����ҵ��ʽ���� Variable length encoding method and variable length decoding method
CN101977313A (en) * 2010-09-20 2011-02-16 中国科学院计算技术研究所 Video signal coding device and method
US20140044198A1 (en) * 2012-08-13 2014-02-13 Hulu Llc Splicing of Video for Parallel Encoding
CN104159063A (en) * 2013-05-14 2014-11-19 杭州海康威视数字技术股份有限公司 Real-time transcoding method and apparatus, and real-time decoding method and apparatus
CN104602008A (en) * 2015-01-14 2015-05-06 腾讯科技(深圳)有限公司 Video encoding method, device and system
CN106060582A (en) * 2016-05-24 2016-10-26 广州华多网络科技有限公司 Video transmission system, video transmission method and video transmission apparatus
CN107197295A (en) * 2017-05-18 2017-09-22 北京数码视讯科技股份有限公司 A kind of coded system and method
CN112346945A (en) * 2020-10-23 2021-02-09 北京津发科技股份有限公司 Man-machine interaction data analysis method and device
CN113949865A (en) * 2021-10-15 2022-01-18 中航航空电子有限公司 Image encoding method, image encoding device, computer apparatus, storage medium, and image decoding method
CN114079779A (en) * 2022-01-12 2022-02-22 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522543A (en) * 2002-04-26 2004-08-18 ���µ�����ҵ��ʽ���� Variable length encoding method and variable length decoding method
CN101242537A (en) * 2002-04-26 2008-08-13 松下电器产业株式会社 Encoding method
CN101977313A (en) * 2010-09-20 2011-02-16 中国科学院计算技术研究所 Video signal coding device and method
US20140044198A1 (en) * 2012-08-13 2014-02-13 Hulu Llc Splicing of Video for Parallel Encoding
CN104159063A (en) * 2013-05-14 2014-11-19 杭州海康威视数字技术股份有限公司 Real-time transcoding method and apparatus, and real-time decoding method and apparatus
CN104602008A (en) * 2015-01-14 2015-05-06 腾讯科技(深圳)有限公司 Video encoding method, device and system
CN106060582A (en) * 2016-05-24 2016-10-26 广州华多网络科技有限公司 Video transmission system, video transmission method and video transmission apparatus
CN107197295A (en) * 2017-05-18 2017-09-22 北京数码视讯科技股份有限公司 A kind of coded system and method
CN112346945A (en) * 2020-10-23 2021-02-09 北京津发科技股份有限公司 Man-machine interaction data analysis method and device
CN113949865A (en) * 2021-10-15 2022-01-18 中航航空电子有限公司 Image encoding method, image encoding device, computer apparatus, storage medium, and image decoding method
CN114079779A (en) * 2022-01-12 2022-02-22 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN115209079B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN102104764B (en) Method for compressing, storing and processing image sequence
KR100218650B1 (en) Data compression system and the method
EP3748972B1 (en) Video recording method and system
CN111654720B (en) Video encoding method, apparatus, device and readable storage medium
WO2021082667A1 (en) Video data encoding method and device, apparatus, and storage medium
CN105611309A (en) Video transmission method and device
CN1065702C (en) Adaptive video decompression
CN113051236B (en) Method and device for auditing video and computer-readable storage medium
JP2014527753A (en) Multi-view video predictive encoding method and apparatus, multi-view video predictive decoding method and apparatus
US11146799B2 (en) Method and apparatus for decoding video bitstream, method and apparatus for generating video bitstream, storage medium, and electronic device
CN111836076A (en) Video resolution switching method and device and electronic equipment
CN110784757A (en) Game live broadcast method and device in live broadcast client, medium and electronic equipment
CN108650460A (en) Server, panoramic video store and transmit method and computer storage media
CN105763885B (en) Method and device for releasing three-dimensional image-text information in real time
CN111901666A (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN113709510A (en) High-speed data real-time transmission method and device, equipment and storage medium
CN112532998A (en) Method, device and equipment for extracting video frame and readable storage medium
CN109644290B (en) Data switching device, data acquisition device, system and method
KR102238091B1 (en) System and method for 3d model compression and decompression
RU2746344C2 (en) Method and the device for encoding a signal representing the content of a light field
CN112153401B (en) Video processing method, communication device and readable storage medium
CN115209079B (en) Method and equipment suitable for long-time data storage of high-speed camera
KR20140007893A (en) A method for optimizing a video stream
EP4294021A1 (en) Data processing method and apparatus, computer device and storage medium
CN117280680A (en) Parallel mode of dynamic grid alignment

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
GR01 Patent grant
GR01 Patent grant