CN103440205B - A kind of set top box data storage method and device - Google Patents

A kind of set top box data storage method and device Download PDF

Info

Publication number
CN103440205B
CN103440205B CN201310367010.4A CN201310367010A CN103440205B CN 103440205 B CN103440205 B CN 103440205B CN 201310367010 A CN201310367010 A CN 201310367010A CN 103440205 B CN103440205 B CN 103440205B
Authority
CN
China
Prior art keywords
data
block
memory block
top box
set top
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.)
Expired - Fee Related
Application number
CN201310367010.4A
Other languages
Chinese (zh)
Other versions
CN103440205A (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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201310367010.4A priority Critical patent/CN103440205B/en
Publication of CN103440205A publication Critical patent/CN103440205A/en
Application granted granted Critical
Publication of CN103440205B publication Critical patent/CN103440205B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention is applicable to technical field of data storage, it is provided that a kind of set top box data storage method and device, described method includes: mark off the first equal memory block of data storage capacity and the second memory block in Flash;Respectively the data storage capacity of described first memory block and the second memory block is divided, mark off multiple data block identical with data type size;When writing data of set top box, determine current data block and the current data block of the second memory block of the first memory block;The current data block of the first memory block and the current data block of the second memory block are alternately write.The present invention is by carrying out being divided into data block by two memory blocks, data carry out being alternately written into the data block of different memory areas, solving what prior art existed, Flash space waste, Flash are the most erasable to be easily damaged and the problem of power-off loss data when Flash erase/write.

Description

A kind of set top box data storage method and device
Technical field
The invention belongs to technical field of data storage, particularly relate to a kind of set top box data storage method and device.
Background technology
Set Top Box, in running, needs dynamically to update some data, and it is (English: Flash) to store flash memory In, the most dynamically update, the encryption key of system (English: Key), user data etc. are set.Tradition Method be with certain in certain data type (the most self-defined) storage to Flash by these data Fixing address, and be written and read accessing to this address with specific interface.Flash is to have certain longevity Life, when, after the number of times beyond certain erasing and write, Flash will break down, so lasting is solid to certain Fixed address is written and read accessing, and can increase the probability of this area damage, can reduce Set Top Box to a certain extent Service life.
The erasing of Flash be usually with block (English: Block) as unit, so, different types of data Cannot be put on same Block.Otherwise, when updating a kind of data, need first to back up another kind of number According to, the difficulty that so can increase operation and the probability made mistakes.And different Block is taken for different types of data Block, the total size of each type of data is more much smaller than Block again, thus causes the tight of Flash space Heavily waste.
If it addition, wipe power-off during Flash, then all of data will be lost.Some data It is that Set Top Box is properly functioning necessary, if the normal work that loss will affect Set Top Box even can not work.
Summary of the invention
It is an object of the invention to provide a kind of set top box data storage method and device, deposit solving prior art , Flash space waste, Flash because the most erasable be easily damaged and when erasable power-off lose data lead Cause the Set Top Box abnormal problem of work.
The present invention is realized in, a kind of set top box data storage method, said method comprising the steps of:
The first equal memory block of data storage capacity and the second memory block is marked off in flash memory Flash;
The data type size of the data of set top box stored as required, respectively to described first memory block and second The data storage capacity of memory block divides, and marks off multiple data block identical with data type size;
When write needs the data of set top box of storage, determine current data block and second storage of the first memory block The current data block in district;
First memory block current data block and the second memory block current data block are alternately write.
Another object of the present invention is to provide a kind of data of set top box storage device, described device includes:
First zoning unit, for marking off the first memory block that data storage capacity is equal in flash memory Flash With the second memory block;
Second zoning unit, the data type size of the data of set top box for storing as required, respectively to institute The data storage capacity stating the first memory block and the second memory block divides, and marks off multiple big with data type Little identical data block;
Determine unit, during for needing the data of set top box of storage in write, determine the current number of the first memory block According to block and the current data block of the second memory block;
Memory element, for the first memory block current data block and the second memory block current data block alternately Write.
Data, by carrying out being divided into data block by two memory blocks, are carried out being alternately written into different memory areas by the present invention Data block, solve what prior art existed, Flash space waste, Flash are because frequent erasable easy damage Go bad and power-off loss data cause the Set Top Box abnormal problem of work when Flash erase/write, improve Flash Service life and Flash utilization rate, even and if during Flash erase/write power-off also will not lose data and affect machine Top box works.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or prior art In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only Some embodiments of the present invention, for those of ordinary skill in the art, before not paying creative work Put, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flowchart of the set top box data storage method that one embodiment of the invention provides;
Fig. 2 is block data structure figure in the Set Top Box that one embodiment of the invention provides;
Fig. 3 is the flowchart of the data of set top box read method that another embodiment of the present invention provides;
Fig. 4 is the function structure chart of the data of set top box storage device that another embodiment of the present invention provides;
Fig. 5 is the function structure chart of the data of set top box reading device that another embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and enforcement Example, is further elaborated to the present invention.Should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
One embodiment of the invention provides set top box data storage method, and described method is as it is shown in figure 1, specifically walk Suddenly include:
In step S101, Flash marks off the first memory block and second that data storage capacity is equal Memory block.
In the present embodiment, the first memory block and the second memory block are all Block, certain first memory block and Two memory blocks are according to different use occasions, it is also possible to be other storage form.
In step s 102, the data type size of the data of set top box stored as required, respectively to described The data storage capacity of the first memory block and the second memory block divides, and marks off multiple and data type size Identical data block.
It should be noted that data type size refers to the minimized storage space size that data type needs, different Data type different to the data storage capacity demand of data block, according to data type size to first storage The data storage capacity of district and the second memory block divides successively, can mark off multiple and data type size Identical data block.If the data storage capacity of the first memory block and the second memory block is the whole of data type size Several times then can divide completely, and otherwise last blocks of data block varies in size with data type, then give up.Such as, Assuming that the data storage capacity of the first memory block and the second memory block is all 64K, if data type size is 8K, So first memory block and the second memory block are completely divided into the data block of 8 8K respectively;If but data The data storage capacity of type corresponding data block is 9K, and namely data type size is 9K, then first deposits Storage area and the second memory block are divided into data block and the data block of 1 1K of 7 9K respectively, this 1K's Data block will be not used in storage data.
In step s 103, when write needs the data of set top box of storage, the current of the first memory block is determined Data block and the current data block of the second memory block.
It should be noted that current data block refers to store the latter data block of the data block of data, with As a example by one memory block, it is assumed that the first memory block is divided into 7 9K and the data block of 1 1K, if front 3 The data block of individual 9K has stored data, but the data block of the 4th 9K does not store data, that 4th data block is exactly the current data block of the first memory block, if the data block of 7 9K has been deposited Store up data, and the data block of 1 1K can not store the data of the type, then the first memory block has not just had Current data block, or be expressed as the first memory block and be all fully written, do not write space.
Specifically, it is achieved the current data block method determining the first memory block is:
From the initial address of the first memory block, according to the data of order read block from left to right;
The data of described data block are carried out the traversal verification of each byte;
Verification obtain first be full the data block of 0xff be current data block.
It should be noted that illustrate as a example by the first memory block, it is assumed that the first memory block from left to right have A, The data of B, C, D, E totally 5 data blocks, first read block A, carry out traversal verification, if number It not the data of 0xff according to the data existence of block A, illustrate with valid data in data block A, continue to read Data in data block B carry out traversal verification, if the data existence of data block B is not the data of 0xff, Illustrate that data block B, with valid data, continues the data in read block C and carries out traversal verification, if It is not the data of 0xff that the data of data block C do not exist, then illustrate that data block C is exactly current data block.
In step S104, the current data block of the first memory block and the current data block of the second memory block are handed over For writing.
Specifically, it is achieved the method for step S104 particularly as follows:
(English: (English: Index), need to for the parity flag in Control Data) according to controlling data The current data block of the memory block that data of set top box write odd even Index to be stored is corresponding;
When the memory block that described odd even Index is corresponding writes described data of set top box, for described data of set top box Add packet header (English: Head), described Head include serial number (English: Identity, be called for short: ID), Version is (English: Version) and the cyclic redundancy check (CRC) (English: Cyclic Redundancy of described data of set top box Check, is called for short: CRC), odd even Index in described Version with Control Data is equal;
Odd even Index in Control Data is added 1.
Being stored in internal memory it should be noted that control data, odd even Index is used for controlling data of set top box and writes Enter which memory block.When odd even Index is even number, memory block corresponding to odd even Index is the first memory block, When odd even Index is odd number, memory block corresponding to odd even Index is the second memory block.When controlling in data When odd even Index is even number, data of set top box can be written into the current data block of the first memory block, then odd even Index adds 1, becomes odd number;When odd even Index controlled in data is odd number, data of set top box can be write Entering the current data block of the second memory block, then odd even Index adds 1, becomes even number, is so alternately written into One memory block and the current data block of the second memory block.The when of for two memory blocks also do not have data, very Even Index can be initialized to 0, if need to write data of set top box this time, can write first First data block of memory block, or become the initial data block of first memory block, first memory block First data block be written into data of set top box after, odd even Index in Control Data by 0 base Add 1 on plinth and change odd even attribute, when again there being data of set top box to need write, the second memory block can be write First data block.It is ensured that can also be controlled by additive method or other parameters, it is achieved The data of set top box needing storage is alternately written into the first memory block and the second memory block.
Including identifying ID, CRC and Version totally 3 fields with reference to Fig. 2, Head, ID is fixing, CRC is the data in data block to be CRC32 verify the value obtained, when writing data, by Control Data In odd even Index write Version, therefore Version is equal with odd even Index.
In the present embodiment, by two memory blocks are carried out subregion, data of set top box is alternately written into two and deposits The data block of storage area so that need not frequently wipe the data on memory block when write new data, it is ensured that Flash Service life and utilization ratio, and alternately to two memory blocks writes, even if the power-off when write, cause Data newly written on a certain memory block are unsuccessful, but data are also preserved in another memory block, are not result in impact The situation of Set Top Box work occurs.
Optionally, described method also includes:
When the first memory block does not write space, wipe the first memory block, it would be desirable to the data of set top box of storage Write the initial data block of the first memory block;
When the second memory block does not write space, wipe the second memory block, it would be desirable to the data of set top box of storage Write the initial data block of the second memory block.
It should be noted that assume when the first memory block does not write space, when performing write operation, wipe first Memory block, data of set top box can be written to first data block of the first memory block, or referred to as first is deposited The initial data block of storage area, is also same reason for second memory block;Wipe the first memory block not wipe Except subregion, it it is only the data of set top box erasing that the inside is stored.
Optionally, also include after described step S104:
When Set Top Box restarts, read all data blocks from the first memory block and the second memory block respectively;
Data block in first memory block and the second memory block is searched the most from right to left valid data block;
Version in valid data block is compared, Version value maximum for most effective data block;
Data of set top box in most effective data block is read in internal memory;
Version in Head according to the data of set top box in described most effective data block resets Control Odd even Index in Data;
Wipe the memory block that described odd even Index is corresponding, the data of set top box in described most effective data block is multiple System arrives the initial data block of memory block corresponding to described odd even Index;
After described odd even Index is added 1, by memory block erasing corresponding for described odd even Index.
It should be noted that according to the Version in the Head of the data of set top box in described most effective data block Reset odd even Index in Control Data particularly as follows:
When the Version in Head is odd number, odd even Index in Control Data is reset to 0, When the Version in Head is even number, odd even Index in Control Data is reset to 1.
In the present embodiment, when Set Top Box restarts, by resetting odd even Index in Control Data, Avoid odd even Index data excessive, cause data to overflow.
Another embodiment of the present invention provides data of set top box read method, and described method is as it is shown on figure 3, concrete Step includes:
In step S301, Flash marks off the first equal memory block of data storage capacity and second and deposits Storage area.
In step s 302, the data type size of the data of set top box stored as required, respectively to described The data storage capacity of the first memory block and the second memory block divides, and marks off multiple and data type size Identical data block.
In step S303, when reading data of set top box, determine the current data block and the of the first memory block The current data block of two memory blocks.
In step s 304, determine and read the data of which memory block.
Specifically, it is achieved step S304 particularly as follows:
According to the parity flag Index controlled in data Control Data, determine that reading odd even Index is the most corresponding The data of memory block.
It should be noted that memory block corresponding to odd even Index is the memory block phase corresponding with odd even Index Anti-concept, when odd even Index is even number, memory block corresponding to odd even Index is the first memory block, odd even The most corresponding memory block is exactly the second memory block, when odd even Index is odd number, and the storage that odd even Index is corresponding District is the second memory block, and memory block corresponding to odd even Index is exactly the first memory block.
In step S305, the last data block of the current data block from the memory block determined reads data.
It should be noted that such as odd even Index corresponding for the first memory block, then the most corresponding memory block It is the second memory block, if the current data block of the second memory block is the 3rd data block, then the storage determined The last data block of the current data block in district is the 2nd data block of the second memory block.
Optionally, it is achieved in described step S303, when reading data of set top box, the first memory block is determined Current data block particularly as follows:
From the initial address of the first memory block, according to the data of order read block from left to right;
The data of described data block are carried out the traversal verification of each byte;
Verification obtain first be full the data block of 0xff be current data block.
Another embodiment of the present invention provides data of set top box storage device, the modular structure of described device such as Fig. 4 Shown in, specifically include:
First zoning unit 41, for mark off in Flash the first equal memory block of data storage capacity and Second memory block;
Second zoning unit 42, the data type size of the data of set top box for storing as required is the most right The data storage capacity of described first memory block and the second memory block divides, and marks off multiple and data type The data block that size is identical;
Determine unit 43, during for needing the data of set top box of storage in write, determine the current of the first memory block Data block and the current data block of the second memory block;
Memory element 44, for handing over the current data block of the first memory block and the current data block of the second memory block For writing.
Optionally, described determine unit 43 when determining the current data block of the first memory block, specifically for:
From the initial address of the first memory block, according to the data of order read block from left to right;
The data of described data block are carried out the traversal verification of each byte;
Verification obtain first be full the data block of 0xff be current data block.
Optionally, described memory element 44 specifically for:
According to the parity flag Index controlled in data Control Data, it would be desirable to the data of set top box of storage is write Enter the current data block of memory block corresponding to odd even Index;
When the memory block that described odd even Index is corresponding writes described data of set top box, for described data of set top box Add packet header Head, described Head and include following of serial number ID, version Version and described data of set top box Ring redundancy check CRC, odd even Index in described Version with Control Data is equal;
Odd even Index in Control Data is added 1.
Optionally, described device also includes:
Erasing unit, for when the first memory block does not write space, wipes the first memory block, notice storage The data of set top box needing storage is write the initial data block of the first memory block by unit 44;
When the second memory block does not write space, wiping the second memory block, notice memory element 44 will need The data of set top box of storage writes the initial data block of the second memory block.
Optionally, described device also includes:
Reboot process unit, for when Set Top Box restarts, respectively from the first memory block and the second memory block Read all data blocks;
Data block in first memory block and the second memory block is searched the most from right to left valid data block;
Version in valid data block is compared, Version value maximum for most effective data block;
Data in most effective data block are read in internal memory;
Version in Head according to the data in described most effective data block resets in Control Block Odd even Index;
Wipe the memory block that described odd even Index is corresponding, the data in described most effective data block are copied to institute State the initial data block of memory block corresponding to odd even Index;
After described odd even Index is added 1, by memory block erasing corresponding for described odd even Index.
Another embodiment of the present invention provides data of set top box reading device, the modular structure of described device such as Fig. 5 Shown in, specifically include:
First zoning unit 51, for mark off in Flash the first equal memory block of data storage capacity and Second memory block;
Second zoning unit 52, the data type size of the data of set top box for storing as required is the most right The data storage capacity of described first memory block and the second memory block divides, and marks off multiple and data type The data block that size is identical;
First determines unit 53, for when reading data of set top box, determining the current data block of the first memory block Current data block with the second memory block;
Second determines unit 54, for determining the data reading which memory block;
Read unit 55, for the last data block of the current data block from the memory block determined, read data.
Optionally, described first determine unit 53 specifically for:
From the initial address of the first memory block, according to the data of order read block from left to right;
The data of described data block are carried out the traversal verification of each byte;
Verification obtain first be full the data block of 0xff be current data block.
Optionally, described second determine unit 54 specifically for:
According to the parity flag Index controlled in data Control Data, determine that reading odd even Index is the most corresponding The data of memory block.
One of ordinary skill in the art will appreciate that the modules included by above-described embodiment is according to merit Logic can carry out dividing, but be not limited to above-mentioned division, as long as being capable of corresponding function; It addition, the specific name of each functional module is also only to facilitate mutually distinguish, it is not limited to the present invention's Protection domain.
Those of ordinary skill in the art it is also understood that, it is achieved all or part of step in above-described embodiment method The program that can be by completes to instruct relevant hardware, and described program can read storage being stored in In medium, described storage medium, including ROM/RAM etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all in the present invention Spirit and principle within any amendment, equivalent and the improvement etc. made, should be included in the guarantor of the present invention Within the scope of protecting.

Claims (4)

1. a set top box data storage method, it is characterised in that described method includes:
The first equal memory block of data storage capacity and the second memory block is marked off in flash memory Flash;
The data type size of the data of set top box stored as required, respectively to described first memory block and second The data storage capacity of memory block divides, and marks off multiple data block identical with data type size;
When write needs the data of set top box of storage, determine current data block and second storage of the first memory block The current data block in district;
The current data block of the first memory block and the current data block of the second memory block are alternately write;
The current data block of the described current data block to the first memory block and the second memory block alternately writes The most also include:
When Set Top Box restarts, read all data blocks from the first memory block and the second memory block respectively;
Data block in first memory block and the second memory block is searched the most from right to left valid data block;
Version in valid data block is compared, Version value maximum for most effective data block;
Data of set top box in most effective data block is read in internal memory;
Version in Head according to the data of set top box in described most effective data block resets and controls data Odd even Index in Control Data;
Wipe the memory block that described odd even Index is corresponding, the data of set top box in described most effective data block is multiple System arrives the initial data block of memory block corresponding to described odd even Index;
After described odd even Index is added 1, by memory block erasing corresponding for described odd even Index;
The current data block of the described current data block to the first memory block and the second memory block alternately writes Particularly as follows:
According to the parity flag Index in described control data Control Data, it would be desirable to the Set Top Box number of storage According to the current data block writing memory block corresponding to described odd even Index;
When the memory block that described odd even Index is corresponding writes described data of set top box, for described data of set top box Add packet header Head, described Head and include following of serial number ID, version Version and described data of set top box Ring redundancy check CRC, described Version and the odd even Index phase in described control data Control Data Deng;
Odd even Index in described control data Control Data is added 1.
2. the method for claim 1, it is characterised in that the described Set Top Box needing storage in write During data, determine the current data block of the first memory block particularly as follows:
From the initial address of the first memory block, according to the data of order read block from left to right;
The data of described data block are carried out the traversal verification of each byte;
Verification obtain first be full the data block of 0xff be current data block.
3. the method for claim 1, it is characterised in that described method also includes:
When the first memory block does not write space, wipe the first memory block, it would be desirable to the data of set top box of storage Write the initial data block of the first memory block;
When the second memory block does not write space, wipe the second memory block, it would be desirable to the data of set top box of storage Write the initial data block of the second memory block.
4. a data of set top box storage device, it is characterised in that described device includes:
First zoning unit, for marking off the first memory block that data storage capacity is equal in flash memory Flash With the second memory block;
Second zoning unit, the data type size of the data of set top box for storing as required, respectively to institute The data storage capacity stating the first memory block and the second memory block divides, and marks off multiple big with data type Little identical data block;
Determine unit, during for needing the data of set top box of storage in write, determine the current number of the first memory block According to block and the current data block of the second memory block;
Memory element, for replacing the current data block of the first memory block and the current data block of the second memory block Write;
Reboot process unit, for when Set Top Box restarts, respectively from the first memory block and the second memory block Read all data blocks;
Data block in first memory block and the second memory block is searched the most from right to left valid data block;
Version in valid data block is compared, Version value maximum for most effective data block;
Data of set top box in most effective data block is read in internal memory;
Version in Head according to the data of set top box in described most effective data block resets and controls data Odd even Index in Control Data;
Wipe the memory block that described odd even Index is corresponding, the data of set top box in described most effective data block is multiple System arrives the initial data block of memory block corresponding to described odd even Index;
After described odd even Index is added 1, by memory block erasing corresponding for described odd even Index;
Described memory element specifically for:
According to the parity flag Index in described control data Control Data, it would be desirable to the Set Top Box number of storage According to the current data block writing memory block corresponding to described odd even Index;
When the memory block that described odd even Index is corresponding writes described data of set top box, for described data of set top box Add packet header Head, described Head and include following of serial number ID, version Version and described data of set top box Ring redundancy check CRC, described Version and the odd even Index phase in described control data Control Data Deng;
Odd even Index in described control data Control Data is added 1.
CN201310367010.4A 2013-08-21 2013-08-21 A kind of set top box data storage method and device Expired - Fee Related CN103440205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310367010.4A CN103440205B (en) 2013-08-21 2013-08-21 A kind of set top box data storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310367010.4A CN103440205B (en) 2013-08-21 2013-08-21 A kind of set top box data storage method and device

Publications (2)

Publication Number Publication Date
CN103440205A CN103440205A (en) 2013-12-11
CN103440205B true CN103440205B (en) 2016-12-28

Family

ID=49693896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310367010.4A Expired - Fee Related CN103440205B (en) 2013-08-21 2013-08-21 A kind of set top box data storage method and device

Country Status (1)

Country Link
CN (1) CN103440205B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812891B (en) * 2014-12-30 2019-03-19 Tcl集团股份有限公司 A kind of method and system of module TV screen end plate data storage
CN104717558A (en) * 2015-03-05 2015-06-17 福建新大陆通信科技股份有限公司 Backing up and restoring method of set top box data
CN106383775B (en) * 2015-08-18 2019-03-08 上海景格科技股份有限公司 Equipment uses time recording method and its device
CN105868120A (en) * 2016-03-24 2016-08-17 航天科技控股集团股份有限公司 A data storage method based on substitution of FLASH in a chip for EEPROM
CN105975240B (en) * 2016-07-01 2019-04-05 深圳市华星光电技术有限公司 Data storage device and its prevent the method for data failure, sequence controller
CN106604111A (en) * 2016-12-16 2017-04-26 深圳市九洲电器有限公司 Set-top box Flash data storage method and set-top box Flash data storage system
CN107704200A (en) * 2017-09-08 2018-02-16 晶晨半导体(上海)股份有限公司 A kind of data deposit method
CN109960611B (en) * 2019-03-07 2021-06-29 杭州迪普科技股份有限公司 Data recovery method and device, electronic equipment and machine-readable storage medium
US20200388242A1 (en) * 2019-06-05 2020-12-10 Novatek Microelectronics Corp. Timing controller device and data reading-writing method
CN110471860A (en) * 2019-07-03 2019-11-19 深圳市九洲电器有限公司 Date storage method, set-top box and Related product
CN111831590A (en) * 2020-06-05 2020-10-27 嘉兴行适安车联网信息科技有限公司 Algorithm for reliably protecting NVRAM data content from loss
CN114443095A (en) * 2022-01-21 2022-05-06 佛山市钒音科技有限公司 Air conditioner upgrading method and air conditioner
CN114840449B (en) * 2022-06-30 2022-10-18 广州万协通信息技术有限公司 Data storage method, device, equipment and storage medium based on MCU chip flash

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5818755A (en) * 1996-10-16 1998-10-06 Fujitsu Limited Storage apparatus having a nonvolatile storage device capable of retaining data after an incomplete write operation and method of accessing same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5818755A (en) * 1996-10-16 1998-10-06 Fujitsu Limited Storage apparatus having a nonvolatile storage device capable of retaining data after an incomplete write operation and method of accessing same

Also Published As

Publication number Publication date
CN103440205A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN103440205B (en) A kind of set top box data storage method and device
CN101446921B (en) Dynamic storage method of Flash memory
CN101551780B (en) Television and data storage method and device thereof
CN104423894B (en) Data memory device and method for controlling flash memory
CN102737715B (en) For the method for power fail safeguard of data of NOR flash memory
CN109783017B (en) Storage device bad block processing method and device and storage device
CN104750565B (en) NAND bad block processing method and NAND flash memory equipment
CN103294615B (en) A kind of method for storing set-top box users information
WO2016086819A1 (en) Method and apparatus for writing data into shingled magnetic record smr hard disk
EP4137924A1 (en) Fragment management method and fragment management apparatus
US8656090B2 (en) Method for performing block management, and associated memory device and controller thereof
CN106155915B (en) Data storage processing method and device
KR20150095781A (en) Memory recycling method and device
CN108874298B (en) Data storage method and device
EP3352071B1 (en) Data check method and storage system
CN104461387A (en) Method for improving reading property of solid-state hard disk for no mapping region
JP6823734B2 (en) Solid state disk access
US9710340B2 (en) Replacement of a corrupt driver variable record
CN110347613B (en) Method for realizing RAID in multi-tenant solid-state disk, controller and multi-tenant solid-state disk
CN103279424A (en) Damaged queue management device and method of Nand Flash
CN112596668A (en) Bad block processing method and system for memory
CN103593301B (en) Bad block management method and system
TWI463311B (en) Data storing method and apparatus applied to flash memory storage device
CN102981972A (en) Wear-leveling method for phase change memory
CN103853669A (en) Storage management method based on NOR Flash

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Yang Fudong

Inventor after: Zhang Yingwei

Inventor before: Zhang Yingwei

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161228

Termination date: 20200821