CN109947590A - A kind of method of data redundancy verification in automobile electronic system - Google Patents
A kind of method of data redundancy verification in automobile electronic system Download PDFInfo
- Publication number
- CN109947590A CN109947590A CN201910237372.9A CN201910237372A CN109947590A CN 109947590 A CN109947590 A CN 109947590A CN 201910237372 A CN201910237372 A CN 201910237372A CN 109947590 A CN109947590 A CN 109947590A
- Authority
- CN
- China
- Prior art keywords
- data
- verification
- electronic system
- checking algorithm
- reading
- 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
- 238000012795 verification Methods 0.000 title claims abstract description 44
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000003860 storage Methods 0.000 claims abstract description 27
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 claims 1
- 230000005611 electricity Effects 0.000 claims 1
- 238000013500 data storage Methods 0.000 abstract description 18
- 238000012360 testing method Methods 0.000 description 3
- 230000005684 electric field Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses the methods that data redundancy in a kind of automobile electronic system verifies, the controller of electronic system is when carrying out initial data storage, initial data is generated into verification data by checking algorithm, initial data is stored in the data storage area of storage medium, and corresponding verification data are stored in the data check area of storage medium;When carrying out reading data, read initial data in data storage area and by checking algorithm after verification data corresponding with reading verified, if directly reading initial data if verifying successfully;Otherwise, verification failure issues alarm signal.The present invention has the advantages that body electronics module generates the verification data of redundancy in storing data using checking algorithm, and it is compared using checking algorithm with verification data when reading the data, to judge in storing process, whether data change, if judgement using same algorithm verification data it is identical, then illustrate that data are correct, directly read datamation.
Description
Technical field
The present invention relates to vehicle electric field, in particular to side of the data flannelette about verification in a kind of automobile electronic system
Method.
Background technique
Currently, more and more using the place of electronic control system in automobile, each electronic control system has respectively
Control program and relevant operation data, usual operation data is stored in storage medium.Storage medium is due to physics
Characteristic, has small probability possibility that memory block failure occurs in the natural environment, and storage content generates unknowable change.Therefore, add
The reliability of strong storing data, improves storage performance, guarantees data redundancy, is that vehicle electric field needs what is addressed to ask
One of topic.
Summary of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide data redundancies in a kind of automobile electronic system to verify
Method find data fault in time for verifying to storing data.
To achieve the goals above, a kind of the technical solution adopted by the present invention are as follows: data redundancy school in automobile electronic system
Initial data is generated by checking algorithm and is verified when carrying out initial data storage by the method tested, the controller of electronic system
Data, initial data are stored in the data storage area of storage medium, and corresponding verification data are stored in the data school of storage medium
Test area;When carrying out reading data, the school corresponding with reading after data storage area reading initial data and by checking algorithm
It tests data to be verified, if directly reading initial data if verifying successfully;Otherwise, verification failure issues alarm signal.
Include empirical data memory block in storage medium, is used to store the corresponding empirical parameter of electronic system controller
Data, after verification failure, controller reads empirical data corresponding with initial data from empirical data memory block and works.
Controller is when reading data in automobile electronic system, by checking algorithm to initial data and the one of verification data
Cause property is verified, if unanimously, being proved to be successful.
The checking algorithm includes negating verification, CRC check etc..
The storage medium includes ferroelectric memory, disk or harddisk memory.
Data storage area, data check area, empirical data memory block be respectively do not overlapped in storage medium, interfere it is more
A storage region.
The controller of electronic system is in the checking algorithm for carrying out storing data use and the checking algorithm for reading data use
For same algorithm.
The present invention has the advantages that body electronics module generates the check number of redundancy in storing data using checking algorithm
According to, and be compared using checking algorithm with verification data when reading the data, to judge in storing process, whether data
It changes, if judgement is illustrating that data are correct, directly reading data work using the data that same algorithm verifies are identical
Make;If data are different, illustrate that failure occurs in memory, issues alarm signal, body electronics module for power supply instrument, bee at this time
Ring device etc. issues alarm;Simultaneously in order to reduce the influence to body electronics module, at this time electronic module read empirical value come into
Row work.
Detailed description of the invention
Below to each width attached drawing of description of the invention expression content and figure in label be briefly described:
Fig. 1 is the schematic illustration of method of calibration of the present invention.
Specific embodiment
A specific embodiment of the invention is made further detailed below against attached drawing by the description to optimum embodiment
Thin explanation.
As shown in Figure 1, a kind of method that data redundancy verifies in automobile electronic system, the controller of electronic system are carrying out
When initial data stores, initial data is generated into verification data by checking algorithm, initial data, which refers to, here to be stored in
Procedure parameter, setting parameter of some controllers acquisition of storage media etc..Such as in the aperture table of comparisons of brake pedal, this belongs to
Initial data needs to be stored in advance in the ROM of controller, at this time with regard to needing the data of the table carrying out checking algorithm to generate school
Table after testing is stored.When data are stored: initial data is stored in the data storage area of storage medium, corresponding
Verification data are stored in the data check area of storage medium;When carrying out reading data, initial data is read in data storage area
And verified by verification data corresponding with reading after checking algorithm, if directly reading initial data if verifying successfully;
Otherwise, verification failure issues alarm signal.
Its checking procedure are as follows: the initial data of reading is verified using with checking algorithm consistent algorithm when storage
Verification data corresponding with reading are compared after algorithm process, judge whether equally, if inconsistent, to illustrate storage medium
It breaks down and causes the unpredictable variation of data.By taking gas pedal aperture table as an example, store ground in the aperture table of memory
The corresponding gas pedal aperture table in data storage area is read in location, then reads gas pedal in corresponding verification data storage area and opens
The corresponding verification data of table are spent, then to the verification after the progress checking algorithm processing of initial data gas pedal aperture table with reading
Data are compared to determine whether consistent, and the aperture table for thinking that data storage area stores if data are identical is normal, controller
Entire car controller is carried out according to the corresponding data of the table, issues alarm signal if not, alarm signal can use alarm, instrument
Display etc. carries out.
It include experience in storage medium to reduce influence of the storage medium failure to the operation of vehicle as far as possible
Data storage area is used to store the corresponding empirical parameter data of electronic system controller, and after verification failure, controller is from warp
Data storage area reading empirical data corresponding with initial data is tested to work.Rule of thumb data control vehicle to controller
Work to avoid being broken down as memory caused by initial data with verification data it is inconsistent caused by can not work.With
It is another using being stored in when judging that initial data and verification two kinds of tables of comparisons of data are inconsistent for the accelerator open degree table of comparisons
The empirical data table of comparisons in region works to control throttle.
Checking algorithm includes but is not limited to negate one or more of methods of calibration such as verification, CRC check.Storage medium
Including ferroelectric memory, disk or harddisk memory etc..Data storage area, data check area, empirical data memory block are to deposit
The a certain fixed area of reservoir interior, they are irrelevant, will not influence each other and interfere after storage.They are respectively storage medium
In multiple storage regions for not overlapping, interfering.
A kind of method of critical data redundancy check in automobile electronic system generates area's production by data inside electronic module
The raw data for needing to store, store into data storage area, while depositing after converting the data into verification data by special algorithm
Store up data storage check field.When needing to read relevant parameter in program, control program is stored from data storage area and data
Data are read in check field, carry out certain operations verification.The output data if verification is correct;From experience if verifying failure
Read data output, and outputting alarm information in data field.
As shown from the above technical solution, the present invention is when being read out and safeguarding for parameter in Vehicular system, it is only necessary to
Program calculating is carried out, calculating process is succinctly rapid, can greatly improve data reliability, have wide range of applications.
Obviously present invention specific implementation is not subject to the restrictions described above, as long as using method concept and skill of the invention
The improvement for the various unsubstantialities that art scheme carries out, it is within the scope of the present invention.
Claims (7)
1. a kind of method that data redundancy verifies in automobile electronic system, it is characterised in that: the controller of electronic system is carrying out
When initial data stores, initial data is generated into verification data by checking algorithm, initial data is stored in the number of storage medium
According to memory block, corresponding verification data are stored in the data check area of storage medium;When carrying out reading data, stored in data
Area reads initial data and is verified by verification data corresponding with reading after checking algorithm, if direct if verifying successfully
Read initial data;Otherwise, verification failure issues alarm signal.
2. the method for data redundancy verification in a kind of automobile electronic system as described in claim 1, it is characterised in that: storing
Include empirical data memory block in medium, be used to store the corresponding empirical parameter data of electronic system controller, is lost in verification
After losing, controller reads empirical data corresponding with initial data from empirical data memory block and works.
3. the method for data redundancy verification in a kind of automobile electronic system as claimed in claim 1 or 2, it is characterised in that: vapour
Controller is tested when reading data by consistency of the checking algorithm to initial data and verification data in vehicle electronic system
Card, if unanimously, being proved to be successful.
4. the method for data redundancy verification in a kind of automobile electronic system as claimed in claim 1 or 2, it is characterised in that: institute
The checking algorithm stated includes negating verification, CRC check etc..
5. the method for data redundancy verification in a kind of automobile electronic system as claimed in claim 1 or 2, it is characterised in that: institute
Stating storage medium includes ferroelectric memory, disk or harddisk memory.
6. the method for data redundancy verification in a kind of automobile electronic system as claimed in claim 1 or 2, it is characterised in that: number
It is respectively the multiple memory blocks for not overlapping, interfering in storage medium according to memory block, data check area, empirical data memory block
Domain.
7. the method for data redundancy verification in a kind of automobile electronic system as claimed in claim 1 or 2, it is characterised in that: electricity
The controller of subsystem is carrying out the checking algorithm that storing data uses and the checking algorithm that reading data use as same calculation
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910237372.9A CN109947590A (en) | 2019-03-27 | 2019-03-27 | A kind of method of data redundancy verification in automobile electronic system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910237372.9A CN109947590A (en) | 2019-03-27 | 2019-03-27 | A kind of method of data redundancy verification in automobile electronic system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947590A true CN109947590A (en) | 2019-06-28 |
Family
ID=67010910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910237372.9A Pending CN109947590A (en) | 2019-03-27 | 2019-03-27 | A kind of method of data redundancy verification in automobile electronic system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947590A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110733443A (en) * | 2019-10-14 | 2020-01-31 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1436308A (en) * | 2000-06-22 | 2003-08-13 | 密克罗奇普技术公司 | Method of checking EEPROM data with embedded CRC |
CN101800084A (en) * | 2009-02-06 | 2010-08-11 | 上海德科电子仪表有限公司 | Data protection method of programmable device based on cyclic redundancy check |
CN106845289A (en) * | 2015-12-07 | 2017-06-13 | 国民技术股份有限公司 | A kind of safety chip and its non-volatile memories control device, method |
-
2019
- 2019-03-27 CN CN201910237372.9A patent/CN109947590A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1436308A (en) * | 2000-06-22 | 2003-08-13 | 密克罗奇普技术公司 | Method of checking EEPROM data with embedded CRC |
CN101800084A (en) * | 2009-02-06 | 2010-08-11 | 上海德科电子仪表有限公司 | Data protection method of programmable device based on cyclic redundancy check |
CN106845289A (en) * | 2015-12-07 | 2017-06-13 | 国民技术股份有限公司 | A kind of safety chip and its non-volatile memories control device, method |
WO2017097042A1 (en) * | 2015-12-07 | 2017-06-15 | 国民技术股份有限公司 | Secure chip, and nonvolatile storage control device and method for same |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110733443A (en) * | 2019-10-14 | 2020-01-31 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
CN110733443B (en) * | 2019-10-14 | 2021-08-27 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8659961B2 (en) | Memory repair systems and methods for a memory having redundant memory | |
CN103713527B (en) | Refreshing method, writing apparatus and writing system for automobile electronic controller | |
CN109154813A (en) | Adaptive refresh rate and method based on memory device mistake | |
US9208024B2 (en) | Memory ECC with hard and soft error detection and management | |
CN104978534A (en) | Method and system for preventing vehicle mileage tampering | |
CN103558574A (en) | Method for testing software fault-tolerant capability of intelligent ammeter based on EEPROM data reading and writing | |
CN105070321B (en) | The quick test circuit and method of memory device | |
US9672939B2 (en) | Memory devices, testing systems and methods | |
CN109189405A (en) | A kind of method and system of proving program Flash data consistency | |
US20150143188A1 (en) | Methods for accessing a storage unit of a flash memory and apparatuses using the same | |
CN101923494B (en) | Memory controller verification system, method and scoreboard | |
CN102737722A (en) | Self-detection mending method for built-in self-test system | |
CN108874686A (en) | Memory parameters adjusting method, device and equipment | |
CN106024066A (en) | SRAM detection method and system | |
CN109947590A (en) | A kind of method of data redundancy verification in automobile electronic system | |
CN107797540A (en) | TRANS PROGRAM method of testing, device and terminal | |
CN110444243A (en) | Store test method, system and the storage medium of equipment read error error correcting capability | |
CN103198870B (en) | The restorative procedure of non-uniform Distribution redundancy in DRAM | |
CN104932984B (en) | Multiple-bit upsets detection method and system | |
US8666642B2 (en) | Memory corruption detection in engine control systems | |
JP2005332492A (en) | Circuit and method to diagnose fault | |
CN103744752B (en) | A kind of online fault detection method of internal memory and device | |
CN114428749B (en) | Detector for verifying cache | |
CN106653098A (en) | Test method of memory readable and writable for both logic and CPU | |
CN109087676A (en) | A kind of programmed method and device of nonvolatile memory |
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: 20190628 |
|
RJ01 | Rejection of invention patent application after publication |