Unlock instant, AI-driven research and patent intelligence for your innovation.

Power-off protection method for partition upgrading of digital set top box

A digital set-top box, power-off protection technology, applied in the direction of data processing power supply, electrical digital data processing, electrical components, etc., can solve problems such as abnormal set-top box interface, set-top box cannot be turned on, users cannot operate set-top box, etc., to improve product competitiveness, The effect of increasing convenience and reducing the probability of maintenance

Active Publication Date: 2021-11-23
HANGZHOU NATCHIP SCI & TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a power-off protection method for partition upgrade of digital set-top boxes for the problems that the set-top box cannot be turned on due to power failure during the upgrade process, the interface of the set-top box is abnormal, and the user cannot operate the set-top box.

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
  • Power-off protection method for partition upgrading of digital set top box
  • Power-off protection method for partition upgrading of digital set top box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Such as figure 1 As shown, the method of the present invention is to divide the FLASH memory of the set-top box into a boot partition BOOT, an upgrade partition OTA, a kernel partition KERNEL, a root file system partition ROOTFS, a user data partition DATA, and a backup partition BACKUP.

[0027] The backup partition BACKUP consists of a data backup area B1 and a flag area B2. The length of the data backup area B1 is greater than or equal to the maximum partition length among the upgrade partition, the kernel partition, the root file system partition, and the user data partition. The length of the flag area B2 is 1024 bytes.

[0028] The method includes a partition backup mechanism and a partition detection mechanism. Through the partition backup mechanism, it is judged whether the power failure of all write partitions will affect the start-up of the set-top box; the partition detection mechanism is used to remedy the impact caused by the power failure when writing th...

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 discloses a power-off protection method for partition upgrading of a digital set top box. According to the method, a backup partition is divided on the basis of an original partition of a set top box memory, and the backup partition is composed of a data backup area and a mark area. When the partitions are upgraded, names of the partitions needing to be upgraded are written into the mark area, the partitions needing to be upgraded of the FLASH mirror image are written into the data backup area, and the partitions corresponding to the upgraded mirror image are written into the corresponding partitions of the FLASH mirror image. After the data is written, writing a completion mark in the mark area of the FLASH mirror image, and according to the upgrading method, all the partitions of the upgrading mirror image are upgraded, and the set top box is restarted. Then, the system enters a set top box detection program, and if the set top box is powered off in the upgrading process, starting a set top box recovery mechanism, the damaged partition is restored, thereby preventing serious conditions such as incapability of starting up due to accidental power failure. According to the method, the risk caused by upgrading is reduced, the convenience of operation and maintenance is improved, and the probability of after-sales maintenance of operators is reduced.

Description

technical field [0001] The invention belongs to the technical field of digital set-top boxes, and relates to a power-off protection method for partition upgrade of digital set-top boxes. Background technique [0002] Set Top Box (STB for short) includes hardware and software, and is a device that processes external input signal sources and outputs them to the TV for display. External input signal sources include cable, satellite, and terrestrial waves. [0003] Generally speaking, the FLASH memory of the set-top box is divided into a boot partition (BOOT), an upgrade partition (OTA), a kernel partition (KERNEL), a root file system partition (ROOTFS), and a user data partition (DATA). The boot partition stores startup-related programs. This partition is very important and does not allow operators to upgrade. The upgrade partition stores upgrade-related programs. The kernel partition stores the data of the source code. The root file system partition stores system resources....

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): H04N21/426H04N21/443G06F1/30G06F8/654G06F9/4401
CPCH04N21/426H04N21/4435H04N21/4436G06F1/30G06F8/654G06F9/4401Y02D10/00
Inventor 吴科张令刘建华
Owner HANGZHOU NATCHIP SCI & TECH