CN1777263A - Method for reinforing erasable programmeable ROM data protection - Google Patents

Method for reinforing erasable programmeable ROM data protection Download PDF

Info

Publication number
CN1777263A
CN1777263A CN 200510016479 CN200510016479A CN1777263A CN 1777263 A CN1777263 A CN 1777263A CN 200510016479 CN200510016479 CN 200510016479 CN 200510016479 A CN200510016479 A CN 200510016479A CN 1777263 A CN1777263 A CN 1777263A
Authority
CN
China
Prior art keywords
data
eeprom
result
algorithm
data protection
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
CN 200510016479
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.)
Tianjin Samsung Electronics Co Ltd
Original Assignee
Tianjin Samsung Electronics Display 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 Tianjin Samsung Electronics Display Co Ltd filed Critical Tianjin Samsung Electronics Display Co Ltd
Priority to CN 200510016479 priority Critical patent/CN1777263A/en
Publication of CN1777263A publication Critical patent/CN1777263A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention relates to a method for enhancing EEPROM data protection. The implementation steps are following. Read the data needed to be administered in highlight in the EEPROM, add all the data up and get the result SUM, and then by Mod computation, work out the remainder corresponding to the number of data for summation N, the final result; compare the calculated result with the check code saved in an address of the EEPROM, and exercise the algorithm again after power up; check up whether the result and check code value are in accordance; if yes, the data is intact; If no, conclude that one or more data are destroyed, and exercise EEPROM initialization. The method can protect the data in the EEPROM when starting up, and ensure there is no geometric warping in television pictures, pictorial abnormity, and so on. It is widely used in all the television receiver systems with EEPROM or other memorizers. The algorithm of this system is simple with good practicability.

Description

