Incremental package generation method, incremental package generation device and server

Incremental packages are generated through differential operation and screening, which solves the problem of full download when the client has not downloaded the old version of the application, achieving the effect of reducing traffic consumption and improving download efficiency.

CN114402288BActive Publication Date: 2024-10-29SHENZHEN HEYTAP TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980100488.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-18
Publication Date
2024-10-29
Estimated Expiration
2039-11-18

AI Technical Summary

Technical Problem

The existing technology cannot effectively generate incremental packages when the client has not downloaded the old version of the application, causing the client to need to download the full amount, which increases traffic consumption.

Method used

By obtaining the original installation packages of different application categories, performing differential operations and filtering, generating differential result groups and splicing them together to form an incremental package, until the stop condition is met, an incremental package is generated that can be used on the client.

Benefits of technology

When the client downloads a new application for the first time, traffic consumption is reduced, and the download efficiency is improved by combining the downloaded installation package to synthesize a new application package.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114402288B_ABST
    Figure CN114402288B_ABST
Patent Text Reader

Abstract

Provided are an incremental package generation method, device and server. The method includes: obtaining more than one original installation package; determining each original installation package as a to-be-differentiated installation package; performing differential operations on the to-be-synthesized installation package and each to-be-differentiated installation package to obtain differential results corresponding to each differential operation in this round; screening the differential results based on a preset screening condition to obtain a preset number of target differential results; splicing the original installation packages associated with any two target differential results to obtain more than one spliced ​​installation package; updating the to-be-differentiated installation package to be a spliced ​​installation package; returning to perform the step of performing differential operations on the to-be-synthesized installation package and each to-be-differentiated installation package and subsequent steps until a preset stop condition is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an incremental packet generation method, an incremental packet generation device, a server, and a computer-readable storage medium. Background Art

[0002] Currently, most servers only perform differential calculations on the old and new versions of applications to generate incremental packages of applications. If the client has downloaded the old version of the application, it can download the incremental package from the server to synthesize the new version of the application; however, if the client has not downloaded the old version of the application, it can only download the new version of the application in full. Summary of the invention

[0003] The present application provides an incremental package generation method, an incremental package generation device, a server and a computer-readable storage medium, which can generate incremental packages based on various different applications, so that when a client downloads a new application for the first time, the client's traffic consumption can be reduced to a certain extent if the requirements are met.

[0004] A first aspect of the present application provides an incremental package generation method, comprising:

[0005] Obtaining one or more original installation packages, wherein the application programs corresponding to the respective original installation packages belong to different application categories;

[0006] Determine each original installation package as a to-be-differentiated installation package;

[0007] Perform differential operations on the installation package to be synthesized and each installation package to be differentiated, and obtain differential results corresponding to each differential operation in this round;

[0008] The above differential results are screened based on preset screening conditions to obtain a preset number of target differential results;

[0009] Combine any two target difference results into a difference result group;

[0010] For any differential result group, all original installation packages associated with any target differential result in the differential result group are determined as the installation packages to be spliced ​​in the differential result group;

[0011] Splicing all the installation packages to be spliced ​​in the above differential result group to obtain the spliced ​​installation package of the above differential result group;

[0012] Update the above installation packages to be differentiated into the spliced ​​installation packages of each differential result group;

[0013] Return to execute the above step of performing differential calculation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps until the preset stop condition is met.

[0014] A second aspect of the present application provides an incremental packet generation device, including:

[0015] A first acquisition unit is used to acquire one or more original installation packages, wherein the application programs corresponding to the original installation packages belong to different application categories;

[0016] A first determining unit, configured to determine each original installation package as an installation package to be differentiated;

[0017] A differential unit, used to perform differential operations on the installation package to be synthesized and each installation package to be differentiated, to obtain differential results corresponding to each differential operation in this round;

[0018] A screening unit, used to screen the above differential results based on preset screening conditions to obtain a preset number of target differential results;

[0019] A combining unit, used for combining any two target differential results into a differential result group;

[0020] A second determining unit is used to determine, for any differential result group, all original installation packages associated with any target differential result in the differential result group as installation packages to be spliced ​​in the differential result group;

[0021] A splicing unit, used for splicing all the installation packages to be spliced ​​of the above differential result group to obtain the spliced ​​installation package of the above differential result group;

[0022] An updating unit, used for updating the above installation packages to be differentiated into the spliced ​​installation packages of each differential result group;

[0023] The difference unit is triggered to execute again after the update unit until a preset stop condition is met.

[0024] The third aspect of the present application provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method of the first aspect when executing the computer program.

[0025] The fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.

[0026] The fifth aspect of the present application provides a computer program product, which includes a computer program. When the computer program is executed by one or more processors, the steps of the method of the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0028] Figure 1 It is a schematic diagram of the implementation process of the incremental package generation method provided in the embodiment of the present application;

[0029] Figure 2 Schematic diagram of differential operation performed by the incremental packet generation method provided in an embodiment of the present application;

[0030] Figure 3 It is a structural block diagram of an incremental packet generation device provided in an embodiment of the present application;

[0031] Figure 4 It is a schematic diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0033] In order to illustrate the above technical solution of the present application, a specific embodiment is provided below for illustration.

[0034] Example 1

[0035] The following describes a method for generating an incremental package provided in an embodiment of the present application. Figure 1 The incremental packet generation method in the embodiment of the present application is applied to a server, comprising:

[0036] In step 101, one or more original installation packages are obtained;

[0037] In an embodiment of the present application, the server may first obtain more than one original installation package, specifically, the application corresponding to each original installation package belongs to a different application category. Optionally, the server may pre-divide more than one application category, for example, it may be divided into an instant messaging application category, a shopping application category, a photography tool application category, and a game application category, etc.; further, considering that different game applications may have different development engines in the game application category, the game application category may be further subdivided, for example, it may be divided into a unity game application category, a cocos game application category, and a laya game application category according to the development engine, etc., and the division of the above application categories is not limited here. After dividing multiple application categories, all applications in the application store are classified based on the application categories obtained by the division. It should be noted that each application can only be classified into one application category, that is, for an application, it cannot belong to two different application categories at the same time. Through the above process, more than one application category can be obtained, and each application category contains more than one application. Subsequently, a unique application is selected under each application category, and the installation package of the application is determined as the original installation package under the corresponding application category. For example, application category 1 includes four application programs, APP1, APP2, APP3 and APP4. One application program, such as APP2, can be selected from the four application programs, and the installation package APP2-apk of APP2 can be determined as the original installation package of application category 1.

[0038] Optionally, in order to meet the needs of most users, the above step 101 specifically includes:

[0039] A1. Obtain the installation volume of each installation package in the app store;

[0040] Among them, the application store will count the installation volume of each installation package; optionally, it is generally believed that the mobile terminal will automatically perform the installation operation after downloading the installation package, so here it is also possible to directly obtain the download volume of each installation package in the application store, and use the download volume of the installation package as the installation volume of the installation package. Optionally, in order to avoid the situation of falsification of download volume or installation volume, the situation where a mobile terminal downloads the same installation package multiple times can be screened out, that is, when a mobile terminal downloads the same installation package multiple times, the download volume (that is, the installation volume) of the installation package will only be counted once.

[0041] A2. Determine the installation package with the highest installation volume in each application category as the original installation package.

[0042] Among them, the more popular an application is with users, the larger its market share; that is, the more popular an application is with users, the higher the installation volume of its installation package is usually. Based on this, the installation package with the highest installation volume under each application category can be screened out based on the installation volume of each installation package, and the installation package with the highest installation volume under each application category can be determined as the original installation package. Of course, the original installation package can also be determined in other ways, for example, the number of comments on each installation package in the application store can be obtained, and the installation package with the highest number of comments under each application category can be determined as the original installation package; or, an installation package can be randomly determined as the original installation package under each application category, and the method for determining the above-mentioned original installation package is not limited here.

[0043] In step 102, each original installation package is determined as an installation package to be differentiated;

[0044] In the embodiment of the present application, before preparing the first round of differential operation, each original installation package is first determined as the installation package to be differentiated. It should be noted that after each round of differential operation, the above installation package to be differentiated will be updated, that is, the above installation package to be differentiated will be subsequently updated to other installation packages.

[0045] In step 103, the installation package to be synthesized and each installation package to be differentiated are respectively subjected to differential operations to obtain differential results corresponding to each differential operation in this round;

[0046] In an embodiment of the present application, the above-mentioned differential operation is specifically to find the difference between the two input files subjected to the differential operation, and the difference is the differential result. The differential result can be combined with any input file to restore another input file. For example, the input file file1 is differentiated from the input file file2 to obtain the differential result diff-file1-file2. Then, when the input file file1 and the differential result diff-file1-file2 are known, the input file file2 can be restored; or, when the input file file2 and the differential result diff-file1-file2 are known, the input file file1 can be restored. In the above-mentioned step 103, the above-mentioned installation package to be synthesized refers to any installation package in the non-original installation package. For example, application category 1 includes four applications, APP1, APP2, APP3 and APP4, among which the installation package APP2-apk of APP2 is determined as the original installation package of application category 1, then the installation packages of APP1, APP3 or APP4 can all be used as the above-mentioned installation package to be synthesized. It should be noted that multiple differential operations will be performed in one round. For example, in the first round of differential operations, assuming that there are four application categories, the original installation packages corresponding to these four application categories will be used as installation packages to be differentiated, that is, there are four installation packages to be differentiated; the installation package to be synthesized will be differentially operated with each installation package to be differentiated, for a total of four differential operations, to obtain four corresponding differential results; it can be seen that the number of differential results obtained in this round will be consistent with the number of installation packages to be differentiated.

[0047] In step 104, the above differential results are screened based on preset screening conditions to obtain a preset number of target differential results;

[0048] In the embodiment of the present application, considering that the number of differential results of this round obtained in step 103 may be many, in order to reduce the amount of calculation and avoid data explosion on the server, in step 104, the above differential results can be screened based on the preset screening conditions to obtain a preset number of target differential results, wherein the above preset number is an empirical value set by the R&D personnel, and the specific value of the above preset number is not limited here. Specifically, each differential result can be sorted based on a preset sorting order, and then the preset number of differential results with the highest sorting are determined as the target differential results of this round. Considering that the smaller the file size of the differential result is, the smaller the difference between the two input files involved in the differential is, and therefore, the above preset sorting order can be sorted in the order of the file size of the differential result from small to large. Of course, it can also be sorted by other sorting orders, which are not limited here.

[0049] In step 105, any two target differential results are grouped into a differential result group;

[0050] In the embodiment of the present application, any two target differential results can form a differential result group, that is, two target differential results are taken from the above target differential results for combination. Assuming that the above preset number is N, the number of differential result groups that can be formed based on step 105 is indivual.

[0051] In step 106, for any differential result group, all original installation packages associated with any target differential result in the differential result group are determined as installation packages to be spliced ​​in the differential result group;

[0052] In an embodiment of the present application, each differential result group is composed of two target differential results, wherein each target differential result is associated with more than one original installation package. Based on this, as long as an original installation package is associated with any target differential result in the above differential result group, the original installation package can be determined as one of the installation packages to be spliced ​​in the differential result group. For example, assuming that there are four application categories, namely application category 1, application category 2, application category 3 and application category 4, corresponding to the four original installation packages of category 1-apk, category 2-apk, category 3-apk and category 4-apk, respectively. After the first round of differential operation with the installation package to be synthesized, differential result 1, differential result 2, differential result 3 and differential result 4 are obtained respectively; assuming that the selected target differential results are differential result 1, differential result 2, differential result 3, then (differential result 4) can be formed. For the three groups of differential result groups (differential result 1, differential result 2), (differential result 1, differential result 3) and (differential result 2, differential result 3), for the differential result group (differential result 1, differential result 2), it can be found that the original installation package related to differential result 1 is category 1-apk, and the original installation package related to differential result 2 is category 2-apk, then the two original installation packages category 1-apk and category 2-apk will be determined as the installation packages to be spliced ​​in the differential result group (differential result 1, differential result 2).

