Application processing method, device, electronic device and storage medium
By obtaining and matching the installation package resource configuration information, the installation package resource is invalid according to the application installation status, the leakage problem in the game testing phase is solved, and effective remediation is achieved for user terminals, ensuring the stability of the game being officially launched.
Patent Information
- Application Number
- CN202111166341.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2041-09-30
AI Technical Summary
During the game testing phase, the game leak caused abnormal download behaviors in the user terminal, which could not be effectively remediated, affecting the official launch of the game.
By obtaining the installation package resource configuration information sent by the server, matching the user account to obtain the application installation status, and invalidating the installation package resource according to the installation status, including processing of downloading the unfinished or completed status, and version updates when online .
Effectively clear users' abnormal download data, avoid installation package resource leakage, minimize negative impact on the game testing phase, and ensure remedial measures for user terminals.
Smart Images

Figure CN113885914B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more particularly to an application processing method, device, electronic device, and storage medium. Background Art
[0002] At present, during the testing phase of games that have not yet been launched, the application distribution platform will provide them to a small number of users for internal testing, and will not open them to a large number of users for download. However, due to some operational errors or unavoidable online bugs, the game will be leaked during the game testing phase. Providing the game to a large number of users for download will cause problems such as gameplay leaks, server errors or crashes for an unfinished game, and will also affect the subsequent official launch of the game.
[0003] However, the user's downloading behavior occurs on the local mobile terminal, and usually the user's download records in the cloud are deleted manually, but no effective remedial measures can be taken for the user terminal where the game is leaked.
[0004] Therefore, there is a problem in the related art that it is impossible to effectively remedy game leaks during the game testing phase. Summary of the invention
[0005] The present disclosure provides an application processing method, device, electronic device and storage medium to at least solve the problem in the related art that it is impossible to effectively remedy game leaks in the game testing phase. The technical solution of the present disclosure is as follows:
[0006] Obtaining installation package resource configuration information sent by the server; the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program;
[0007] If the local account for logging into the application management program matches the user account in the user account list, obtaining the application installation status of the target application;
[0008] According to the application installation status, an operation of invalidating the installation package resource is performed on the installation package resource stored in the local end.
[0009] In a possible implementation, performing an operation of invalidating the installation package resource stored in the local end according to the application installation state includes:
[0010] If the application installation status is an incomplete download status, performing an operation of invalidating the partial installation packages that have been downloaded to the local end;
[0011] or,
[0012] If the application installation status is a download completion status, an operation of invalidating the complete installation package that has been downloaded to the local end is performed.
[0013] In a possible implementation, the method further includes:
[0014] If the installation state of the application is the installed state, when it is detected that the current application state of the target application is switched from the test state to the online state, the installation package resource of the online version of the target application is downloaded through the application management program;
[0015] The target application is updated using the installation package resources of the online version.
[0016] In a possible implementation, the downloading of the installation package resource of the online version of the target application through the application management program includes:
[0017] Obtain the version number of the online version and the version number of the preset version;
[0018] If the version number of the preset version is smaller than the version number of the online version, the installation package resource of the online version of the target application is downloaded through the application management program.
[0019] In a possible implementation, performing an operation of invalidating the installation package resource stored in the local end according to the application installation state includes:
[0020] Obtain the download start time of the installation package resource;
[0021] If the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in the non-installed state that has been downloaded to the local end is performed on the partial installation package or the complete installation package in the non-installed state.
[0022] In a possible implementation, the obtaining of the installation package resource configuration information sent by the server includes:
[0023] Send an application configuration request to the server;
[0024] Receive the installation package resource configuration information returned by the server for the application configuration request.
[0025] According to a second aspect of an embodiment of the present disclosure, there is provided an application processing device, including:
[0026] a configuration information acquisition unit configured to execute acquisition of installation package resource configuration information sent by the server; the installation package resource configuration information includes a preconfigured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program;
[0027] An installation status determination unit is configured to obtain the application installation status of the target application if a local account for logging into the application management program matches a user account in the user account list;
[0028] The local resource invalidation unit is configured to execute an operation of invalidating the installation package resources stored in the local end according to the application installation status.
[0029] In one possible implementation, the local resource invalidation unit is specifically configured to execute an operation of invalidating a portion of the installation package that has been downloaded to the local end if the application installation status is an incomplete download status; or, if the application installation status is a complete download status, then execute an operation of invalidating the complete installation package that has been downloaded to the local end.
[0030] In a possible implementation, the device further includes:
[0031] The online detection unit is specifically configured to execute, if the installation state of the application is the installed state, upon detecting that the current application state of the target application is switched from the test state to the online state, downloading the installation package resource of the online version of the target application through the application management program;
[0032] The version updating unit is specifically configured to execute version updating of the target application program by using the installation package resource of the online version.
[0033] In one possible implementation, the online detection unit is specifically configured to obtain the version number of the online version and the version number of the preset version; if the version number of the preset version is smaller than the version number of the online version, the installation package resources of the online version of the target application are downloaded through the application management program.
[0034] In one possible implementation, the local resource invalidation unit is specifically configured to execute the acquisition of the download start time of the installation package resource; if the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in an uninstalled state that has been downloaded to the local end is executed.
[0035] In a possible implementation, the configuration information acquisition unit is specifically configured to execute sending an application configuration request to a server; and receive installation package resource configuration information for the application configuration request returned by the server.
[0036] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the application processing method as described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0037] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the application processing method as described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0038] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a device reading and executing the computer program from the readable storage medium, so that the device executes the application processing method described in any one of the embodiments of the first aspect.
[0039] The technical solution provided by the embodiment of the present disclosure brings at least the following beneficial effects: by obtaining the installation package resource configuration information sent by the server, the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program. If the local account that logs into the application management program matches the user account in the user account list, the application installation status of the target application is obtained, and then according to the application installation status, the installation package resource stored in the local end is executed to invalidate the installation package resource. In this way, by receiving the installation package resource configuration information sent by the server, for the user account that obtains the preset version of the installation package resource of the target application, the operation of invalidating the installation package resource is executed according to the application installation status, so that the user's abnormal download behavior can be customized to clear the data, which avoids the user installing the abnormally downloaded installation package resources to the greatest extent, and can take effective remedial measures for the user terminal of the download leak.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0042] Figure 1 The present invention is an application environment diagram showing a method for processing an application program according to an exemplary embodiment.
[0043] Figure 2 The figure is a flowchart of a method for processing an application program according to an exemplary embodiment.
[0044] Figure 3 The diagram is a schematic diagram showing an application processing flow according to an exemplary embodiment.
[0045] Figure 4 The flowchart of another application processing method is shown according to an exemplary embodiment.
[0046] Figure 5 The invention is a block diagram of an application processing device according to an exemplary embodiment.
[0047] Figure 6 The figure is a diagram showing the internal structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure.
[0050] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0051] The application processing method provided by the present disclosure can be applied to Figure 1In the application environment shown. Among them, the terminal 110 interacts with the server 120 through the network. Among them, the terminal 110 obtains the installation package resource configuration information sent by the server 120, and when it is determined that the local account matches the user account in the user account list, the terminal 110 obtains the application installation status of the target application, and then performs an operation to invalidate the installation package resources stored in the terminal 110 in a manner corresponding to the application installation status. In actual applications, the terminal 110 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 120 can be implemented with an independent server or a server cluster composed of multiple servers. Since the application scenario of the present disclosure can be a testing process when the game application is not released, the personnel participating in the game application testing use the terminal equipment provided by the game application manufacturer, and the game application manufacturer has the right to change or delete the application on its device.
[0052] Figure 2 is a flowchart of a method for processing an application program according to an exemplary embodiment. Figure 2 As shown, this method is used to Figure 1 The terminal 110 includes the following steps.
[0053] In step S210, the installation package resource configuration information sent by the server is obtained; the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program;
[0054] The application management program may be an application distribution platform, and application programs may be downloaded through the application management program, such as an application market or an application store.
[0055] The user account list may include identifiers of one or more user accounts based on the application management program, such as user IDs registered in the application management program.
[0056] As an example, the target application may be a game application, and the preset version may be a test version corresponding to a game testing phase, a version developed and downloaded during a certain period of time, an error version, and the like.
[0057] In actual applications, when it is detected that the application manager is started, the installation package resource configuration information sent by the server corresponding to the application manager can be obtained, and then, based on the pre-configured user account list in the installation package resource configuration information, it can be determined whether the local account matches the user account in the user account list. The user account in the user account list can have a preset version of the installation package resources, that is, the user account that downloaded the target application with the preset version of the installation package resources through the application manager.
[0058] Specifically, the application management program can be started based on user operations. After detecting that the application management program is started, the terminal can pull the server configuration of the application management program, that is, obtain the installation package resource configuration information sent by the server. Since the server can pre-determine the user account of the installation package resources of the preset version of the target application downloaded through the application management program, in order to obtain a pre-configured user account list, the pre-configured user account list can be sent to the terminal through the installation package resource configuration information.
[0059] In one example, taking a game application as an example, after one or more internally tested game applications downloaded in the application management program are abnormally started for download, the server can obtain the corresponding user information with abnormal download behavior for each internally tested game application (i.e., target application) that is abnormally started for download, that is, the user who downloaded the target application in a preset version of the installation package resource through the application management program, wherein the user information may include the identifiers of one or more user accounts, and then the server can pre-configure a user account list, and can configure a corresponding user account list for each internally tested game application that is abnormally started for download, and can also configure a user account list for multiple internally tested game applications that are abnormally started for download.
[0060] The server can obtain the installation package resource configuration information based on the pre-configured user account list, and can issue the installation package resource configuration information, that is, the server can issue an instruction to invalidate the download record and downloaded installation package resources for a specified user for a specified game application. Then, after the application management program is started, the terminal can pull the installation package resource configuration information, obtain the specified game application identifier (such as game Id) and the user account list corresponding to the specified game application identifier from the installation package resource configuration information.
[0061] For example, the abnormal download startup situation may be caused by the operator of the game application making an error in configuring the game application download, resulting in the premature leakage of the game application installation package resources, or the incorrect configuration causing the user to download the wrong installation package resources; it may also be caused by the developer of the application distribution platform (i.e., the application management program), making an error when developing the relevant download function, resulting in an abnormality in the download function, resulting in the premature leakage of the game application installation package resources, or the incorrect configuration causing the user to download the wrong installation package resources.
[0062] In another example, in the case of configuration errors by operators, all users who downloaded the specified game within a specific time period can be regarded as users with abnormal downloading behavior, that is, the operator launched an incorrect configuration of the specified game application at 12:00 noon, and modified it back to the correct configuration at 14:00. During the period from 12:00 to 14:00, the installation package resources of the specified game application downloaded by users were all incorrectly configured installation package resources. In this case, the download behavior of the specified game application generated from 12:00 to 14:00 can be regarded as abnormal download behavior, and the list of users who have downloaded during this period can be exported through the server, and then the task of invalidating the installation package resources can be targeted at the users in the user list.
[0063] In step S220, if the local account for logging into the application management program matches the user account in the user account list, the application installation status of the target application is obtained;
[0064] The application installation status may include an incomplete download status and a complete download status, and the complete download status may include an uninstalled status and an installed status.
[0065] After obtaining the installation package resource configuration information, the application installation status of the target application can be obtained when the local account for logging into the application management program matches the user account in the user account list. For example, the current application installation status of the target application can be detected.
[0066] In one example, the identifier of the local account may be compared with identifiers corresponding to one or more user accounts in the user account list, and when the identifiers are consistent, it may be determined that the local account matches the user account in the user account list.
[0067] In step S230, according to the application installation status, an operation of invalidating the installation package resources stored in the local end is performed.
[0068] After obtaining the application installation status, you can perform operations to invalidate the installation package resources stored in this end for the target application based on the application installation status. For example, you can invalidate the installation package resources by changing the file name of the installation package resources, moving the installation package resources to a hidden space, deleting the installation package resources, forcing updates, and other operations.
[0069] In one example, taking a game application in the testing phase as an example, data operations to invalidate installation package resources can be performed for different users corresponding to the application installation status. Thus, through the interaction between the client and server of the application management program, the installation package resources can be invalidated through server instructions for the user's offline data. By taking timely and effective remedial measures, the negative impact of download leakage on the game application in the testing phase can be reduced.
[0070] For example, if a non-test user downloads an internal test game application but the download is not completed, that is, the download is incomplete, then the relevant download data of the internal test game application can be cleared, or the file name of the relevant download data of the internal test game application can be changed, or the relevant download data of the internal test game application can be moved to a hidden space, that is, the operation of invalidating the installation package resources stored on this end can be executed, and the corresponding download record can also be cleared.
[0071] For another example, if a non-test user has downloaded the internal test game application but has not installed it, that is, it is in the downloaded but not installed state, then the next time the user starts the application management program, the relevant download data of the internal test game application can be cleared, or the file name of the relevant download data of the internal test game application can be changed, or the relevant download data of the internal test game application can be moved to a hidden space, that is, the operation of invalidating the installation package resources stored on this end can be executed, and the corresponding download records can also be cleared.
[0072] For example, if a non-testing user has already installed the beta game application, that is, the installed state in the download completion state, then when the game application goes online, the update capability can be used to overwrite and install the latest version to clear the relevant download data of the beta version, and the corresponding download record can also be cleared.
[0073] In another example, when a version to be updated for a preset version is detected, version update information can be generated to prompt the user to download the installation package resources of the version to be updated. For example, taking a game application in the testing phase as an example, when the first online version (i.e., the version to be updated) is detected, version update information can be generated, and a notification can be sent to the user to prompt the user to download the installation package resources of the online version, thereby reminding the user in a friendly manner and guiding the user to re-download the correct installation package, thereby improving the user experience.
[0074] The above-mentioned application processing method obtains the installation package resource configuration information sent by the server, and the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program. If the local account that logs into the application management program matches the user account in the user account list, the application installation status of the target application is obtained, and then according to the application installation status, the installation package resource stored in the local end is executed to invalidate the installation package resource. In this way, by receiving the installation package resource configuration information sent by the server, for the user account that obtains the preset version of the installation package resource of the target application, the operation of invalidating the installation package resource is executed according to the application installation status, so that the user's abnormal download behavior can be customized to clear the data, which avoids the user installing the abnormally downloaded installation package resources to the greatest extent, and can take effective remedial measures for the user terminal with download leakage.
[0075] In an exemplary embodiment, based on the application installation status, an operation of invalidating the installation package resources stored in the local end is performed on the installation package resources, including: if the application installation status is an incomplete download status, an operation of invalidating part of the installation package that has been downloaded to the local end is performed; or, if the application installation status is a complete download status, an operation of invalidating the complete installation package that has been downloaded to the local end is performed on the complete installation package that has been downloaded to the local end.
[0076] In a specific implementation, the application installation status may include an incomplete download status and a complete download status. The installation package resources may be invalidated for users corresponding to the incomplete download status and the complete download status. Taking a game application in the testing phase as an example, the following method may be used:
[0077] If the installation status of the application corresponding to the non-test user is an incomplete download status, the relevant download data of the internal test game application can be cleared, or the file name of the relevant download data of the internal test game application can be changed, or the relevant download data of the internal test game application can be moved to a hidden space when the user starts the application management program next time. That is, the operation of invalidating some installation packages that have been downloaded to this end can also be performed, and the corresponding download records can be cleared.
[0078] If the installation status of the application corresponding to the non-test user is the download completion status, such as the not installed status in the download completion status or the installed status in the download completion status, then the next time the user starts the application management program, the relevant download data of the internal test game application can be cleared, or the file name of the relevant download data of the internal test game application can be changed, or the relevant download data of the internal test game application can be moved to a hidden space. Alternatively, when the game application is launched, the update capability can be used to overwrite and install the latest version to clear the relevant download data of the internal test version, that is, the operation of invalidating the complete installation package downloaded to this end can be performed, and the corresponding download record can also be cleared.
[0079] The technical solution of this embodiment, when the application installation status is an incomplete download status, executes an operation to invalidate the partial installation package that has been downloaded to the local end, or when the application installation status is a complete download status, executes an operation to invalidate the complete installation package that has been downloaded to the local end, thereby enabling customized data clearing for abnormal downloading behavior of users, thereby avoiding users installing abnormally downloaded installation package resources to the greatest extent, and taking effective remedial measures for user terminals with download leaks.
[0080] In an exemplary embodiment, it also includes: if the application installation state is installed, when it is detected that the current application state of the target application is switched from the test state to the online state, downloading the installation package resources of the online version of the target application through the application management program; and using the installation package resources of the online version to update the version of the target application.
[0081] In a specific implementation, the download completion status may include an installed status. When the application installation status is the installed status, when it is detected that the current application status of the target application is switched from the test status to the online status, the installation package resources of the online version of the target application can be downloaded through the application management program, and then the installation package resources of the online version can be used to update the target application version, so as to execute the operation of invalidating the installation package resources of the preset version stored in this end.
[0082] In one example, taking a game application in the testing phase as an example, if a non-testing user has already installed the beta game application, that is, the installed state in the download completion state, then when the game application goes online, the update capability can be used to overwrite the installation to the latest version (that is, the online version) to clear the relevant download data of the beta version, and the corresponding download records can also be cleared.
[0083] For example, a game application can switch from an internal beta download state to a pre-download / online state. If a user installs an old version (i.e., a preset version) of the game application in the internal beta download state, an automatic update can be triggered when the game application switches to the pre-download / online state, thereby allowing the user to download the latest version of the installation package (i.e., the installation package resources of the online version).
[0084] The technical solution of this embodiment is that if the application installation state is the installed state, when it is detected that the current application state of the target application is switched from the test state to the online state, the installation package resources of the online version of the target application are downloaded through the application management program; the target application is updated with the installation package resources of the online version, and the installation package resources can be downloaded for abnormalities in the installed state. The download of the latest version of the installation package can be automatically triggered at the time of going online, and the overwriting installation is performed based on the update capability, thereby reducing the negative impact of download leakage on the game application in the testing phase.
[0085] In an exemplary embodiment, downloading the installation package resources of the online version of the target application through the application management program includes: obtaining the version number of the online version and the version number of the preset version; if the version number of the preset version is smaller than the version number of the online version, downloading the installation package resources of the online version of the target application through the application management program.
[0086] In the specific implementation, when it is detected that the current application state of the target application has switched from the test state to the online state, the version number of the online version and the version number of the preset version can be obtained, and then by judging through the version number, when the version number of the preset version is smaller than the version number of the online version, automatic update can be triggered, and the installation package resources of the online version of the target application can be downloaded through the application management program.
[0087] In one example, taking a game application in the testing phase as an example, Figure 3 As shown, for users who have installed the beta version of the game application, after the game is officially launched, when the application management program is detected to be started, it can be determined whether the game application has been installed on the local side. Then, for the installed game, by comparing the version number of the version installed on the local side with the version number of the first online version, when the version number of the version installed on the local side is greater than or equal to the version number of the online version, the download function will not be triggered. When the version number of the version installed on the local side is less than the version number of the online version, the download function will be automatically triggered.
[0088] In the case where the game is not installed, the installation package resources of the online version of the game application can be downloaded by judging the storage status and network connection status of the local end, and a floating notification message can be displayed to the user. Compared with the traditional method, in the case where the old version of the game is installed, after the game is officially launched, when the version number of the installed version on the local end is smaller than the version number of the online version, the download function is not triggered. The method of this embodiment can automatically trigger the download of the latest version of the installation package at the time of online launch, and perform overwriting installation based on the update capability, thereby optimizing the update logic after the game is officially launched.
[0089] The technical solution of this embodiment obtains the version number of the online version and the version number of the preset version. When the version number of the preset version is smaller than the version number of the online version, the installation package resource of the online version of the target application is downloaded through the application management program. This can automatically trigger the download of the latest version of the installation package at the time of going online, and perform overwriting installation based on the update capability, thereby optimizing the update logic after the game is officially launched.
[0090] In an exemplary embodiment, based on the application installation status, an operation of invalidating the installation package resources stored in the local end is performed, including: obtaining the download start time of the installation package resources; if the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in an installed state that has been downloaded to the local end is performed.
[0091] In the specific implementation, by obtaining the download start time of the installation package resource, a judgment can be made based on the download start time. When the duration from the download start time to the current time exceeds the preset time threshold, an operation of invalidating the partial installation package or the complete installation package in an installed state that has been downloaded to this end can be performed.
[0092] In one example, taking a game application as an example, for users who have not installed the game for more than a certain period of time (i.e., a preset time threshold), such as users in an incomplete download state and users in a non-installed state after completing the download, the game application-related download data stored on this end by the user can be cleared, or the file name of the related download data of the internal test game application can be changed, or the related download data of the internal test game application can be moved to a hidden space, that is, an operation of invalidating the partial installation package or the complete installation package in an not-installed state that has been downloaded to this end can be performed, and the corresponding download records can also be cleared, thereby preventing the user from downloading and installing the old version when the new version reaches the user again, thereby saving storage space on the local end.
[0093] For example, for small package games, the installation will generally be completed within 3 days after the start of download, and for large package games, the installation will generally be completed within 14 days after the start of download. Then, based on the download start time, for users who have not completed the download or have not successfully installed after 30 days (i.e., the preset time threshold), the downloaded resources of the game application can be automatically deleted when the application management program is started. The file name of the downloaded resources of the game application can also be changed, or the downloaded resources of the game application can be moved to a hidden space. The downloaded resources are partial installation packages or complete installation packages in an uninstalled state.
[0094] The technical solution of this embodiment obtains the download start time of the installation package resource. When the length from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in the not-installed state that has been downloaded to this end is performed. For users who have not completed the installation within a certain time threshold, this can prevent the user from downloading and installing the old version when the new version reaches the user again, thereby saving storage space on the local end.
[0095] In an exemplary embodiment, obtaining the installation package resource configuration information sent by the server includes: sending an application configuration request to the server; and receiving the installation package resource configuration information returned by the server for the application configuration request.
[0096] In a specific implementation, when the application manager is started, the client of the application manager can send an application configuration request to the server, and then receive the installation package resource configuration information returned by the server for the application configuration request, so as to further determine whether the local account matches the user account in the user account list based on the pre-configured user account list in the installation package resource configuration information.
[0097] The technical solution of this embodiment, by sending an application configuration request to the server when detecting that the application manager is started, and then receiving the installation package resource configuration information returned by the server for the application configuration request, can pull the server configuration when the application manager is started, so that timely and effective remedial measures can be taken, reducing the negative impact of download leakage on the game application in the testing phase.
[0098] Figure 4 is a flowchart of another application processing method according to an exemplary embodiment. Figure 4 As shown, this method is used to Figure 1 The terminal 110 in the embodiment includes the following steps.
[0099] In step S401, the installation package resource configuration information sent by the server is obtained; the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the preset version of the installation package resource downloaded to the target application through the application management program. In step S402, if the local account logged into the application management program matches the user account in the user account list, the application installation status of the target application is obtained. In step S403, if the application installation status is the download incomplete state, the operation of invalidating the partial installation package is performed on the partial installation package downloaded to the local end. In step S404, if the application installation status is the download complete state, the operation of invalidating the complete installation package is performed on the complete installation package downloaded to the local end. In step S405, if the application installation status is the installed state, when it is detected that the current application status of the target application is switched from the test state to the online state, the version number of the online version and the version number of the preset version are obtained. In step S406, if the version number of the preset version is smaller than the version number of the online version, the installation package resources of the online version of the target application are downloaded through the application management program. In step S407, the target application is updated using the installation package resources of the online version. It should be noted that the specific limitations of the above steps can be found in the specific limitations of an application processing method above, which will not be repeated here.
[0100] It should be understood that although Figure 2 and Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 and Figure 4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0101] Figure 5 FIG. 1 is a block diagram of an application processing device according to an exemplary embodiment. Figure 5 , the device comprises:
[0102] The configuration information acquisition unit 501 is configured to execute acquisition of installation package resource configuration information sent by the server; the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, and the preset version of the installation package resource is the installation package resource of the preset version downloaded to the target application through the application management program;
[0103] The installation status determination unit 502 is configured to obtain the application installation status of the target application if the local account for logging into the application management program matches the user account in the user account list;
[0104] The local resource invalidation unit 503 is configured to execute an operation of invalidating the installation package resource stored in the local end according to the application installation status.
[0105] In one possible implementation, the local resource invalidation unit 503 is specifically configured to execute an operation of invalidating a portion of the installation package that has been downloaded to the local end if the application installation status is an incomplete download status; or, if the application installation status is a complete download status, an operation of invalidating the complete installation package that has been downloaded to the local end.
[0106] In a possible implementation, the application processing device further includes:
[0107] The online detection unit is specifically configured to execute, if the installation state of the application is the installed state, upon detecting that the current application state of the target application is switched from the test state to the online state, downloading the installation package resource of the online version of the target application through the application management program;
[0108] The version updating unit is specifically configured to execute version updating of the target application program by using the installation package resource of the online version.
[0109] In one possible implementation, the online detection unit is specifically configured to obtain the version number of the online version and the version number of the preset version; if the version number of the preset version is smaller than the version number of the online version, the installation package resources of the online version of the target application are downloaded through the application management program.
[0110] In one possible implementation, the local resource invalidation unit 503 is specifically configured to execute the acquisition of the download start time of the installation package resource; if the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in an uninstalled state that has been downloaded to the local end is executed.
[0111] In a possible implementation, the configuration information acquisition unit 501 is specifically configured to execute sending an application configuration request to a server; and receive installation package resource configuration information for the application configuration request returned by the server.
[0112] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0113] Figure 6 1 is a block diagram of an electronic device 600 for executing application processing according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0114] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0115] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0116] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
[0117] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0118] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0119] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting an audio signal.
[0120] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0121] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or the electronic device 600 component, the presence or absence of contact between the user and the electronic device 600, the device 600 orientation or acceleration / deceleration and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0122] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0123] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0124] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the above instructions can be executed by the processor 620 of the electronic device 600 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0125] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 620 of the electronic device 600 to complete the above method.
[0126] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.
[0127] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0128] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An application processing method, characterized in that: The method comprises: Obtaining installation package resource configuration information sent by the server; the installation package resource configuration information includes a pre-configured user account list, each user account in the user account list has a preset version of the installation package resource, the preset version of the installation package resource is an installation package resource of the preset version abnormally downloaded to the target application through the application management program, and the target application is in an unreleased testing stage; If the local account for logging into the application management program matches the user account in the user account list, obtaining the application installation status of the target application; the application installation status includes an incomplete download status; According to the application installation status, an operation of invalidating the installation package resources stored in the local end is performed on the installation package resources; including: if the application installation status is an incomplete download state, an operation of invalidating the partial installation packages that have been downloaded to the local end is performed on the partial installation packages.
2. The method according to claim 1, characterized in that The performing, according to the application installation state, an operation of invalidating the installation package resource stored in the local end includes: If the application installation status is a download completion status, an operation of invalidating the complete installation package that has been downloaded to the local end is performed.
3. The method according to claim 2, further comprising: If the installation state of the application is the installed state, when it is detected that the current application state of the target application is switched from the test state to the online state, the installation package resource of the online version of the target application is downloaded through the application management program; The target application is updated using the installation package resources of the online version.
4. The method according to claim 3, characterized in that The step of downloading the installation package resource of the online version of the target application program through the application management program includes: Obtain the version number of the online version and the version number of the preset version; If the version number of the preset version is smaller than the version number of the online version, the installation package resource of the online version of the target application is downloaded through the application management program.
5. The method according to claim 1, characterized in that: The performing, according to the application installation state, an operation of invalidating the installation package resource stored in the local end includes: Obtain the download start time of the installation package resource; If the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in the non-installed state that has been downloaded to the local end is performed on the partial installation package or the complete installation package in the non-installed state.
6. The method according to any one of claims 1 to 5, characterized in that: The step of obtaining the installation package resource configuration information sent by the server includes: Send an application configuration request to the server; Receive the installation package resource configuration information returned by the server for the application configuration request.
7. An application processing device, characterized in that: include: A configuration information acquisition unit, configured to acquire the installation package resource configuration information sent by the server; The installation package resource configuration information includes a preconfigured user account list, each user account in the user account list has a preset version of the installation package resource, the preset version of the installation package resource is an installation package resource of the preset version downloaded to the target application program through an abnormal application management program, and the target application program is in an unreleased testing stage; An installation status determination unit is configured to execute, if a local end account for logging into the application management program matches a user account in the user account list, obtaining an application installation status of the target application; the application installation status includes an incomplete download status; A local resource invalidation unit configured to execute an operation of invalidating the installation package resource stored in the local end according to the application installation state; The local resource invalidation unit is specifically configured to execute an operation of invalidating part of the installation packages downloaded to the local end if the application installation state is an incomplete download state.
8. The device according to claim 7, characterized in that The local resource invalidation unit is specifically configured to execute an operation of invalidating the complete installation package downloaded to the local end if the application installation state is a download completion state.
9. The device according to claim 8, characterized in that The device also includes: The online detection unit is specifically configured to execute, if the installation state of the application is the installed state, upon detecting that the current application state of the target application is switched from the test state to the online state, downloading the installation package resource of the online version of the target application through the application management program; The version updating unit is specifically configured to execute version updating of the target application program by using the installation package resource of the online version.
10. The device according to claim 9, characterized in that The online detection unit is specifically configured to obtain the version number of the online version and the version number of the preset version; if the version number of the preset version is smaller than the version number of the online version, the installation package resource of the online version of the target application is downloaded through the application management program.
11. The device according to claim 7, characterized in that The local resource invalidation unit is specifically configured to execute the acquisition of the download start time of the installation package resource; if the duration from the download start time to the current time exceeds a preset time threshold, an operation of invalidating the partial installation package or the complete installation package in an uninstalled state that has been downloaded to the local end is executed.
12. The device according to any one of claims 7 to 11, characterized in that The configuration information acquisition unit is specifically configured to execute sending an application configuration request to a server; and receive installation package resource configuration information for the application configuration request returned by the server.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the application processing method according to any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the application processing method as claimed in any one of claims 1 to 6.
15. A computer program product, comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the application processing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Pre-downloading method of application program update package, related equipment and storage medium
CN112685058A
Version updating method and device, electronic equipment and storage medium
CN112988192A