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

Method and apparatus for scanning upgrade package

A technology of upgrade package and content feature value, which is applied in the field of scanning upgrade packages, can solve problems such as upgrade exceptions, upgrade package download exceptions, mismatches, etc., and achieve the effect of reducing and avoiding wrong upgrades

Inactive Publication Date: 2015-11-11
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, some users may go to the official website or other websites that provide upgrade package downloads to download the full package to upgrade the system program of the mobile phone. At this time, the downloaded upgrade package may not match the mobile phone model
At the same time, when the user downloads the upgrade package online, the download of the upgrade package may be abnormal due to network problems
When scanning the upgrade package, if the above exceptions appear in the upgrade package list, it will cause unnecessary upgrade exceptions

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 apparatus for scanning upgrade package
  • Method and apparatus for scanning upgrade package
  • Method and apparatus for scanning upgrade package

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flow chart of a method for scanning an upgrade package provided by Embodiment 1 of the present invention. This embodiment is applicable to verifying the upgrade package when the terminal receives the upgrade package, displaying the upgrade package that has been successfully verified and Ignoring the case of an upgrade package that fails verification, the method can be executed by a device that scans the upgrade package, and the device is configured on smart terminals such as smart phones, personal computers, and smart TVs. The method for scanning the upgrade package specifically includes the following steps:

[0022] Step 110, scanning the files in the upgrade package to obtain the verification file.

[0023] Wherein, the verification file is a file that records file names and corresponding content characteristic values ​​included in the upgrade package. The content characteristic value is a character corresponding to each file in the upgrade package ...

Embodiment 2

[0040] figure 2 It is a flowchart of a method for scanning upgrade packages in Embodiment 2 of the present invention. see figure 2 As shown, the method for scanning an upgrade package specifically includes the following steps:

[0041] Step 201, when generating the upgrade package, add the model and version number in the name of the upgrade package, adopt different signature keys according to different regions, store the signature key in the system directory of the upgrade package, compile Each file in the upgrade package generates a content characteristic value.

[0042] Step 202, receiving an upgrade package, and performing an operation of scanning the upgrade package.

[0043] The terminal receives the upgrade package pushed by the terminal manufacturer or the user downloads the upgrade package on the website of the terminal manufacturer, and scans the directory file of the upgrade package to read the verification file in the upgrade package. If the verification file ...

Embodiment 3

[0061] image 3 It is a schematic structural diagram of a device for scanning upgrade packages in Embodiment 3 of the present invention. Such as image 3 As shown, the device for scanning the upgrade package includes:

[0062] A verification file acquisition unit 310, configured to scan the files in the upgrade package to obtain the verification file;

[0063] A content characteristic value matching unit 320, configured to obtain the content characteristic value of each file recorded in the verification file, and match the content characteristic value with the content characteristic value of the corresponding file in the upgrade package;

[0064] The model version number matching unit 330 is configured to obtain the model and version number of the terminal when the matching is successful, and match the model and version number with the upgrade package, wherein the name of the upgrade package includes model and version number;

[0065] A signature verification unit 340, con...

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 present invention discloses a method and an apparatus for scanning an upgrade package. The method comprises: scanning a file in the upgrade package, and acquiring a verification file; acquiring a content characteristic value of each file recorded in the verification file, and matching the content characteristic value with a content characteristic value of a corresponding file in the upgrade package; when matching is successful, acquiring a model and a version number of a terminal, and matching the model and the version number with the upgrade package, wherein a name of the upgrade package comprises a model and a version number; and when the upgrade package matches the model of the terminal and the version number is higher than the version number of the terminal, performing signature validation on the upgrade package, and displaying an upgrade package that succeeds in signature validation. The present invention achieves an objective of ignoring an abnormal upgrade package, so as to achieve effects of avoiding unnecessary mistaken upgrade and minimizing unnecessary mistaken upgrade caused by a human factor.

Description

technical field [0001] The embodiment of the present invention relates to a system upgrade technology, in particular to a method and device for scanning an upgrade package. Background technique [0002] At present, intelligent electronic terminals are received by more and more people, and are widely used in people's work and life. With the advancement of technology, electronic terminal manufacturers continue to launch upgrade packages for terminal products, so as to improve the performance of the terminal products or repair defects (bugs) in previous system programs. [0003] Taking smartphones as an example, mobile phone manufacturers will release upgrade packages from time to time for users to upgrade system programs to fix previous bugs. However, when most mobile phones scan the upgrade package at present, all files with the suffix .zip will be displayed, even if some files with the suffix .zip displayed are not upgrade packages. In addition, some users may go to the of...

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): G06F9/445
Inventor 田小华
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD