CN110737807A - data storage method, automobile data recorder, server and storage medium - Google Patents

data storage method, automobile data recorder, server and storage medium Download PDF

Info

Publication number
CN110737807A
CN110737807A CN201910995154.1A CN201910995154A CN110737807A CN 110737807 A CN110737807 A CN 110737807A CN 201910995154 A CN201910995154 A CN 201910995154A CN 110737807 A CN110737807 A CN 110737807A
Authority
CN
China
Prior art keywords
data
index
time
date
level
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
CN201910995154.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 CN201910995154.1A priority Critical patent/CN110737807A/en
Publication of CN110737807A publication Critical patent/CN110737807A/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/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; 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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data

Abstract

The invention discloses a data storage method which comprises the steps of obtaining data to be stored through a preset interface, obtaining data date, data time and national-sixth data of the data to be stored, sequentially generating index numbers and -level indexes according to the data date, creating a secondary index based on the data time under the -level index, and writing the national-sixth data into a data file corresponding to the direction of the secondary index.

Description

data storage method, automobile data recorder, server and storage medium
Technical Field
The embodiment of the invention relates to the field of data storage, in particular to data storage methods, a driving recorder, a server and a storage medium.
Background
The existing storage of the national six-protocol data mainly adopts write bare disc data as a reference, and describes the storage condition of the whole national six-data by relying on a head super block of a magnetic disc, such as read index and write index, and the read-write indexes are modified each time the national six-data of pages is written into the bare disc, so that the erasing and writing of the space of blocks are frequent, and the service life of the computer flash memory device is greatly reduced.
Meanwhile, in the aspects of indexing and searching for the national six data, the bare disk data is written, the storage condition must be checked in the system by using a special tool command, and the national six data checking is not intuitive.
Disclosure of Invention
, the invention provides data storage method to realize the stable acquisition and storage of the national six data, the steps are as follows:
acquiring data to be stored through a preset interface;
acquiring data date, data time and national data of the data to be stored;
sequentially generating an index number and -level indexes according to the data date;
under level index, creating a level two index based on the data time;
and writing the sixty-year data into a data file pointed by the corresponding secondary index.
In a second aspect, the present invention provides kinds of automobile data recorders, including:
the acquisition module acquires data to be stored through a preset interface; acquiring data date, data time and national data of the data to be stored;
the index number generation module is used for generating an index number based on the data date;
an level index generation module for creating level indexes based on the data date;
a secondary index generation module, configured to create a secondary index based on the data time at -level index;
and the data writing module is used for writing the GuoLiu data into the data file pointed by the corresponding secondary index.
In a third aspect, the present invention further provides kinds of servers, which include a memory, a processor and a program stored in the memory and executable on the processor, and when the processor executes the program, the processor implements the data storage method of the automobile data recorder described in any above.
In a fourth aspect, the present invention further provides terminal-readable storage media, wherein the program is capable of implementing the data storage method of the automobile data recorder described in any when the program is executed by a processor.
According to the method and the device, the two-stage index is created when the data file is written with the data of the national standard, so that the data is more convenient to inquire and transmit, and the efficiency is improved.
Drawings
Fig. 1 is a flowchart of a data storage method in an embodiment of the present invention.
Fig. 2 is a schematic diagram of the division of the data file storage space in the embodiment of the present invention.
Fig. 3 is a flow chart of an alternative embodiment of the present invention in an embodiment .
Fig. 4 is a flowchart of a data storage method according to a second embodiment of the present invention.
Fig. 5 is a flowchart of a data storage method in the third embodiment of the present invention.
Fig. 6 is a flow chart of an alternative embodiment of the third embodiment of the present invention.
Fig. 7 is a flow chart of an alternative embodiment of the third embodiment of the present invention.
Fig. 8 is a flow chart of an alternative embodiment of the third embodiment of the present invention.
Fig. 9 is a functional block diagram of a driving recorder according to a fourth embodiment of the present invention.
Fig. 10 is a functional block diagram of a driving recorder according to an alternative embodiment of the fourth embodiment of the present invention.
Fig. 11 is a schematic structural diagram of servers according to a fifth embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the drawings and examples, it being understood that the specific embodiments herein described are merely illustrative of and not restrictive on the broad invention, and it should be further noted that for the purposes of description, only some, but not all, of the structures associated with the present invention are shown in the drawings.
Example
As shown in fig. 1, the present embodiment discloses data storage methods, which are used in a state where received data is normal and a network environment is normal, and include the following steps:
s110, acquiring data to be stored through a preset interface;
the sixth country refers to the motor vehicle pollutant emission standard in the sixth country, including limit values and measurement methods for light vehicle pollutants (sixth country), limit values and measurement methods for heavy diesel vehicle pollutants (sixth country). In this embodiment, the data to be stored is the national six data, including engine data, OBD data, and the like, including fuel pressure, engine air flow, vehicle speed, and the like of the vehicle, as well as vehicle basic state parameters and emission-related parameters, such as an engine, a catalytic converter, a particulate trap, an oxygen sensor, an emission control system, a fuel system, and a GER.
In this step, the data to be stored is obtained times, illustratively, every 20 minutes.
S120, acquiring data date, data time and national data of the data to be stored;
in this step, the date of data refers to the year, month and day, the time of data refers to the hour, minute and second, and the national sixth data refers to CO ( carbon oxides), THC (total hydrocarbons), NMHC (non-methane hydrocarbons), NOX (nitrogen oxides), PM (particulate matter), and the like, as described above.
S130, sequentially generating an index number and -level indexes according to the data date;
in the step, the automobile data recorder calls EXT4 system files to generate index numbers in a disk storage space, wherein the index numbers are also called index node numbers and are used for recording file information in the EXT file system, the index numbers comprise information such as the length, the creating and modifying time, the authority, the affiliated relationship, the position in the disk and the like of files, and index numbers of the nodes in an array can be distributed to each node by the file system.
Since the EXT4 is an upgraded version of EXT2 and EXT3, and is capable of being downward compatible with EXT2, and the EXT4 file system has the characteristics of unlimited subdirectories, delayed allocation, online defragmentation, and the like, the EXT4 file system is preferably mounted in the drive recorder disk in the embodiment.
Illustratively, the index numbers are sequentially established from 0, the th day uses 0 as the index number, the 1 th day as the index number, the index number is 0, -level index is created, and if the 29 th 8 th 2019 is adopted, -level index is 20190829.
S140, under level indexes, creating a secondary index based on the data time;
the EXT file system can create a two-level index, and find the file address of the data to be queried by scanning the two-level index, wherein the index number, the -level index and the two-level index are used for positioning in a disk according to the data, date and time of the nation and the six in China when the subsequent data is read and sent to the supervision platform, so that the data is more convenient to query and acquire.
The -level index file is composed of a plurality of file blocks, as shown in FIG. 2, each data block is composed of a header and a plurality of data bodies, the header is composed of an index number and a -level index created according to a data date, each data body is composed of an index number, a secondary index created according to a data time, and or more data blocks, and the content of each data block is data to be stored written in a corresponding position.
S150, writing the Saturtium data into a data file pointed by a corresponding secondary index;
and dividing corresponding positions in the data file through two levels of indexes, and writing the national six data into the corresponding data file.
In an alternative embodiment, as shown in fig. 3, S150 further includes:
s151, compressing the national six data;
in this step, to prevent the data file from being insufficient, the data file needs to be compressed before being written, and the compression methods used include, but are not limited to, compression methods such as GZIP and RAR.
S152, writing the compressed Saturtium data into a data file pointed by the corresponding secondary index.
According to the embodiment, the two-stage index is created when the data file is written with the data of the national standard, so that the data query and transmission are more convenient, the efficiency is improved, frequent erasing and writing with memory spaces are not needed, and the service life of the computer flash memory device is prolonged.
Example two
As shown in fig. 4, this embodiment discloses data storage methods, which are applicable to the situation of insufficient data file margin, and the steps are as follows:
s201, acquiring data to be stored through a preset interface;
s202, acquiring data date, data time and national data of the data to be stored;
s203, sequentially generating an index number and -level indexes according to the data date;
s204, under level indexes, creating a secondary index based on the data time;
s205, writing the Saturtium data into a data file pointed by a corresponding secondary index;
s206, detecting the residual amount of the data file every th preset time interval;
in this step, to prevent the remaining space of the disk from being insufficient, the remaining amount of the data files times is detected every th preset time interval.
S207, when the residual quantity of the data file is lower than a preset residual quantity threshold value, searching the index number with the earliest date and -level indexes;
to ensure that the data collected and stored on the disk is always the newest data, the deletion needs to be started from the oldest data in the disk.
S208, searching the secondary index with the earliest time from the index number with the earliest date and the grade indexes;
in this step, based on the index number with the earliest date of the queried data and the -level index, the second-level index with the earliest time under the -level index is searched.
S209, deleting the Saturtium data in the data file pointed by the secondary index with the earliest corresponding moment.
Optionally, after all the satu data pointed by the secondary indexes under level indexes corresponding to certain data dates are deleted, the remaining amount of times of data files is detected, if the remaining amount of the data files is still lower than 10%, the level indexes with the earliest data dates are continuously searched, the satu data pointed by the secondary indexes under level indexes are sequentially deleted, and after all the satu data pointed by the secondary indexes under level indexes corresponding to certain data dates are deleted, the remaining amount of the times of data files is detected.
In the embodiment, the storage space of the disk is ensured by detecting the residual space of the disk in real time and deleting the data of the disk according to the time sequence. Meanwhile, the cyclic coverage is realized, and the collected and stored data is the latest data.
EXAMPLE III
As shown in fig. 5, the present embodiment provides data storage methods, which are suitable for the case where the stored sixty-wide data is sent to a supervision platform, and include the following steps:
s301, acquiring data to be stored through a preset interface;
s302, acquiring data date, data time and national data of the data to be stored;
s303, sequentially generating an index number and -level indexes according to the data date;
s304, under level indexes, creating a secondary index based on the data time;
s305, writing the GuoLiu data into a data file pointed by a corresponding secondary index;
and S306, sending the national six data to the supervision platform every second preset time interval.
As shown in fig. 6, in an alternative embodiment, S305 may further include:
s307, detecting whether a data reporting instruction of the supervision platform is received or not;
when data abnormality or network abnormality occurs or the monitoring platform needs to acquire data information of a specific time and a specific type, the monitoring platform sends a data reporting instruction to the automobile data recorder to acquire the required specific data information. The data reporting instruction comprises a date to be queried and/or a time to be queried to be reported.
S308, if the data is received, the date to be inquired and/or the time to be inquired contained in the data reporting instruction are/is read;
s309, determining an index number, an -level index and/or a two-level index based on the date to be queried and/or the time to be queried;
s310, reading corresponding data of the data file based on the index number, the level index and/or the level two index;
in this step, as shown in fig. 2, for example, when only the satu data and the date to be queried are received, the secondary index is not queried, and all data blocks stored in the data file with index number 0 and index number 20190819 of are read, where the data information refers to the satu data stored on 19 th 8 th 2019, and for example, when only the date to be queried and the time to be queried are received, all index numbers in the data file are sequentially scanned, and data with index number 20190819 of , index number 20190819094001 of 20190819094001, which refers to 9 th 19 th 9:10:01 th 2019 th 19 th, and the secondary index number 20190819101000, which refers to data at 10:10:00 th 8 th 19 th 2019 th 19 th.
S311, sending the corresponding data to the supervision platform;
in another alternative embodiment , as shown in fig. 7, S305 may further include:
s312, detecting the current network state in real time;
the network state in this step refers to the state of the wireless network signal of the vehicle communicating with the supervisory platform.
S313, if the current network is abnormal, recording the starting time of the network abnormality;
in this step, the network abnormality refers to a situation that data cannot be sent to the monitoring platform and/or a data reporting instruction sent by the monitoring platform cannot be received in the driving process of the automobile. In order to avoid the situation that vehicle pollutant emission data cannot be sent to a supervision platform within a communication interruption time period, when the network is detected to be abnormal, an automobile data recorder records abnormal starting time, wherein the abnormal starting time comprises an abnormal starting date and an abnormal starting moment.
S314, obtaining the network abnormal ending time and the network abnormal log until the network state returns to normal;
and detecting the network state in real time, acquiring the network abnormal ending time after the network state is recovered to be normal, and simultaneously storing a network abnormal log. Correspondingly, the abnormal end time comprises an abnormal end date and an abnormal end time, and the network abnormal log records data information which is not successfully sent to the supervision platform within the network signal interruption time.
S315, recording the abnormal starting time, the abnormal ending time and the network abnormal log in the data file as the reissued data.
According to the step S314, the abnormal time is recorded locally, and when the unsent data caused by the network abnormality is sent to the platform, the unsent data is identified as the reissued data in the data packet, and is not the real-time data. And sending the abnormal starting time, the abnormal ending time and the network abnormal log to a supervision platform for recording. And the supervision platform sends a data reporting instruction to the vehicle based on the abnormal starting time and the abnormal ending time so as to acquire the Saturday data stored by the automobile data recorder during the network interruption period.
In another alternative embodiment of , as shown in fig. 8, after S302 further includes:
s316, detecting whether only date and time of data are acquired, but not data of the national six are acquired;
when conditions including but not limited to interruption and instability of a CAN network signal of an in-vehicle local area network, failure of a sensor element for collecting pollutant emission information, failure of a magnetic disk and the like occur, the automobile data recorder cannot store newly generated national data;
s317, if yes, recording the data to be stored as abnormal data;
in this step, the abnormal data means that only the year, month, day, hour, minute, second information is acquired, but the national sixth data cannot be acquired.
S318, sending the abnormal data and the corresponding data date and data time to the supervision platform.
The automobile data recorder generates a data abnormal log, and the data abnormal log and the corresponding data date and data time are directly sent to the supervision platform and are not recorded in a data file.
According to the embodiment, the monitoring platform can timely acquire the data abnormity caused by network abnormity by recording the initial time of the data when the network environment is abnormal; meanwhile, by receiving a data reporting instruction sent by the supervision platform, the data of the national six data which needs to be supervised by the supervision platform is sent in a targeted manner, so that the query and supervision efficiency is improved; meanwhile, whether data information is not acquired in the data is detected, and the undetected record is taken as abnormal data, so that the situation that the monitoring data is misreported due to element faults is avoided, and the monitoring accuracy is improved.
Example four
As shown in fig. 9, the present embodiment provides kinds of automobile data recorders 4, including the following modules:
the acquisition module 401: the device is used for acquiring data to be stored through a preset interface; acquiring data date, data time and national data of the data to be stored;
index number generation module 402: for generating an index number based on the data date;
level index generating module 403, for creating level index according to the data date;
a secondary index generation module 404, configured to create a secondary index based on the data time at level ;
the data write module 405: and the data file is used for writing the saturnix data into the data file pointed by the corresponding secondary index.
In an alternative embodiment, as shown in fig. 10, further comprising:
the compression module 406 is used for compressing the national six data;
the data writing module 405 is further configured to write the compressed data into a data file pointed by the corresponding secondary index.
In another alternative embodiment, further comprising:
the detection module 407 is configured to detect the remaining amount of the data file every th preset time interval;
the query module 408 is configured to, when the remaining amount of the data file is lower than a preset remaining amount threshold, search the index number and -level index with the earliest date;
searching the secondary index with the earliest time from the index number with the earliest date and level indexes;
a deleting module 409, configured to delete the satu data in the data file pointed by the secondary index at the earliest corresponding time.
In another alternative embodiment, further comprising:
and a sending module 410, configured to send the data of the country six to the monitoring platform at intervals of a second preset time interval.
In another alternative embodiment, further comprising:
the detecting module 407 is further configured to detect whether a data reporting instruction of the monitoring platform is received;
if so, reading the date to be inquired and/or the time to be inquired contained in the data reporting instruction;
the query module 408 is further configured to determine an index number, an -level index and/or a secondary index based on the date to be queried and/or the time to be queried, and read corresponding data of the data file based on the index number, the -level index and/or the secondary index;
the sending module 410 is further configured to send the corresponding data to the monitoring platform.
In another alternative embodiment, further comprising:
the detecting module 407 is further configured to detect a current network state in real time;
if the current network is abnormal, recording the starting time of the network abnormality;
acquiring the network abnormal ending time and a network abnormal log until the network state returns to normal;
the sending module 410 is further configured to record the exception starting time, the exception ending time, and the network exception log in the data file as reissue data.
In another alternative embodiment, further comprising:
the detection module 407: the device is also used for detecting whether only the date and the time of the data are acquired, but not the data of the national six;
a recording module 411, configured to record the data to be stored as abnormal data if the data to be stored is abnormal;
the sending module 410 is further configured to send the abnormal data and the corresponding data date and data time to the monitoring platform.
The embodiment provides automobile data recorders, can execute data storage methods provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution methods.
EXAMPLE five
Fig. 11 is a schematic structural diagram of servers according to a fifth embodiment of the present invention, where as shown in fig. 11, the server includes processors 501, a memory 502, an input device 503, and an output device 504, the number of the processors 501 in the server may be or more, and processors 501 are taken as an example in the drawing, and the processors 501, the memory 502, the input device 503, and the output device 504 in the device/terminal/server may be connected by a bus or in another manner, and are taken as an example in fig. 11.
The memory 502 is used as computer-readable storage media for storing software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the theme update method in the embodiment of the present invention (for example, the index number generation module 402, the level index generation module 403, the secondary index generation module 404, and the like in the automobile data recorder).
The memory 502 may generally include a program storage area that may store an operating system, applications needed for at least functions, and a data storage area that may store data created from use of the terminal, etc. additionally, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least disk storage devices, flash memory devices, or other non-volatile solid state storage devices. some examples of the memory 502 may further include memory remotely located with respect to the processor 501, which may be connected to the device/terminal/server via a network.
The input means 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the device/terminal/server. The output device 504 may include a display device such as a display screen.
The server in the fifth embodiment of the invention creates the two-stage index when the data file is written in the data file, so that the data query and transmission are more convenient and the efficiency is improved.
EXAMPLE six
An embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media store thereon a computer program, and when the computer program is executed by a processor, the computer program implements data storage methods provided in any embodiment of the present invention, where the methods may include:
acquiring data to be stored through a preset interface;
acquiring data date, data time and national data of the data to be stored;
sequentially generating an index number and -level indexes according to the data date;
under level index, creating a level two index based on the data time;
and writing the sixty-year data into a data file pointed by the corresponding secondary index.
A more specific example (a non-exhaustive list) of the computer readable storage medium includes an electrical connection having 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.
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 .
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 or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or a combination thereof, as well as conventional procedural programming languages, such as the "C" 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 data storage method, comprising:
acquiring data to be stored through a preset interface;
acquiring data date, data time and national data of the data to be stored;
sequentially generating an index number and -level indexes according to the data date;
under level index, creating a level two index based on the data time;
and writing the sixty-year data into a data file pointed by the corresponding secondary index.
2. The data storage method of claim 1, wherein writing the saturnid data into the data file pointed to by the corresponding secondary index comprises:
compressing the national six data;
and writing the compressed national six data into a data file pointed by the corresponding secondary index.
3. The data storage method of claim 1, wherein after writing the satu data into the data file pointed to by the corresponding secondary index, further comprising:
detecting the residual quantity of the data file at preset time intervals of th;
when the residual quantity of the data file is lower than a preset residual quantity threshold value, searching the index number with the earliest date and -level indexes;
searching the secondary index with the earliest time from the index number with the earliest date and level indexes;
and deleting the Saturtium data in the data file pointed by the secondary index with the earliest corresponding moment.
4. The data storage method of claim 1, wherein after the writing the saturnid data into the data file pointed to by the corresponding secondary index, further comprising:
and sending the national six data to a supervision platform every second preset time interval.
5. The data storage method of claim 1, wherein after writing the satu data into the data file pointed to by the corresponding secondary index, further comprising:
detecting whether a data reporting instruction of a supervision platform is received or not;
if so, reading the date to be inquired and/or the time to be inquired contained in the data reporting instruction;
determining an index number, an level index and/or a level two index based on the date to be queried and/or the time to be queried;
reading corresponding data of the data file based on the index number, the level index and/or the level two index;
and sending the corresponding data to the supervision platform.
6. The data storage method of claim 1, wherein after writing the satu data into the data file pointed to by the corresponding secondary index, further comprising:
detecting the current network state in real time;
if the current network is abnormal, recording the starting time of the network abnormality;
acquiring the network abnormal ending time and a network abnormal log until the network state returns to normal;
and recording the abnormal starting time, the abnormal ending time and the network abnormal log in the data file as the complementary data.
7. The data storage method of claim 1, wherein after the obtaining of the date, time and country six data of the data to be stored, the method further comprises:
detecting whether only data date and data time are acquired but national data are not acquired;
if so, recording the data to be stored as abnormal data;
and sending the abnormal data and the corresponding data date and data time to the supervision platform.
An automobile data recorder of kind, comprising:
the acquisition module acquires data to be stored through a preset interface; acquiring data date, data time and national data of the data to be stored;
the index number generation module is used for generating an index number based on the data date;
an level index generation module for creating level indexes based on the data date;
a secondary index generation module, configured to create a secondary index based on the data time at -level index;
and the data writing module is used for writing the GuoLiu data into the data file pointed by the corresponding secondary index.
9, server, comprising a memory, a processor and a program stored on the memory and executable on the processor, wherein the processor when executing the program implements the data storage method of the automobile data recorder according to any of claims 1-7 and .
10, terminal readable storage medium, on which a program is stored, characterized in that the program, when being executed by a processor, is capable of implementing a data storage method of a tachograph according to any one of claims 1 to 7 or .
CN201910995154.1A 2019-10-18 2019-10-18 data storage method, automobile data recorder, server and storage medium Pending CN110737807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910995154.1A CN110737807A (en) 2019-10-18 2019-10-18 data storage method, automobile data recorder, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910995154.1A CN110737807A (en) 2019-10-18 2019-10-18 data storage method, automobile data recorder, server and storage medium

Publications (1)

Publication Number Publication Date
CN110737807A true CN110737807A (en) 2020-01-31

Family

ID=69270161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910995154.1A Pending CN110737807A (en) 2019-10-18 2019-10-18 data storage method, automobile data recorder, server and storage medium

Country Status (1)

Country Link
CN (1) CN110737807A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034729A (en) * 2021-04-20 2021-06-25 深圳爱加物联科技有限公司 4G automobile data recorder and cloud supplementary transmission method for video thereof
CN113362489A (en) * 2020-03-06 2021-09-07 联合汽车电子有限公司 Method for creating vehicle measurement file, electronic device, and storage medium
CN114419755A (en) * 2022-01-20 2022-04-29 深圳市汉锐信息技术股份有限公司 Automobile data recorder data processing method and system based on public cloud

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193917A (en) * 2010-03-01 2011-09-21 中国移动通信集团公司 Method and device for processing and querying data
CN205158470U (en) * 2015-10-13 2016-04-13 南京直觉科技有限公司 Vehicle -mounted traveling data recorder
CN105701096A (en) * 2014-11-25 2016-06-22 腾讯科技(深圳)有限公司 Index generation method, data inquiry method, index generation device, data inquiry device and system
CN106202157A (en) * 2016-06-23 2016-12-07 深圳市华域无线技术股份有限公司 Video method for quickly retrieving based on time stream
CN107870973A (en) * 2017-09-20 2018-04-03 广东东为信息技术有限公司 A kind of document storage system accelerated multi-path monitoring and played back simultaneously
CN108614836A (en) * 2016-12-13 2018-10-02 上海仪电(集团)有限公司中央研究院 A kind of Temporal-spatial data management method based on Hbase
CN109918472A (en) * 2019-02-27 2019-06-21 北京百度网讯科技有限公司 Method, apparatus, equipment and the medium of storage and inquiry data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193917A (en) * 2010-03-01 2011-09-21 中国移动通信集团公司 Method and device for processing and querying data
CN105701096A (en) * 2014-11-25 2016-06-22 腾讯科技(深圳)有限公司 Index generation method, data inquiry method, index generation device, data inquiry device and system
CN205158470U (en) * 2015-10-13 2016-04-13 南京直觉科技有限公司 Vehicle -mounted traveling data recorder
CN106202157A (en) * 2016-06-23 2016-12-07 深圳市华域无线技术股份有限公司 Video method for quickly retrieving based on time stream
CN108614836A (en) * 2016-12-13 2018-10-02 上海仪电(集团)有限公司中央研究院 A kind of Temporal-spatial data management method based on Hbase
CN107870973A (en) * 2017-09-20 2018-04-03 广东东为信息技术有限公司 A kind of document storage system accelerated multi-path monitoring and played back simultaneously
CN109918472A (en) * 2019-02-27 2019-06-21 北京百度网讯科技有限公司 Method, apparatus, equipment and the medium of storage and inquiry data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362489A (en) * 2020-03-06 2021-09-07 联合汽车电子有限公司 Method for creating vehicle measurement file, electronic device, and storage medium
CN113034729A (en) * 2021-04-20 2021-06-25 深圳爱加物联科技有限公司 4G automobile data recorder and cloud supplementary transmission method for video thereof
CN114419755A (en) * 2022-01-20 2022-04-29 深圳市汉锐信息技术股份有限公司 Automobile data recorder data processing method and system based on public cloud
CN114419755B (en) * 2022-01-20 2023-08-04 深圳市汉锐信息技术股份有限公司 Data processing method and system for automobile data recorder based on public cloud

Similar Documents

Publication Publication Date Title
CN110737807A (en) data storage method, automobile data recorder, server and storage medium
JP4270301B2 (en) Center communicating with in-vehicle data collection device
US7340331B2 (en) Vehicle data recorder using digital and analog diagnostic data
CN1661352B (en) Operator-side system and mode file identifying method
US20160062992A1 (en) Shared server methods and systems for information storage, access, and security
CN106528649B (en) mass data storage and retrieval system and method for new energy automobile
CN103529761B (en) A kind of new energy vehicle fault data acquisition method and apparatus
CN110008129B (en) Reliability test method, device and equipment for storage timing snapshot
CN102930614A (en) Integrated vehicle equipment recorder and its recording method
CN103902434A (en) Alarm log management method and system
CN109408383B (en) Java memory leak analysis method and device
CN209939593U (en) Intelligent material rack system
CN103645984A (en) Method and device for optimizing logs
CN102880718A (en) Flexible log storage and acquisition method
CN202711022U (en) Remote vehicle-mounted data acquisition system
CN109189724B (en) Method and device for improving audio and video data storage efficiency of video monitoring system
CN107967301B (en) Method and device for storing and inquiring monitoring data of power cable tunnel
CN112083893A (en) Disk space optimization method based on Linux
CN114238018B (en) Method, system and device for detecting integrity of log collection file and storage medium
US9002788B2 (en) System for configurable reporting of network data and related method
CN112124378B (en) Point-to-point automatic testing method and device for interlocking and ATS
CN111143294B (en) Data retrieval method and device for power acquisition terminal and electronic equipment
CN114237825A (en) Method for recording program abnormal data by full liquid crystal instrument
KR101207342B1 (en) Car digital tachograph apparatus having auto upgrade function
CN111784110A (en) Intelligent line patrol method and device for oil and gas field pipeline

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: 20200131

RJ01 Rejection of invention patent application after publication