Strengthen the method for Electrically Erasable Read Only Memory data protection
Technical field
The present invention relates to a kind of method that strengthens memory data protecting, particularly a kind of method that strengthens the Electrically Erasable Read Only Memory data protection.Be applied in the receiving equipments such as TV the data of stored parameter be protected.
Background technology
TV-signal receiver is for display image normally and satisfy the technical indicator of producing, before dispatching from the factory, need it is carried out factory's parameter adjustment, the plant data of adjusting need be saved in the electricallyerasable ROM (EEROM) (EEPROM), client just need not to adjust these factory's parameters when turning on TV like this, can directly watch normal TV programme.Present TV receiving system all is the data message that directly loads in start among the EEPROM.To the data correctness, do not judged, if therefore corrupted data will produce mistake; Perhaps, detection method just increases a data unit and stores error detecting code information in EEPROM, judge by these data whether the data of EEPROM are damaged.
Now, through regular meeting television image geometric warping, problems such as image abnormity appear in the Market Feedback in TV market.The main cause that causes these problems is exactly to be stored in the loss of data among the EEPROM or to be damaged, and such result mainly is because TV static discharge (Electro-Static discharge) after appearing on the scene causes the EEPROM corrupted data.Though this situation can often not occur, and reason is difficult to determine, still needs to find a kind of effective method to avoid the appearance of this phenomenon.
Summary of the invention
The objective of the invention is to overcome above-mentioned weak point, the method for a kind of effective enhancing Electrically Erasable Read Only Memory data protection is provided.
The technical solution adopted in the present invention is for achieving the above object: a kind of method that strengthens the Electrically Erasable Read Only Memory data protection, it is characterized in that implementation step is as follows: will need the data read of key-point management to come out among the EEPROM, again all data summations are obtained SUM as a result, then by complementation (Mod) computing, calculate remainder, obtain the result at last corresponding to summed data number N; The result who calculates compares with the check code that is kept in address of EEPROM; After powering on, carry out this algorithm once more, whether check result is consistent with the verification code value, if consistent, then data are intact; If inconsistent, then in the judgment data one or more than destroyed, promptly carry out the EEPROM initialization action.
Described trace routine is mainly carried out the EEP_DataChecksum checking algorithm.
The invention has the beneficial effects as follows: by implementing this method, system just can be implemented in the moment of start to Data Protection among the EEPROM, guarantees that image geometry distortion, problems such as image abnormity do not appear in television set.Under the situation of EEPROM corrupted data, TV still can normally show.Judge by check code whether the data among the EEPROM are damaged during start, damage and just reload data that the plant data that loads when guaranteeing television boot-strap is correct.This method can solve the problem that TV can not normally show owing to corrupted data among the EEPROM, guarantees that the initialization data that is read after the television startup is correct.Be applicable to that all have the TV receiving system of EEPROM or other memory, system algorithm is simple, has good practicability.
Description of drawings
Fig. 1 is the connecting interface structural representation of microprocessor of the present invention and EEPROM;
Fig. 2 is the EEP_DataChecksum algorithm flow chart;
Fig. 3 is a data guard method main flow chart of the present invention.
Embodiment
Referring to Fig. 1, illustrated a TV receiving system internal microprocessor (MICOM) to be connected with the communication of (EEPROM) at this.Microprocessor (MICOM) mainly is made up of central processing unit (CPU), read-only memory (ROM) and random asccess memory (RAM) three parts, (EEPROM) mainly be by unit B ank1, unit B ank2 ... this eight part of unit B ank8 is formed, and contains memory cell separately among each Bank.Between microprocessor (MICOM) and memory (EEPROM) is to pass through I 2The C bus is carried out the communication connection.
Need carry out verification to the data among the EEPROM to data protection among the EEPROM, if each memory cell is checked successively, can spend the plenty of time, the efficient of algorithm is not very high.
Can be divided into three kinds of situations for the corrupted data among the EEPROM, the one, the data among the EEPROM are all damaged; The 2nd, the data of some Bank are all damaged among the EEPROM; The 3rd, the data of the part unit of some Bank are damaged among the EEPROM.For these three kinds of situations, can utilize diverse ways to remove checking data respectively.The present invention only describes the third the most complicated situation.
Key of the present invention is in the protection management TV receiving system image to be shown the data that influence is bigger.
Through screening, determine that following data are bigger to the entire system influence, thus they are distinguished, as the Data of separately protected management.
Comprise that data in deflection (Deflection) project and video adjust the data among 1 (the Video Adjust 1).
The management of corresponding these data, adopt following algorithm (Algorithm):
EEP_DataChecksum=(Deflection?60Data+Deflection?50Data+Video
Adjust?1?Data)Mod?N.
In the formula, EEP_DataChecksum, Deflection 60, and Deflection 50 and Video Adjust1 are variable names,
Deflection 60Data represents the Data of every Item among the Deflection 60;
Deflection 50Data represents the Data of every Item among the Deflection 50;
Video Adjust 1 Data represents the Data of every Item among the Video Adjust 1;
N representative total total what;
The Mod representative rems.
For example, always have four item number certificates, Datal=1, Data2=2, Data3=3, Data4=4,
EEP_DataChecksum=(1+2+3+4) Mod 4=2 so.
Referring to Fig. 2, idiographic flow is to need the data read of key-point management to come out among the EEPROM, again all data summations is obtained SUM as a result, by complementation (Mod) computing, calculates the remainder corresponding to summed data number N then, obtains the result at last.The result who calculates compares with the check code that is kept in address of EEPROM, after powering on, carries out this algorithm once more, and whether check result is consistent with the verification code value, if consistent, then data are intact; If inconsistent, must have more than one in these projects so and be destroyed, so carry out the EEPROM initialization action.
It should be noted that on stream and produce and adjust that these emphasis data may have change, at this moment they and just can't be corresponding with EEP_DataChecksum, in order to ensure the regular event of Algorithm, in Code design, should note following some:
1, in software code, the value of the EEP_DataChecksum of initialize memory should equal the value that calculates through checking algorithm;
2, EEPROM aborning presets in the operation, and the value of EEP_DataChecksum also should equal the value that calculates through checking algorithm;
3, use a teleswitch enter factory mode after, when withdrawing from, the EEP_DataChecksum value should recomputate and write (under factory mode, the emphasis data may be adjusted);
4, after automatic adjustment was aborning carried out, the EEP_DataChecksum value should recomputate and write (after adjustment was carried out automatically, data may be adjusted).
Referring to Fig. 3, system's main-process stream comprises that system powers on, and system initialization calls trace routine.Trace routine is mainly carried out the EEP_DataChecksum checking algorithm, compares with check code among the EEPROM, and is equal then the EEPROM data are intact, proceeds system initialization, otherwise reloads the data of appropriate section.
By above-mentioned method for designing, system just can be implemented in the moment of start to Data Protection among the EEPROM, guarantees that image geometry distortion, problems such as image abnormity do not appear in television set.
Above-mentionedly with reference to embodiment the present invention being strengthened the detailed description of the method for Electrically Erasable Read Only Memory data protection, is illustrative rather than determinate; Therefore in the variation and the modification that do not break away under the general plotting of the present invention, should belong within protection scope of the present invention.

Claims (2)

1, a kind of method that strengthens the Electrically Erasable Read Only Memory data protection, it is characterized in that implementation step is as follows: will need the data read of key-point management to come out among the EEPROM, again all data summations are obtained SUM as a result, then by complementation (Mod) computing, calculate remainder, obtain the result at last corresponding to summed data number N; The result who calculates compares with the check code that is kept in address of EEPROM; After powering on, carry out this algorithm once more, whether check result is consistent with the verification code value, if consistent, then data are intact; If inconsistent, then in the judgment data one or more than destroyed, promptly carry out the EEPROM initialization action.
2, the method for enhancing Electrically Erasable Read Only Memory according to claim 1 data protection is characterized in that described trace routine mainly carries out the EEP_DataChecksum checking algorithm.
CN 200510016479 2005-11-29 2005-11-29 Method for reinforing erasable programmeable ROM data protection Pending CN1777263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510016479 CN1777263A (en) 2005-11-29 2005-11-29 Method for reinforing erasable programmeable ROM data protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510016479 CN1777263A (en) 2005-11-29 2005-11-29 Method for reinforing erasable programmeable ROM data protection

Publications (1)

Publication Number Publication Date
CN1777263A true CN1777263A (en) 2006-05-24

Family

ID=36766531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510016479 Pending CN1777263A (en) 2005-11-29 2005-11-29 Method for reinforing erasable programmeable ROM data protection

Country Status (1)

Country Link
CN (1) CN1777263A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840358A (en) * 2010-04-20 2010-09-22 惠州市德赛西威汽车电子有限公司 Car audio EEPROM (Electrically Programmable Read-Only-Memory) data protection and verification method
CN101651448B (en) * 2009-09-04 2013-05-01 京信通信系统(中国)有限公司 Method and system for protecting data information of power amplifier
CN103685732A (en) * 2013-11-15 2014-03-26 Tcl显示科技(惠州)有限公司 Display device and electrostatic protection method thereof
CN104597843A (en) * 2014-12-19 2015-05-06 清能德创电气技术(北京)有限公司 Method for determining availability of data in storage device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651448B (en) * 2009-09-04 2013-05-01 京信通信系统(中国)有限公司 Method and system for protecting data information of power amplifier
CN101840358A (en) * 2010-04-20 2010-09-22 惠州市德赛西威汽车电子有限公司 Car audio EEPROM (Electrically Programmable Read-Only-Memory) data protection and verification method
CN103685732A (en) * 2013-11-15 2014-03-26 Tcl显示科技(惠州)有限公司 Display device and electrostatic protection method thereof
CN103685732B (en) * 2013-11-15 2017-01-04 Tcl显示科技(惠州)有限公司 display device and electrostatic protection method thereof
CN104597843A (en) * 2014-12-19 2015-05-06 清能德创电气技术(北京)有限公司 Method for determining availability of data in storage device

Similar Documents

Publication Publication Date Title
US10785110B2 (en) Automated change approval
DE60113844T2 (en) METHOD FOR DETERMINING NORTHERN COMPUTER CODES
CN1991779A (en) Safety chip based virus prevention method
CN1777263A (en) Method for reinforing erasable programmeable ROM data protection
KR20040098025A (en) Watermaking a digital object with a digital signature
CN114417335A (en) Malicious file detection method and device, electronic equipment and storage medium
JP7019533B2 (en) Attack detection device, attack detection system, attack detection method and attack detection program
Xue et al. JPEG image tampering localization based on normalized gray level co-occurrence matrix
CN116248381A (en) Alarm aggregation method and device, electronic equipment and storage medium
Bartoli et al. The reaction time to web site defacements
CN1663275A (en) Embedding of image authentication signatures
CN113792285B (en) Nuclear power station service authority control method and device and terminal equipment
CN113810344B (en) Security orchestration system, device, method, and computer-readable storage medium
CN114422186A (en) Attack detection method and device, electronic equipment and storage medium
CN113377623B (en) Automatic generation method and device of alarm rules and electronic equipment
Kobozeva et al. Method for detecting digital image integrity violations due to its block processing
CN1320800C (en) Method for responding to intrusions and system
DE102021212994B3 (en) Method for detecting anomalies indicating tampering during a secure boot process of a software-controlled device
KR101650445B1 (en) Apparatus and method for detecting webshell in real time using kernel-based file event notification function
CN111950040A (en) Environment sensing method and device of terminal equipment, computer equipment and storage medium
CN117521087B (en) Equipment risk behavior detection method, system and storage medium
CN111079192B (en) Webpage content self-protection method and server
CN106561024B (en) Enterprise-level-based remote APT detection method and high-performance server
CN115766166B (en) Log processing method, device and storage medium
CN111949291A (en) Patch detection method, storage medium and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication