A method and system for realizing self-upgrade of devices with different system signatures using a single APP

Through the self-upgrade interface of a single APP and the server automatically match signatures, the complexity of APP version management caused by the system signature differences of different manufacturers is solved, and the self-upgrade of different system signature devices is realized, which significantly reduces the maintenance burden of program developers. .

CN118885199BActive Publication Date: 2024-12-20VTION ANZHUO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411364732.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-20
Estimated Expiration
2044-09-29

Smart Images

  • Figure CN118885199B_ABST
    Figure CN118885199B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for realizing self-upgrade of devices with different system signatures with a single APP, and relates to the technical field of application development. The present invention configures the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then uploads it to the server through the self-upgrade interface; on the upgrade management platform provided by the server, when configuring the APP upgrade package, multiple APP versions are allowed to be configured, and the signature information of the APP needs to be obtained when the server upgrade interface is called, and then the server automatically matches the signature information according to the reported APP signature information and sends the corresponding signed APP. The present invention provides a method and system for realizing self-upgrade of devices with different system signatures with a single APP, so that program developers only need to provide a single APP, which can be used by different manufacturers and realize application self-upgrade, which greatly reduces the time and energy of program developers on maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of application development, and in particular to a method and system for implementing self-upgrade of devices with different system signatures using a single APP. Background Art

[0002] Currently, when developing APPs for devices from different manufacturers, because different manufacturers have different system signatures, in order to achieve self-upgrade of the application, program developers need to establish channels with different signatures, and each channel uses the system signature of the corresponding manufacturer's equipment.

[0003] The disadvantage of the above method is that when connecting to a large number of manufacturers' devices, a large number of channels need to be built, resulting in too many APP versions, and when upgrading the APP, the program developers are also required to use the system signatures of the corresponding manufacturer's devices to generate different upgrade packages, which makes the maintenance workload of the program developers huge. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and system for realizing self-upgrade of devices with different system signatures by a single APP. Program developers only need to provide a single APP to enable different manufacturers to use it and realize application self-upgrade.

[0005] In a first aspect, the present invention provides a method for implementing self-upgrade of devices with different system signatures using a single APP, comprising:

[0006] Step 10: Configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface;

[0007] Step 20: Generate an APP version with different system signatures from the configured target application through a re-signing command;

[0008] Step 30: On the upgrade management platform provided by the server, when configuring the APP upgrade package, multiple APP versions are allowed to be configured, and the signature information of the APP needs to be obtained when the server upgrade interface is called;

[0009] Step 40: When the upgraded version of the target application is obtained, the upgraded target application is again generated into an upgraded version of the APP with a different system signature through a re-signing command, and uploaded to the server;

[0010] Step 50: When the APP calls the self-upgrade interface, the signature information of the current APP is obtained, and then uploaded to the server through the self-upgrade interface; the server automatically matches and sends the corresponding signed APP upgrade version according to the reported APP signature information.

[0011] In a second aspect, the present invention provides a self-upgrade system for devices with different system signatures using a single APP, including:

[0012] The program configuration module is used to configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface;

[0013] The initial APP signature module is used to generate APP versions with different system signatures from the configured target application through the re-signing command;

[0014] The server configuration module is used to configure the APP upgrade package on the upgrade management platform provided by the server. It allows multiple APP versions to be configured, and the signature information of the APP needs to be obtained when the server upgrade interface is called;

[0015] The APP signature upgrade module is used to generate an APP upgrade version with a different system signature from the upgraded target application through a re-signing command when the upgraded version of the target application is obtained, and upload it to the server;

[0016] The self-upgrade module is used to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface; the server automatically matches and sends the corresponding signed APP upgrade version based on the reported APP signature information.

[0017] The technical solution provided in the embodiments of the present invention has at least the following technical effects:

[0018] By configuring the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then uploading it to the server through the self-upgrade interface, on the upgrade management platform provided by the server, when configuring the APP upgrade package, it is allowed to configure multiple APP versions, and the signature information of the APP needs to be obtained when the server upgrade interface is called. Then the server automatically matches the signature information based on the reported APP signature information and sends the corresponding signed APP, so that program developers only need to provide a single APP to be used by different manufacturers and realize application self-upgrade, which greatly reduces the time and energy of program developers on maintenance.

[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0021] Figure 1 is a flow chart of the method in Embodiment 1 of the present invention;

[0022] Figure 2 It is a schematic diagram of the structure of the device in the second embodiment of the present invention.

[0023] DETAILED DESCRIPTION OF THE EMBODIMENTS The embodiments of the present application provide a method and system for implementing self-upgrade of devices with different system signatures through a single APP. Program developers only need to provide a single APP to enable different manufacturers to use it and implement application self-upgrade.

[0024] Embodiment 1 Embodiment 1 provides a method for implementing self-upgrade of devices with different system signatures using a single APP, such as Figure 1 As shown, including:

[0025] Step 10: Configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface;

[0026] Step 20: Generate an APP version with different system signatures from the configured target application through a re-signing command;

[0027] Step 30: On the upgrade management platform provided by the server, when configuring the APP upgrade package, multiple APP versions are allowed to be configured, and the signature information of the APP needs to be obtained when the server upgrade interface is called;

[0028] Step 40: When the upgraded version of the target application is obtained, the upgraded target application is again generated into an upgraded version of the APP with a different system signature through a re-signing command, and uploaded to the server;

[0029] Step 50: When the APP calls the self-upgrade interface, the signature information of the current APP is obtained, and then uploaded to the server through the self-upgrade interface; the server automatically matches and sends the corresponding signed APP upgrade version according to the reported APP signature information.

