CN101321250A - Television set important data storage method - Google Patents

Television set important data storage method Download PDF

Info

Publication number
CN101321250A
CN101321250A CNA2008103025109A CN200810302510A CN101321250A CN 101321250 A CN101321250 A CN 101321250A CN A2008103025109 A CNA2008103025109 A CN A2008103025109A CN 200810302510 A CN200810302510 A CN 200810302510A CN 101321250 A CN101321250 A CN 101321250A
Authority
CN
China
Prior art keywords
parameter
stored
television set
memory
storage
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.)
Granted
Application number
CNA2008103025109A
Other languages
Chinese (zh)
Other versions
CN101321250B (en
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 CN2008103025109A priority Critical patent/CN101321250B/en
Publication of CN101321250A publication Critical patent/CN101321250A/en
Application granted granted Critical
Publication of CN101321250B publication Critical patent/CN101321250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

The invention relates to the technology of data storage, in particular to a method of storing important data of televisions. The invention provides a reliable and effective method of storing important data of televisions. The technical proposal is as follows: a polishing unit region stored with programs and rest spaces in a FLASH memory of televisions into a plurality of storage units, recording initial and end addresses of the storage units; each storage unit stores one parameter, and the size of the storage space of the parameters is ensured according to the lengths of the parameters; parameters needing stored are stored to find out the storage units of the parameters when the amendment is needed, and the values of the amended parameters are then stored after the current values; the current value is the first non-empty area storage value found from the end address when the transfer is needed. Adopting the storage method in the invention saves the EEPROM memory, reduces the cost, effectively uses the FLASH memory space and reduces the chance of losing the data.

Description

A kind of television set important data storage method
Technical field
The present invention relates to data storage technology, relate in particular to a kind of television set important data storage method.
Background technology
At present, also have the data quite a lot can not be in the television set with software solidification, still need to be stored in other nonvolatile storage, traditional selection is to be stored in the EEPROM (Electrically Erasable Read Only Memory) that follows the IIC serial communication protocol, usually the microprocessor of television set all is the speed communication with it with tens Kbps, finishes corresponding read-write operation.Though this comparatively simple and direct communication modes has brought convenience for development and Design, the geometric parameter of some important parameters of television set Default Value such as factory's debugging, chip parameter, option parameter etc. all are stored among the EEPROM.But because Core of TV set need work long hours in the environment of high pressure, high heat, many static, will be unfavorable for the performance of reliability, anti-static ability and the antijamming capability of communication, EEPROM also very easily is interfered and causes significant data to be made mistakes.
Summary of the invention
Technical problem to be solved by this invention is: be subject to operational environment influence and the shortcoming of obliterated data proposes a kind of reliable and effective television set important data storage method at storage mode of the prior art.
The technical scheme that the present invention solves the problems of the technologies described above employing is: a kind of storage means of television set significant data may further comprise the steps:
A. having program stored therein and the module unit area dividing that clashes of remaining space is arranged in FLASH (flash memory) memory with television set is several memory cell;
B. parameter of each cell stores, the initial and end address of writing down this unit;
C. determine the memory space of this parameter according to each parameter length, will need stored parameters to store said memory cells into;
When d. needing to revise certain parameter, find the memory cell of this parameter, and then the parameter value of revising is stored in currency after, if when being stored to the end address then the content of eraseable memory unit and the parameter of revising is stored to initial address after;
When e. calling certain parameter, the area stores value from the end address reverse find to first non-NULL is exactly the parameter current value.
Described parameter is divided into user data and non-user data, when parameter is non-user data, also wants execution in step between step c and steps d:
F. stored parameters is cured.
Described FLASH memory is the external memory of television set microprocessor.
Described FLASH memory is the internal memory of television set microprocessor.
The invention has the beneficial effects as follows: do not need significant data is stored among the EEPROM, saved EEPROM, reduced cost, effectively utilized the FLASH storage space, reduced the chance of loss of data.
Description of drawings
Fig. 1 is a storage means flow chart of the present invention;
Fig. 2 is non-storage of subscriber data parameter schematic diagram;
Fig. 3 is a storage of subscriber data parameter schematic diagram.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
With reference to Fig. 1, for storage means of the present invention, be several memory cell at first with having program stored therein in the external of television set microprocessor or the built-in FLASH memory and erase block unit (block) area dividing of remaining space being arranged, parameter of each cell stores, and the initial and end address of writing down this memory cell, determine the memory space of this parameter again according to the length of each parameter, will need stored parameters to store said memory cells at last.When needing to revise certain parameter, find the memory cell of this parameter, and then the parameter value of revising is stored in currency after, be that memory space is full the time if be stored to the end address, wipe the parameter in this memory space, amended parameter is begun to deposit in from initial address.In the time of need calling certain parameter, be exactly the parameter current value from the area stores value of first non-NULL of end address reverse find.
Above-mentioned said parameter is divided into non-user data and user data.Wherein, non-user data is that television set is stored in the maintenance/factory/data such as design in the FLASH memory when dispatching from the factory.User data is that television set is stored in image in the FLASH memory, sound when dispatching from the factory, user such as tuning adjusts data.The FLASH memory can be the internal or external memory in the television set microprocessor.
For non-user data, its memory allocation is referring to Fig. 2, is 128KB as the block cell size of FLASH memory, and certain subprogram takies 64KB, and so non-user data can take remaining 64KB space.The memory space of distributing to parameter D is ox10000 to ox10078, promptly can store 20 address values, and initial parameter D_0 is stored among the 6Byte that ox10000 begins, and then D_0 storage during modification, when calling, reverse find non-NULL regional parameter values is solidified regional intrinsic parameter simultaneously.
For user data, its memory allocation is referring to Fig. 3, when the block unit of FLASH memory is bigger, the boot program can not take whole block district, with storage of subscriber data in the block unit at boot program place, distribute the zone of certain byte number as memory space after the boot program, for each parameter, the initial address of each parameter is fixing, during certain parameter of modification of program, after new modification value was placed on initial value, parameter i_n represented the n time modification value of parameter i.During call parameters, determine the parameter memory location, call from memory space end address reverse find non-NULL regional parameter values then by initial address.

Claims (4)

1. television set important data storage method is characterized in that: may further comprise the steps:
A. having program stored therein in the FLASH memory with television set and the module unit area dividing that clashes of remaining space is arranged is several memory cell;
B. parameter of each cell stores, the initial and end address of writing down this unit;
C. determine the memory space of this parameter according to each parameter length, will need stored parameters to store said memory cells into;
When d. needing to revise certain parameter, find the memory cell of this parameter, and then the parameter value of revising is stored in currency after, if when being stored to the end address then the content of eraseable memory unit and the parameter of revising is stored to initial address after;
When e. calling certain parameter, the area stores value from the end address reverse find to first non-NULL is exactly the parameter current value.
2. a kind of television set important data storage method as claimed in claim 1 is characterized in that: described parameter is divided into user data and non-user data, when parameter is non-user data, also wants execution in step between step c and steps d:
F. stored parameters is cured.
3. a kind of television set important data storage method as claimed in claim 1 or 2 is characterized in that: described FLASH memory is the external memory of television set microprocessor.
4. a kind of television set important data storage method as claimed in claim 1 or 2 is characterized in that: described FLASH memory is the internal memory of television set microprocessor.
CN2008103025109A 2008-07-03 2008-07-03 Television set important data storage method Active CN101321250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008103025109A CN101321250B (en) 2008-07-03 2008-07-03 Television set important data storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008103025109A CN101321250B (en) 2008-07-03 2008-07-03 Television set important data storage method

Publications (2)

Publication Number Publication Date
CN101321250A true CN101321250A (en) 2008-12-10
CN101321250B CN101321250B (en) 2010-06-02

Family

ID=40181043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008103025109A Active CN101321250B (en) 2008-07-03 2008-07-03 Television set important data storage method

Country Status (1)

Country Link
CN (1) CN101321250B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938594A (en) * 2010-08-02 2011-01-05 福建新大陆通信科技股份有限公司 Volume saving method for digital television set top box
CN102270177A (en) * 2011-06-17 2011-12-07 南京Lg新港显示有限公司 Method for replacing EEPROM (Electrically-Erasable Programmable Read-Only Memory) with memory space of flash memory
CN102890656A (en) * 2012-09-25 2013-01-23 Tcl光电科技(惠州)有限公司 Method for improving service life of FLASH
CN102984573A (en) * 2012-10-30 2013-03-20 Tcl光电科技(惠州)有限公司 Television data storage method and television data storage device
CN103096162A (en) * 2013-02-05 2013-05-08 北京赛科世纪数码科技有限公司 Storage method and storage system of flash storage device of digital set-top box
CN104298470A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Data writing method and device
CN106445722A (en) * 2016-10-20 2017-02-22 积成电子股份有限公司 Method for conducting parameter storage in embedded system based on flash memory

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL85518A0 (en) * 1987-03-13 1988-08-31 Apple Computer Computer with expansion slots for cards and card therefor
EP0872798A1 (en) * 1997-03-21 1998-10-21 CANAL+ Société Anonyme Computer memory organization
CN1510916A (en) * 2002-12-23 2004-07-07 乐金电子(沈阳)有限公司 Memory managing method for digital TV

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938594A (en) * 2010-08-02 2011-01-05 福建新大陆通信科技股份有限公司 Volume saving method for digital television set top box
CN102270177A (en) * 2011-06-17 2011-12-07 南京Lg新港显示有限公司 Method for replacing EEPROM (Electrically-Erasable Programmable Read-Only Memory) with memory space of flash memory
CN102890656A (en) * 2012-09-25 2013-01-23 Tcl光电科技(惠州)有限公司 Method for improving service life of FLASH
CN102890656B (en) * 2012-09-25 2016-09-28 Tcl光电科技(惠州)有限公司 The method improving FLASH service life
CN102984573A (en) * 2012-10-30 2013-03-20 Tcl光电科技(惠州)有限公司 Television data storage method and television data storage device
CN103096162A (en) * 2013-02-05 2013-05-08 北京赛科世纪数码科技有限公司 Storage method and storage system of flash storage device of digital set-top box
CN104298470A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Data writing method and device
CN104298470B (en) * 2014-09-10 2016-04-27 腾讯科技(深圳)有限公司 A kind of method for writing data and device
CN106445722A (en) * 2016-10-20 2017-02-22 积成电子股份有限公司 Method for conducting parameter storage in embedded system based on flash memory
CN106445722B (en) * 2016-10-20 2019-08-06 积成电子股份有限公司 A kind of method for carrying out parameter storage based on flash memories in embedded system

Also Published As

Publication number Publication date
CN101321250B (en) 2010-06-02

Similar Documents

Publication Publication Date Title
CN101321250B (en) Television set important data storage method
US8606987B2 (en) Data writing method for flash memory and controller using the same
CN104657284B (en) The extended utilization area of storage device
US9329995B2 (en) Memory device and operating method thereof
CN101779195B (en) Method and system for storage address re-mapping for a memory device
CN100487672C (en) Method and apparatus for splitting a logical block
CN100524209C (en) Method for updating data in nonvolatile memory array
CN101484882B (en) Method for flash-memory management
US8504798B2 (en) Management of non-volatile memory systems having large erase blocks
RU2348992C2 (en) Storage device and leading device
CN101399081B (en) Semiconductor memory device and data management method using semiconductor memory device
US20090271567A1 (en) Methods for managing blocks in flash memories
US9235534B2 (en) Data protecting method, memory controller and memory storage apparatus
WO2009096180A1 (en) Memory controller, nonvolatile storage device, and nonvolatile storage system
CN102043721A (en) Memory management method for flash memory
JP5329689B2 (en) Memory controller and nonvolatile storage device
CN101625897A (en) Data write-in method, storage system and controller used for quick flash memory
US8397015B2 (en) Memory controller, semiconductor recording device, and method for notifying the number of times of rewriting
CN101923513B (en) Data writing and reading method of memory, system and FLASH memory
CN103218300B (en) Data processing method, Memory Controller and memorizer memory devices
CN102736981A (en) Method for increasing NOR FLASH erase/write life
US20170052708A1 (en) Method for accessing flash memory and associated memory controller and electronic device
JP4703753B2 (en) Information processing apparatus, semiconductor memory device, and program
CN102314396B (en) Method and device for accessing bytes by taking a block as base flash
CN101727396B (en) Memory management method for nonvolatile memory and controller thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant