CN111273939A - Information processing method, information processing device and terminal equipment - Google Patents
Information processing method, information processing device and terminal equipment Download PDFInfo
- Publication number
- CN111273939A CN111273939A CN202010064952.5A CN202010064952A CN111273939A CN 111273939 A CN111273939 A CN 111273939A CN 202010064952 A CN202010064952 A CN 202010064952A CN 111273939 A CN111273939 A CN 111273939A
- Authority
- CN
- China
- Prior art keywords
- installation
- historical
- packages
- package
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 41
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000009434 installation Methods 0.000 claims abstract description 269
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000012545 processing Methods 0.000 claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 24
- 238000007726 management method Methods 0.000 claims description 16
- 238000012360 testing method Methods 0.000 claims description 9
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000012550 audit Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application is applicable to the technical field of information processing, and provides an information processing method, an information processing device, a terminal device and a computer readable storage medium, wherein the information processing method comprises the following steps: after a target installation package of an application program is obtained, obtaining historical installation proportions of various historical version installation packages of the application program relative to the total installation quantity of the application program respectively; according to the size of the historical installation proportion, obtaining differential packages of the historical version installation packages relative to the target installation package in sequence; and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages, wherein the new version is the version corresponding to the target installation package. By the method, the time length of the processing flow can be shortened when a new version of the application program is added to platforms such as an application store.
Description
Technical Field
The present application belongs to the field of information processing technologies, and in particular, relates to an information processing method, an information processing apparatus, a terminal device, and a computer-readable storage medium.
Background
At present, when a new version of an application program (also referred to as a new version of an application program on shelf) is newly added to a platform such as an application store for a user to download, a processing flow often includes steps of obtaining a differential package of a historical version of the application program relative to the new version, and the like.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, a terminal device and a computer readable storage medium, which can shorten the time length of a processing flow when a new version of an application program is added to a platform such as an application store.
In a first aspect, an embodiment of the present application provides an information processing method, including:
after a target installation package of an application program is obtained, obtaining historical installation proportions of various historical version installation packages of the application program relative to the total installation quantity of the application program respectively;
according to the size of the historical installation proportion, obtaining differential packages of the historical version installation packages relative to the target installation package in sequence;
and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages, wherein the new version is the version corresponding to the target installation package.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including:
the acquisition module is used for acquiring historical installation proportions of various historical version installation packages of the application program relative to the total installation quantity of the application program after acquiring a target installation package of the application program;
the difference module is used for sequentially obtaining the difference packages of the historical version installation packages relative to the target installation package according to the size of the historical installation proportion;
and the processing module is used for adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential package if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential package is larger than a first preset proportion, wherein the new version is the version corresponding to the target installation package.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, a display, and a computer program stored in the memory and executable on the processor, where the processor implements the information processing method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the information processing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute the information processing method described in the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: in the embodiment of the application, after the target installation package of the application program is obtained, the historical installation proportion of each historical version installation package of the application program relative to the total installation quantity of the application program is obtained, and according to the size of the historical installation proportion, obtaining the differential package of each historical version installation package relative to the target installation package in turn, the differential packet covering more users can be acquired as quickly as possible based on the current use condition of the application program by the user, and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, the new version of the application program is added on the preset application platform, thereby ensuring the coverage rate of the differential packet, meanwhile, the efficiency of the processing flow of the preset application platform is improved, and the experience of the user and the developer of the preset application platform is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a system framework provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The information processing method provided by the embodiment of the application can be applied to terminal devices such as a server, a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the application does not limit the specific types of the terminal devices at all.
Specifically, fig. 1 shows a flowchart of an information processing method provided in an embodiment of the present application, where the information processing method is applied to a terminal device.
The information processing method includes:
step S101, after a target installation package of an application program is obtained, historical installation proportions of all historical version installation packages of the application program relative to the total installation quantity of the application program are obtained.
In this embodiment, the target installation package may be an installation package of a new version of the application program. Accordingly, the historical version installation package may be an installation package of an old version of the application program.
In the embodiment of the application, the target installation package of the application program can be acquired through a specific information transmission mode. For example, in some cases, the embodiment of the present application may be configured to update the version of the application program on a preset application platform for downloading by a user, where the preset application platform may be implemented by a terminal device such as a server. The developer of the application program can upload the new version of the application program, namely the target installation package, to the preset application platform in a specific information transmission mode, and after the preset application platform performs corresponding process processing, the new version of the application program can be released to a user. At this time, if each historical version installation package of the application program already exists on the preset application platform, the historical installation proportion corresponding to each historical version installation package can be determined according to the installation condition corresponding to each historical version installation package. For example, the current installation amount corresponding to each historical version installation package may be obtained, so that each historical installation proportion is obtained according to the ratio of the current installation amount corresponding to each historical version installation package to the total installation amount.
And step S102, sequentially obtaining differential packages of the historical version installation packages relative to the target installation package according to the size of the historical installation proportion.
In the embodiment of the application, the historical installation proportion can indicate the proportion of the users covered by the historical versions currently, and in the embodiment of the application, the differential packages of the historical version installation packages relative to the target installation package can be sequentially obtained in the sequence of the historical installation proportion from large to small, so that the differential packages corresponding to the historical version installation packages with large current user consumption of the users are preferentially obtained, and the differential packages with the maximum user coverage degree are obtained in the shortest time.
In some embodiments, if a sum of historical installation proportions of historical version installation packages corresponding to the obtained differential package is greater than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential package includes:
and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than a first preset proportion in an asynchronous callback mode, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages.
In the embodiment of the application, the result can be obtained in the asynchronous callback mode when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, and the process of generating the differential packages cannot be blocked. Therefore, the progress of acquiring the differential packet can be efficiently and timely determined. In some embodiments, multiple nodes where the differential packet arrives may be determined through multiple asynchronous callbacks, and corresponding operations may be performed at different nodes.
Step S103, if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages, wherein the new version is the version corresponding to the target installation package.
In the embodiment of the present application, the preset application platform may be, for example, an application platform such as an application store, which is capable of providing a user with downloads of a plurality of specific application programs. When a new version of the application program is added to a preset application platform, the preset application platform can provide downloading of the target installation package and downloading of the obtained differential package. When the user submits a download request from the client device, the preset application platform may determine the content provided to the user according to the historical installation version of the application program installed in the client device. For example, if a corresponding differential packet exists in the preset application platform in the historical installation version installed in the client device, the differential packet may be transmitted to the client device, so as to reduce the download traffic and the corresponding download duration that are to be consumed by the client device; and if the historical installation version installed in the client device does not have a corresponding differential package in the preset application platform, transmitting the target installation package to the client device.
By presetting the first preset proportion, the time for putting the new version of the application program on the shelf on the preset application platform can be determined. For example, the first preset proportion may be, for example, 80%, 90%, and the like, at this time, the obtained differential package may meet the requirements of most users, and meanwhile, the problem that time consumption is too long for obtaining the differential packages corresponding to all historical version installation packages is avoided, and the shelf loading efficiency is improved.
In some embodiments, if a sum of historical installation proportions of historical version installation packages corresponding to the obtained differential package is greater than a first preset proportion, after a new version of the application program is added to a preset application platform based on the target installation package and the obtained differential package, the method further includes:
according to the size of the historical installation proportion, sequentially obtaining a differential package of each residual historical version installation package relative to the target installation package, wherein the residual historical version installation package is a historical version installation package which does not obtain a corresponding differential package;
and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is detected to be larger than any second preset proportion, updating the differential packages corresponding to the new versions of the application programs on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages, wherein any second preset proportion is larger than the first preset proportion.
In this embodiment of the application, after a new version of the application program is newly added to a preset application platform, a difference package of each remaining historical version installation package relative to the target installation package may be further obtained according to the size sequence of the historical installation proportions, at this time, at least one second preset proportion may be preset, and each second preset proportion may be used to reflect each node in a generation process of the difference package. When the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is detected to be larger than any second preset proportion, the differential packages corresponding to the new versions of the application programs can be updated on a preset application platform, namely, the newly obtained differential packages can be additionally uploaded on the preset application platform.
In some embodiments, each time it is detected that the sum of the historical installation ratios of the historical version installation packages corresponding to the obtained differential package is greater than any second preset ratio, the step of updating, at a preset application platform, the differential package corresponding to the new version of the application program until the preset application platform includes the differential packages corresponding to all the historical version installation packages includes:
and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than any second preset proportion through an asynchronous callback mode every time, updating the differential packages corresponding to the new versions of the application program on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages.
In the embodiment of the application, the differential packages can be uploaded and updated on the preset application platform in batches in a multiple asynchronous callback mode, so that the time consumed by the process of uploading the new version of the application program on the preset application platform is shortened, meanwhile, the differential packages can be further conveniently and efficiently acquired and updated in the follow-up process, and the user experience of the client equipment is improved.
In some embodiments, after obtaining the target installation package of the application program, obtaining historical installation proportions of respective historical version installation packages of the application program with respect to a total installation amount of the application program includes:
after a target installation package of an application program is obtained through a preset application program interface, transmitting the target installation package to a preset task management module;
and acquiring historical installation proportions of each historical version installation package of the application program relative to the total installation quantity of the application program through the preset task management module.
In the prior art, a task flow to be executed by installing the application program on a preset application platform may include the steps of auditing the target installation package, testing the target installation package, distributing the target installation package, generating differential packages, uploading the target installation package, and performing Content Delivery Network (CDN) prefetching, and the like, where multiple steps are required to be sequentially executed, and where multiple steps relate to multiple versions of the application program, multiple version iterations are required, and each version iteration requires an adaptation operation, which results in an excessively high development and maintenance cost.
In the embodiment of the present Application, after acquiring corresponding resources, that is, after acquiring a target installation package of an Application program, through a preset Application Programming Interface (API), the target installation package of the Application program may be transmitted to a preset task management module, so that the target installation package is uniformly scheduled through the preset task management module, for example, a differential package may be acquired according to the target installation package, and operations such as file distribution, file upload, CDN prefetch and the like may be performed. The preset application program interface may include, for example, a resource application program interface or an application program interface related to a specific service.
In some embodiments, the preset task management module may be configured to process at least two of a differential packaging task, a file distribution task, a target installation package auditing task, a target installation package testing task, a file uploading task, and a content distribution network prefetching task in parallel, where the differential packaging task includes a step of obtaining a historical installation proportion of each historical version installation package of the application program with respect to a total installation amount of the application program, and a subsequent step.
In the prior art, a plurality of tasks in the above tasks are often executed sequentially, for example, in the existing tasks, tasks such as a target installation package audit task, a target installation package test task, and a differential package task are executed sequentially, so that corresponding processes are too long in time consumption, and a new version of an application program cannot be installed on the preset application platform as soon as possible.
In the embodiment of the application, the task management module can be used for processing a plurality of tasks in parallel, so that the processing efficiency is improved, and the processing time is reduced. The tasks can be decoupled in advance, so that the internal modification of the corresponding task does not cause the modification of other tasks, and the parallel processing of the tasks is realized.
In some embodiments, before transmitting the target installation package to the preset task management module, the method further includes:
and decoupling at least two of the differential packet task, the file distribution task, the target installation packet auditing task, the target installation packet testing task, the file uploading task and the content distribution network pre-fetching task.
In the embodiment of the application, through the decoupling processing, the internal change of each task can not cause the change of each associated task and other calling parties, and meanwhile, the decoupling between each task and the preset API can be realized, so that the development cost is reduced. Each task can be obtained by dividing and integrating in advance according to the characteristics of the related tasks and the like.
The following specific example illustrates an exemplary system framework corresponding to embodiments of the present application.
Fig. 2 is a schematic diagram of an exemplary system framework according to an embodiment of the present application. Among other things, a preset application program interface may be included. The preset application program interface may obtain a target installation package of the application program from a resource provider. The preset application program interface acquires a target installation package of the application program and can transmit the target installation package to a preset task management module. The preset application management module can uniformly schedule each task, so that a plurality of tasks can be processed in parallel according to actual requirements, for example, a differential packet task, a file distribution task, a file uploading task, a CDN prefetching task, a target installation package auditing task, a target installation package testing task and the like can be processed in parallel. It should be noted that the above tasks may be performed according to actual requirements, and need not be performed simultaneously and in parallel each time.
In the embodiment of the application, after the target installation package of the application program is obtained, the historical installation proportion of each historical version installation package of the application program relative to the total installation quantity of the application program is obtained, and according to the size of the historical installation proportion, obtaining the differential package of each historical version installation package relative to the target installation package in turn, the differential packet covering more users can be acquired as quickly as possible based on the current use condition of the application program by the user, and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, the new version of the application program is added on the preset application platform, thereby ensuring the coverage rate of the differential packet, meanwhile, the efficiency of the processing flow of the preset application platform is improved, and the experience of the user and the developer of the preset application platform is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 shows a block diagram of an information processing apparatus provided in an embodiment of the present application, corresponding to the information processing method described in the above embodiment, and only the relevant parts of the embodiment of the present application are shown for convenience of description.
Referring to fig. 3, the information processing apparatus 3 includes:
an obtaining module 301, configured to obtain, after obtaining a target installation package of an application program, historical installation proportions of each historical version installation package of the application program with respect to a total installation amount of the application program;
a difference module 302, configured to sequentially obtain, according to the size of the historical installation proportion, difference packages of the historical version installation packages relative to the target installation package;
the processing module 303 is configured to, if a sum of historical installation proportions of historical version installation packages corresponding to the obtained differential package is greater than a first preset proportion, add a new version of the application program on a preset application platform based on the target installation package and the obtained differential package, where the new version is a version corresponding to the target installation package.
Optionally, the processing module 303 is specifically configured to:
and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than a first preset proportion in an asynchronous callback mode, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages.
Optionally, the obtaining module 301 specifically includes:
the transmission unit is used for transmitting a target installation package of an application program to a preset task management module after the target installation package of the application program is acquired through a preset application program interface;
and the acquisition unit is used for acquiring the historical installation proportion of each historical version installation package of the application program relative to the total installation amount of the application program through the preset task management module.
Optionally, the preset task management module may be configured to process at least two of a differential package task, a file distribution task, a target installation package audit task, a target installation package test task, a file upload task, and a content distribution network pre-fetch task in parallel, where the differential package task includes a step of obtaining a historical installation ratio of each historical version installation package of the application program with respect to a total installation amount of the application program, and a subsequent step.
Optionally, the information processing apparatus 3 further includes:
and the decoupling module is used for decoupling at least two of the differential package task, the file distribution task, the target installation package auditing task, the target installation package testing task, the file uploading task and the content distribution network pre-fetching task.
Optionally, the information processing apparatus 3 further includes:
the second obtaining module is used for sequentially obtaining the differential packages of the residual historical version installation packages relative to the target installation package according to the size of the historical installation proportion, wherein the residual historical version installation packages are the historical version installation packages which are not obtained corresponding differential packages;
and the updating module is used for updating the differential packages corresponding to the new versions of the application programs on a preset application platform when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is detected to be larger than any second preset proportion every time, until the preset application platform contains the differential packages corresponding to all the historical version installation packages, wherein any second preset proportion is larger than the first preset proportion.
Optionally, the update module is specifically configured to:
and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than any second preset proportion through an asynchronous callback mode every time, updating the differential packages corresponding to the new versions of the application program on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages.
In the embodiment of the application, after the target installation package of the application program is obtained, the historical installation proportion of each historical version installation package of the application program relative to the total installation quantity of the application program is obtained, and according to the size of the historical installation proportion, obtaining the differential package of each historical version installation package relative to the target installation package in turn, the differential packet covering more users can be acquired as quickly as possible based on the current use condition of the application program by the user, and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, the new version of the application program is added on the preset application platform, thereby ensuring the coverage rate of the differential packet, meanwhile, the efficiency of the processing flow of the preset application platform is improved, and the experience of the user and the developer of the preset application platform is improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: at least one processor 40 (only one is shown in fig. 4), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the steps in any of the information processing method embodiments described above are implemented when the computer program 42 is executed by the processor 40.
The terminal device 4 may be a server, a mobile phone, a wearable device, an Augmented Reality (AR)/Virtual Reality (VR) device, a desktop computer, a notebook, a desktop computer, a palmtop computer, or other computing devices. The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 4, and does not constitute a limitation of the terminal device 4, and may include more or less components than those shown, or combine some of the components, or different components, such as may also include input devices, output devices, network access devices, etc. The input device may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of a fingerprint), a microphone, a camera, and the like, and the output device may include a display, a speaker, and the like.
The Processor 40 may be a Central Processing Unit (CPU), and the Processor 40 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) 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 be any conventional processor or the like.
The storage 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. In other embodiments, the memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the terminal device 4. Further, the memory 41 may include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer programs. The above-mentioned memory 41 may also be used to temporarily store data that has been output or is to be output.
In addition, although not shown, the terminal device 4 may further include a network connection module, such as a bluetooth module Wi-Fi module, a cellular network module, and the like, which is not described herein again.
In this embodiment, when the processor 40 executes the computer program 42 to implement the steps in any of the above information processing method embodiments, after obtaining a target installation package of an application program, obtaining historical installation proportions of each historical version installation package of the application program with respect to a total installation amount of the application program, and sequentially obtaining differential packages of each historical version installation package with respect to the target installation package according to the size of the historical installation proportions, differential packages covering a large number of users can be obtained as quickly as possible based on a current use condition of the application program by the user, and when a sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is greater than a first preset proportion, a new version of the application program is added on a preset application platform, so as to ensure a coverage rate of the differential packages, meanwhile, the efficiency of the processing flow of the preset application platform is improved, and the experience of the user and the developer of the preset application platform is improved.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above method embodiments.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the above modules or units is only one logical function division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. An information processing method characterized by comprising:
after a target installation package of an application program is obtained, obtaining historical installation proportions of various historical version installation packages of the application program relative to the total installation quantity of the application program respectively;
according to the size of the historical installation proportion, obtaining differential packages of the historical version installation packages relative to the target installation package in sequence;
and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is larger than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages, wherein the new version is the version corresponding to the target installation package.
2. The information processing method according to claim 1, wherein if a sum of historical installation proportions of historical version installation packages corresponding to the obtained differential package is greater than a first preset proportion, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential package comprises:
and if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than a first preset proportion in an asynchronous callback mode, adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential packages.
3. The information processing method according to claim 1, wherein the obtaining of the historical installation proportion of each historical version installation package of the application program relative to the total installation amount of the application program after obtaining the target installation package of the application program comprises:
after a target installation package of an application program is obtained through a preset application program interface, transmitting the target installation package to a preset task management module;
and acquiring historical installation proportions of each historical version installation package of the application program relative to the total installation quantity of the application program through the preset task management module.
4. The information processing method according to claim 3, wherein the predetermined task management module is capable of processing at least two of a differential packaging task, a file distribution task, a target installation package audit task, a target installation package test task, a file upload task, and a content distribution network pre-fetch task in parallel, wherein the differential packaging task includes a step of obtaining a historical installation proportion of each historical version installation package of the application program with respect to a total installation amount of the application program and a subsequent step.
5. The information processing method according to claim 4, before transmitting the target installation package to a preset task management module, further comprising:
and decoupling at least two of the differential packet task, the file distribution task, the target installation packet auditing task, the target installation packet testing task, the file uploading task and the content distribution network pre-fetching task.
6. The information processing method according to any one of claims 1 to 5, wherein if a sum of historical installation proportions of historical version installation packages corresponding to the obtained differential package is greater than a first preset proportion, based on the target installation package and the obtained differential package, after a new version of the application program is added to a preset application platform, the method further comprises:
according to the size of the historical installation proportion, sequentially obtaining a differential package of each residual historical version installation package relative to the target installation package, wherein the residual historical version installation package is a historical version installation package which does not obtain a corresponding differential package;
and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is detected to be larger than any second preset proportion, updating the differential packages corresponding to the new versions of the application programs on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages, wherein any second preset proportion is larger than the first preset proportion.
7. The information processing method according to claim 6, wherein, each time it is detected that the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential package is greater than any second preset proportion, the step of updating the differential package corresponding to the new version of the application program on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages comprises:
and when the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential packages is determined to be larger than any second preset proportion through an asynchronous callback mode every time, updating the differential packages corresponding to the new versions of the application program on a preset application platform until the preset application platform contains the differential packages corresponding to all the historical version installation packages.
8. An information processing apparatus characterized by comprising:
the acquisition module is used for acquiring historical installation proportions of various historical version installation packages of the application program relative to the total installation quantity of the application program after acquiring a target installation package of the application program;
the difference module is used for sequentially obtaining the difference packages of the historical version installation packages relative to the target installation package according to the size of the historical installation proportion;
and the processing module is used for adding a new version of the application program on a preset application platform based on the target installation package and the obtained differential package if the sum of the historical installation proportions of the historical version installation packages corresponding to the obtained differential package is larger than a first preset proportion, wherein the new version is the version corresponding to the target installation package.
9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the information processing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the information processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010064952.5A CN111273939B (en) | 2020-01-20 | 2020-01-20 | Information processing method, information processing device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010064952.5A CN111273939B (en) | 2020-01-20 | 2020-01-20 | Information processing method, information processing device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111273939A true CN111273939A (en) | 2020-06-12 |
CN111273939B CN111273939B (en) | 2023-11-10 |
Family
ID=70999014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010064952.5A Active CN111273939B (en) | 2020-01-20 | 2020-01-20 | Information processing method, information processing device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111273939B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113485742A (en) * | 2021-07-28 | 2021-10-08 | 中国工商银行股份有限公司 | Host application version registration method and device |
CN114338531A (en) * | 2021-12-22 | 2022-04-12 | 广东明创软件科技有限公司 | Flow control method, device and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929672A (en) * | 2012-10-31 | 2013-02-13 | 北京奇虎科技有限公司 | Application upgrade system and method |
CN103095838A (en) * | 2013-01-16 | 2013-05-08 | 福州博远无线网络科技有限公司 | Method for upgrading Android smartphone software through downloading incremental upgrade package |
CN103428188A (en) * | 2012-05-25 | 2013-12-04 | 北京小米科技有限责任公司 | Method and apparatus for file updating, and associated equipment |
CN103973475A (en) * | 2013-02-05 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Difference service pack generating method, difference service pack downloading method, server and client-side |
CN105763369A (en) * | 2016-02-04 | 2016-07-13 | 湖南长城信息金融设备有限责任公司 | Terminal equipment remote software version distribution method and system |
CN106970812A (en) * | 2017-03-31 | 2017-07-21 | 广东欧珀移动通信有限公司 | upgrade file processing, device and terminal |
CN106982250A (en) * | 2017-03-03 | 2017-07-25 | 北京小米移动软件有限公司 | Information-pushing method and device |
CN107948239A (en) * | 2017-10-16 | 2018-04-20 | 大唐网络有限公司 | Version upgrading method and its system based on android system |
CN109089259A (en) * | 2018-08-03 | 2018-12-25 | 上海艾拉比智能科技有限公司 | A kind of online difference upgrade-system |
US20190155598A1 (en) * | 2017-11-17 | 2019-05-23 | Apple Inc. | Techniques for updating a file using a multi-version patch file |
CN110262827A (en) * | 2019-05-20 | 2019-09-20 | 北京三快在线科技有限公司 | Method, apparatus, storage medium and the electronic equipment of incremental update |
-
2020
- 2020-01-20 CN CN202010064952.5A patent/CN111273939B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103428188A (en) * | 2012-05-25 | 2013-12-04 | 北京小米科技有限责任公司 | Method and apparatus for file updating, and associated equipment |
CN102929672A (en) * | 2012-10-31 | 2013-02-13 | 北京奇虎科技有限公司 | Application upgrade system and method |
CN103095838A (en) * | 2013-01-16 | 2013-05-08 | 福州博远无线网络科技有限公司 | Method for upgrading Android smartphone software through downloading incremental upgrade package |
CN103973475A (en) * | 2013-02-05 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Difference service pack generating method, difference service pack downloading method, server and client-side |
CN105763369A (en) * | 2016-02-04 | 2016-07-13 | 湖南长城信息金融设备有限责任公司 | Terminal equipment remote software version distribution method and system |
CN106982250A (en) * | 2017-03-03 | 2017-07-25 | 北京小米移动软件有限公司 | Information-pushing method and device |
CN106970812A (en) * | 2017-03-31 | 2017-07-21 | 广东欧珀移动通信有限公司 | upgrade file processing, device and terminal |
CN107948239A (en) * | 2017-10-16 | 2018-04-20 | 大唐网络有限公司 | Version upgrading method and its system based on android system |
US20190155598A1 (en) * | 2017-11-17 | 2019-05-23 | Apple Inc. | Techniques for updating a file using a multi-version patch file |
CN109089259A (en) * | 2018-08-03 | 2018-12-25 | 上海艾拉比智能科技有限公司 | A kind of online difference upgrade-system |
CN110262827A (en) * | 2019-05-20 | 2019-09-20 | 北京三快在线科技有限公司 | Method, apparatus, storage medium and the electronic equipment of incremental update |
Non-Patent Citations (4)
Title |
---|
C. TUCKER等: "OPIUM: Optimal Package Install/Uninstall Manager", 《29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE\'07)》, pages 178 - 188 * |
FENGYE82518: "Android关于如何编译 OTA 包以及如何制作 OTA 差分包", pages 1 - 4, Retrieved from the Internet <URL:《https://blog.csdn.net/ranyi1/article/details/78216103》> * |
ROBERT_CHAO: "Android差分升级原理和实现方式", pages 1 - 5, Retrieved from the Internet <URL:《https://blog.csdn.net/robertcpp/article/details/51730021》> * |
张开国: "变电站移动终端安全管理平台的设计与实现", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》, no. 04, pages 042 - 963 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113485742A (en) * | 2021-07-28 | 2021-10-08 | 中国工商银行股份有限公司 | Host application version registration method and device |
CN114338531A (en) * | 2021-12-22 | 2022-04-12 | 广东明创软件科技有限公司 | Flow control method, device and storage medium |
CN114338531B (en) * | 2021-12-22 | 2024-04-05 | 广东明创软件科技有限公司 | Flow control method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111273939B (en) | 2023-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108182111B (en) | Task scheduling system, method and device | |
US8849242B2 (en) | System and method for charging for directed provisioning of user applications on limited-resource devices | |
CN111400061A (en) | Data processing method and system | |
US11157318B2 (en) | Optimizing timeouts and polling intervals | |
GB2589658A (en) | Method and apparatus for running an applet | |
CN113377348A (en) | Task adjustment method applied to task engine, related device and storage medium | |
CN111615716A (en) | Allocating shaders among client machines for pre-caching | |
CN111638983A (en) | Interface calling method, interface calling device and terminal equipment | |
CN111273939B (en) | Information processing method, information processing device and terminal equipment | |
CN111209060A (en) | Capability development platform processing method and device | |
CN114465998A (en) | Multi-device file transmission method and device, terminal device and readable storage medium | |
CN112463729A (en) | Data file storage method and device, electronic equipment and medium | |
CN112631649A (en) | Intelligent contract management method, device, terminal equipment and medium | |
CN115965474A (en) | Service processing method, device, equipment and storage medium | |
CN109857374B (en) | Development method and device of mobile application | |
CN114327710A (en) | Function management method, management device, terminal equipment and readable storage medium | |
CN117787826A (en) | Article distribution method, apparatus, electronic device, and computer-readable medium | |
CN114303131B (en) | File processing method, file processing device and terminal equipment | |
CN106528192A (en) | Service logic updating method and device | |
CN111124523A (en) | Method and apparatus for initializing applications | |
CN113760315A (en) | Method and device for testing system | |
CN111367634A (en) | Information processing method, information processing device and terminal equipment | |
CN113765983A (en) | Site service deployment method and device | |
CN113760487A (en) | Service processing method and device | |
CN116382796B (en) | Plug-in management method and device of H5 applet runner and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |