CN115562591A - Reliable EEPROM data storage system, method and device - Google Patents

Reliable EEPROM data storage system, method and device Download PDF

Info

Publication number
CN115562591A
CN115562591A CN202211337287.8A CN202211337287A CN115562591A CN 115562591 A CN115562591 A CN 115562591A CN 202211337287 A CN202211337287 A CN 202211337287A CN 115562591 A CN115562591 A CN 115562591A
Authority
CN
China
Prior art keywords
storage
data
mapping
file
storage unit
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
CN202211337287.8A
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.)
Chengdu Edelais Technology Co ltd
Original Assignee
Chengdu Edelais 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 Chengdu Edelais Technology Co ltd filed Critical Chengdu Edelais Technology Co ltd
Priority to CN202211337287.8A priority Critical patent/CN115562591A/en
Publication of CN115562591A publication Critical patent/CN115562591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • 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/0643Management of files
    • 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/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a reliable EEPROM data storage system, method and device, and relates to the technical field of computer information. The invention carries out safe storage on EEPROM data through four storage units/storage addresses for storing the EEPROM data, ensures the correctness of written data through mapping duplicate file check, ensures the monitoring and alarming of written abnormal behaviors through a written abnormal alarming mechanism, ensures the correctness of read data through a safe reading mechanism, and can correct the read data through correct data when partial data are wrong; compared with the prior art, the method has high reliability, and can solve the problem of power failure data recovery in the storage process.

Description

