CN101321250B - Television set important data storage method - Google Patents

Television set important data storage method Download PDF

Info

Publication number
CN101321250B
CN101321250B CN2008103025109A CN200810302510A CN101321250B CN 101321250 B CN101321250 B CN 101321250B CN 2008103025109 A CN2008103025109 A CN 2008103025109A CN 200810302510 A CN200810302510 A CN 200810302510A CN 101321250 B CN101321250 B CN 101321250B
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.)
Active
Application number
CN2008103025109A
Other languages
Chinese (zh)
Other versions
CN101321250A (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

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. have program stored therein in FLASH (flash memory) memory with television set and have the erase block unit area of remaining space to be divided into several memory cell;
B. parameter of each cell stores, and 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 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 (3)

1. television set important data storage method is characterized in that: may further comprise the steps:
A. have program stored therein in the FLASH memory with television set and have the erase block unit area of remaining space to be divided into several memory cell;
B. parameter of each cell stores, and 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 FLASH memory is the external memory of television set microprocessor.
3. a kind of television set important data storage method as claimed in claim 1 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 CN101321250A (en) 2008-12-10
CN101321250B true 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)

Families Citing this family (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
CN102890656B (en) * 2012-09-25 2016-09-28 Tcl光电科技(惠州)有限公司 The method improving FLASH service life
CN102984573B (en) * 2012-10-30 2015-07-08 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
CN104298470B (en) * 2014-09-10 2016-04-27 腾讯科技(深圳)有限公司 A kind of method for writing data and device
CN106445722B (en) * 2016-10-20 2019-08-06 积成电子股份有限公司 A kind of method for carrying out parameter storage based on flash memories in embedded system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88101358A (en) * 1987-03-13 1988-09-21 苹果电脑公司 The electronic computer system of band expansion slot
WO1998043167A1 (en) * 1997-03-21 1998-10-01 Canal+ Societe Anonyme Computer memory organization
CN1510916A (en) * 2002-12-23 2004-07-07 乐金电子(沈阳)有限公司 Memory managing method for digital TV

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88101358A (en) * 1987-03-13 1988-09-21 苹果电脑公司 The electronic computer system of band expansion slot
WO1998043167A1 (en) * 1997-03-21 1998-10-01 Canal+ Societe Anonyme Computer memory organization
CN1510916A (en) * 2002-12-23 2004-07-07 乐金电子(沈阳)有限公司 Memory managing method for digital TV

Also Published As

Publication number Publication date
CN101321250A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
CN101321250B (en) Television set important data storage method
US9329995B2 (en) Memory device and operating method thereof
US8606987B2 (en) Data writing method for flash memory and controller using the same
US8745322B2 (en) Management of non-volatile memory systems having large erase blocks
US8122184B2 (en) Methods for managing blocks in flash memories
CN104657284B (en) The extended utilization area of storage device
CN101484882B (en) Method for flash-memory management
CN101779195B (en) Method and system for storage address re-mapping for a memory device
CN100487672C (en) Method and apparatus for splitting a logical block
CN106201335B (en) Storage system
US20120166709A1 (en) File system of flash memory
JP4874588B2 (en) Storage device and host device
CN102043721A (en) Memory management method for flash memory
CN110764691A (en) Data storage device and non-volatile memory control method
CN101625897A (en) Data write-in method, storage system and controller used for quick flash memory
CN101344861A (en) Smart card internal memory management method
US8397015B2 (en) Memory controller, semiconductor recording device, and method for notifying the number of times of rewriting
JP2013016148A (en) Memory controller and nonvolatile storage
CN101923513B (en) Data writing and reading method of memory, system and FLASH memory
TWI463311B (en) Data storing method and apparatus applied to flash memory storage device
US8856425B2 (en) Method for performing meta block management, and associated memory device and controller thereof
KR20090034135A (en) Flash memory mapping management method
JP3565583B2 (en) Semiconductor file storage device
US20170052708A1 (en) Method for accessing flash memory and associated memory controller and electronic device
KR20110070656A (en) Method and apparatus for processing data of flash memory

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