CN1858713A - Method for improving E/EPROM storage storaged dada reliability - Google Patents
Method for improving E/EPROM storage storaged dada reliability Download PDFInfo
- Publication number
- CN1858713A CN1858713A CN 200510034537 CN200510034537A CN1858713A CN 1858713 A CN1858713 A CN 1858713A CN 200510034537 CN200510034537 CN 200510034537 CN 200510034537 A CN200510034537 A CN 200510034537A CN 1858713 A CN1858713 A CN 1858713A
- Authority
- CN
- China
- Prior art keywords
- microprocessor
- storage unit
- check code
- operating parameter
- stores data
- 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
Links
Images
Abstract
This invention relates to a method for increasing reliability for storing data by E/EPROM storage icluding: a, encoding the operation parameters of a microprocessor to check codes, b, storing the operation parameters and said check code set into a storage unit and storing at least one backup of the parameters and check set into said storage unit, c, the microprocessor computes check codes of the operation parameters in the storage unit to judge if they are in conformity with the operation parameters, d, if so, the microprocessor carries out the operation parameters, if not, the microprocessor computes the check codes of the backed up operation parameters and selects the codes in conformity with the operation parameters. This invention also provides a corresponding system.
Description
Technical field
The present invention relates to field of microprocessor unit control, particularly a kind of method that improves E/EPROM memory stores data reliability.
Background technology
In the product of a lot of microprocessor electric controllers, be cost and the simplification organization of production that reduces electric controller, its microprocessor adopts compatible processing scheme (its microprocessor contains the software of multiple difference in functionality) mostly, just can allow microprocessor carry out different functions as long as change different " different input parameters ".
And these " different input parameters " mostly use E/EPROM storer (as 93c46 or 24c01) to preserve, and the parameter that can change write store at any time changes the function of microprocessor electric controller.But because the working environment of storer, misoperation etc. tend to make the data of its storage that the phenomenon of losing is arranged.The reliability of parameter can directly influence the performance of electric controller in the storer.And at present more and more higher to the performance requirement of electric controller, the integrity problem that therefore guarantees data in the E/EPROM storer is the urgent problem that solves.
Summary of the invention
The objective of the invention is to, a kind of method and system of the E/EPROM of raising memory stores data reliability are provided, to solve the problem that data are easily lost in the existing E/EPROM storer.
Technical scheme of the present invention is, a kind of method of the E/EPROM of raising memory stores data reliability is provided, and may further comprise the steps:
(a) operating parameter with microprocessor is encoded to check code;
(b) store operating parameter and described verification code character into storage unit, and at least one back-up storage of described operating parameter and verification code character is arrived described storage unit;
(c) check code of operating parameter in the microprocessor calculating storaging unit, and judge whether consistent with operating parameter according to result of calculation;
(d) if operating parameter is consistent with check code, microprocessor executable operations parameter; If operating parameter and check code are inconsistent, microprocessor calculates the check code of backup operation parameter, and chooses the check code execution consistent with operating parameter.
In the method for above-mentioned raising E/EPROM memory stores data reliability, described check code is the CRC check sign indicating number.
In the method for above-mentioned raising E/EPROM memory stores data reliability, also comprise deletion inconsistent operating parameter and verification code character, and duplicate uniform operation parameter and verification code character to storage unit.
In the method for above-mentioned raising E/EPROM memory stores data reliability, described storage unit is the storage unit of microprocessor internal or the E/EPROM storer that is connected with microprocessor.
The present invention also provides a kind of system of the E/EPROM of raising memory stores data reliability, comprise microprocessor and storage unit, described microprocessor comprises check code computing module, comparison module, execution module and the backup module that is connected with described storage unit respectively, and check code computing module, comparison module, execution module and backup module connect successively.
In the system of above-mentioned raising E/EPROM memory stores data reliability, described check code is the CRC check sign indicating number.
In the system of above-mentioned raising E/EPROM memory stores data reliability, described storage unit is the storage unit of microprocessor internal or the E/EPROM storer that is connected with microprocessor.
The method and system of raising E/EPROM memory stores data reliability of the present invention by using check code check and operating parameter backup, under the prerequisite that does not increase the controller hardware cost, have improved the reliability of E/EPROM memory stores data.
Description of drawings
Fig. 1 is the structured flowchart of the system of raising E/EPROM memory stores data reliability of the present invention.
Fig. 2 is the process flow diagram of storage operation parameter in the method for raising of the present invention E/EPROM memory stores data reliability.
Fig. 3 is the process flow diagram of executable operations parameter in the method for raising of the present invention E/EPROM memory stores data reliability.
Fig. 4 is the system of raising of the present invention E/EPROM memory stores data reliability
The circuit diagram of embodiment.
Embodiment
As shown in Figure 1, be the structured flowchart of the system of raising E/EPROM memory stores data reliability of the present invention.In the present embodiment, storage unit 20 is positioned at microprocessor 10 outsides, and is connected with the I/O port (I/O mouth) of microprocessor 10.Certainly, under comprising the situation of storage unit, microprocessor itself also can adopt the present invention.
In the present embodiment, storage unit 20 is E/EPROM, but its storage operation parameter.Microprocessor 10 comprises check code computing module 13, comparison module 12, execution module 11 and backup module 14.Above-mentioned module can realize by the mode that hardware, software or hardware combine with software.Check code computing module 13 can calculate the check code that is stored in the operating parameter in the storage unit 20, and check code is stored together with corresponding operating parameter or result of calculation is sent to comparison module 12.Check code is the CRC check sign indicating number in the present embodiment, can adopt the check code that is fit to arbitrarily in actual use.Comparison module 12 can compare check code computing unit 13 and calculate the check code of gained and the check code in storage and the storage unit 20, and sends comparative result to execution module 11.Execution module 11 can or not carried out the operating parameter that is stored in the storage unit 20 according to the comparative result execution, with the function that realizes presetting.Be specially: when the comparative result of comparison module 12 is consistent, execution module 11 executable operations parameters; Undo parameter when comparative result is inconsistent.Backup module 14 is used at storage unit 20 backup operation parameter and check codes.
As shown in Figure 2, be the process flow diagram of storage operation parameter in the method for raising of the present invention E/EPROM memory stores data reliability.At first, microprocessor 10 calculates the check code (being the CRC check sign indicating number in the present embodiment) (step S21) that is stored in the operating parameter in the storage unit 20.Microprocessor 10 check code that will calculate gained is stored together (step S22) in groups with corresponding operating parameter then.Microprocessor 10 is also carried out back-up storage with operating parameter and verification code character to storage unit 20, to improve the reliability (step S23) of data.
As shown in Figure 3, be the process flow diagram of executable operations parameter in the method for raising of the present invention E/EPROM memory stores data reliability.When the executable operations parameter, microprocessor 10 is the CRC check sign indicating number (step S31) of calculating operation parameter at first, and the check code that will calculate gained compares (step S32) with operating parameter corresponding check sign indicating number in the storage unit 20 with being stored in.If two check codes are inconsistent, then the operating parameter and the check code of microprocessor 10 deletion errors read next operating parameter, and the check code of calculating operation parameter (step S33), return step S32 then.If the check code that calculates is consistent with the check code of storage, microprocessor 10 is carried out corresponding operating parameter (step S34), realizes intended function.If the deletion of operating parameter and check code is arranged in step 33, then microprocessor 10 also backs up correct operating parameter and check code again to storer 20.Like this, by check code and operating parameter backup, the present invention has improved the reliability of E/EPROM memory stores data.
The solution of the present invention principle is simple, the reliability height, and do not increase cost, strong operability can be used on the various microprocessor electric controllers.Must adopt different controlling schemes according to different bodies, different compressor etc. as air-conditioning electric controller, refrigerator electric control system device etc.
As shown in Figure 4, be the circuit diagram of an embodiment of the system of raising of the present invention E/EPROM memory stores data reliability.As figure is the circuit diagram of air-conditioning electric controller, exist in the air-conditioning electric controller certain operations parameter as: the angle and direction of aerofoil, the rotating speed of blower fan, the protection point during work etc. are different with different types.Therefore these parameters are copied into two parts and all adopt 32 CRC check to pile up in E/EPROM storer 24C02, microprocessor TMP86C807 regularly carries out mutual correction process to two groups of identical data (according to said method) among the E/EPROM storer 24C02.Guarantee the reliability of the parameter among the E/EPROM storer 24C02.
Claims (7)
1, a kind of method that improves E/EPROM memory stores data reliability is characterized in that, may further comprise the steps:
(a) operating parameter with microprocessor is encoded to check code;
(b) store operating parameter and described verification code character into storage unit, and at least one back-up storage of described operating parameter and verification code character is arrived described storage unit;
(c) check code of operating parameter in the microprocessor calculating storaging unit, and judge whether consistent with operating parameter according to result of calculation;
(d) if operating parameter is consistent with check code, microprocessor executable operations parameter; If operating parameter and check code are inconsistent, microprocessor calculates the check code of backup operation parameter, and chooses the check code execution consistent with operating parameter.
2, the method for raising E/EPROM memory stores data reliability according to claim 1 is characterized in that described check code is the CRC check sign indicating number.
3, the method for raising according to claim 1 E/EPROM memory stores data reliability is characterized in that, also comprises inconsistent operating parameter of deletion and verification code character, and duplicates uniform operation parameter and verification code character to storage unit.
4, the method for raising E/EPROM memory stores data reliability according to claim 1 is characterized in that described storage unit is the storage unit of microprocessor internal or the E/EPROM storer that is connected with microprocessor.
5, a kind of system that improves E/EPROM memory stores data reliability, comprise microprocessor and storage unit, it is characterized in that, described microprocessor comprises check code computing module, comparison module, execution module and the backup module that is connected with described storage unit respectively, and check code computing module, comparison module, execution module and backup module connect successively.
6, the system of raising E/EPROM memory stores data reliability according to claim 5 is characterized in that described check code is the CRC check sign indicating number.
7, the method for raising E/EPROM memory stores data reliability according to claim 5 is characterized in that described storage unit is the storage unit of microprocessor internal or the E/EPROM storer that is connected with microprocessor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510034537 CN1858713A (en) | 2005-04-30 | 2005-04-30 | Method for improving E/EPROM storage storaged dada reliability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510034537 CN1858713A (en) | 2005-04-30 | 2005-04-30 | Method for improving E/EPROM storage storaged dada reliability |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1858713A true CN1858713A (en) | 2006-11-08 |
Family
ID=37297622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510034537 Pending CN1858713A (en) | 2005-04-30 | 2005-04-30 | Method for improving E/EPROM storage storaged dada reliability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1858713A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968348A (en) * | 2011-07-29 | 2013-03-13 | 波音公司 | Methods and systems for preboot data verification |
CN103530121A (en) * | 2013-10-15 | 2014-01-22 | 武汉邮电科学研究院 | Method of compatibility of multiple hardware platforms by RRU single software version |
CN104359519A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage method for flowmeter |
CN104359520A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage system for flowmeter |
CN110489267A (en) * | 2019-07-10 | 2019-11-22 | 中国科学院上海微系统与信息技术研究所 | Memory and the method for reinforcing data to be stored |
CN110554928A (en) * | 2018-05-30 | 2019-12-10 | 北京兆易创新科技股份有限公司 | Method and device for electrically reading parameters of nonvolatile semiconductor memory |
WO2022001929A1 (en) * | 2020-06-28 | 2022-01-06 | 苏州宝时得电动工具有限公司 | Autonomous mobile apparatus and operating method therefor |
-
2005
- 2005-04-30 CN CN 200510034537 patent/CN1858713A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968348A (en) * | 2011-07-29 | 2013-03-13 | 波音公司 | Methods and systems for preboot data verification |
CN103530121A (en) * | 2013-10-15 | 2014-01-22 | 武汉邮电科学研究院 | Method of compatibility of multiple hardware platforms by RRU single software version |
CN104359519A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage method for flowmeter |
CN104359520A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage system for flowmeter |
CN110554928A (en) * | 2018-05-30 | 2019-12-10 | 北京兆易创新科技股份有限公司 | Method and device for electrically reading parameters of nonvolatile semiconductor memory |
CN110489267A (en) * | 2019-07-10 | 2019-11-22 | 中国科学院上海微系统与信息技术研究所 | Memory and the method for reinforcing data to be stored |
CN110489267B (en) * | 2019-07-10 | 2021-10-29 | 中国科学院上海微系统与信息技术研究所 | Memory and method for reinforcing data to be stored |
WO2022001929A1 (en) * | 2020-06-28 | 2022-01-06 | 苏州宝时得电动工具有限公司 | Autonomous mobile apparatus and operating method therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1858713A (en) | Method for improving E/EPROM storage storaged dada reliability | |
US8417886B2 (en) | Storage system | |
CN101923441B (en) | Method for processing writing request of redundant array of hybrid magnetic disc, controller and storage system thereof | |
US9542270B2 (en) | Storage control device, storage device, information processing system and storage control method | |
WO2017075075A1 (en) | Dynamically adjusting an error correction effort level of a storage device | |
WO2022016900A1 (en) | Data recovery method in storage medium, data recovery system and related device | |
KR19980024095A (en) | Method and device for automatic configuration of storage subsystem | |
CN112643657A (en) | Robot emergency stop braking safety prevention and control method and device, robot and storage medium | |
CN1180346C (en) | Autoamtic safe reset method of BIOS storage in computer system | |
CN113220221B (en) | Memory controller and data processing method | |
US7117387B2 (en) | Method and apparatus for writing data and validating data in a recording medium | |
CN1480953A (en) | Method for storing check code in memory and its device | |
CN103678048B (en) | Redundant Array of Independent Disks (RAID) restorative procedure, device and memory device | |
US7340672B2 (en) | Providing data integrity for data streams | |
CN1315048C (en) | A memory-space saving multi-computer system sharing backup method | |
US6779053B2 (en) | Sequential data transfer detection | |
CN114532901B (en) | Drop handling method and device for cleaning robot | |
CN1848008A (en) | Method of controlling semiconductor etching equipment | |
US20190286349A1 (en) | Controller and data storage method | |
CN1288570C (en) | On-line soft ware upgrading circuit and its method | |
CN111221322A (en) | Valve control system function detection system and simulation method, device and system | |
KR20140058980A (en) | Storage management and back-up solution system of industrial computers | |
CN1755626A (en) | Bootloader updating method for portable personal digital assistant | |
CN1816189A (en) | Status calibration data recovery method of mobile communication terminal | |
CN100342319C (en) | Magnetic disk array instruction processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20061108 |