CN111506768A - Vehicle-mounted video data storage method and device, server and storage medium - Google Patents

Vehicle-mounted video data storage method and device, server and storage medium Download PDF

Info

Publication number
CN111506768A
CN111506768A CN202010317920.1A CN202010317920A CN111506768A CN 111506768 A CN111506768 A CN 111506768A CN 202010317920 A CN202010317920 A CN 202010317920A CN 111506768 A CN111506768 A CN 111506768A
Authority
CN
China
Prior art keywords
data
storage
blocks
video data
vehicle
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
CN202010317920.1A
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.)
SHENZHEN HUABAO ELECTRONIC TECHNOLOGY CO LTD
Original Assignee
SHENZHEN HUABAO ELECTRONIC 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 SHENZHEN HUABAO ELECTRONIC TECHNOLOGY CO LTD filed Critical SHENZHEN HUABAO ELECTRONIC TECHNOLOGY CO LTD
Priority to CN202010317920.1A priority Critical patent/CN111506768A/en
Publication of CN111506768A publication Critical patent/CN111506768A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a vehicle-mounted video data storage method, a device, a server and a storage medium, wherein the method comprises the steps of dividing received vehicle-mounted video data into a plurality of data blocks; and respectively storing the data blocks in a current storage medium which is divided into a plurality of storage blocks according to a preset rule. The technical scheme of the invention realizes the effect of improving the safety and stability of data storage.

Description

Vehicle-mounted video data storage method and device, server and storage medium
Technical Field
The embodiment of the invention relates to the field of data storage, in particular to a vehicle-mounted video data storage method, a vehicle-mounted video data storage device, a server and a storage medium.
Background
Vehicle-mounted mobile video monitoring device is mainly applied to monitoring and driving assistance of various large and medium-sized operation vehicles, so that the requirement on data stability is high, and data processing is complicated due to the incorporation of multiple paths of videos. Although the industry adopts equal distribution of file sizes for covering storage, the problems of losing files, colliding video loss and the like which seriously affect the product quality still exist.
Disclosure of Invention
The invention provides a vehicle-mounted video data storage method, a vehicle-mounted video data storage device, a server and a storage medium, and aims to achieve the effect of improving the safety and stability of data storage.
In a first aspect, an embodiment of the present invention provides a vehicle-mounted video data storage method, including:
dividing the received vehicle-mounted video data into a plurality of data blocks;
and respectively storing the data blocks in a current storage medium which is divided into a plurality of storage blocks according to a preset rule.
Optionally, before dividing the received vehicle-mounted video data into a plurality of data blocks, the method further includes:
the method comprises the steps of dividing a current storage medium into a plurality of storage blocks arranged in a matrix based on storage capacity and a preset rule when the current storage medium is started for the first time.
Optionally, the storing the plurality of data blocks in the current storage medium divided into a plurality of storage blocks according to a preset rule respectively includes:
cyclically storing the plurality of data blocks in the plurality of memory blocks based on data time.
Optionally, before cyclically storing the plurality of data blocks in the plurality of storage blocks based on the data time, the method further includes:
and forming a data index based on the vehicle-mounted video data and storing the data index in an index memory, wherein the data index comprises an attribute list of data stored in each storage block.
Optionally, the attribute list includes a data type, a data time and a storage block number, and the data time includes a start time and an end time.
Optionally, further comprising:
and if the storage block is detected to be in a bad block state, marking the storage block so as to skip storage during data storage.
Optionally, further comprising:
polling the data time in the data index;
displaying information of the storage blocks based on dates, wherein the information of the storage blocks comprises the storage block numbers and the data time corresponding to the storage blocks;
and displaying the vehicle-mounted video data according to a selection instruction of a user, wherein the selection instruction comprises the storage block number.
In a second aspect, an embodiment of the present invention further provides a vehicle-mounted video data storage device, including:
the data dividing module is used for dividing the received vehicle-mounted video data into a plurality of data blocks;
and the data storage module is used for respectively storing the data blocks in the current storage medium which is divided into a plurality of storage blocks according to a preset rule.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the in-vehicle video data storage method as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the in-vehicle video data storage method as described above.
The technical scheme of the invention divides the received vehicle-mounted video data into a plurality of data blocks; the data blocks are respectively stored in the current storage medium which is divided into the storage blocks according to the preset rule, so that the problem that video data are abnormal or lost easily when the video data are written in and meet the abnormal problems of sudden power failure and the like is solved, and the effects of improving the safety and stability of data storage are achieved.
Drawings
Fig. 1 is a flowchart of a vehicle-mounted video data storage method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a vehicle-mounted video data storage method according to a second embodiment of the present invention.
Fig. 3 is a flowchart of another vehicle-mounted video data storage method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an in-vehicle video data storage device according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a server in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, the first preset time threshold may be the second preset time threshold, and similarly, the second preset time threshold may be referred to as the first preset time threshold, without departing from the scope of the present application. Both the first preset time threshold and the second preset time threshold are preset time thresholds, but they are not the same preset time threshold. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a flowchart of a vehicle-mounted video data storage method according to an embodiment of the present invention, where the embodiment is applicable to a vehicle-mounted video data storage situation, and the method specifically includes the following steps:
s110, dividing the received vehicle-mounted video data into a plurality of data blocks;
in the embodiment, the data block is a group of several records which are sequentially and continuously arranged together, the data block is a physical record of data, the corresponding relation between the data block and the logical record of the data (logically connected, and a data unit of a group of adjacent units is occupied on a memory) has 3 modes that ① is a record, ② comprises a plurality of logical records, ③ is a logical record occupying several blocks, the size of the data block can be fixed or variable, and a gap exists between the blocks.
And S120, respectively storing the data blocks in the current storage medium which is divided into a plurality of storage blocks according to a preset rule.
In this embodiment, the storage block is an area in the current storage medium where information can be continuously stored, the current storage medium is divided into a plurality of storage blocks according to a preset rule, and the plurality of storage blocks are arranged in a two-dimensional matrix form, which can improve the data transmission rate inside one disk, and also can allow related disks in an array to act together when the array composed of a plurality of disks accesses data, thereby greatly reducing the data access time and achieving better space utilization. The embodiment stores the data blocks arranged in sequence in the storage blocks of the current storage medium in a circulating mode.
The technical scheme of the embodiment of the invention divides the received vehicle-mounted video data into a plurality of data blocks; the data blocks are respectively stored in the current storage medium which is divided into the storage blocks according to the preset rule, so that the problem that video data are abnormal or lost easily when the video data are written in and meet the abnormal problems of sudden power failure and the like is solved, and the effects of improving the safety and stability of data storage are achieved.
Example two
Fig. 2 is a flowchart of a vehicle-mounted video data storage method according to a second embodiment of the present invention, which is further optimized based on the foregoing embodiments, and the method specifically includes:
s210, when the current storage medium is started for the first time, the current storage medium is divided into a plurality of storage blocks arranged in a matrix based on storage capacity and a preset rule.
In this embodiment, when the current storage medium is started for the first time, the current storage medium may be formatted, the formatting is mainly to divide the storage blocks according to the storage capacity of a single storage medium, and the preset rule may be to divide the current storage medium into 100 storage blocks, for example, when the storage capacity of a single storage medium is 1T, the single storage medium may be divided into 100 storage blocks with storage capacity of 100G, and when the storage capacity of a single storage medium is 1G, the single storage medium may be divided into 100 storage blocks with storage capacity of 100M, which is not limited herein. The matrix is a square matrix formed by complex or real numbers arranged according to a rectangular array, and coefficients and constants from an equation set at the earliest.
S220, dividing the received vehicle-mounted video data into a plurality of data blocks;
in this embodiment, a data block is a group of several records that are sequentially arranged together. Because the data volume of the vehicle-mounted video data is large, the vehicle-mounted video data needs to be divided into a plurality of data blocks, so that the problem of data loss caused by sudden power failure when the data is stored in a cache in the normal storage process can be solved.
And S230, forming a data index based on the vehicle-mounted video data and storing the data index in an index memory, wherein the data index comprises an attribute list of data stored in each storage block.
In this embodiment, the data index is a sorted data structure in the database management system to assist in quickly querying and updating the data in the database table. A data index is a directory built of values in certain fields in order to improve the efficiency of the table search. The index memory is a particular allocated memory space. The attribute list is information about the data recorded by the storage medium during data storage, and the information is a unique index of each data block and can be used for accelerating the retrieval speed of the data. Optionally, the attribute list includes a data type, a data time and a storage block number, and the data time includes a start time and an end time.
In this embodiment, the data types may include analog data such as sound and image, and may also include digital data such as symbols and characters, the data time is a data generation time and a data expiration time, and the storage block label is a number assigned to each storage block in the storage medium when the storage block is divided.
And S240, circularly storing the plurality of data blocks in the plurality of storage blocks based on the data time.
In this embodiment, the data blocks are stored by the storage blocks arranged in the matrix according to the data generation time, and the attribute list of the data block may be recorded before the data is stored, so that storage failure due to path loss may be avoided. After all the storage blocks have stored data, the storage block data corresponding to the earliest data generation time index can be emptied and stored continuously after receiving the new data block, and data storage failure caused by insufficient capacity of a storage medium can be avoided. Optionally, further comprising: and if the storage block is detected to be in a bad block state, marking the storage block so as to skip storage during data storage.
In this embodiment, in a normal case, if the storage medium has a bad block phenomenon, the entire storage medium cannot be used, and the cost for retrieving the data therein is high. If the current storage medium comprises a plurality of disks, when a user takes one disk away, the storage block information can be inquired according to the control block, and the storage block at the latest time is found to be stored continuously, so that storage failure or data loss is avoided.
The technical scheme of the embodiment of the invention divides the current storage medium into a plurality of storage blocks arranged in a matrix based on the storage capacity and a preset rule when the current storage medium is started for the first time; dividing the received vehicle-mounted video data into a plurality of data blocks; forming a data index based on the vehicle-mounted video data and storing the data index in an index memory, wherein the data index comprises an attribute list of data stored in each storage block; and circularly storing the plurality of data blocks in the plurality of storage blocks based on data time, so that the problem that disk data is basically lost when bad blocks appear in disk partitions is solved, and the effect of improving the data storage safety is achieved.
EXAMPLE III
Fig. 3 is a flowchart of another vehicle-mounted video data storage method according to a third embodiment of the present invention, which is further optimized based on the foregoing embodiment, and includes:
s310, polling the data time in the data index;
in this embodiment, the polling is to send out an inquiry at regular time, and sequentially inquire whether data meeting the condition exists in the data index, if so, record information, ask for the next index after the recording is finished, and then repeat the process continuously and repeatedly. The embodiment can query the data time representing the data storage sequence in the data index, and find out the desired video data information according to the preset time range.
S320, displaying information of the storage block based on date, wherein the information of the storage block comprises the storage block number and the data time corresponding to the storage block;
in this embodiment, after the attribute list in the query data index can find out the desired video data information according to the preset time range, the storage block information where the data block meeting the date requirement is located can be displayed to the user for viewing. The start time and the end time of the storage blocks in the storage medium can be polled, all storage block numbers in one day can be recorded, and a storage block number list can be fed back. And polling the data start time of each storage block on the storage block number list and displaying the data start time for a user to view.
S330, displaying the vehicle-mounted video data according to a selection instruction of a user, wherein the selection instruction comprises the storage block number.
In this embodiment, the selection instruction is an operation instruction for the user to view or further query the storage block. The user can continuously poll or select the information corresponding to the storage block number for further viewing according to the self requirement narrowing range.
The technical scheme of the embodiment of the invention polls the data time in the data index; displaying information of the storage blocks based on dates, wherein the information of the storage blocks comprises the storage block numbers and the data time corresponding to the storage blocks; and displaying the vehicle-mounted video data according to a selection instruction of a user, wherein the selection instruction comprises the storage block number, so that the effect of quick query is realized.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a vehicle-mounted video data storage device 400 according to a third embodiment of the present invention, which is applicable to a vehicle-mounted video data storage situation, and the specific structure of the device is as follows:
a data dividing module 410, configured to divide the received vehicle-mounted video data into a plurality of data blocks;
a data storage module 420, configured to store the multiple data blocks in current storage media that are divided into multiple storage blocks according to a preset rule, respectively.
Optionally, the apparatus 400 further includes a formatting module, configured to divide the current storage medium into a plurality of storage blocks arranged in a matrix based on a storage capacity and a preset rule when the current storage medium is first started.
Optionally, the data storage module 420 includes storing the plurality of data blocks in a loop in the plurality of storage blocks based on data time.
Optionally, the apparatus 400 further includes an index storage module, configured to store a data index formed based on the vehicle-mounted video data in an index memory, where the data index includes an attribute list of data stored in each storage block.
Optionally, the attribute list includes a data type, a data time and a storage block number, and the data time includes a start time and an end time.
Optionally, the apparatus 400 further includes a marking module, configured to mark the memory block to skip storing during data storing if the memory block is detected to be in a bad block state.
Optionally, the apparatus 400 further comprises a polling module, a first display module and a second display module,
the polling module is used for polling the data time in the data index;
the first display module is used for displaying the information of the storage blocks based on dates, and the information of the storage blocks comprises the storage block numbers and the data time corresponding to the storage blocks;
the second display module is used for displaying the vehicle-mounted video data according to a selection instruction of a user, wherein the selection instruction comprises the storage block number.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary server 512 suitable for use in implementing embodiments of the present invention. The server 512 shown in fig. 5 is only an example and should not bring any limitations to the function and scope of the use of the embodiments of the present invention.
As shown in FIG. 5, the server 512 is in the form of a general purpose server. Components of server 512 may include, but are not limited to: one or more processors 516, a storage device 528, and a bus 518 that couples the various system components including the storage device 528 and the processors 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The server 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 512 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 528 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 530 and/or cache Memory 532. The terminal 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Storage 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542 may be stored, for example, in storage 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
Server 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing terminal, display 524, etc.), with one or more terminals that enable a user to interact with the server 512, and/or with any terminals (e.g., Network card, modem, etc.) that enable the server 512 to communicate with one or more other computing terminals, such communication may be via input/output (I/O) interfaces 522. furthermore, server 512 may also communicate via Network adapter 520 with one or more networks (e.g., local Area Network (L Area Network, L AN), Wide Area Network (WAN), and/or public networks, such as the Internet.) As shown in FIG. 5, Network adapter 520 communicates via bus 518 with other modules of server 512. it should be appreciated that, although not shown, other hardware and/or software modules may be used in connection with server 512, including, but not limited to, Redundant microcode, terminal drives, external disk drive Arrays, disk Arrays (Disks) Arrays, disk drives, and disk storage systems, RAID systems, and the like.
The processor 516 executes various functional applications and data processing by running a program stored in the storage device 528, for example, implementing an in-vehicle video data storage method provided by any embodiment of the present invention, the method may include:
dividing the received vehicle-mounted video data into a plurality of data blocks;
and respectively storing the data blocks in a current storage medium which is divided into a plurality of storage blocks according to a preset rule.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a vehicle-mounted video data storage method according to any embodiment of the present invention, where the method may include:
dividing the received vehicle-mounted video data into a plurality of data blocks;
and respectively storing the data blocks in a current storage medium which is divided into a plurality of storage blocks according to a preset rule.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A vehicle-mounted video data storage method is characterized by comprising the following steps:
dividing the received vehicle-mounted video data into a plurality of data blocks;
and respectively storing the data blocks in a current storage medium which is divided into a plurality of storage blocks according to a preset rule.
2. The in-vehicle video data storage method according to claim 1, wherein before dividing the received in-vehicle video data into a plurality of data blocks, further comprising:
the method comprises the steps of dividing a current storage medium into a plurality of storage blocks arranged in a matrix based on storage capacity and a preset rule when the current storage medium is started for the first time.
3. The on-vehicle video data storage method according to claim 1, wherein said storing the plurality of data blocks in a current storage medium divided into a plurality of storage blocks according to a preset rule, respectively, comprises:
cyclically storing the plurality of data blocks in the plurality of memory blocks based on data time.
4. The on-vehicle video data storage method according to claim 3, wherein before cyclically storing the plurality of data blocks in the plurality of storage blocks based on data time, further comprising:
and storing a data index formed based on the vehicle-mounted video data in an index memory, wherein the data index comprises an attribute list of data stored in each storage block.
5. The in-vehicle video data storage method according to claim 4, wherein the attribute list includes a data category, a data time, and a storage block number, the data time including a start time and an end time.
6. The in-vehicle video data storage method according to claim 1, further comprising:
and if the storage block is detected to be in a bad block state, marking the storage block so as to skip storage during data storage.
7. The in-vehicle video data storage method according to claim 4, further comprising:
polling the data time in the data index;
displaying information of the storage blocks based on dates, wherein the information of the storage blocks comprises the storage block numbers and the data time corresponding to the storage blocks;
and displaying the vehicle-mounted video data according to a selection instruction of a user, wherein the selection instruction comprises the storage block number.
8. An in-vehicle video data storage apparatus, comprising:
the data dividing module is used for dividing the received vehicle-mounted video data into a plurality of data blocks;
and the data storage module is used for respectively storing the data blocks in the current storage medium which is divided into a plurality of storage blocks according to a preset rule.
9. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the in-vehicle video data storage method of any one of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the in-vehicle video data storage method according to any one of claims 1 to 7.
CN202010317920.1A 2020-04-21 2020-04-21 Vehicle-mounted video data storage method and device, server and storage medium Pending CN111506768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010317920.1A CN111506768A (en) 2020-04-21 2020-04-21 Vehicle-mounted video data storage method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317920.1A CN111506768A (en) 2020-04-21 2020-04-21 Vehicle-mounted video data storage method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN111506768A true CN111506768A (en) 2020-08-07

Family

ID=71877878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317920.1A Pending CN111506768A (en) 2020-04-21 2020-04-21 Vehicle-mounted video data storage method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111506768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677180A (en) * 2022-04-12 2022-06-28 国网甘肃省电力公司兰州供电公司 Power engineering fund budget evaluation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527161A (en) * 2009-04-23 2009-09-09 浙江正原电气股份有限公司 Method for fast programming NAND flash and device thereof
CN108520569A (en) * 2018-03-30 2018-09-11 深圳市华宝电子科技有限公司 Storage method, device, system and the storage medium of video data
CN110100243A (en) * 2017-10-23 2019-08-06 深圳市锐明技术股份有限公司 A kind of storage method of video data, device and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527161A (en) * 2009-04-23 2009-09-09 浙江正原电气股份有限公司 Method for fast programming NAND flash and device thereof
CN110100243A (en) * 2017-10-23 2019-08-06 深圳市锐明技术股份有限公司 A kind of storage method of video data, device and terminal device
CN108520569A (en) * 2018-03-30 2018-09-11 深圳市华宝电子科技有限公司 Storage method, device, system and the storage medium of video data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677180A (en) * 2022-04-12 2022-06-28 国网甘肃省电力公司兰州供电公司 Power engineering fund budget evaluation system

Similar Documents

Publication Publication Date Title
CN110764706B (en) Storage system, data management method, and storage medium
CN104731896B (en) A kind of data processing method and system
CN111090628A (en) Data processing method and device, storage medium and electronic equipment
CN111694341A (en) Fault data storage method and device, vehicle-mounted equipment and storage medium
US7958299B2 (en) Hard disk system state monitoring method
US11934371B2 (en) Data processing method and apparatus, and computer-readable storage medium
CN105117351A (en) Method and apparatus for writing data into cache
CN114647650A (en) Data storage method and device, electronic equipment and storage medium
CN111694866A (en) Data searching and storing method, data searching system, data searching device, data searching equipment and data searching medium
CN113760839A (en) Log data compression processing method and device, electronic equipment and storage medium
CN109101603A (en) A kind of data comparison method, device, equipment and storage medium
CN114925101A (en) Data processing method and device, storage medium and electronic equipment
CN111506768A (en) Vehicle-mounted video data storage method and device, server and storage medium
CN110780821A (en) Optimization method and device of distributed storage system, server and storage medium
CN109347899B (en) Method for writing log data in distributed storage system
CN111198861A (en) Logic log processing method and device and electronic equipment
CN109739854A (en) A kind of date storage method and device
CN110222017A (en) Processing method, device, equipment and the computer readable storage medium of real time data
CN113760894A (en) Data calling method and device, electronic equipment and storage medium
CN117235069A (en) Index creation method, data query method, device, equipment and storage medium
CN112596949A (en) High-efficiency SSD (solid State disk) deleted data recovery method and system
US8171046B1 (en) Converting CQL query results into user-controllable objects
CN111198917A (en) Data processing method, device, equipment and storage medium
CN111405015B (en) Data processing method, device, equipment and storage medium
CN108595122B (en) Computer security management system based on local area network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication