Data storage method and device, electronic equipment and storage medium

A data storage and data technology, applied in electrical digital data processing, redundancy in computing, data error detection, instrumentation, etc. safety effect

Pending Publication Date: 2022-04-22
CHINA FIRST AUTOMOBILE
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technical solutions are simple to implement, but cannot solve the problems of data damage or data loss, especially for data storage devices used in vehicles, which are particularly vulnerable to data loss or damage caused by vehicle vibration, impact or power failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data storage method and device, electronic equipment and storage medium
  • Data storage method and device, electronic equipment and storage medium
  • Data storage method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a schematic flow chart of a data storage method provided by Embodiment 1 of the present invention. This embodiment can be applied to the situation where the vehicle controller stores data, and is especially suitable for preventing the vehicle controller from being unable to access normally due to various factors. In the case of data damage or loss, the method can be executed by a data storage device, which can be implemented by software and / or hardware, and can be configured in a terminal and / or server to implement the data storage method in the embodiment of the present invention.

[0033] Such as figure 1 As shown, the method in this embodiment may specifically include:

[0034] S110. Obtain the data to be stored of the vehicle controller, and determine a main storage area and a backup storage area corresponding to the data to be stored, wherein the main storage area and the backup storage area are independent storage blocks in the flash memory , the ...

Embodiment 2

[0054] figure 2 It is a schematic flowchart of a data storage method provided in Embodiment 2 of the present invention. This embodiment is based on any optional technical solution in the embodiment of the present invention. Optionally, the data storage method further includes: when When a data read request for reading target read data is received, data is read from the main storage area corresponding to the target read data; if the data is read from the main storage area, the The read data is verified; if the data verification fails or the data is not read from the main storage area, the data is read from the backup storage area corresponding to the target read data.

[0055] Such as figure 2 As shown, the method in this embodiment may specifically include:

[0056] S210. Acquire the data to be stored of the vehicle controller, and determine a main storage area and a backup storage area corresponding to the data to be stored, wherein the main storage area and the backup st...

Embodiment 3

[0084] Figure 5 It is a schematic structural diagram of a data storage device provided in Embodiment 3 of the present invention. The data storage device provided in this embodiment can be realized by software and / or hardware, and can be configured in a terminal and / or server to realize the implementation of the present invention The data storage method in the example. The device may specifically include: a data acquisition module 310 , a main storage area storage module 320 and a backup storage area storage module 330 .

[0085] Wherein, the data acquisition module 310 is used to acquire the data to be stored of the vehicle controller, and determine a main storage area and a backup storage area corresponding to the data to be stored, wherein the main storage area and the backup storage area are Independent storage blocks in the flash memory, the flash memory is built in the main chip of the vehicle controller; the main storage area storage module 320 is used to write the dat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a data storage method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining to-be-stored data of a vehicle controller, and determining a main storage region and a backup storage region corresponding to the to-be-stored data; writing the to-be-stored data into a main storage area, and determining a data storage state of the to-be-stored data; and if the data storage state meets a preset backup storage starting condition, writing the to-be-stored data into a backup storage area. According to the technical scheme, through the method, the technical problem that data are damaged or lost due to the fact that the vehicle controller cannot be normally accessed due to various factors is solved, it is guaranteed that the safety of the data is effectively improved when the vehicle controller stores the data, and the technical effect that data backup is achieved in the same physical memory is achieved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data storage, and in particular, to a data storage method, device, electronic equipment, and storage medium. Background technique [0002] With the improvement of modern living standards, automobiles, as people's means of transportation, have also developed rapidly, and people's requirements for the safety and reliability of automobiles are also getting higher and higher. [0003] At present, the data storage of the vehicle controller mainly adopts a technical solution without data backup to store the data to be stored. [0004] The existing technical solutions are simple to implement, but cannot solve the problems of data damage or data loss, especially for data storage devices used in vehicles, which are particularly vulnerable to data loss or damage caused by vehicle vibration, impact or power failure. Contents of the invention [0005] Embodiments of the present invention ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14
CPCG06F11/1448
Inventor 许凯程姜珊孙忠刚张晓谦
Owner CHINA FIRST AUTOMOBILE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products