A method and device for system security upgrade

A technology of system security and configuration status, applied in the computer field, can solve problems such as "bricking of equipment, failure of equipment to operate normally, system failure to start, etc., to achieve safe and reliable upgrades, reduce the probability of equipment unavailability, and improve availability.

Active Publication Date: 2020-04-10
ALIBABA GRP HLDG LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The usual method is to update the contents of partitions such as bootloader, kernel, and system in sequence. If a key partition such as the bootloader partition is damaged due to power failure, the entire system will not be able to start, and the device will not be able to operate normally, commonly known as causing the device to become "bricked".

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
  • A method and device for system security upgrade
  • A method and device for system security upgrade
  • A method and device for system security upgrade

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0040] Partition management of storage media (such as NAND / eMMC) is closely related to system upgrades. Usually when the system is upgraded, after executing the boot code (ROM code) on the chip, it always jumps to the fixed partition to execute its related codes, instead of jumping to other partitions according to whether the partition is damaged. If the key partition such as When the boot partition (bootloader) is damaged due to a power outage...

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

A method and apparatus for realizing safe upgrade of a system are disclosed to solve the problem of high unavailability rate of a device due to the upgrade of the system. The method includes: detecting the configuration state parameter of each of boot partitions recorded in a parameter partition and sifting a single boot partition whose configuration state parameter represents a successful state when the device is started; setting the configuration state parameter of the above sifted boot partition to represent a failure state in the parameter partition, and executing codes for booting up the system stored in the boot partition; and setting the configuration state parameter value of the above sifted boot partition to represent the successful state in the parameter partition when the execution is determined to be successful. Thus, the probability that the device is unavailable due to the upgrade of the system can be reduced significantly, the reliability of the system is improved, the usability of the device is improved, and the system is ensured to be upgraded safely and reliably.

Description

technical field [0001] The invention relates to the computer field, in particular to a method and device for system security upgrade. Background technique [0002] System upgrades usually include upgrades to boot partitions (bootloader), OS, middleware, applications, and other components. In embedded products, such as smart TVs, various boxes such as Internet protocol TV (Internet protocol TV, IPTV) boxes, over the top (Over The Top, OTT) boxes, digital video broadcasting (Digital Video Broadcasting, DVB) boxes, The built-in memory of a set-top box is usually a computer flash memory device (NAND) medium or an embedded memory (Embedded Multi Media Card, eMMC) medium. The characteristics of NAND and eMMC are that bad blocks are prone to occur and cause damage. System upgrade will increase the reading and writing of NAND or eMMC. If the power is suddenly cut off during the upgrade process, the possibility of damage to the storage medium will be greatly increased. Common upgra...

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): G06F21/57
CPCG06F21/57
Inventor 罗金华于志斌
Owner ALIBABA GRP HLDG LTD
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