[0030] After the application is developed and the configuration in step 10 is performed, the developer only needs to provide the single application to the project staff or equipment manufacturer, etc., and they will sign the application. The developer only needs to develop an upgraded version of the application according to the needs, and there is no need for the developer to maintain the APP version through multiple channels, which greatly reduces the time and energy of the developer on maintenance.

[0031] Preferably, when the target application is generated into an APP version or APP upgrade version with different system signatures through a re-signing command, the upgrade IDs of the APP versions with different system signatures can be the same. However, in the prior art, the upgrade IDs must be different when generating APP versions with different system signatures, because the prior art matches the APP upgrade version with the corresponding system signature based on the upgrade ID. After the program developer develops a single application, the project staff only needs to establish an upgrade ID and then perform the signing operation to generate APP versions with different system signatures.

[0032] When the APP calls the self-upgrade interface, it reports the upgrade ID and the signature information of the current APP to the server. The signature information of the current APP can be the value calculated by the hash algorithm of the system signature (such as MD5 value). The server automatically matches and sends the corresponding signed APP upgrade version according to the upgrade ID and the APP signature.

[0033] Based on the same inventive concept, the present application also provides a device corresponding to the method in Example 1, see Example 2 for details.

[0034] Embodiment 2 In this embodiment, a single APP is provided to realize a self-upgrade system of devices with different system signatures, such as Figure 2 As shown, including:

[0035] The program configuration module is used to configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface;

[0036] The initial APP signature module is used to generate APP versions with different system signatures from the configured target application through the re-signing command;

[0037] The server configuration module is used to configure the APP upgrade package on the upgrade management platform provided by the server. It allows multiple APP versions to be configured, and the signature information of the APP needs to be obtained when the server upgrade interface is called;

[0038] The APP signature upgrade module is used to generate an APP upgrade version with a different system signature from the upgraded target application through a re-signing command when the upgraded version of the target application is obtained, and upload it to the server;

[0039] The self-upgrade module is used to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface; the server automatically matches and sends the corresponding signed APP upgrade version based on the reported APP signature information.

[0040] Preferably, in the initial APP signature module and the upgraded APP signature module, when the target application is generated into an APP version or an APP upgraded version with different system signatures through a re-signing command, the upgrade ID is the same.

[0041] Specifically, in the self-upgrade module, when the APP calls the self-upgrade interface, the upgrade ID and the signature information of the current APP are reported to the server.

[0042] Since the system introduced in the second embodiment of the present invention is a system used to implement the method of the first embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the system based on the method introduced in the first embodiment of the present invention, so it is not described here in detail. All systems used in the method of the first embodiment of the present invention belong to the scope of protection of the present invention.

[0043] The present invention configures the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then uploads it to the server through the self-upgrade interface. On the upgrade management platform provided by the server, when configuring the APP upgrade package, it is allowed to configure multiple APP versions, and the signature information of the APP needs to be obtained when the server upgrade interface is called. Then, the server automatically matches the signature information according to the reported APP signature information and sends the corresponding signed APP, so that the program developer only needs to provide a single APP, which can be used by different manufacturers and realize application self-upgrade, which greatly reduces the time and energy of the program developer on maintenance.

[0044] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0045] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0046] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0047] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0048] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for implementing self-upgrade of devices with different system signatures using a single APP, characterized in that: include: Step 10: Configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface; Step 20: Generate an APP version with different system signatures from the configured target application through a re-signing command; Step 30: On the upgrade management platform provided by the server, when configuring the APP upgrade package, multiple APP versions are allowed to be configured, and the server needs to obtain the signature information of the APP when the self-upgrade interface is called; Step 40: When the upgraded version of the target application is obtained, the upgraded target application is again generated into an upgraded version of the APP with a different system signature through a re-signing command, and uploaded to the server; Step 50: When the APP calls the self-upgrade interface, the signature information of the APP is obtained and then uploaded to the server through the self-upgrade interface; the server automatically matches and sends the corresponding signed APP upgrade version according to the reported APP signature information.

2. The method according to claim 1, characterized in that: When the target application is generated into an APP version or APP upgrade version with a different system signature through the re-signing command, the upgrade ID is the same.

3. The method according to claim 1, characterized in that: When the APP calls the self-upgrade interface, the upgrade ID and the signature information of the current APP are reported to the server.

4. A self-upgrade system for devices with different system signatures implemented by a single APP, characterized in that: include: The program configuration module is used to configure the target application to obtain the signature information of the current APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface; The initial APP signature module is used to generate APP versions with different system signatures from the configured target application through the re-signing command; The server configuration module is used to configure the APP upgrade package on the upgrade management platform provided by the server. It allows multiple APP versions to be configured, and the server needs to obtain the signature information of the APP when the self-upgrade interface is called; The APP signature upgrade module is used to generate an APP upgrade version with a different system signature from the upgraded target application through a re-signing command when the upgraded version of the target application is obtained, and upload it to the server; The self-upgrade module is used to obtain the signature information of the APP when the APP calls the self-upgrade interface, and then upload it to the server through the self-upgrade interface; the server automatically matches and sends the upgraded version of the APP with the corresponding signature based on the reported APP signature information.

5. The system according to claim 4, characterized in that: In the initial APP signature module and the upgraded APP signature module, when the target application is generated into an APP version or an APP upgraded version with a different system signature through a re-signing command, the upgrade ID is the same.

6. The system according to claim 4, characterized in that: In the self-upgrade module, when the APP calls the self-upgrade interface, the upgrade ID and the signature information of the current APP are reported to the server.