Data storage method, automobile data recorder, server and storage medium
The invention discloses a data storage method. The method comprises the steps of obtaining to-be-stored data through a preset interface; obtaining the data date, the data moment and the national VI data of the to-be-stored data; sequentially generating an index number and a first-level index accordi...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data storage method. The method comprises the steps of obtaining to-be-stored data through a preset interface; obtaining the data date, the data moment and the national VI data of the to-be-stored data; sequentially generating an index number and a first-level index according to the data date; under the first-level index, creating a second-level index based on the data moment; and writing the national VI data into a data file pointed by the corresponding secondary index. The invention further provides an automobile data recorder, a server and a storage medium, the index number and the two-stage index are created when the national VI data are written into the data file, so that the data query and transmission are more convenient, and the efficiency is improved.
本发明公开了一种数据存储方法,包括:通过预设接口获取待存储数据;获取所述待存储数据的数据日期、数据时刻和国六数据;根据所述数据日期依次生成索引号和一级索引;在一级索引下,基于所述数据时刻创建二级索引;将所述国六数据写入对应二级索引指向的数据文件。本发明还提供了一种行车记录仪、服务器和存储介质,本发明通过将国六数据写入数据文件时创建索引号和两级索引,使数据查询和传输更为便捷,提高了效率。 |
---|