Patch method, related device and system

A patch and installation package technology, applied in the computer field, can solve the problems of occupying network resources and slow download speed, and achieve the effect of ensuring the running rate, improving the speed and reducing the occupation.

Active Publication Date: 2022-04-12
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This can cause slow downloads, take up network resources, etc.

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
  • Patch method, related device and system
  • Patch method, related device and system
  • Patch method, related device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings.

[0076] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application.

[0077] figure 1 The communication system involved in this application is shown as an example. like figure 1 As shown, the communication system may include a server 11 and an electronic device 13, and the electronic device 13 and the server 11 may communicate through a network 12 (such as the Internet). Software developers can generate software patches on the server 11 . For example, patch C can be generated by comparing the differences between new version A and old version B. The electronic device 13 can download the patch C from the server 11 through the network 12, and merge the patch C and the locally stored ...

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 application discloses a patch method, which can dynamically load patch files in the running environment of the compiler, improves the speed of patch downloading and reduces the occupation of network resources while ensuring the running efficiency. In this method, the server can generate a dynamic difference file based on the original installation package file and the changed new installation package file, statically generate the difference file from the dynamic difference file, and send the difference file to the electronic device, so that the electronic device can be loaded dynamically The differential file decouples the coupling relationship between classes.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a patch method, a related device and a system. Background technique [0002] The current Android installation package (AndroidPackage, apk) is implemented on a virtual machine. Android currently uses an Android Runtime (Android Runtime, ART) method to execute Java codes. The defect of this method is that the operation efficiency is low. [0003] In response to this defect, a new compiler came into being. This compiler can statically change the code of the apk, so that the relevant code form is machine code, and it runs the machine code directly when running. This method can greatly improve the running efficiency of the code, but at the same time it sacrifices the dynamics of the code. [0004] That is to say, when the terminal detects a software update, it needs to download a full patch (that is, the entire apk) to update the software. This can cause slow downloads...

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): G06F8/65G06F9/455
CPCG06F8/65G06F9/45558
Inventor 任文杰尹永宏李英伟
Owner HUAWEI TECH CO 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