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

Patching method, patch generating method and related equipment

A patching and patching technology, applied in the computer field, can solve problems such as difficult management and complex repair correspondence

Active Publication Date: 2022-05-10
HONOR DEVICE CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the corresponding relationship between each patch and different versions is complicated and difficult to manage

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
  • Patching method, patch generating method and related equipment
  • Patching method, patch generating method and related equipment
  • Patching method, patch generating method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0185] A method for generating a patch provided by an embodiment of the present application is described below with reference to the accompanying drawings.

[0186] see Figure 4A and Figure 4B , is a schematic flowchart of two methods for generating patches provided by the embodiment of the present application, the method can be composed of Figure 3A Executed by the patch generation device 20 in, or by Figure 3B The electronic device 100 in the implementation. The following examples pass Figure 3A The patch generation device in the method is used as an example to illustrate, the method may include but not limited to the following steps:

[0187] S1. Obtain multiple historical versions and multiple new versions, wherein the historical versions correspond to the new versions one by one, and the new version is a version after the problem has been repaired in the historical version corresponding to the new version.

[0188] The new versions obtained from the above repair...

Embodiment 2

[0244] The following describes the process of the user equipment applying the normalized patch generated by the method described in Embodiment 1 to repair the installed version with problems.

[0245] see Figure 10 , Figure 10 It is a schematic flowchart of applying a normalized patch repair version provided by the embodiment of this application. This method can be defined by the above Figure 3A User equipment 10 in or Figure 3B The electronic device 100 executes, such as Figure 10 As shown, the method may include but not limited to the following steps:

[0246] S1001. The user equipment receives a normalization patch.

[0247] Wherein, the normalized patch is a normalized patch generated by applying the method described in Embodiment 1 above.

[0248] In some embodiments, the normalized patch at least includes version information of multiple historical versions, block offset description tables of multiple new versions, and unmatched blocks of multiple new versions....

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 embodiment of the invention discloses a patching method, a patch generating method and related equipment, after an electronic device obtains a plurality of historical versions and a plurality of new versions, data in the plurality of new versions and data in various corresponding historical versions are compared respectively, matched blocks and unmatched blocks in the new versions are found, and then the new versions of the plurality of new versions and the unmatched blocks of the plurality of new versions of the plurality of new versions of the plurality of new versions of the plurality of new versions of the plurality of new versions of the plurality of new versions are obtained. A normalized patch is generated based on the respective version information of the plurality of old versions, the respective block offset description table of the plurality of new versions, the common block, and the respective remaining blocks of the plurality of new versions. According to the method, the number of the patches can be greatly reduced by generating the normalized patch, a plurality of historical versions of one or more software products with the same problem can be repaired by one normalized patch, the corresponding relation between different versions and the patches does not need to be considered, and the patches are easy to manage.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a patching method, a method for generating a patch, and related equipment. Background technique [0002] Patch technology refers to a technology that does not need to re-download the complete updated software installation package when the software is updated, but only needs to update the program code and program resources on the local machine through the patch. Patch technology is widely used in various application programs (such as instant messaging applications, online games) and system software on current mainstream system platforms. The system platforms include mobile platforms such as IOS and Android and personal computer platforms such as Windows. [0003] However, for the same software, the versions on different system platforms are different. When the same problem occurs in these different versions, it is necessary to make patches for the versions on different...

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
IPC IPC(8): G06F8/71G06F8/658
CPCG06F8/71G06F8/658
Inventor 于庆秋
Owner HONOR DEVICE CO LTD