[0053] In step 107, all the installation packages to be spliced ​​in the above differential result group are spliced ​​to obtain the spliced ​​installation package of the above differential result group;

[0054] In the embodiment of the present application, splicing specifically refers to splicing two files together in order to form one file. The difference in the above splicing order will affect the file content of the differential result obtained subsequently, but will not affect the file size of the differential result obtained subsequently. Based on this, a splicing order can be agreed upon in advance. For example, each time splicing is performed, the splicing is performed in the order of the file size of the installation package to be spliced ​​from small to large; of course, the above splicing order can also be other orders, as long as it is agreed in advance, and is not limited here. For the above differential result group (differential result 1, differential result 2) of the installation package category 1-apk and category 2-apk to be spliced, assuming that the file size of category 1-apk is smaller than the file size of category 2-apk, the final spliced ​​installation package is category 1-apk-category 2-apk.

[0055] In step 108, the above installation packages to be differentiated are updated into the spliced ​​installation packages of each differential result group;

[0056] In the embodiment of the present application, the above-mentioned installation package to be differentiated is updated, specifically updated to the spliced ​​installation package of each difference result group. In the example shown in the above step 107, the spliced ​​installation package of category 1-apk-category 2-apk will participate in the next round of differential operation as one of the new installation packages to be differentiated, that is, one of the differential operations performed in the next round of differential operation is to perform differential operation on the installation package to be synthesized and the spliced ​​installation package of category 1-apk-category 2-apk.

[0057] In step 109, it is detected whether the preset stop condition is met. If the preset stop condition is still not met, the process returns to step 103 and subsequent steps.

[0058] In the embodiment of the present application, when the preset stop condition is met, the differential operation can be stopped, and all differential results obtained from each round of differential operation are saved; and when the preset stop condition is not met, the differential operation needs to be continued, that is, return to execute step 103 and subsequent steps. Optionally, the differential round can be initialized after step 102, and the initialization value of the differential round is set to 0; and the differential round is updated after each step 103, specifically, the value recorded in the differential round is added by 1 to record how many rounds of differential operation have been performed.

[0059] Based on the above-mentioned differential rounds, in an application scenario, the above-mentioned stop condition may be: the above-mentioned differential round reaches a preset differential round threshold, then step 109 may be specifically performed as follows: detecting whether the above-mentioned differential round reaches the above-mentioned differential round threshold; if the above-mentioned differential round does not reach the above-mentioned differential round threshold, returning to execute step 103 and subsequent steps; if the above-mentioned differential round has reached the above-mentioned differential round threshold, saving all differential results obtained by each round of differential operation.

[0060] Optionally, in another application scenario, the above-mentioned stopping condition is that the number of original installation packages associated with any target differential result reaches a preset quantity threshold, and step 109 can be specifically performed as follows: detecting whether the number of original installation packages associated with the target differential result to be detected reaches the above-mentioned quantity threshold, wherein the above-mentioned target differential result to be detected is any target differential result; if the number of original installation packages associated with the above-mentioned target differential result to be detected does not reach the above-mentioned quantity threshold, returning to execute step 103 and subsequent steps; if the number of original installation packages associated with the above-mentioned target differential result to be detected has reached the above-mentioned quantity threshold, saving all differential results obtained by each round of differential operation. For example, assuming that the above-mentioned quantity threshold is set to 2, then in the example given in step 108, assuming that a differential operation is performed on the installation package to be synthesized and the spliced ​​installation package of category 1-apk-category 2-apk to obtain a differential result 5, and the differential result 5 is the target differential result, then it is necessary to first determine the original installation package associated with the differential result 5: since the differential result 5 is obtained by performing a differential operation on the installation package to be synthesized and the spliced ​​installation package of category 1-apk-category 2-apk, and the spliced ​​installation package of category 1-apk-category 2-apk is spliced ​​by the original installation packages category 1-apk and category 2-apk, therefore, it can be determined that the original installation packages associated with the differential result 5 are category 1-apk and category 2-apk, so that it can be known that the number of original installation packages associated with the differential result 5 has reached the above-mentioned quantity threshold 2. Based on this, the next round of differential operation can be no longer performed, and all differential results obtained by each round of differential operation are saved.

[0061] Optionally, the differential result may be recorded after each round of differential operation. Then, after step 103, the incremental packet generation method may further include:

[0062] B1. respectively obtaining the original installation package sets associated with each differential result, wherein the original installation package sets include more than one original installation package;

[0063] B2. Record each differential result and the original installation package set associated with each differential result in a preset database.

[0064] The above database can be set locally on the above server or in other locations, which is not limited here. After recording each differential result and the original installation package set associated with each differential result, whenever a download instruction for the installation package to be synthesized is received from the user's client, the differential result that needs to be sent to the client can be quickly queried from the above database. The above process is specifically as follows:

[0065] C1. If a download instruction sent by the client based on the installation package to be synthesized is received, the download instruction is parsed to obtain the original installation package installed by the client;

[0066] Before sending the download instruction, the client will first traverse its file system to learn all the original installation packages it has installed. Optionally, considering that the above original installation packages are set by the server, the client may not be able to know which original installation packages are in time. Therefore, the client can also traverse its own file system and report all the installation packages it has installed to the server through the above download instruction. After parsing and learning all the installation packages installed by the client, the server can learn the original installation packages installed by the client by comparing them with the original installation packages.

[0067] C2. Searching the database for an original installation package set that has the highest degree of matching with the original installation package installed by the client as the target original installation package set;

[0068] Among them, the above-mentioned step C2 can be implemented in the following manner: first detect whether there is a candidate original installation package set in the above-mentioned database, wherein each original installation package in the above-mentioned candidate original installation package set has been installed by the above-mentioned client; if it is detected that there is only one candidate original installation package set, then the only candidate original installation package set is directly determined as the target original installation package set; if it is detected that there are more than two candidate original installation package sets, then the number of original installation packages contained in each candidate original installation package set is obtained, and the candidate original installation package set containing the largest number of original installation packages is determined as the target original installation package set.

[0069] C3. Sending the differential result associated with the target original installation package set to the client, so that the client synthesizes the installation package to be synthesized based on the differential result and the original installation package installed by the client.

[0070] Among them, since all the original installation packages in the target original installation package set are the original installation packages that the client has downloaded, the client can restore the above-mentioned installation package to be synthesized through the differential result associated with the above-mentioned target original installation package set. It should be noted that if the above-mentioned client has not installed any original installation package, then any matching candidate original installation package set cannot be found in the above-mentioned step C2. At this time, the server can only send the full package of the above-mentioned installation package to be synthesized to the client, that is, at this time, the client can only download the full amount of the installation package to be synthesized.

[0071] In order to better illustrate the solution of the embodiment of the present application, Figure 2 Give specific examples:

[0072] Assume that the stopping condition is that the number of differential rounds reaches 3, or the number of original installation packages associated with any target differential result reaches 3, and assume that the preset number of target differential results is 3.

[0073] Assume that there are four application categories, namely application category 1, application category 2, application category 3 and application category 4, corresponding to the four original installation packages of category 1-apk, category 2-apk, category 3-apk and category 4-apk respectively. These four original installation packages are the first round of installation packages to be differentiated; at the same time, the installation package to be synthesized is recorded as apk0.

[0074] After the first round of differential operation, differential result 1, differential result 2, differential result 3 and differential result 4 are obtained respectively.

[0075] The target differential results screened out are differential result 1, differential result 2, and differential result 3, which constitute three differential result groups: (differential result 1, differential result 2), (differential result 1, differential result 3), and (differential result 2, differential result 3). It can be obtained that the spliced ​​installation package of (differential result 1, differential result 2) is category 1-apk-category 2-apk, the spliced ​​installation package of (differential result 1, differential result 3) is category 1-apk-category 3-apk, and the spliced ​​installation package of (differential result 2, differential result 3) is category 2-apk-category 3-apk. That is, the above-mentioned category 1-apk-category 2-apk, category 1-apk-category 3-apk, and category 2-apk-category 3-apk are updated to the second round of installation packages to be differentially obtained.

[0076] After the second round of differential operation, differential results 5, 6 and 7 are obtained respectively. Among them, differential result 5 is obtained by the difference between category 1-apk-category 2-apk and apk0; differential result 6 is obtained by the difference between category 1-apk-category 3-apk and apk0; differential result 7 is obtained by the difference between category 2-apk-category 3-apk and apk0.

[0077] The above-mentioned differential result 5, differential result 6, and differential result 7 are all target differential results, and constitute three differential result groups, namely (differential result 5, differential result 6), (differential result 5, differential result 7), and (differential result 6, differential result 7). Among them, since the original installation packages associated with differential result 5 are category 1-apk and category 2-apk, the original installation packages associated with differential result 6 are category 1-apk and category 3-apk, and the original installation packages associated with differential result 7 are category 2-apk and category 3-apk, therefore, the above-mentioned (differential result 5, differential result 6), (differential result 5, differential result 7), and (differential result 6, differential result 7) installation packages to be spliced ​​are all category 1-apk, category 2-apk, and category 3-apk, that is, the spliced ​​installation packages obtained by these three differential result groups are the same, which are category 1-apk-category 2-apk-category 3-apk. That is, after the second round, only one spliced ​​installation package can be obtained, which is category 1-apk-category 2-apk-category 3-apk. The spliced ​​installation package (that is, category 1-apk-category 2-apk-category 3-apk) is updated to the third round of differential installation package.

[0078] After the third round of differential operation, the only differential result in this round is obtained, which is differential result 8. At this time, the number of differential rounds has reached 3, and the differential operation stops.

[0079] Record all differential results obtained in each round and the original installation package set associated with each differential result:

[0080] Difference result 1-{category 1-apk}

[0081] Difference result 2-{category 2-apk}

[0082] Difference result 3-{category 3-apk}

[0083] Difference result 4-{category 4-apk}

[0084] Difference result 5 - {category 1-apk, category 2-apk}

[0085] Difference result 6 - {category 1-apk, category 3-apk}

[0086] Difference result 7-{category 2-apk, category 3-apk}

[0087] Differential result 8 - {category 1-apk, category 2-apk, category 3-apk}

[0088] Assuming that the client needs to download the above-mentioned apk0 to be synthesized, the client will send a download instruction to the server, and the server will learn the original installation package that the client has downloaded by parsing the above-mentioned download instruction.

[0089] In the first case, assuming that the client has downloaded the original installation package, for example, the original installation package downloaded by the client includes category 1-apk and category 3-apk, then it can be detected that {category 1-apk}, {category 3-apk} and {category 1-apk, category 3-apk} can all be used as candidate original installation package sets. However, since {category 1-apk, category 3-apk} contains the largest number of original installation packages, {category 1-apk, category 3-apk} will eventually be selected as the target original installation package set. The server can send the differential result 6 corresponding to the target original installation package set {category 1-apk, category 3-apk} to the client. Since the client has downloaded 1-apk and category 3-apk, it can restore the restored file based on the above 1-apk and category 3-apk and the differential result 6 sent by the server, thereby obtaining the installation package apk0 to be synthesized. The specific restoration process is: splice the original installation packages installed by the client: category 1-apk, category 3-apk according to the agreed splicing order to obtain category 1-apk-category 3-apk; because when the server performs differential operation, the above differential result 6 is the difference between category 1-apk-category 3-apk and apk0, so the client can restore the installation package apk0 to be synthesized based on the spliced ​​category 1-apk-category 3-apk and the differential result 6.

[0090] In the second case, assuming that the client has not downloaded any original installation package, the server will directly send the full amount of the above-mentioned installation package apk0 to be synthesized to the client.

[0091] As can be seen from the above, through the present application scheme, differential files for each other installation package are generated in advance in the server based on the installation packages of applications of different categories as incremental packages. In this way, when the subsequent client downloads a new application for the first time, it is no longer necessary to download the installation package of the new application in full if it meets the requirements. Instead, the incremental package of the new application can be downloaded and combined with the installation packages of other applications already downloaded on the local machine to achieve the synthesis of the installation package of the new application, which can reduce the client's traffic consumption to a certain extent.

[0092] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0093] Example 2

[0094] Embodiment 2 of the present application provides an incremental packet generation device, which can be integrated into a server, such as Figure 3 As shown, the incremental packet generation device 300 in the embodiment of the present application includes:

[0095] The first acquisition unit 301 is used to acquire one or more original installation packages, wherein the application programs corresponding to the original installation packages belong to different application categories;

[0096] A first determining unit 302, configured to determine each original installation package as an installation package to be differentiated;

[0097] The difference unit 303 is used to perform a difference operation on the installation package to be synthesized and each installation package to be differentiated, and obtain a difference result corresponding to each difference operation in this round;

[0098] A screening unit 304 is used to screen the above differential results based on a preset screening condition to obtain a preset number of target differential results;

[0099] A combining unit 305, used for combining any two target differential results into a differential result group;

[0100] The second determining unit 306 is used to determine, for any differential result group, all original installation packages associated with any target differential result in the differential result group as installation packages to be spliced ​​in the differential result group;

[0101] A splicing unit 307 is used to splice all the installation packages to be spliced ​​in the above differential result group to obtain a spliced ​​installation package of the above differential result group;

[0102] An updating unit 308, configured to update the above installation packages to be differentiated into concatenated installation packages of each differential result group;

[0103] The difference unit 303 is triggered to execute again after the update unit 308 until a preset stop condition is met.

[0104] Optionally, the incremental packet generating device 300 further includes:

[0105] A second acquisition unit is used to respectively acquire an original installation package set associated with each differential result, wherein the original installation package set includes more than one original installation package;

[0106] The recording unit is used to record each differential result and the original installation package set associated with each differential result in a preset database.

[0107] Optionally, the incremental packet generating device 300 further includes:

[0108] A parsing unit, configured to parse the download instruction sent by the client based on the installation package to be synthesized, if receiving the download instruction, so as to obtain the original installation package installed by the client;

[0109] A searching unit, configured to search the database for an original installation package set having the highest matching degree with the original installation package installed by the client as a target original installation package set;

[0110] The sending unit is used to send the differential result associated with the target original installation package set to the client, so that the client synthesizes the installation package to be synthesized based on the differential result and the original installation package installed by the client.

[0111] Optionally, the above-mentioned searching unit includes:

[0112] A candidate original installation package set detection subunit is used to detect whether there is a candidate original installation package set in the above database, wherein each original installation package in the above candidate original installation package set has been installed by the above client;

[0113] The original installation package quantity acquisition subunit is used to acquire the quantity of original installation packages included in each candidate original installation package set if there is more than one candidate original installation package set;

[0114] The target original installation package set determination subunit is used to determine the candidate original installation package set containing the largest number of original installation packages as the target original installation package set.

[0115] Optionally, the screening unit 304 includes:

[0116] A sorting subunit, used to sort each differential result based on a preset sorting order;

[0117] The target differential result determination subunit is used to determine a preset number of differential results that are ranked first as the target differential results of this round.

[0118] Optionally, the first obtaining unit 301 includes:

[0119] The installation volume acquisition subunit is used to obtain the installation volume of each installation package in the application store;

[0120] The original installation package determination subunit is used to determine the installation package with the highest installation volume under each application category as the original installation package.

[0121] Optionally, the incremental packet generating device 300 further includes:

[0122] A differential round initialization unit, configured to initialize a differential round after the first determination unit 302 determines each original installation package as an installation package to be differentiated;

[0123] The differential round updating unit is used to update the differential round after the above-mentioned updating unit 308 performs differential operations on the installation package to be synthesized and each installation package to be differentiated, and obtains the differential results corresponding to each differential operation in this round.

[0124] Optionally, the preset stop condition is that the differential round reaches a preset differential round threshold, and the incremental packet generating device 300 further includes:

[0125] A first detection unit, used to detect whether the difference round reaches the difference round threshold;

[0126] A first storage unit, configured to store all differential results obtained from each round of differential operation if the differential round has reached the differential round threshold;

[0127] The difference unit 303 is triggered when the difference round does not reach the difference round threshold.

[0128] Optionally, the preset stop condition is that the number of original installation packages associated with any target differential result reaches a preset number threshold, and the incremental package generation device 300 further includes:

[0129] A second detection unit is used to detect whether the number of original installation packages associated with the target differential result to be detected reaches the above-mentioned number threshold, wherein the above-mentioned target differential result to be detected is any target differential result;

[0130] A second storage unit is used to store all differential results obtained by each round of differential operation if the number of original installation packages associated with the differential result of the target to be detected has reached the number threshold;

[0131] The difference unit 303 is triggered when the number of original installation packages associated with the target difference result to be detected does not reach the number threshold.

