IP Library Granted Patent US 12663973
Granted Patent B2
US 12663973 · App. 18/246,141 · Granted Jun 23, 2026

Patch package installation method and apparatus

Inventors: Wenjie Ren (Beijing, CN); Yonghong Yin (Beijing, CN); Yingwei Li (Shenzhen, CN); Hongxi Li (Beijing, CN)
Assignee: Huawei Technologies Co., Ltd.
G06F8/61
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12663973
App. No.
18/246,141
Granted
Jun 23, 2026
Kind
B2
Abstract

Embodiments of this application provide a patch package installation method and an apparatus, and relate to the field of terminals. Embodiments of this application are applied to a system including a first electronic device, a second electronic device, and a third electronic device. The method includes: The first electronic device displays prompt information in a first interface, where the prompt information is used to prompt that patch packages for the second electronic device and the third electronic device are detected; the first electronic device receives a first operation of a user, where the first operation is used to install the patch packages for the second electronic device and the third electronic device; the second electronic device installs a patch package corresponding to the second electronic device; and the third electronic device installs a patch package corresponding to the third electronic device.

Claims (61)

1 . A method, applied to a system that comprises a first electronic device, a second electronic device, and a third electronic device, the method comprising:

displaying, by the first electronic device, prompt information in a first interface, wherein the prompt information prompts that patch packages for the second electronic device and the third electronic device are detected;

receiving, by the first electronic device, a first operation of a user, wherein the first operation selects to install the patch packages for the second electronic device and the third electronic device via a single click by the user on the first interface;

installing, by the second electronic device, a patch package corresponding to the second electronic device according to the first operation; and

installing, by the third electronic device, a patch package corresponding to the third electronic device according to the first operation, wherein the patch package corresponding to the second electronic device is installed at the same time as the patch package corresponding to the third electronic device, wherein when types of the patch packages for the second electronic device and the third electronic device are the same, the patch packages for the second electronic device and the third electronic device comprise a first patch package and a second patch package, the first patch package comprises all patch programs used to fix software of the second electronic device, and the second patch package comprises a patch program that is in all patch programs used to fix software of the third electronic device and that is different from the patch programs of the first patch package.

2 . The method according to claim 1 , further comprising:

determining, by the first electronic device, a fourth electronic device, wherein the fourth electronic device is configured to search for the patch packages for the second electronic device and the third electronic device, and the fourth electronic device is determined based on the fourth electronic device being of a first type or a load value of the fourth electronic device being less than a first preset threshold.

3 . The method according to claim 1 , further comprising:

searching, by the first electronic device, for the patch packages for the second electronic device and the third electronic device.

4 . The method according to claim 1 , wherein types of the patch packages comprise at least one of an application package type, a resource file type, a software framework type, a native framework type, or a kernel type.

5 . The method according to claim 2 , wherein the system further comprises a server, and the method further comprises:

sending, by the fourth electronic device or the first electronic device, a first message to the server, wherein:

the first message comprises an identifier of the second electronic device and an identifier of the third electronic device; or

the first message comprises a first identifier, the first identifier indicates a plurality of electronic devices, and the plurality of electronic devices comprises the second electronic device and the third electronic device.

6 . The method according to claim 5 , wherein

the first message further comprises software version information of the second electronic device and software version information of the third electronic device;

the first message further comprises device model information of the second electronic device and device model information of the third electronic device; or

the first message further comprises a type of a patch package to be searched for.

7 . The method according to claim 6 , wherein the type of the patch package to be searched for is determined based on an operating system or a device resource of the electronic device that sends the first message, and wherein the device resource comprises at least one of a capacity of a memory or a processing speed of a processor.

8 . The method according to claim 5 , further comprising:

determining, by the server, the plurality of electronic devices indicated by the first identifier; and

searching, by the server, for a patch package for each electronic device of the plurality of electronic devices.

9 . The method according to claim 5 , further comprising:

sending, by the server, a patch package search result to the fourth electronic device or the first electronic device, wherein the patch package search result indicates whether some or all of the plurality of electronic devices have a patch package.

10 . The method according to claim 9 , wherein the some or all of the plurality of electronic devices have a patch package, and the method further comprises:

