Terminal pre-installed application activation management method, device, electronic device and storage medium
By storing and modifying the application package version number in the terminal, the accuracy of terminal preset application activation management is solved, debt disputes between third-party manufacturers are avoided, and the accuracy of reconciliation revenue is achieved.
Patent Information
- Application Number
- CN202011299714.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-18
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-11-18
AI Technical Summary
The existing technology cannot accurately evaluate the use of terminal preset applications, resulting in debt disputes between third-party Internet application manufacturers and terminal manufacturers during application promotion.
By storing recorded data in the terminal, including the initial version number and activation status of the preset application, activate the application after obtaining the activation command, modify the application package version number to make it consistent with the initial version number, and update the record data to reflect the activation status .
Ensure the accuracy of reconciliation revenue data, avoid debt disputes, and ensure the accuracy of activation statistics.
Smart Images

Figure CN112416423B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal application technology, and in particular to a method, device, electronic device and storage medium for managing activation of terminal pre-installed applications. Background Art
[0002] Pre-installed applications refer to third-party applications that are pre-installed in the terminal when it leaves the factory, such as Weibo, Douyin, etc. By pre-installing applications in the terminal, terminal manufacturers and third-party Internet application manufacturers cooperate with each other to promote applications.
[0003] In the past, third-party Internet application manufacturers and terminal manufacturers mainly used application installation volume and terminal sales volume for statistics during the application promotion process. However, in reality, neither application installation volume nor terminal sales volume can truly reflect the user's use of pre-installed applications, and it is impossible to evaluate the promotion effect. Therefore, using application installation volume or terminal sales volume for statistics is prone to debt disputes. At present, some experts point out that the activation volume of pre-installed applications should be used for statistics to complete the reconciliation of revenue. However, how to manage the activation of terminal pre-installed applications to ensure accurate activation volume statistics is a problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a terminal pre-installed application activation management method, device, electronic device and storage medium.
[0005] In a first aspect, the present disclosure provides a method for managing activation of a terminal pre-installed application, wherein at least one record data is stored in the terminal, each record data corresponds to a pre-installed application, and the record data includes an initial version number and an activation status of the pre-installed application; before the pre-installed application is activated, the version number of the pre-installed application package is tampered with, and after the tampering, the version number of the pre-installed application package is greater than the initial version number of the pre-installed application;
[0006] The terminal pre-installed application activation management method includes:
[0007] Get the preset application activation instruction;
[0008] activating the preset application based on the preset application activation instruction;
[0009] Based on the recorded data corresponding to the activated preset application, modifying the preset application package version number to make it consistent with the initial version number;
[0010] The record data corresponding to the activated preset application is updated so that the activation state is activated.
[0011] Furthermore, before the terminal is powered on for the first time, the version number of the preset application package is an initial version number;
[0012] Before obtaining the preset application activation instruction, the method further includes:
[0013] After the terminal is powered on, if there is a pre-installed application in the terminal that is not activated and whose program package version number has not been tampered with, the version number of the pre-installed application package installed in the terminal that is not activated and whose program package version number has not been tampered with is tampered with.
[0014] Furthermore, the terminal pre-stores a list of preset applications;
[0015] If there is a pre-installed application that is not activated and whose package version number has not been tampered with in the current terminal; before tampering with the package version number of the pre-installed application program that is not activated and whose package version number has not been tampered with installed in the terminal, it also includes:
[0016] Based on the preset application list and the record data, it is determined whether there is a preset application in the terminal that is not activated and whose program package version number has not been tampered with.
[0017] Furthermore, the method further includes: if a preset application upgrade instruction is obtained and the version number of the current preset application package is smaller than the version number of the preset application in the upgrade instruction, upgrading the preset application;
[0018] If a preset application upgrade instruction is obtained, and the version number of the current preset application program package is greater than the version number of the preset application in the upgrade instruction, upgrading the preset application is prohibited.
[0019] Furthermore, it also includes:
[0020] If a preset application uninstall instruction is obtained, determine whether the preset application is currently activated;
[0021] If the currently installed application is not activated, uninstalling the installed application is prohibited.
[0022] Furthermore, it also includes:
[0023] If the preset application is currently activated, uninstall the preset application.
[0024] Furthermore, after uninstalling the preset application, the method further includes:
[0025] updating the record data corresponding to the uninstalled preset application so that the activation state is activated; or,
[0026] The recorded data corresponding to the uninstalled preset application is deleted.
[0027] In a second aspect, the present disclosure further provides a terminal pre-installed application activation management device, wherein at least one record data is stored in the terminal, each record data corresponds to a pre-installed application, and the record data includes an initial version number and an activation status of the pre-installed application; before the pre-installed application is activated, the version number of the pre-installed application package is tampered with, and after the tampering, the version number of the pre-installed application package is greater than the initial version number of the pre-installed application;
[0028] The terminal preset application activation management device comprises:
[0029] An activation instruction acquisition module is used to acquire a preset application activation instruction;
[0030] An activation module, configured to activate the preset application based on the preset application activation instruction;
[0031] A version number modification module, configured to modify the version number of the preset application package to make it consistent with the initial version number based on the record data corresponding to the activated preset application;
[0032] The record data updating module is used to update the record data corresponding to the activated preset application so that the activation state is activated.
[0033] In a third aspect, the present disclosure further provides an electronic device, including: a processor and a memory;
[0034] The processor is used to execute the steps of any of the above methods by calling the program or instruction stored in the memory.
[0035] In a fourth aspect, the present disclosure further provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of any of the above methods.
[0036] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0037] The technical solution provided by the embodiment of the present disclosure completes the management of the activation of preset applications with the help of recorded data, which can ensure the accuracy of the reconciliation revenue data, ensure the accuracy of subsequent activation statistics, and avoid debt disputes between third-party Internet application manufacturers and terminal manufacturers during the reconciliation revenue process. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A flowchart of a method for managing activation of pre-installed applications on a terminal provided by an embodiment of the present disclosure;
[0041] Figure 2 A schematic diagram of a method for managing activation of pre-installed applications on a terminal provided by an embodiment of the present disclosure;
[0042] Figure 3 A flowchart of another terminal pre-installed application activation management method provided by an embodiment of the present disclosure;
[0043] Figure 4 A structural block diagram of a terminal pre-installed application activation management device provided in an embodiment of the present disclosure;
[0044] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0045] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0046] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0047] Figure 1 A flowchart of a method for managing activation of pre-installed applications on a terminal provided by an embodiment of the present disclosure. Figure 2 A schematic diagram of a method for managing activation of terminal pre-installed applications provided in an embodiment of the present disclosure. The terminal stores at least one record data, each record data corresponds to a pre-installed application, and the record data includes the initial version number and activation status of the pre-installed application; before the pre-installed application is activated, the version number of the pre-installed application package is tampered with, and after the tampering, the version number of the pre-installed application package is greater than the initial version number of the pre-installed application.
[0048] In practice, each application has a version number, and the same application may have multiple versions, which can be distinguished by the version number. The upgrade or downgrade of the preset application is identified by the version number.
[0049] In practice, the development and evolution of an application is a long process, often lasting many years. As the application develops and evolves, its version number continues to increase. Therefore, in this application, the version number of version B is less than the version number of version A, or the version number of version A is greater than the version number of version B, which means that A is developed after B. Version A is a perfect improvement based on version B.
[0050] It should be noted that the version number of an application has two forms: one is versionCode, which is usually expressed in pure digital form, invisible to consumers, and is only used to identify versions in the application market and within the program. It can be used for logical comparisons, such as judging new and old versions; the other is versionName, which is used to display to consumers. Consumers will use it to recognize the version they have installed without the need for logical comparisons.
[0051] Optionally, in this application, the version number mentioned is versionCode. As the application is developed and evolved, the value of versionCode will continue to increase. By setting the version number mentioned in this application as versionCode, the size of different version numbers can be directly compared by using the value of versionCode.
[0052] In the present disclosure, three types of version numbers are involved, specifically, the initial version number in the record data, the preset application package version number, and the actual application version number.
[0053] The initial version number in the recorded data refers to the version number of the pre-installed application installed in the terminal when it leaves the factory. In practice, when reconciling revenue, Internet application manufacturers usually focus on whether the pre-installed application of the version installed at the factory on the terminal is activated. Only when the pre-installed application of this version is activated can it be truly shown that the promotion is effective.
[0054] The actual version number of the preset application refers to the version number determined by the developer for the application during the development process. For example, the developer determines the version number for a certain application installation package as V22. When the terminal installs the application based on the application installation package of V22, the version number of the application is V22.
[0055] The preset application package version number refers to the version number currently marked for the preset application package in the terminal. In practice, the preset application package version number is not necessarily the actual version number of the application. Exemplarily, before the preset application is activated, because the preset application package version number is tampered with, the preset application package version number is not equal to the actual version number of the preset application (at this time, the actual version number of the preset application is equal to the initial version number of the preset application). After the preset application is activated, and the preset application is not upgraded or downgraded, the preset application package version number is equal to the actual version number of the preset application (at this time, the actual version number of the preset application is equal to the initial version of the preset application). After the preset application is activated and undergoes an upgrade or downgrade operation, the preset application package version number is equal to the actual version of the preset application (at this time, the actual version number of the preset application is not equal to the initial version number of the preset application).
[0056] See also Figure 1 and Figure 2 , a terminal pre-installed application activation management method includes:
[0057] S110: Obtain a preset application activation instruction.
[0058] The preset application activation instruction refers to an instruction used to instruct the terminal to activate a preset application.
[0059] Optionally, there are multiple methods for a user to trigger a terminal to generate a preset application activation instruction. Exemplarily, when an icon for entering a preset application is triggered, the terminal generates a preset application activation instruction.
[0060] Optionally, the terminal is triggered to generate a preset application activation instruction only when it is sensed that the user clicks on the icon for entering the preset application from the desktop. The purpose of emphasizing "clicking from the desktop" here is that usually in this situation, it means that the user actively opens the preset application and uses it. This shows that the user has the intention to actively understand the preset application, and further shows that the promotion is effective. Here, "click" can specifically be click, double-click, long press or drag, etc.
[0061] Optionally, the user searches for keywords in the search bar to obtain an icon or other entry mark of a preset application, and when clicking the icon or other entry mark, the terminal is triggered to generate an activation instruction for the preset application.
[0062] S120: Activate a preset application based on the preset application activation instruction.
[0063] S130: Based on the record data corresponding to the activated preset application, modify the version number of the preset application package to make it consistent with the initial version number.
[0064] As mentioned before, in practice, during the process of reconciling revenue, Internet application manufacturers usually focus on whether the version of the pre-installed application installed when the terminal leaves the factory is activated. Only when this version of the pre-installed application is activated can it be truly shown that the promotion is effective. Before the pre-installed application is activated, the current version number is inconsistent with the actual version number of the pre-installed application (i.e., the initial version number) due to being tampered with. The purpose of its tampering is to restrict users from upgrading, downgrading, and other operations on the pre-installed application before activation. Because if the user first upgrades (or downgrades) the unactivated pre-installed application, and then activates the upgraded (or downgraded) version, the Internet manufacturer will determine that the promotion is invalid, which will affect the accuracy of the reconciliation revenue data.
[0065] After the preset application is activated, the current version number is modified to be consistent with the initial version number. After the modification, the user will be allowed to upgrade, downgrade, etc. the preset application to ensure that the user's interests are not harmed.
[0066] S140: Update the record data corresponding to the activated preset application to make the activation state activated.
[0067] Here, updating the activation status in the record data is helpful for managing the preset applications, for example, to facilitate subsequent determination of whether to allow the preset application to be deleted based on the activation status.
[0068] The essence of the above technical solution is to manage the activation of preset applications with the help of recorded data, which can ensure the accuracy of the reconciliation revenue data, ensure the accuracy of subsequent activation statistics, and avoid debt disputes between third-party Internet application manufacturers and terminal manufacturers during the reconciliation revenue process.
[0069] On the basis of the above technical solution, optionally, the recorded data is stored in the system partition of the terminal. Optionally, if the terminal includes multiple preset applications, the recorded data corresponding to the multiple preset applications can be organized into one file for unified management.
[0070] Figure 3 A flowchart of another terminal pre-installed application activation management method provided by an embodiment of the present disclosure. Figure 3 for Figure 1 See Figure 3 Optionally, the terminal preset application activation management method includes:
[0071] S210: After the terminal is powered on, if there are pre-installed applications in the current terminal that are not activated and whose package version numbers have not been tampered with, the package version numbers of all pre-installed application programs installed in the terminal are tampered with.
[0072] There are many ways to implement this step. For example, when the terminal leaves the factory, the terminal stores the record data corresponding to each preset application, and the activation status in the record data is "not activated". When executing this step, by reading the activation status in each record data and comparing the preset application package version number with the initial version number in the record data, it is determined whether there is a preset application in the current terminal that is not activated and whose package version number has not been tampered with. If so, the package version number of the preset application that is not activated and whose package version number has not been tampered with is tampered with.
[0073] Or, optionally, the terminal pre-stores a preset application list; before executing this step, based on the preset application list and the recorded data, it is determined whether there is any preset application in the current terminal that is not activated and whose package version number has not been tampered with.
[0074] Specifically, it can be set that when leaving the factory, the terminal pre-stores a list of preset applications, but does not store record data corresponding to the preset applications. When the terminal is turned on for the first time after leaving the factory, the version number of the preset application package is the initial version number. After the first startup, based on the preset application list, all preset applications installed on the terminal and whose names are in the preset application list are determined to be inactivated and whose package version numbers have not been tampered with. The initial version numbers of these preset applications can be obtained later; and based on the initial version number, the record data corresponding to each preset application is generated, and the activation status in the record data is set to "inactivated".
[0075] When the terminal is powered on for the Nth time (N≥2, and N is a positive integer), based on the preset application list and the generated record data, determine whether there are preset applications that are not activated and whose package version numbers have not been tampered with. The reason for this setting is that in practice, a preset application may be deleted without being activated, and then reinstalled by restoring the factory settings. In this case, it is also necessary to tamper with the version number of the reinstalled pre-installed application package to ensure the accuracy of the reconciliation revenue data.
[0076] Optionally, "tampering with the version numbers of all pre-installed application packages installed in the terminal" can be set to set the version number of the pre-installed application package to be greater than the maximum value of the version that may be developed within the preset time length from the time the terminal leaves the factory. For example. If a certain mobile phone is currently launched in 2020, assuming that the preset time length is 10 years, it is estimated that within these 10 years, the version number of a certain pre-installed application package is 2035876. When not activated, the version number of the pre-installed application package is tampered with to 2147483647 (greater than 2035876).
[0077] Optionally, in practice, if multiple pre-installed applications are installed in the terminal, the tampered version numbers of the multiple pre-installed applications can be set to be the same, or the tampered version numbers of the multiple pre-installed applications can be set to be different, which is not limited in this application.
[0078] Optionally, in practice, the version number used during tampering may be stored by recording data, or may not be stored in a file, but may be generated in a timely manner according to a preset algorithm, or may be pre-specified, and this application does not impose any restrictions on this.
[0079] S220: Obtain a preset application activation instruction.
[0080] S230: Activate the preset application based on the preset application activation instruction.
[0081] S240: Based on the record data corresponding to the activated preset application, modify the version number of the preset application package to make it consistent with the initial version number.
[0082] S250: Update the record data corresponding to the activated preset application to make the activation state activated.
[0083] The above technical scheme can further improve the management of activation of pre-installed applications, avoid the problem of poor management effect of activation of pre-installed applications caused by untimely tampering of version numbers of pre-installed application packages, further ensure the accuracy of user reconciliation revenue data, ensure the accuracy of subsequent activation statistics, and avoid debt disputes between third-party Internet application manufacturers and terminal manufacturers during the revenue reconciliation process.
[0084] On the basis of the above technical solution, optionally, if a preset application upgrade instruction is obtained, and the version number of the current preset application package is less than the version number of the preset application in the upgrade instruction; the preset application is upgraded. If a preset application upgrade instruction is obtained, and the version number of the current preset application package is greater than the version number of the preset application in the upgrade instruction, the upgrade of the preset application is prohibited. Because the version number of the preset application is tampered with to a larger value before activation. When setting this value, the maximum version number that may appear in the preset application is fully considered. The final setting result is that the value is greater than the maximum version number that may appear in the preset application. This makes it impossible to upgrade the preset application during actual use if the preset application is not activated and the version number of the current preset application package is greater than the version number of the preset application in the upgrade instruction. If the preset application is activated, the version number of the current preset application package is modified to its initial version number (smaller version number) is less than the version number of the preset application in the upgrade instruction, and the upgrade of the preset application is allowed. Therefore, such a setting can effectively limit the upgrade of the preset application before it is activated.
[0085] On the basis of the above technical solution, optionally, the size of the version number of the current preset application package and the version number of the preset application in the upgrade instruction can be judged by using the installation function.
[0086] On the basis of the above technical solution, optionally, it further includes: if a preset application downgrade instruction is obtained, determining whether the current preset application is activated; if the current preset application is not activated, prohibiting the preset application from downgrading. If the current preset application is activated, allowing the preset application to downgrade. The essence of such a setting is to restrict the downgrade of the preset application when the preset application is not activated. This can further protect the interests of terminal manufacturers.
[0087] On the basis of the above technical solution, optionally, it further includes: if a preset application uninstall instruction is obtained, determining whether the current preset application is activated; if the current preset application is not activated, prohibiting the preset application from being uninstalled. If the current preset application is activated, uninstalling the preset application. The essence of such a setting is to restrict the uninstallation of the preset application when the preset application is not activated. This can further protect the interests of terminal manufacturers.
[0088] It should be noted that, in practice, it can also be set that the pre-installed application is allowed to be uninstalled regardless of whether the pre-installed application is activated.
[0089] Optionally, based on the above technical solution, after uninstalling the pre-installed application, the method further includes: updating the record data corresponding to the uninstalled pre-installed application so that the activation state is activated; or deleting the record data corresponding to the uninstalled pre-installed application. This can prevent the user from being unable to install or use other versions of the same application after uninstalling.
[0090] The disclosed embodiment also provides a terminal pre-installed application activation management device. Figure 4 A block diagram of a terminal pre-installed application activation management device provided by an embodiment of the present disclosure. The terminal stores at least one record data, each record data corresponds to a pre-installed application, and the record data includes the initial version number and activation status of the pre-installed application; before the pre-installed application is activated, the version number of the pre-installed application package is tampered with, and after the tampering, the version number of the pre-installed application package is greater than the initial version number of the pre-installed application. Figure 4 , the terminal preset application activation management device comprises:
[0091] An activation instruction acquisition module 310 is used to acquire a preset application activation instruction;
[0092] An activation module 320, configured to activate the preset application based on the preset application activation instruction;
[0093] A version number modifying module 330, configured to modify the version number of the preset application package to make it consistent with the initial version number based on the record data corresponding to the activated preset application;
[0094] The record data updating module 340 is used to update the record data corresponding to the activated preset application so that the activation state is activated.
[0095] Furthermore, before the terminal is powered on for the first time, the version number of the preset application package is an initial version number;
[0096] The terminal preset application activation management device further includes a tampering module, which is used to:
[0097] Before obtaining the preset application activation instruction, after the terminal is turned on, if there is a preset application that is not activated and whose package version number has not been tampered with in the terminal; the version number of the preset application package that is not activated and whose package version number has not been tampered with installed in the terminal is tampered with.
[0098] Furthermore, when shipped from the factory, the terminal has a list of preset applications pre-stored therein;
[0099] The terminal pre-installed application activation management device also includes a judgment module, which is used to: if there is a pre-installed application that is not activated and the package version number of which has not been tampered with in the terminal; before tampering with the package version number of the pre-installed application program that is not activated and the package version number of which has not been tampered with installed in the terminal, based on the pre-installed application list and the recorded data, judge whether there is a pre-installed application that is not activated and the package version number of which has not been tampered with in the terminal.
[0100] Furthermore, the terminal pre-installed application activation management device also includes an upgrade module, which is used to:
[0101] If a preset application upgrade instruction is obtained, and the version number of the current preset application program package is smaller than the version number of the preset application in the upgrade instruction, the preset application is upgraded;
[0102] If a preset application upgrade instruction is obtained, and the version number of the current preset application program package is greater than the version number of the preset application in the upgrade instruction, upgrading the preset application is prohibited.
[0103] Furthermore, the terminal pre-installed application activation management device also includes an uninstallation module, which is used to:
[0104] If a preset application uninstall instruction is obtained, determine whether the preset application is currently activated;
[0105] If the currently installed application is not activated, uninstalling the installed application is prohibited.
[0106] Furthermore, the uninstall module is also used for:
[0107] If the preset application is currently activated, uninstall the preset application.
[0108] Further, the record data updating module is further used to update the record data corresponding to the uninstalled preset application after the preset application is uninstalled, so that the activation state is activated; or,
[0109] The recorded data corresponding to the uninstalled preset application is deleted.
[0110] The device disclosed in the above embodiments can implement the process of the method disclosed in the above method embodiments, and has the same or corresponding beneficial effects. To avoid repetition, it will not be described here.
[0111] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the electronic device may include a smart terminal such as a mobile phone or a PAD, and the electronic device includes:
[0112] One or more processors 301, Figure 5 A processor 301 is taken as an example;
[0113] Memory 302;
[0114] The electronic device may further include: an input device 303 and an output device 304 .
[0115] The processor 301, memory 302, input device 303 and output device 304 in the electronic device may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0116] The memory 302 is a non-transitory computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the terminal pre-installed application activation management method in the embodiment of the present disclosure. The processor 301 executes various functional applications and data processing of the server by running the software programs, instructions and modules stored in the memory 302, that is, the terminal pre-installed application activation management method of the above method embodiment is implemented.
[0117] The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 302 may optionally include a memory remotely arranged relative to the processor 301, and these remote memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0118] The input device 303 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 304 may include a display device such as a display screen.
[0119] The embodiment of the present disclosure also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute a method for managing activation of a terminal preset application, the method comprising:
[0120] Get the preset application activation instruction;
[0121] activating the preset application based on the preset application activation instruction;
[0122] Based on the recorded data corresponding to the activated preset application, modifying the preset application package version number to make it consistent with the initial version number;
[0123] The record data corresponding to the activated preset application is updated so that the activation state is activated.
[0124] Optionally, when executed by a computer processor, the computer executable instructions may also be used to execute the technical solution of the terminal pre-installed application activation management method provided in any embodiment of the present disclosure.
[0125] Through the above description of the implementation methods, the technical personnel in the relevant field can clearly understand that the present disclosure can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0126] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0127] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for managing activation of terminal pre-installed applications, characterized in that: At least one record data is stored in the terminal, each record data corresponds to a preset application, and the record data includes an initial version number and an activation status of the preset application; before the preset application is activated, the version number of the preset application package is tampered with, and after the tampering, the version number of the preset application package is greater than the initial version number of the preset application; The terminal pre-installed application activation management method includes: Get the preset application activation instruction; activating the preset application based on the preset application activation instruction; Based on the recorded data corresponding to the activated preset application, modifying the preset application package version number to make it consistent with the initial version number; The record data corresponding to the activated preset application is updated so that the activation state is activated.
2. The method for managing activation of terminal pre-installed applications according to claim 1, characterized in that: Before the terminal is powered on for the first time, the version number of the preset application package is the initial version number; Before obtaining the preset application activation instruction, the method further includes: After the terminal is powered on, if there is a pre-installed application in the terminal that is not activated and whose package version number has not been tampered with; The version number of the pre-installed application package installed in the terminal which is not activated and whose package version number has not been tampered with is tampered with.
3. The method for managing activation of terminal pre-installed applications according to claim 2, characterized in that: The terminal pre-stores a list of preset applications; If there is a preset application in the terminal which is not activated and whose program package version number has not been tampered with; Before tampering with the version number of the pre-installed application package installed in the terminal which is not activated and whose package version number has not been tampered with, the method further includes: Based on the preset application list and the record data, it is determined whether there is a preset application in the terminal that is not activated and whose program package version number has not been tampered with.
4. The method for managing activation of terminal pre-installed applications according to claim 1, characterized in that: Also includes: If a preset application upgrade instruction is obtained, and the version number of the current preset application program package is smaller than the version number of the preset application in the upgrade instruction, the preset application is upgraded; If a preset application upgrade instruction is obtained, and the version number of the current preset application program package is greater than the version number of the preset application in the upgrade instruction, upgrading the preset application is prohibited.
5. The method for managing activation of terminal pre-installed applications according to claim 1, characterized in that: Also includes: If a preset application uninstall instruction is obtained, determine whether the preset application is currently activated; If the currently installed application is not activated, uninstalling the installed application is prohibited.
6. The method for managing activation of terminal pre-installed applications according to claim 5, characterized in that: Also includes: If the preset application is currently activated, uninstall the preset application.
7. The method for managing activation of terminal pre-installed applications according to claim 6, characterized in that: After uninstalling the preset application, the method further includes: updating the record data corresponding to the uninstalled preset application so that the activation state is activated; or, The recorded data corresponding to the uninstalled preset application is deleted.
8. A terminal pre-installed application activation management device, characterized in that: At least one record data is stored in the terminal, each record data corresponds to a preset application, and the record data includes an initial version number and an activation status of the preset application; before the preset application is activated, the version number of the preset application package is tampered with, and after the tampering, the version number of the preset application package is greater than the initial version number of the preset application; The terminal preset application activation management device comprises: An activation instruction acquisition module is used to acquire a preset application activation instruction; An activation module, configured to activate the preset application based on the preset application activation instruction; A version number modification module, configured to modify the version number of the preset application package to make it consistent with the initial version number based on the record data corresponding to the activated preset application; The record data updating module is used to update the record data corresponding to the activated preset application so that the activation state is activated.
9. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute the steps of the method according to any one of claims 1 to 7 by calling the program or instruction stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Information processing method and device and electronic equipment
CN103677872A
Application channel information obtaining method and device
CN106909357A
Activation rate determining method and device, electronic equipment and readable storage medium
CN111311313A
Method and system for acquiring particular data upon start of a particular program
WO2004084071A1
