Method and device for starting a set-top box

A set-top box and top-box technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve problems such as loading bad block data, starting crashes, etc.

Inactive Publication Date: 2015-11-11
SHENZHEN JIUZHOU ELECTRIC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The purpose of the embodiments of the present invention is to provide a method and device for starting a set-top box, aiming to obtain a complete and correct startup program, and to solve the problem that when the boot program loads a startup program larger than one block, it may load bad block data, causing crash problem

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
  • Method and device for starting a set-top box
  • Method and device for starting a set-top box
  • Method and device for starting a set-top box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Figure 4 The implementation flow of the NANDFlash burning method provided by an embodiment of the present invention is shown, and the method process is described in detail as follows:

[0060] In this embodiment, Hynix NAND Flash (model H27U1G8F2B) is used, with a capacity of 128MB, a total of 1024 blocks, and each block size is 128KB; the size of the boot program is 4KB, and the size of the startup program is 202KB. The NAND Flash is divided into four areas as shown in Table 2 below:

[0061] Table 2

[0062]

[0063] In this embodiment, partition 1 has 8 blocks for storing the boot program and startup program. Since the size of the startup program is 202KB, the startup program will be stored on the first block of partition 1 and other normal blocks.

[0064] In step S401, the programming read-write tool scans the NAND Flash to obtain block status information;

[0065] In this embodiment, the programming read-write tool may be a programmer, or programming read-w...

Embodiment 2

[0073] Figure 5 The implementation process of starting the set-top box method by NANDFlash provided by another embodiment of the present invention is shown, and the method process is described in detail as follows:

[0074] In step S501, the main chip of the set-top box reads the boot program and block status information in the NAND Flash to the off-chip memory or the NAND Flash embedded memory.

[0075] In step S502, the set-top box runs a boot program to initialize CPU, DDR and chip core devices.

[0076] In this embodiment, DDR as a type of memory can be replaced by other forms of memory.

[0077] In step S503, the set-top box judges in order whether the current block is a normal block according to the block state information, and if it is a bad block, skips to the next block without loading until it is judged to be a normal block.

[0078] In step S504, the set-top box runs the boot program and loads the binary files of the boot program in the normal block to the DDR in...

Embodiment 3

[0082] Figure 6 Shown is a structural diagram of a set-top box starting device provided by another embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown as follows:

[0083] The reading unit 61 is used for the main chip of the set-top box to read the boot program and block status information in the NAND Flash to the off-chip memory or the NAND Flash embedded memory.

[0084] The initialization unit 62 is used for the set-top box to run the boot program to initialize the CPU, DDR and chip core devices.

[0085] In this embodiment, DDR as a type of memory can be replaced by other forms of memory.

[0086] The judging unit 63 is used for the set-top box to judge whether the current block is a normal block in order according to the block status information, and if it is a bad block, it does not load and skips to the next block until it is judged to obtain a normal block;

[0087] The loading uni...

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 is applicable to the technical field of a STB (Set Top Box) and provides a STB starting method and a STB starting device. The method comprises the following steps of: when the STB is started, a bootstrapper and block state information in an NAND Flash bootstrapper preserved storage region are read; the STB operates a bootstrapper initialization memory; when data in a NAND Flash is loaded into the STB, the STB loads a binary file of an initiator in a normal block into the memory until completing loading the complete initiator; and the STB operates the initiator in the memory to be started. According to the invention, the initiator is written into the normal block by acquiring the block state information in the process of burning the NAND Flash and storing the block state information into the NAND Flash; and when the STB is started, the block state information is read, the initiator in the normal block is loaded into the memory and the initiator is executed to start the STB, so that the problem of crash in the starting process, which is caused by the case that data of a bad block is possibly loaded when the bootstrapper loads initiators of more than one block, is solved.

Description

technical field [0001] The invention belongs to the technical field of set-top boxes, and in particular relates to a method and device for starting a set-top box. Background technique [0002] With the continuous growth of customer needs, the set-top box startup program has also changed from the original simple initialization of core equipment and the function of loading applications to today's Universal Serial Bus (Universal Serial Bus, USB) driver, remote control driver, front control board driver, a A non-volatile flash memory (NANDFLASH) driver, file system support and other functions. Therefore, the size of the startup program has also grown from tens of KB to hundreds of KB now. [0003] With the expansion of the market demand for consumer electronics products, the competition between products has become increasingly fierce, reducing costs and improving the market competitiveness of products has become a major challenge currently facing, and NAND FLASH, as a storage ...

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 Patents(China)
IPC IPC(8): H04N21/443
Inventor 蔡汉锋王小锋
Owner SHENZHEN JIUZHOU ELECTRIC
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