sending, by the server, at least one of version number information of a corresponding patch package, uniform resource locator address information of the corresponding patch package, patch size information of the corresponding patch package, or changelog information of the corresponding patch package to the fourth electronic device or the first electronic device.

11 . The method according to claim 5 , wherein the server sends the patch packages for the second electronic device and the third electronic device to the fourth electronic device or the first electronic device.

12 . The method according to claim 5 , wherein the server stores a plurality of first identities, and the method further comprises:

when electronic devices corresponding to all or some of the plurality of first identities have patch packages, pushing, by the server, information about the patch packages to the electronic devices corresponding to the all or some of the plurality of first identities.

13 . The method according to claim 2 , further comprising:

performing, by the fourth electronic device or the first electronic device, authentication verification on the patch packages for the second electronic device and the third electronic device, wherein the authentication verification comprises at least one of foolproof verification, security verification, or file verification.

14 . The method according to claim 1 , further comprising:

assisting, by the first electronic device, the second electronic device in patch package installation.

15 . The method according to claim 14 , wherein assisting, by the first electronic device, the second electronic device in patch package installation comprises:

placing, by the first electronic device, the patch package for the second electronic device under a first directory, and mounting, by the second electronic device, the first directory.

16 . The method according to claim 14 , wherein assisting, by the first electronic device, the second electronic device in patch package installation comprises:

providing, by the second electronic device, a second directory, obtaining, by the first electronic device, permission for the second directory through identifier identification, and placing the patch package for the second electronic device under the second directory.

17 . The method according to claim 15 , wherein assisting, by the first electronic device, the second electronic device in patch package installation comprises:

mounting, by the first electronic device, the patch package for the second electronic device to the second electronic device as a driving peripheral.

18 . A system, comprising:

a first electronic device;

a second electronic device; and

a third electronic device;

wherein the first electronic device is configured to:

display prompt information in a first interface, wherein the prompt information prompts that patch packages for the second electronic device and the third electronic device are detected; and

receive a first operation of a user, wherein the first operation selects to install the patch packages for the second electronic device and the third electronic device via a single click by the user on the first interface;

wherein the second electronic device is configured to:

install a patch package corresponding to the second electronic device according to the first operation; and

wherein the third electronic device is configured to:

install a patch package corresponding to the third electronic device according to the first operation, wherein the second electronic device and the third electronic device are configured to respectively install the patch package corresponding to the second electronic device and the patch package corresponding to the third electronic device at the same time, wherein when types of the patch packages for the second electronic device and the third electronic device are the same, the patch packages for the second electronic device and the third electronic device comprise a first patch package and a second patch package, the first patch package comprises all patch programs used to fix software of the second electronic device, and the second patch package comprises a patch program that is in all patch programs used to fix software of the third electronic device and that is different from the patch programs of the first patch package.

19 . The system according to claim 18 , further comprising:

a fourth electronic device;

wherein the first electronic device is further configured to:

determine the fourth electronic device based on the fourth electronic device being of a first type or a load value of the fourth electronic device being less than a first preset threshold; and

wherein the fourth electronic device is configured to:

search for the patch packages for the second electronic device and the third electronic device.

20 . A non-transitory computer readable medium with instructions stored thereon, wherein the instructions, when executed by at least one processor, enable the at least one processor to perform:

displaying, by a first electronic device, prompt information in a first interface, wherein the prompt information prompts that patch packages for a second electronic device and a third electronic device are detected;

receiving, by the first electronic device, a first operation of a user, wherein the first operation selects to install the patch packages for the second electronic device and the third electronic device via a single click by the user on the first interface;

causing the second electronic device to install a patch package corresponding to the second electronic device according to the first operation; and

causing the third electronic device to install a patch package corresponding to the third electronic device according to the first operation, wherein the patch package corresponding to the second electronic device is installed at the same time as the patch package corresponding to the third electronic device, wherein when types of the patch packages for the second electronic device and the third electronic device are the same, the patch packages for the second electronic device and the third electronic device comprise a first patch package and a second patch package, the first patch package comprises all patch programs used to fix software of the second electronic device, and the second patch package comprises a patch program that is in all patch programs used to fix software of the third electronic device and that is different from the patch programs of the first patch package.