Rapid storage method for nor type flash of set-top box

A fast storage and set-top box technology, applied in color TV parts, TV system parts, memory address/allocation/relocation, etc., can solve the problems of data loss, slow speed, a lot of time, etc., to reduce data loss The probability of reducing the number of block erases and the effect of speeding up

Inactive Publication Date: 2011-02-02
FUJIAN NEWLAND COMM SCI TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional digital TV set-top boxes use nor flash to save system information. Since the write operation of nor flash needs to be erased, nor flash uses blocks to erase. Generally, 64K bytes of block space need to be erased at a time, and The speed is very slow. When a large amount of data is read and written, a lot of waiting time is required. At the same time, because the written data needs to be erased, other data of the same block need to be saved to other places first, and then the modified data and other data need to be saved. Write together in the block of flash storage space, so easy to cause data loss
However, the number of block erases in nor flash is limited, and a large number of block erase operations will easily cause damage to the flash space.
At the same time, it takes a lot of time to erase the blocks of the flash storage space, and it takes a long time to operate the stored data.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rapid storage method for nor type flash of set-top box
  • Rapid storage method for nor type flash of set-top box
  • Rapid storage method for nor type flash of set-top box

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0052] Specific embodiment one: step 10, the flash storage space of the nor flash part is set to store data, see image 3 , the flash storage space is based on the stored data plus a header with a valid flag, such a structure stores the required data. The storage space occupied by the stored data cannot exceed 20% of the size of the flash storage space, otherwise it will cause low efficiency. If the storage space is closer to the flash storage space, then its efficiency will be lower. When the two sizes are equal, this is Lowest efficiency, same efficiency as traditional practice.

[0053] Step 20, when the set-top box program is initialized, perform a block erase operation on all blocks in the flash storage space, at this time, all data in the flash storage space is 0xff.

[0054] Step 30, establishing a memory storage space equal to the size of the data to be stored in the memory of the set-top box, and reading the data in the flash storage space into the memory storage spa...

specific Embodiment 2

[0058] Specific embodiment two: step 10, the flash storage space of the nor flash part is set to store data, see image 3 , the flash storage space is based on the stored data plus a header with a valid flag, such a structure stores the required data. The storage space occupied by the stored data cannot exceed 20% of the size of the flash storage space, otherwise it will cause low efficiency. If the storage space is closer to the flash storage space, then its efficiency will be lower. When the two sizes are equal, this is Lowest efficiency, same efficiency as traditional practice.

[0059] Step 20, when the set-top box program is initialized, perform a block erase operation on all blocks in the flash storage space, at this time, all data in the flash storage space is 0xff.

[0060] Step 30, establishing a memory storage space equal to the size of the data to be stored in the memory of the set-top box, and reading the data in the flash storage space into the memory storage spa...

specific Embodiment 3

[0067] Specific embodiment three: step 10, the flash storage space of the nor flash part is set to store data, see image 3 , the flash storage space is based on the stored data plus a header with a valid flag, such a structure stores the required data. The storage space occupied by the stored data cannot exceed 20% of the size of the flash storage space, otherwise it will cause low efficiency. If the storage space is closer to the flash storage space, then its efficiency will be lower. When the two sizes are equal, this is Lowest efficiency, same efficiency as traditional practice.

[0068] Step 20, when the set-top box program is initialized, perform a block erase operation on all blocks in the flash storage space, at this time, all data in the flash storage space is 0xff.

[0069]Step 30, establishing a memory storage space equal to the size of the data to be stored in the memory of the set-top box, and reading the data in the flash storage space into the memory storage sp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a rapid storage method for a nor type flash of a set-top box. Data at positions of blocks in a storage space of the flash is judged to be valid or not by establishing a blocking mechanism in the storage space of the flash and controlling the data to be stored and read at the positions of different blocks in turn, thereby further reducing block erasing frequency and increasing the data storage and reading speed.

Description

【Technical field】 [0001] The invention relates to an embedded technology, in particular to a fast storage method for a set-top box nor-type flash, and particularly belongs to the technology in the field of set-top boxes. 【Background technique】 [0002] NOR FLASH is a non-volatile memory. It is the NOR flash technology first developed by Intel in 1988. It completely changed the situation where EPROM and EEPROM dominated the world. Because of its large storage capacity and long storage time, Not easy to lose data and so on. It can be erased and written more than 100,000 times, and its data update speed is much faster than that of EPROM and EEPROM. It can also save data even when the power is off, so it is often used to save some important configuration information. It is an ideal solution for mainstream applications that require program and data storage on the same chip. [0003] With the gradual popularization of digital TV, more and more digital TV set-top boxes as digital...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02H04N5/00
Inventor 方立
Owner FUJIAN NEWLAND COMM SCI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products