CN101178660A - Memory data automatic update method - Google Patents

Memory data automatic update method Download PDF

Info

Publication number
CN101178660A
CN101178660A CNA2007102009922A CN200710200992A CN101178660A CN 101178660 A CN101178660 A CN 101178660A CN A2007102009922 A CNA2007102009922 A CN A2007102009922A CN 200710200992 A CN200710200992 A CN 200710200992A CN 101178660 A CN101178660 A CN 101178660A
Authority
CN
China
Prior art keywords
data
version number
automatic update
update method
software
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
CNA2007102009922A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNA2007102009922A priority Critical patent/CN101178660A/en
Publication of CN101178660A publication Critical patent/CN101178660A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to an automatic update method of data, in particular to the data update in a memorizer of a video device. The invention is to resolve the problem of providing a method that the memorizer has automatic update data after the upgrade of the software. The adopted technical proposal comprises the following steps: a. first starting of the whole machine, the version number of the software is stored in the memorizer; b. when the whole machine is started every time, the version number of the software in the default data area is compared with the version number of the software in the memorizer, thus entering into step c if both are identical or entering into step d if both are different; c. the data in the memorizer is read; d the data in the memorizer is renovated immediately and the version number of the software in the default data area is stored in the memorizer. The invention has the advantages of simplicity, easy and reliable operation and greatly improving the production efficiency of product and the eligibility rate of opening the box of whole machine.

Description

Memory data automatic update method
Technical field
The present invention relates to a kind of data automatic update method, particularly the Data Update in the storer of video equipment.
Background technology
On electronic equipments such as televisor, video disc player, often adopt storer to carry out the data in real time storage, so that when starting shooting next time, canned data when but the software quick calling was shut down last time, such as the size of volume, the analog quantity of image, data message such as startup channel, current frequency makes complete machine specified channel that enters last time rapidly and the analog quantity that needs.
When complete machine is produced,, often need upgrade again to software in order to revise software error or to increase relevant new function.
The present data refresh mode of sort memory after software upgrading, adopt manual control to upgrade:
Normally by RS232 mouth or VGA mouth, after the software upgrading, complete machine, will no longer refresh storer when in detecting storer data being arranged in order to save the on time like this in the software upgrading of storer; Start once more, the data of store memory storage before the data that master chip calls remain, data can not upgraded automatically along with the renewal of program.
In software upgrade process, data read-write operation may cause the default data mistake of calling after the start to data generation maloperation in the storer.Institute thinks the assurance program correctness, and the complete machine that software upgrading is finished need carry out the operation that data empty in the storer usually, so that complete machine detects and do not have data in the storer, comes that storer is carried out the default data again and is provided with; Avoid the relevant issues that error in data causes in the storer with this.
When adopting the aforesaid operations mode on production line, to debug, need use a teleswitch, every complete machine is set to factory mode come updated stored device data, can spend more debug time like this and produce and do over again; And if after the workover rig upgrading, also may face same problem, particularly Wai Bu maintenance personal may not know more new data or how to upgrade, and software upgrading still has some data and mistake can occur like this, and it is undesired to cause the complete machine start to show.
Summary of the invention
Problem to be solved by this invention is that the method for a kind of storer automatically updating data after software upgrading is provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be, memory data automatic update method may further comprise the steps:
A, complete machine are started shooting first, and software version number is stored in the storer;
B, complete machine are started shooting at every turn, and the software version number in default data district and the software version number in the storer are compared, and as identical, enter step c; As inequality, enter steps d;
C, the data in the storer are read;
D, immediately the data in the storer are refreshed, and the software version number in default data district is deposited in the storer.
Have two bytes store software version number in the allocate memory.
The invention has the beneficial effects as follows, the start judgement time is shorter, refresh rate to storer is fast, hardware there is not special requirement, the relevant issues that error in data causes in the storer of having avoided taking place after the software upgrading, a large amount of a debugging job and a maintenance difficult problem have been avoided in the operation of realization sort memory automatically updating data simultaneously, and be simple, implement reliably to have improved the unpacking qualification rate of production efficiency of products and complete machine greatly.
Description of drawings
Fig. 1 is a process flow diagram of the present invention.
Embodiment
The automatic update scheme of memory data of the present invention's proposition is based on the basis of all circuit common, utilizes the software version number after upgrading preceding different with upgrading, by the differentiation of program increase to data in the storer, can realize that memory data upgrades automatically; Avoid abnormal default setting of indivedual complete machines by testing result.Simple, the enforcement easily of detection method, the judgement time is short, does not bind with the function of chip, has high cost performance.The storer that is commonly used to deposit real time data at present is EEPROM.
This embodiment uses chip model 24LC16 as EEPROM, and the memory capacity of this chip is 2KByte, link to each other with master chip (model is MST718) by the 3.3V universal serial bus, flow process as shown in Figure 1:
During software upgrading, the computer expert crosses plug-in frock, and 66 pin, 67 pin that use serial 232 buses to connect master chip MST718 write ROMPaq.Master chip MST718 inside does not have program ROM, when writing a program, by special clock and data line, directly program is write among the plug-in program FLASH, promptly this plug-in FLASH is the default data district, after writing journey and finishing, system restart, software version number in new software version number among the calling program FLASH and the EEPROM relatively, when being checked through software version number and changing, promptly refresh the total data information of EEPROM and the version number of software redaction is stored in the FF position, promptly be stored in last 2 bytes of EEPROM.As not changing, then do not refresh data in the EEPROM.Major cycle is read data in the EEPROM again.
Be applicable to video equipments such as computer, televisor, DVD, can detect software version by Automatic Program whether to change, control whether to the EEPROM automatically updating data.

Claims (4)

1. memory data automatic update method is characterized in that, may further comprise the steps:
A, complete machine are started shooting first, and software version number is stored in the storer;
B, complete machine are started shooting at every turn, and the software version number in default data district and the software version number in the storer are compared, and as identical, enter step c; As inequality, enter steps d;
C, the data in the electrical storage are read;
D, immediately the data in the storer are refreshed, and the software version number in default data district is deposited in the EEPROM (Electrically Erasable Programmable Read Only Memo).
2. memory data automatic update method automatic update method according to claim 1 is characterized in that, two bytes store software version number in the allocate memory.
3. memory data automatic update method automatic update method according to claim 1 is characterized in that described storer is EEPROM.
4. memory data automatic update method automatic update method according to claim 1 is characterized in that described default data district is FLASH.
CNA2007102009922A 2007-04-28 2007-07-03 Memory data automatic update method Pending CN101178660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007102009922A CN101178660A (en) 2007-04-28 2007-07-03 Memory data automatic update method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200710048993.X 2007-04-28
CN200710048993 2007-04-28
CNA2007102009922A CN101178660A (en) 2007-04-28 2007-07-03 Memory data automatic update method

Publications (1)

Publication Number Publication Date
CN101178660A true CN101178660A (en) 2008-05-14

Family

ID=39404923

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007102009922A Pending CN101178660A (en) 2007-04-28 2007-07-03 Memory data automatic update method

Country Status (1)

Country Link
CN (1) CN101178660A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895703A (en) * 2010-07-16 2010-11-24 四川长虹电器股份有限公司 Television software upgrading system and method
CN101996080A (en) * 2009-08-14 2011-03-30 深圳Tcl新技术有限公司 Software upgrading method
CN101742063B (en) * 2009-11-27 2012-09-26 深圳创维-Rgb电子有限公司 Method for identifying storage data in different versions of television memory
CN101944314B (en) * 2009-07-06 2012-10-31 北京京东方光电科技有限公司 Pattern generator, pattern data updating system and pattern data updating method
CN103701856A (en) * 2013-11-29 2014-04-02 四川长虹电器股份有限公司 Method for defining and acquiring upgrade package of terminal equipment
CN108280090A (en) * 2017-01-06 2018-07-13 中芯国际集成电路制造(上海)有限公司 A kind of Intelligence Feedback system and method
CN109634526A (en) * 2018-12-11 2019-04-16 浪潮(北京)电子信息产业有限公司 A kind of data manipulation method and relevant apparatus based on object storage

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944314B (en) * 2009-07-06 2012-10-31 北京京东方光电科技有限公司 Pattern generator, pattern data updating system and pattern data updating method
CN101996080A (en) * 2009-08-14 2011-03-30 深圳Tcl新技术有限公司 Software upgrading method
CN101742063B (en) * 2009-11-27 2012-09-26 深圳创维-Rgb电子有限公司 Method for identifying storage data in different versions of television memory
CN101895703A (en) * 2010-07-16 2010-11-24 四川长虹电器股份有限公司 Television software upgrading system and method
CN101895703B (en) * 2010-07-16 2012-06-27 四川长虹电器股份有限公司 Television software upgrading system and method
CN103701856A (en) * 2013-11-29 2014-04-02 四川长虹电器股份有限公司 Method for defining and acquiring upgrade package of terminal equipment
CN103701856B (en) * 2013-11-29 2016-08-17 四川长虹电器股份有限公司 A kind of method that definition and terminal device obtain AKU
CN108280090A (en) * 2017-01-06 2018-07-13 中芯国际集成电路制造(上海)有限公司 A kind of Intelligence Feedback system and method
CN109634526A (en) * 2018-12-11 2019-04-16 浪潮(北京)电子信息产业有限公司 A kind of data manipulation method and relevant apparatus based on object storage
CN109634526B (en) * 2018-12-11 2022-04-22 浪潮(北京)电子信息产业有限公司 Data operation method based on object storage and related device

Similar Documents

Publication Publication Date Title
CN101178660A (en) Memory data automatic update method
CN101739266B (en) Firmware updating method
CN106095620B (en) A kind of development approach of built-in Linux partition holding
CN103823723B (en) The touch-screen firmware restorative procedure and device of a kind of mobile terminal
CN101231618B (en) Control method of a non-volatile memory apparatus
CN104025047B (en) Information processor, information processing method and computer program
CN103135941B (en) The management method of in-line memory, in-line memory and electronic equipment
CN106201590B (en) A kind of FPGA configuration file loading method and system
CN103154900A (en) Embedded program update method, embedded program update program, electronic apparatus, network system
CN106775877A (en) A kind of firmware method for refreshing and a kind of server
CN109117151A (en) Fever writes and program burn writing method, apparatus, computer equipment and storage medium
CN103309693A (en) Complex programmable logic device updating method and system
CN106227620B (en) Recoverable Flash data storage method
CN103186471A (en) Method and system for managing bad blocks in storage equipment
CN105138433A (en) Backup method for UBIFS file system in embedded type Linux operating system
CN111176665B (en) High-capacity emmc mirror image manufacturing method and device
CN105868047A (en) Repairing method and device of data partition, and terminal
CN107066361A (en) The method and apparatus that a kind of utilization BMC disables corrupted internal memory
CN103809988A (en) Information processing method and electronic device
CN110532124A (en) Memory partition method and device
CN111897552B (en) Programming method for TCON drive IC
CN110764960A (en) Solid state disk firmware testing method
CN112445670B (en) eMMC test method and device
CN104678292A (en) Test method and device for CPLD (Complex Programmable Logic Device)
CN107704380A (en) Mobile terminal adjustment method, device and storage medium

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: 20080514