Reliable EEPROM data storage system, method and device
Technical Field
The invention relates to the technical field of computer information, in particular to a reliable EEPROM data storage system, method and device.
Background
An EEPROM (electrically erasable programmable read only memory) refers to a charged erasable programmable read only memory, and is a memory chip that data is not lost after power failure, and therefore, the EEPROM is generally used in occasions where data storage capacity is required to be small, access rate requirements are not high, and data is not lost after power failure, such as configuration information, process records, and other important data.
However, when the EEPROM stores data, it may suffer from external/occasional abnormal interference of the bus clock, which may cause data storage errors and may not ensure reliability of data storage. Therefore, the method comprises the following steps:
prior art 1: a method for testing data protection of a system adopts 3 or more groups of storage, and a method for comparing two same data is adopted to improve reliability when the data are taken out, but the problem that the data can be in error when two groups of data are the same or different is not solved.
Prior art 2: a method and a flow for reliably storing EEPROM data adopt the technology of high and low storage areas and read back, and check is added to prevent data errors, so that the problem of power failure data recovery in the storage process is not solved.
Prior art 3: a writing backup EEPROM and a writing flag bit are adopted to prevent data from falling, and data errors can occur when power failure occurs before writing success flags and writing backup are completed.
Prior art 4: a method for preventing EEPROM data from losing in case of power failure is applied to an embedded system, partially solves the problem of data loss by adopting a mode of storing in three parts, but has no mechanism for solving the correctness of three data written in.
Therefore, it is desirable to provide a system, method and apparatus for reliable storage of EEPROM data to solve one of the above problems.
Disclosure of Invention
In order to solve one of the above technical problems, the present invention provides an EEPROM data reliable storage system, which is used for reliably storing data to be stored, and includes at least four storage units for storing EEPROM data and a control unit for managing writing and reading of the EEPROM data:
the first storage unit is used for storing first storage data, and the first storage data is a mapping copy file written in the first storage unit by data to be stored;
the second storage unit is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage unit by the data to be stored;
the third storage unit is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage unit by the data to be stored;
the fourth storage unit is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage unit by the data to be stored;
a control unit including a storage control unit and a read control unit: the storage control unit is used for managing data writing of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and converting data to be stored into corresponding mapping copy files; and the storage control unit is used for managing data reading of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and safely reading out the corresponding mapping copy file.
As a further solution, the storage control unit further performs a mapped-replica file check when writing the mapped-replica file:
when each storage unit stores the corresponding mapping duplicate file, each mapping duplicate file is respectively compared with the data to be stored; if the data are the same, the corresponding storage unit mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage unit for storage; if the data are different, the corresponding storage unit is considered to fail to check the mapped duplicate file, the data to be stored are rewritten into the mapped duplicate file, and the checking of the mapped duplicate file is executed again.
As a further solution, when performing check of the mapped duplicate file, a write exception alarm mechanism is further provided:
presetting a rewriting time upper limit value, and recording the rewriting time when the mapping duplicate file fails to be checked; if the rewriting times of the same storage unit exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal in writing, alarming the abnormal writing, and stopping writing the data to be stored.
As a further solution, the read control unit securely reads out, by a secure read-out mechanism, the mapped replica file:
comparing the mapping duplicate files in each storage unit, and if the mapping duplicate files in each storage unit are the same, correctly writing the mapping duplicate files written into each storage unit, and safely reading the mapping duplicate files; if the mapping duplicate files in the storage units are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage unit and the second storage unit is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage unit and the fourth storage unit;
and when the first storage data and the second storage data are different, the mapping duplicate file which is written into the third storage unit and the fourth storage unit by the same third storage data and fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage unit and the second storage unit.
As a further solution, the first storage unit, the second storage unit, the third storage unit and the fourth storage unit can be deployed by arranging independent memories respectively, and can also be deployed by sharing memories and dividing the storage units through software definition.
A reliable EEPROM data storage method is used for reliably storing data to be stored, the data to be stored are respectively stored in four different storage addresses for storing EEPROM data, and the writing and reading of the EEPROM data in each storage address are managed through a control program:
the data storage device comprises a first storage address and a second storage address, wherein the first storage address is used for storing first storage data, and the first storage data is a mapping copy file written in the first storage address by data to be stored;
the second storage address is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage address by the data to be stored;
the third storage address is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage address by the data to be stored;
the fourth storage address is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage address by the data to be stored;
a control program comprising a storage control program and a read control program: the storage control program is used for managing data writing of a first storage address, a second storage address, a third storage address and a fourth storage address and converting data to be stored into corresponding mapping copy files; the storage control program is used for managing data reading of the first storage address, the second storage address, the third storage address and the fourth storage address, and reading the corresponding mapping duplicate file safely.
As a further solution, the storage control program further performs a mapped duplicate file check when writing the mapped duplicate file:
when each storage address stores the corresponding mapping duplicate file, comparing each mapping duplicate file with the data to be stored respectively; if the data are the same, the corresponding storage address mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage address for storage; and if the data are different, determining that the corresponding storage address mapping duplicate file is failed to be checked, rewriting the data to be stored into the mapping duplicate file again, and performing the mapping duplicate file checking again.
As a further solution, when performing check of the mapped duplicate file, a write exception alarm mechanism is further provided:
presetting an upper limit value of the rewriting times, and recording the rewriting times when the check of the mapped duplicate file fails; if the rewriting times of the same storage address exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal in writing, alarming the abnormal writing, and stopping writing the data to be stored.
As a further solution, the read control program securely reads out the mapped replica file by a secure read-out mechanism:
comparing the mapping duplicate files in each storage address, if the mapping duplicate files in each storage address are the same, the mapping duplicate files written into each storage address are all correctly written, and the mapping duplicate files are safely read; if the mapping duplicate files in the storage addresses are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage address and the second storage address is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage address and the fourth storage address;
and when the first storage data is different from the second storage data, the mapping duplicate file which is written into the third storage address and the fourth storage address by the same third storage data and fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage address and the second storage address.
An EEPROM data-reliable storage device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor when executing said program implements an EEPROM data-reliable storage system as described in any one of the above; or the program realizes the safe storage and reading of the EEPROM data through the reliable EEPROM data storage method.
Compared with the related technology, the reliable EEPROM data storage system, the method and the device provided by the invention have the following beneficial effects:
the EEPROM data is safely stored through four storage units/storage addresses for storing the EEPROM data, the correctness of the written data is ensured through the check of a mapping duplicate file, the monitoring and the alarm of the abnormal behavior of the written data are ensured through a written abnormal alarm mechanism, the correctness of the read data is ensured through a safe read mechanism, and when partial data is wrong, the data can be corrected through correct data; compared with the prior art, the method has high reliability, and can solve the problem of power failure data recovery in the storage process.
Drawings
FIG. 1 is a write flow diagram of a system, method and apparatus for reliable storage of EEPROM data according to the present invention;
fig. 2 is a read-out flow chart of a system, a method and a device for reliably storing EEPROM data according to the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
As shown in fig. 1 and fig. 2, the EEPROM data reliable storage system provided by the present invention is used for reliably storing data to be stored, and includes at least four storage units for storing EEPROM data and a control unit for managing writing and reading of EEPROM data:
the first storage unit is used for storing first storage data, and the first storage data is a mapping copy file written in the first storage unit by data to be stored;
the second storage unit is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage unit by the data to be stored;
the third storage unit is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage unit by the data to be stored;
the fourth storage unit is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage unit by the data to be stored;
a control unit including a storage control unit and a read control unit: the storage control unit is used for managing data writing of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and converting data to be stored into corresponding mapping copy files; and the storage control unit is used for managing data reading of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and safely reading out the corresponding mapping duplicate file.
As a further solution, the storage control unit further performs a mapped duplicate file check when writing the mapped duplicate file:
when each storage unit stores the corresponding mapping duplicate file, each mapping duplicate file is respectively compared with the data to be stored; if the data are the same, the corresponding storage unit mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage unit for storage; and if the data are different, determining that the corresponding storage unit mapping duplicate file is failed to check, rewriting the data to be stored into the mapping duplicate file again, and performing the mapping duplicate file check again.
As a further solution, when performing check of the mapped duplicate file, a write exception alarm mechanism is further provided:
presetting a rewriting time upper limit value, and recording the rewriting time when the mapping duplicate file fails to be checked; if the rewriting times of the same storage unit exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal in writing, alarming the abnormal writing, and stopping writing the data to be stored.
As a further solution, as shown in fig. 2, the read control unit securely reads out the mapped replica file by a secure read-out mechanism:
comparing the mapping duplicate files in each storage unit, and if the mapping duplicate files in each storage unit are the same, correctly writing the mapping duplicate files written into each storage unit, and safely reading the mapping duplicate files; if the mapping duplicate files in the storage units are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage unit and the second storage unit is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage unit and the fourth storage unit;
and when the first storage data and the second storage data are different, the mapping duplicate file which is written into the third storage unit and the fourth storage unit by the same third storage data and fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage unit and the second storage unit.
As a further solution, the first storage unit, the second storage unit, the third storage unit and the fourth storage unit can be deployed by arranging independent memories respectively, and can also be deployed by sharing memories and dividing the storage units through software definition.
The reliable EEPROM data storing method is used for reliably storing data to be stored, the data to be stored are respectively stored in four different storage addresses for storing EEPROM data, and the writing and reading of the EEPROM data in each storage address are managed through a control program:
the data storage method comprises the steps that a first storage address is used for storing first storage data, and the first storage data are mapping copy files written in the first storage address by data to be stored;
the second storage address is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage address by the data to be stored;
the third storage address is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage address by the data to be stored;
the fourth storage address is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage address by the data to be stored;
a control program comprising a storage control program and a read control program: the storage control program is used for managing data writing of a first storage address, a second storage address, a third storage address and a fourth storage address and converting data to be stored into corresponding mapping copy files; the storage control program is used for managing data reading of the first storage address, the second storage address, the third storage address and the fourth storage address, and reading the corresponding mapping duplicate file safely.
As a further solution, the storage control program further performs a mapped duplicate file check when writing the mapped duplicate file:
when each storage address stores the corresponding mapping duplicate file, comparing each mapping duplicate file with the data to be stored respectively; if the data are the same, the corresponding storage address mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage address for storage; and if the data are different, determining that the corresponding storage address mapping duplicate file is failed to be checked, rewriting the data to be stored into the mapping duplicate file again, and performing the mapping duplicate file checking again.
As a further solution, when performing check of the mapped duplicate file, a write exception alarm mechanism is further provided:
presetting a rewriting time upper limit value, and recording the rewriting time when the mapping duplicate file fails to be checked; if the rewriting times of the same storage address exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal, performing abnormal writing alarm, and stopping writing the data to be stored.
As a further solution, the read control program securely reads out the mapped replica file by a secure read-out mechanism:
comparing the mapping duplicate files in the storage addresses, if the mapping duplicate files in the storage addresses are the same, the mapping duplicate files written in the storage addresses are all correctly written, and the mapping duplicate files are safely read; if the mapped duplicate files in the storage addresses are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage address and the second storage address is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage address and the fourth storage address;
and when the first storage data and the second storage data are different, the mapping duplicate file written into the third storage address and the fourth storage address by the third storage data and the fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage address and the second storage address.
An EEPROM data-reliable storage device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor when executing said program implements an EEPROM data-reliable storage system as described in any one of the above; or the program realizes the safe storage and reading of the EEPROM data through the EEPROM data reliable storage method.
It should be noted that: the invention carries out safe storage on EEPROM data through four storage units/storage addresses for storing the EEPROM data, ensures the correctness of written data through mapping duplicate file check, ensures the monitoring and alarming of written abnormal behaviors through a written abnormal alarming mechanism, ensures the correctness of read data through a safe reading mechanism, and can correct the read data through correct data when partial data are wrong; compared with the prior art, the method has high reliability, and can solve the problem of power failure data recovery in the storage process.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.

Claims (10)

1. An EEPROM data reliable storage system, which is used for reliable storage of data to be stored, comprises at least four storage units for storing EEPROM data and a control unit for managing writing and reading of the EEPROM data:
the first storage unit is used for storing first storage data, and the first storage data is a mapping copy file written in the first storage unit by the data to be stored;
the second storage unit is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage unit by the data to be stored;
the third storage unit is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage unit by the data to be stored;
the fourth storage unit is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage unit by the data to be stored;
a control unit including a storage control unit and a read control unit: the storage control unit is used for managing data writing of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and converting data to be stored into corresponding mapping copy files; and the storage control unit is used for managing data reading of the first storage unit, the second storage unit, the third storage unit and the fourth storage unit and safely reading out the corresponding mapping duplicate file.
2. The EEPROM data reliable storage system of claim 1, wherein the storage control unit further performs a mapped replica file check when the mapped replica file is written:
when each storage unit stores the corresponding mapping duplicate file, each mapping duplicate file is respectively compared with the data to be stored; if the data are the same, the corresponding storage unit mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage unit for storage; if the data are different, the corresponding storage unit is considered to fail to check the mapped duplicate file, the data to be stored are rewritten into the mapped duplicate file, and the checking of the mapped duplicate file is executed again.
3. The EEPROM data reliable storage system according to claim 2, wherein when performing the check of the mapped duplicate file, a write exception warning mechanism is further provided:
presetting an upper limit value of the rewriting times, and recording the rewriting times when the check of the mapped duplicate file fails; if the rewriting times of the same storage unit exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal in writing, alarming the abnormal writing, and stopping writing the data to be stored.
4. The EEPROM data reliable storage system of claim 3, wherein the read control unit securely reads the mapped replica file by a secure read mechanism:
comparing the mapping duplicate files in each storage unit, and if the mapping duplicate files in each storage unit are the same, correctly writing the mapping duplicate files written into each storage unit, and safely reading the mapping duplicate files;
if the mapped duplicate files in the storage units are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage unit and the second storage unit is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage unit and the fourth storage unit;
and when the first storage data and the second storage data are different, the mapping duplicate file which is written into the third storage unit and the fourth storage unit by the same third storage data and fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage unit and the second storage unit.
5. The EEPROM data reliable storage system of claim 4, wherein the first storage unit, the second storage unit, the third storage unit and the fourth storage unit can be disposed by setting independent memories, or can be disposed by sharing memories and dividing storage units by software definition.
6. The method for reliably storing the EEPROM data is characterized in that the method is used for reliably storing the data to be stored, the data to be stored are respectively stored in four different storage addresses for storing the EEPROM data, and the writing and reading of the EEPROM data in each storage address are managed through a control program:
the data storage method comprises the steps that a first storage address is used for storing first storage data, and the first storage data are mapping copy files written in the first storage address by data to be stored;
the second storage address is used for storing second storage data, and the second storage data is a mapping copy file written in the second storage address by the data to be stored;
the third storage address is used for storing third storage data, and the third storage data is a mapping copy file written in the third storage address by the data to be stored;
the fourth storage address is used for storing fourth storage data, and the fourth storage data is a mapping copy file written in the fourth storage address by the data to be stored;
a control program comprising a storage control program and a reading control program: the storage control program is used for managing data writing of a first storage address, a second storage address, a third storage address and a fourth storage address and converting data to be stored into corresponding mapping copy files; the storage control program is used for managing data reading of the first storage address, the second storage address, the third storage address and the fourth storage address, and reading the corresponding mapping duplicate file safely.
7. The method of claim 6, wherein said storage control program further performs a mapped replica file check when writing a mapped replica file:
when each storage address stores the corresponding mapping copy file, comparing each mapping copy file with the data to be stored respectively; if the data are the same, the corresponding storage address mapping duplicate file is considered to be successfully checked, and the mapping duplicate file is written into the corresponding storage address for storage; and if the data are different, determining that the corresponding storage address mapping duplicate file is failed to be checked, rewriting the data to be stored into the mapping duplicate file again, and performing the mapping duplicate file checking again.
8. The method as claimed in claim 7, wherein when checking the mapping duplicate file, a write exception alarm mechanism is further provided:
presetting a rewriting time upper limit value, and recording the rewriting time when the mapping duplicate file fails to be checked; if the rewriting times of the same storage address exceed the preset rewriting time upper limit value for the single data to be stored; and determining that the data is abnormal in writing, alarming the abnormal writing, and stopping writing the data to be stored.
9. The method of claim 8, wherein the read control program securely reads the mapped copy file by a secure read mechanism:
comparing the mapping duplicate files in the storage addresses, if the mapping duplicate files in the storage addresses are the same, the mapping duplicate files written in the storage addresses are all correctly written, and the mapping duplicate files are safely read; if the mapping duplicate files in the storage addresses are different, then:
if the first storage data and the second storage data are the same, the mapping duplicate file written into the first storage address and the second storage address is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the third storage address and the fourth storage address;
and when the first storage data is different from the second storage data, the mapping duplicate file which is written into the third storage address and the fourth storage address by the same third storage data and fourth storage data is correct, the mapping duplicate file is safely read out, and the correct mapping duplicate file is written into the first storage address and the second storage address.
10. An EEPROM data-reliable storage device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor when executing said program implements an EEPROM data-reliable storage system as claimed in any one of claims 1 to 5; or the program realizes the safe storage and reading of the EEPROM data through the reliable EEPROM data storage method of any one of claims 6-9.
CN202211337287.8A 2022-10-28 2022-10-28 Reliable EEPROM data storage system, method and device Pending CN115562591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211337287.8A CN115562591A (en) 2022-10-28 2022-10-28 Reliable EEPROM data storage system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211337287.8A CN115562591A (en) 2022-10-28 2022-10-28 Reliable EEPROM data storage system, method and device

Publications (1)

Publication Number Publication Date
CN115562591A true CN115562591A (en) 2023-01-03

Family

ID=84768700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211337287.8A Pending CN115562591A (en) 2022-10-28 2022-10-28 Reliable EEPROM data storage system, method and device

Country Status (1)

Country Link
CN (1) CN115562591A (en)

Similar Documents

Publication Publication Date Title
US11914481B2 (en) Hybrid memory system with configurable error thresholds and failure analysis capability
CN101558452B (en) Method and device for reconfiguration of reliability data in flash eeprom storage pages
US7675776B2 (en) Bit map control of erase block defect list in a memory
CN102298545B (en) System startup boot processing method and device
US9690642B2 (en) Salvaging event trace information in power loss interruption scenarios
CN108646982B (en) Automatic data restoration method and device based on UBIFS
CN112542199B (en) Method, circuit, storage medium and terminal for detecting flash memory error
CN109933340B (en) On-orbit writing and self-checking method of spacecraft EEPROM (electrically erasable programmable read-Only memory) based on page mode
US20140258792A1 (en) Symmetrical Data Replication For Failure Management In Non-Volatile Memory Systems
CN111428280B (en) SoC (System on chip) security chip key information integrity storage and error self-repairing method
US6539338B1 (en) Self-diagnostic testing of a network interface adapter
US20030051193A1 (en) Computer system with improved error detection
CN116978435A (en) eFuse programming method
JP3675375B2 (en) Nonvolatile memory and data rewriting method of nonvolatile memory
CN115562591A (en) Reliable EEPROM data storage system, method and device
CN107168650B (en) Method and device for processing data in memory of BIOS
CN112445432B (en) Method and device for maintaining redundant VPD (virtual private device) in double-control system
CN114356653A (en) Power-down protection method and device for industrial control firewall
CN114203252A (en) Bad block detection method, device, equipment and storage medium of nonvolatile memory
CN109144409B (en) Data processing method and device, storage medium and data system
US20070274302A1 (en) Data Storage Device, Memory Managing Method, and Program
CN111858139A (en) Method and device for detecting silent data errors
CN112540882A (en) Flash memory device detection system and flash memory device detection method
US7849279B2 (en) Method for the secure updating data areas in non volatile memory, device to perform such a method
CN112464499B (en) Nonvolatile chip erasing data checking method and device, storage medium and terminal

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