Application package splitting and reassembly method and apparatus, and application package running method and apparatus

Inventors

Zou, XianjunWang, Xingnan

Assignees

Petal Cloud Technology Co Ltd

Interested in licensing this patent?

MTEC can help explore whether this patent might be available for licensing for your application.

Publication Number

US-12001824-B2

Patent

Publication Date

2024-06-04

Expiration Date


Abstract

An application package splitting and reassembly method includes splitting a first application package into a main package and at least one sub-package; storing the main package and the at least one sub-package in a first file; and generating a second application package corresponding to the application, where the second application package includes a header and the first file. After receiving an original application package, a server automatically performs splitting and reassembly on the original application package to generate a complete new application package.

Core Innovation

The document describes receiving a first application package corresponding to an application and splitting it into a main package and a sub-package, where the main package comprises a first page and the sub-package comprises a second page. The main package and the sub-package are stored in a first file, and a second application package is generated to correspond to the application. The second application package includes a header and the first file, and the header comprises mapping relationships between the packages and their pages.

The header further includes offsets and sizes for the main package and the sub-package within the first file. A hash operation is performed on the main package and the sub-package to generate a first abstract list for the main package and a second abstract list for the sub-package, and each abstract list verifies its respective package part. The generation of the second application package includes writing the first abstract list and the second abstract list into the header and signing the header.

The document synchronizes a download address of the second application package together with package information to a send port. The package information comprises the first mapping relationship, the second mapping relationship, the first offset, the first size, the second offset, and the second size. The client uses header and package metadata to support package integrity verification and page-to-package mapping.

Claims Coverage

Independent claims are identified as clm-00001 (computer-implemented method), clm-00011 (apparatus), and clm-00016 (computer program product). Each independent claim centers on splitting into a main package and a sub-package, storing them in a first file, generating a second application package with a header that includes mapping/offset/size data, producing hash-based abstract lists for verification, signing the header, and synchronizing a download address and package information to a send port.

Page-based splitting into main and sub-packages with storage in a first file

Receiving a first application package corresponding to an application; splitting the first application package into a main package and a sub-package, where the main package comprises a first page and the sub-package comprises a second page; storing the main package and the sub-package in a first file.

Header generation with mapping relationships and offsets/sizes

Generating a second application package corresponding to the application, where the second application package comprises a header and the first file, and where the header comprises a first mapping relationship between the main package and the first page, a second mapping relationship between the sub-package and the second page, a first offset of the main package within the first file, a first size of the main package within the first file, a second offset of the sub-package within the first file, and a second size of the sub-package within the first file.

Hash-based abstract lists verification and signing of the header

Performing a hash operation on the main package and the sub-package to generate a first abstract list of the main package and a second abstract list of the sub-package, where the first abstract list verifies the main package and the second abstract list verifies the sub-package, and where generating the second application package comprises writing the first abstract list and the second abstract list into the header and signing the header.

Synchronizing download address and package information to a send port

Synchronizing, to a send port, a download address of the second application package and package information, where the package information comprises the first mapping relationship, the second mapping relationship, the first offset, the first size, the second offset, and the second size.

Across the independent claims, the claims consistently cover splitting a first application package into page-based main and sub-packages, storing them in a first file, generating a second application package with a header containing mapping relationships plus offsets and sizes, verifying package integrity using hash-generated abstract lists, signing the header, and synchronizing a download address and corresponding package information to a send port.

Stated Advantages

Not explicitly described in patent.

Documented Applications

Not explicitly described in patent.

JOIN OUR MAILING LIST

Stay Connected with MTEC

Keep up with active and upcoming solicitations, MTEC news and other valuable information.