[0132] As can be seen from the above, through the present application scheme, differential files for each other installation package are generated in advance in the server based on the installation packages of applications of different categories as incremental packages. In this way, when the subsequent client downloads a new application for the first time, it is no longer necessary to download the installation package of the new application in full if it meets the requirements. Instead, the incremental package of the new application can be downloaded and combined with the installation packages of other applications already downloaded on the local machine to achieve the synthesis of the installation package of the new application, which can reduce the client's traffic consumption to a certain extent.

[0133] Example 3

[0134] Embodiment 3 of the present application provides a server, see Figure 4 The server in the embodiment of the present application includes: a memory 401, one or more processors 402 ( Figure 4 Only one is shown) and a computer program stored in the memory 401 and executable on the processor. The memory 401 is used to store software programs and modules, and the processor 402 executes various functional applications and data processing by running the software programs and units stored in the memory 401 to obtain the resources corresponding to the above-mentioned preset events. Specifically, the processor 402 implements the following steps when running the above-mentioned computer program stored in the memory 401:

[0135] Obtaining one or more original installation packages, wherein the application programs corresponding to the respective original installation packages belong to different application categories;

[0136] Determine each original installation package as a to-be-differentiated installation package;

[0137] Perform differential operations on the installation package to be synthesized and each installation package to be differentiated, and obtain differential results corresponding to each differential operation in this round;

[0138] The above differential results are screened based on preset screening conditions to obtain a preset number of target differential results;

[0139] Combine any two target difference results into a difference result group;

[0140] For any differential result group, all original installation packages associated with any target differential result in the differential result group are determined as the installation packages to be spliced ​​in the differential result group;

[0141] Splicing all the installation packages to be spliced ​​in the above differential result group to obtain the spliced ​​installation package of the above differential result group;

[0142] Update the above installation packages to be differentiated into the spliced ​​installation packages of each differential result group;

[0143] Return to execute the above step of performing differential calculation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps until the preset stop condition is met.

[0144] In a second possible implementation provided on the basis of the first possible implementation, after performing differential operations on the installation package to be synthesized and each installation package to be differentiated to obtain differential results corresponding to each differential operation in this round, the processor 402 further implements the following steps when running the computer program stored in the memory 401:

[0145] Respectively obtain the original installation package sets associated with each differential result, wherein the original installation package sets include more than one original installation package;

[0146] Each differential result and the original installation package set associated with each differential result are recorded in a preset database.

[0147] In a third possible implementation provided as a basis of the second possible implementation, the processor 402 further implements the following steps when running the computer program stored in the memory 401:

[0148] If a download instruction sent by the client based on the installation package to be synthesized is received, the download instruction is parsed to obtain the original installation package installed by the client;

[0149] Searching the database for an original installation package set that has the highest matching degree with the original installation package installed on the client as the target original installation package set;

[0150] The differential result associated with the target original installation package set is sent to the client, so that the client synthesizes the installation package to be synthesized based on the differential result and the original installation package installed by the client.

[0151] In a fourth possible implementation provided on the basis of the third possible implementation, searching the database for an original installation package set having the highest matching degree with the original installation package installed by the client as the target original installation package set includes:

[0152] Detecting whether there is a candidate original installation package set in the database, wherein each original installation package in the candidate original installation package set has been installed by the client;

[0153] If there is more than one candidate original installation package set, then the number of original installation packages included in each candidate original installation package set is obtained;

[0154] A candidate original installation package set including the largest number of original installation packages is determined as a target original installation package set.

[0155] In a fifth possible implementation provided on the basis of the first possible implementation, or on the basis of the second possible implementation, or on the basis of the third possible implementation, or on the basis of the fourth possible implementation, the above-mentioned differential results are screened based on the preset screening conditions to obtain a preset number of target differential results, including:

[0156] Sort each difference result based on a preset sorting order;

[0157] A preset number of differential results that are ranked first are determined as the target differential results of this round.

[0158] In a sixth possible implementation provided on the basis of the first possible implementation, or on the basis of the second possible implementation, or on the basis of the third possible implementation, or on the basis of the fourth possible implementation, the obtaining of more than one original installation package includes:

[0159] Get the installation volume of each installation package in the app store;

[0160] The installation package with the highest installation volume in each application category is determined as the original installation package.

[0161] In a seventh possible implementation provided on the basis of the first possible implementation, or on the basis of the second possible implementation, or on the basis of the third possible implementation, or on the basis of the fourth possible implementation, after each original installation package is determined as an installation package to be differentiated, the processor 402 further implements the following steps when running the computer program stored in the memory 401:

[0162] Initialize the difference round;

[0163] Accordingly, after performing the difference operation on the installation package to be synthesized and each installation package to be differentiated, and obtaining the difference results corresponding to each difference operation in this round, the processor 402 further implements the following steps when running the computer program stored in the memory 401:

[0164] Update the above differential rounds.

[0165] In an eighth possible implementation provided on the basis of the seventh possible implementation, the preset stop condition is that the difference round reaches a preset difference round threshold, then the step of returning to perform the difference operation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps, until the preset stop condition is met, includes:

[0166] Detecting whether the above differential round reaches the above differential round threshold;

[0167] If the difference round does not reach the difference round threshold, return to the step of performing difference calculation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps;

[0168] If the above differential rounds have reached the above differential round threshold, all differential results obtained from each round of differential operations are saved.

[0169] In a ninth possible implementation provided on the basis of the first possible implementation, or on the basis of the second possible implementation, or on the basis of the third possible implementation, or on the basis of the fourth possible implementation, the preset stop condition is that the number of original installation packages associated with any target differential result reaches a preset number threshold, then the above-mentioned return to execute the above-mentioned step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps until the preset stop condition is met, including:

[0170] Detecting whether the number of original installation packages associated with the target differential result to be detected reaches the above-mentioned number threshold, wherein the above-mentioned target differential result to be detected is any target differential result;

[0171] If the number of original installation packages associated with the target differential result to be detected does not reach the number threshold, returning to the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps;

[0172] If the number of original installation packages associated with the above target differential result to be detected has reached the above number threshold, all differential results obtained by each round of differential operation are saved.

[0173] Further, if Figure 4 As shown, the server may further include: one or more input devices 403 ( Figure 4 ) and one or more output devices 404 (only one is shown) Figure 4 The memory 401 , the processor 402 , the input device 403 , and the output device 404 are connected via a bus 405 .

[0174] It should be understood that in the embodiment of the present application, the processor 402 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0175] The input device 403 may include a keyboard, a touch pad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 404 may include a display, a speaker, etc.

[0176] The memory 401 may include a read-only memory and a random access memory, and provide instructions and data to the processor 402. A part or all of the memory 401 may also include a non-volatile random access memory. For example, the memory 401 may also store information on the device type.

[0177] As can be seen from the above, through the present application scheme, differential files for each other installation package are generated in advance in the server based on the installation packages of applications of different categories as incremental packages. In this way, when the subsequent client downloads a new application for the first time, it is no longer necessary to download the installation package of the new application in full if it meets the requirements. Instead, the incremental package of the new application can be downloaded and combined with the installation packages of other applications already downloaded on the local machine to achieve the synthesis of the installation package of the new application, which can reduce the client's traffic consumption to a certain extent.

[0178] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0179] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0180] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of external device software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0181] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0182] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0183] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the above-mentioned computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media does not include electrical carrier signals and telecommunication signals.

[0184] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for generating an incremental package, characterized in that: include: Obtaining one or more original installation packages, wherein the application programs corresponding to the respective original installation packages belong to different application categories; Determine each original installation package as a to-be-differentiated installation package; Performing differential operations on the installation package to be synthesized and each installation package to be differentiated, respectively, to obtain differential results corresponding to each differential operation in this round, wherein the installation package to be synthesized refers to any installation package in the non-original installation package; Filtering the differential results based on a preset filtering condition to obtain a preset number of target differential results; Combine any two target difference results into a difference result group; For any differential result group, all original installation packages associated with any target differential result in the differential result group are determined as installation packages to be spliced ​​in the differential result group; Splicing all the installation packages to be spliced ​​in the differential result group to obtain a spliced ​​installation package of the differential result group; Updating the installation package to be differentiated into the spliced ​​installation packages of each differential result group; Return to execute the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps, until a preset stop condition is met, and save all differential results obtained from each round of differential operations.

2. The incremental packet generation method according to claim 1, characterized in that: After performing differential operations on the installation package to be synthesized and each installation package to be differentiated to obtain differential results corresponding to each differential operation in this round, the incremental package generation method further includes: Respectively obtaining the original installation package sets associated with each differential result, wherein the original installation package sets include more than one original installation package; Each differential result and the original installation package set associated with each differential result are recorded in a preset database.

3. The incremental packet generation method according to claim 2, characterized in that: The incremental package generation method further includes: If a download instruction sent by the client based on the installation package to be synthesized is received, the download instruction is parsed to obtain the original installation package installed by the client; Searching the database for an original installation package set having the highest matching degree with the original installation package installed by the client as the target original installation package set; The differential result associated with the target original installation package set is sent to the client, so that the client synthesizes the installation package to be synthesized based on the differential result and the original installation package installed by the client.

4. The incremental packet generation method according to claim 3, characterized in that: The searching the database for an original installation package set having the highest matching degree with the original installation package installed by the client as the target original installation package set includes: Detecting whether there is a candidate original installation package set in the database, wherein each original installation package in the candidate original installation package set has been installed by the client; If there is more than one candidate original installation package set, then the number of original installation packages included in each candidate original installation package set is obtained; A candidate original installation package set including the largest number of original installation packages is determined as a target original installation package set.

5. The incremental packet generation method according to any one of claims 1 to 4, characterized in that: The step of screening the differential results based on the preset screening conditions to obtain a preset number of target differential results includes: Sort each difference result based on a preset sorting order; A preset number of differential results that are ranked first are determined as the target differential results of this round.

6. The incremental packet generation method according to any one of claims 1 to 4, characterized in that: The obtaining of more than one original installation package includes: Get the installation volume of each installation package in the app store; The installation package with the highest installation volume in each application category is determined as the original installation package.

7. The incremental packet generation method according to any one of claims 1 to 4, characterized in that: After determining each original installation package as a to-be-differentiated installation package, the incremental package generation method further includes: Initialize the difference round; Accordingly, after performing differential operations on the installation package to be synthesized and each installation package to be differentiated to obtain differential results corresponding to each differential operation in this round, the incremental package generation method further includes: Update the differential round.

8. The incremental packet generation method according to claim 7, characterized in that: The preset stop condition is that the difference round reaches a preset difference round threshold, then the step of performing difference operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps are returned until the preset stop condition is met, and all difference results obtained by each round of difference operations are saved, including: Detecting whether the differential round reaches the differential round threshold; If the difference round does not reach the difference round threshold, returning to execute the step of performing difference calculation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps; If the differential round has reached the differential round threshold, all differential results obtained from each round of differential operation are saved.

9. The incremental packet generation method according to any one of claims 1 to 4, characterized in that: The preset stop condition is that the number of original installation packages associated with any target differential result reaches a preset number threshold, then the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps are returned until the preset stop condition is met, and all differential results obtained by each round of differential operations are saved, including: Detecting whether the number of original installation packages associated with the target differential result to be detected reaches the number threshold, wherein the target differential result to be detected is any target differential result; If the number of original installation packages associated with the target differential result to be detected does not reach the number threshold, returning to execute the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps; If the number of original installation packages associated with the target differential result to be detected has reached the number threshold, all differential results obtained in each round of differential operation are saved.

10. An incremental packet generation device, characterized in that: include: A first acquisition unit is used to acquire one or more original installation packages, wherein the application programs corresponding to the original installation packages belong to different application categories; A first determining unit, configured to determine each original installation package as an installation package to be differentiated; A difference unit, used to perform a difference operation on the installation package to be synthesized and each installation package to be differentiated, respectively, to obtain a difference result corresponding to each difference operation in this round, wherein the installation package to be synthesized refers to any installation package in the non-original installation package; A screening unit, used to screen the differential results based on preset screening conditions to obtain a preset number of target differential results; A combining unit, used for combining any two target differential results into a differential result group; A second determining unit is used to determine, for any differential result group, all original installation packages associated with any target differential result in the differential result group as installation packages to be spliced ​​in the differential result group; A splicing unit, used for splicing all the installation packages to be spliced ​​in the differential result group to obtain a spliced ​​installation package of the differential result group; An updating unit, used for updating the installation package to be differentiated into a spliced ​​installation package of each differential result group; The difference unit is triggered to execute again after the update unit until a preset stop condition is met, and all difference results obtained from each round of difference operation are saved.

11. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Obtaining one or more original installation packages, wherein the application programs corresponding to the respective original installation packages belong to different application categories; Determine each original installation package as a to-be-differentiated installation package; Performing differential operations on the installation package to be synthesized and each installation package to be differentiated, respectively, to obtain differential results corresponding to each differential operation in this round, wherein the installation package to be synthesized refers to any installation package in the non-original installation package; Filtering the differential results based on a preset filtering condition to obtain a preset number of target differential results; Combine any two target difference results into a difference result group; For any differential result group, all original installation packages associated with any target differential result in the differential result group are determined as installation packages to be spliced ​​in the differential result group; Splicing all the installation packages to be spliced ​​in the differential result group to obtain a spliced ​​installation package of the differential result group; Updating the installation package to be differentiated into the spliced ​​installation packages of each differential result group; Return to execute the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps, until a preset stop condition is met, and save all differential results obtained from each round of differential operations.

12. The server according to claim 11, characterized in that After performing differential operations on the installation package to be synthesized and each installation package to be differentiated to obtain differential results corresponding to each differential operation in this round, the processor further implements the following steps when executing the computer program: Respectively obtaining the original installation package sets associated with each differential result, wherein the original installation package sets include more than one original installation package; Each differential result and the original installation package set associated with each differential result are recorded in a preset database.

13. The server according to claim 12, characterized in that When the processor executes the computer program, the following steps are also implemented: If a download instruction sent by the client based on the installation package to be synthesized is received, the download instruction is parsed to obtain the original installation package installed by the client; Searching the database for an original installation package set having the highest matching degree with the original installation package installed by the client as the target original installation package set; The differential result associated with the target original installation package set is sent to the client, so that the client synthesizes the installation package to be synthesized based on the differential result and the original installation package installed by the client.

14. The server according to claim 13, wherein: When the processor executes the computer program, searching the database for an original installation package set having the highest matching degree with the original installation package installed by the client as the target original installation package set includes: Detecting whether there is a candidate original installation package set in the database, wherein each original installation package in the candidate original installation package set has been installed by the client; If there is more than one candidate original installation package set, then the number of original installation packages included in each candidate original installation package set is obtained; A candidate original installation package set including the largest number of original installation packages is determined as a target original installation package set.

15. The server according to any one of claims 11 to 14, characterized in that: When the processor executes the computer program, the differential results are screened based on a preset screening condition to obtain a preset number of target differential results, including: Sort each difference result based on a preset sorting order; A preset number of differential results that are ranked first are determined as the target differential results of this round.

16. The server according to any one of claims 11 to 14, characterized in that: When the processor executes the computer program, obtaining more than one original installation package includes: Get the installation volume of each installation package in the app store; The installation package with the highest installation volume in each application category is determined as the original installation package.

17. The server according to any one of claims 11 to 14, characterized in that: After determining each original installation package as a to-be-differentiated installation package, the processor further implements the following steps when executing the computer program: Initialize the difference round; Accordingly, after performing differential operations on the installation package to be synthesized and each installation package to be differentiated to obtain differential results corresponding to each differential operation in this round, the processor further implements the following steps when executing the computer program: Update the differential round.

18. The server according to any one of claims 11 to 14, characterized in that: When the processor executes the computer program, the preset stop condition is that the difference round reaches a preset difference round threshold, then the processor returns to execute the step of performing difference operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps respectively until the preset stop condition is met, and saves all difference results obtained from each round of difference operations, including: Detecting whether the differential round reaches the differential round threshold; If the difference round does not reach the difference round threshold, returning to execute the step of performing difference calculation on the installation package to be synthesized and each installation package to be differentiated and subsequent steps; If the differential round has reached the differential round threshold, all differential results obtained from each round of differential operation are saved.

19. The server according to any one of claims 11 to 14, characterized in that: When the processor executes the computer program, the preset stop condition is that the number of original installation packages associated with any target differential result reaches a preset number threshold, then returning to execute the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps until the preset stop condition is met, and saving all differential results obtained from each round of differential operations, including: Detecting whether the number of original installation packages associated with the target differential result to be detected reaches the number threshold, wherein the target differential result to be detected is any target differential result; If the number of original installation packages associated with the target differential result to be detected does not reach the number threshold, returning to execute the step of performing differential operations on the installation package to be synthesized and each installation package to be differentiated and subsequent steps; If the number of original installation packages associated with the target differential result to be detected has reached the number threshold, all differential results obtained in each round of differential operation are saved.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Application program processing method, device and system

    CN103442026A

  • Method and device for upgrading application software

    CN103647816A