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

Method, system, Android device and medium for verifying legality of main system image

A main system, legal technology, applied in the direction of program control design, instrument, calculation, etc., can solve the problem of taking up a long time, and achieve the effect of better user experience, better user experience, and shortened startup time.

Active Publication Date: 2021-12-03
SHENZHEN ONETHING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In other words, under the existing technology, before the main system image is expanded to the main system program, it is necessary to verify whether it meets the legality of the image, and only after the legality verification is passed, can the main system image be deployed on the basis of the legal The main system program, but because the main system image is much larger in file size than the boot program image and kernel image, and the time-consuming verification of legality is positively correlated with the file size, therefore, in the entire startup of the Android device During the process, the legality verification of the main system image will take a large proportion of time

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, system, Android device and medium for verifying legality of main system image
  • Method, system, Android device and medium for verifying legality of main system image
  • Method, system, Android device and medium for verifying legality of main system image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] See figure 2 , figure 2 It is a flowchart of a method for verifying the legality of the main system image provided by the embodiment of this application. It should be noted that the method provided by this application is applied to electronic devices based on the Android operating system, specifically including Android phones, Android tablets, etc. , which includes the following steps:

[0082] S101: Load the main system image into the memory through the kernel, and expand it in the memory to obtain the main system program;

[0083] Since the Android operating system is a kernel-based operating system, the main system program after the main system image is expanded needs the support of the kernel to complete the corresponding operations, so this step is to load the main system image into the memory of the Android device through the kernel , and further expand the main system image in the memory to obtain the real usable main system program.

[0084] For ease of und...

Embodiment 2

[0098] See image 3 , image 3 for in figure 2 Before each step of the illustrated embodiment is executed, a flowchart of an operation step is also provided. This embodiment aims to supplement the startup steps mentioned in Embodiment 1 according to the complete startup process of the Android device, so that in this implementation A more practical and complete implementation scheme is obtained by supplementing the example scheme, including the following steps:

[0099] S201: Take out the bootloader image under the preset address of the target device started after power-on;

[0100] When the target Android device is powered on, it will take out the stored bootloader image from the preset address of the flash memory chip.

[0101] S202: Load the bootloader image into memory;

[0102] On the basis of S201, this step aims to load the taken-out bootloader image into the memory, so as to perform subsequent operations on it in the memory.

[0103] S203: Verify the validity of t...

Embodiment 3

[0118] See Figure 4 , Figure 4 It is a flow chart of a legality verification method in the method for verifying the legality of the main system image provided by the embodiment of this application. It should be noted that the legality verification method given in this embodiment is an encrypted digital signature-based The verification method of the method, that is, many files included in the main system program are digitally signed when they are encapsulated into a mirror image, and the overall encryption is carried out. Based on this, the present embodiment provides a legality verification method, including the following steps:

[0119] S301: Decrypt the main system image to obtain the decrypted main system image;

[0120] S302: Extract the digital signature from the decrypted main system image;

[0121] S303: Verify whether the digital signature is a legal digital signature;

[0122] When verifying whether the digital signature is legal, the verification information pr...

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

This application discloses a method for verifying the legality of the main system image. The steps of verifying the validity of the main system image are placed in the main system program, that is, the main system image is first loaded into the memory through the kernel and expanded in the memory as The main system program uses the multi-task parallel processing capability of the main system program to verify the validity of the main system image. It makes full use of the multi-task parallel processing capability of the main system program, and can significantly reduce the startup time without affecting the safety. The present application also discloses a system for verifying the legality of the main system image, an Android device, and a computer-readable storage medium, which have the above-mentioned beneficial effects.

Description

technical field [0001] The present application relates to the technical field of starting an Android device, and in particular to a method, system, Android device and computer-readable storage medium for verifying the legality of a main system image. Background technique [0002] In an embedded system, all codes and system data are stored in the flash memory chip. The flash memory chip has the characteristics of being rewritable and not easy to lose when power off, but it is also easy to be maliciously stolen or tampered with by others. data in the flash chip. Therefore, in order to protect the data in the flash memory chips, advanced security chips were born. Different from ordinary flash memory chips, a special register is added inside: OTP register, which is called One Time Programmable in English and one-time programmable register in Chinese, which means that the data stored in the OTP register can only be programmed once. Yes, after one programming, it can no longer b...

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): G06F9/4401G06F9/445
CPCG06F9/4401G06F9/44578
Inventor 林伟
Owner SHENZHEN ONETHING TECH CO LTD