Application backup method and device, application recovery method and device, electronic equipment and medium
By grouping backup and recovery based on application runtime statistics and probability in the cloud terminal, the problems of large backup data packages and user waiting time are solved, enabling flexible backup and fast recovery and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-12
- Publication Date
- 2026-03-10
AI Technical Summary
When using existing technologies for backup in cloud terminals, the backup data packets are large and lack flexibility. When restoring applications, users have to wait for all applications to complete before they can access the application, resulting in a poor user experience.
By acquiring application runtime statistics and probability of operation, the importance of the application is determined, and applications are grouped and backed up and restored in batches according to their importance. LSTM or Transformer models are used to predict the future usage probability of the application, and important applications are restored first.
It improves the flexibility of application backup, reduces the size of backup data packets, reduces user waiting time, and enhances the user experience.
Smart Images

Figure CN121636259A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cloud terminal technology, and in particular to an application backup method, application recovery method, device, electronic device and medium. Background Technology
[0002] Currently, when backing up applications, the cloud terminal performs a complete backup of the data directory under the system root directory at once, which is less flexible and the backup data package is large. When restoring applications, a full recovery method is used, and users need to wait for all applications to be restored before they can access the cloud terminal, resulting in a poor user experience. Summary of the Invention
[0003] This application aims to at least partially address one of the technical problems in the related art.
[0004] Therefore, the first objective of this application is to propose an application backup method.
[0005] The second objective of this application is to propose an application recovery method.
[0006] The third objective of this application is to propose an application processing method.
[0007] The fourth objective of this application is to propose an application backup device.
[0008] The fifth objective of this application is to propose an application recovery device.
[0009] The sixth objective of this application is to provide an application processing device.
[0010] The seventh objective of this application is to provide an electronic device.
[0011] The eighth objective of this application is to provide a computer-readable storage medium.
[0012] The ninth objective of this application is to provide a computer program product.
[0013] To achieve the above objectives, a first aspect of this application provides an application backup method, comprising: The importance of any one of multiple applications is obtained, and the importance is determined based on the application's running statistics in a first time period and / or the probability of the application running in a second time period; wherein the first time period is prior to the second time period; Based on their importance, the multiple applications are grouped to obtain at least one application group; For any application group in the at least one application group, the applications in the application group are backed up to obtain the backup data package corresponding to the application group.
[0014] To achieve the above objectives, a second aspect of this application provides an application recovery method, comprising: The backup data packets corresponding to each application group are obtained sequentially, and the application is restored based on the backup data packets after any one of the backup data packets is obtained. The application grouping is obtained by grouping the multiple applications according to the importance of any one of the multiple applications; the importance is determined based on the application's running statistics in a first time period and / or the probability of the application running in a second time period; wherein the first time period is located before the second time period.
[0015] To achieve the above objectives, a third aspect of this application provides an application processing method, comprising: Obtain operational statistics for any application among multiple applications during a first time period, and obtain the probability of any application among the multiple applications operating during a second time period; wherein, the first time period is preceding the second time period; For any of the applications, the importance of the application is determined based on the running statistics and / or the running probability; The importance level is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, to back up the applications in the application group to obtain a backup data package corresponding to the application group.
[0016] To achieve the above objectives, a fourth aspect of this application provides an application backup device, comprising: The acquisition module is used to acquire the importance of any application among multiple applications, the importance being determined based on the application's running statistics in a first time period and / or the application's running probability in a second time period; wherein the first time period is prior to the second time period; A grouping module is used to group the multiple applications according to their importance to obtain at least one application group; The backup module is used to back up the applications in any application group among the at least one application group, and obtain the backup data package corresponding to the application group.
[0017] To achieve the above objectives, a fifth aspect of this application provides an application recovery device, comprising: The recovery module is used to sequentially obtain backup data packets corresponding to each application group, and after obtaining the backup data packets at any time, perform application recovery based on the backup data packets; The application grouping is obtained by the cloud terminal grouping the multiple applications according to the importance of any one of the multiple applications; the importance is determined based on the application's running statistics in a first time period and / or the probability of the application running in a second time period; wherein the first time period is located before the second time period.
[0018] To achieve the above objectives, a sixth aspect of this application provides an application processing apparatus, comprising: The acquisition module is used to acquire the running statistics of any application in a first time period from multiple applications, and to acquire the running probability of any application in a second time period from the multiple applications; wherein the first time period is located before the second time period; A determination module is used to determine the importance of any application based on the running statistics and / or the running probability. The importance level is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, to back up the applications in the application group to obtain a backup data package corresponding to the application group.
[0019] To achieve the above objectives, a seventh aspect of this application provides an electronic device, including: a processor and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement an application backup method as described in the first aspect of this application, an application recovery method as described in the second aspect, or an application processing method as described in the third aspect.
[0020] To achieve the above objectives, an eighth aspect of this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement an application backup method as described in the first aspect of the present application, an application recovery method as described in the second aspect, or an application processing method as described in the third aspect.
[0021] To achieve the above objectives, a ninth aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements an application backup method as described in the first aspect, an application recovery method as described in the second aspect, or an application processing method as described in the third aspect of this application.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0023] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 A flowchart illustrating an application backup method provided in an embodiment of this application; Figure 2 A flowchart illustrating an application backup method provided in another embodiment of this application; Figure 3 A schematic flowchart illustrating an application recovery method provided in an embodiment of this application; Figure 4 A schematic flowchart illustrating an application processing method provided in an embodiment of this application; Figure 5 This is a schematic diagram of a module provided in an embodiment of this application; Figure 6 A timing diagram provided for an embodiment of this application; Figure 7 A timing diagram provided for an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an application backup device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of an application recovery device provided in another embodiment of this application; Figure 10 This is a schematic diagram of the structure of an application processing device provided in another embodiment of this application; Figure 11 This is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0024] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0025] The following description, with reference to the accompanying drawings, describes an application backup method, application recovery method, apparatus, electronic device, and medium according to embodiments of this application.
[0026] Figure 1 This is a flowchart illustrating an application backup method provided in an embodiment of this application. This application backup method can be applied to terminal devices, such as cloud terminals.
[0027] like Figure 1 As shown, the application backup method includes the following steps: Step 101: Obtain the importance of any application among multiple applications. The importance is determined based on the application's running statistics in the first time period and / or the application's running probability in the second time period; wherein the first time period is before the second time period.
[0028] Here, "application" can refer to a cloud application to be backed up in a cloud terminal; the importance of an application can be used to indicate the frequency of its operation and / or its recovery priority. The importance of an application can refer to an importance label or an importance score, and there is a corresponding relationship between the importance score and the importance label. For example, assuming the importance score ranges from 0 to 20, and the importance labels include high importance (corresponding to high-frequency applications), medium importance (corresponding to medium-frequency applications), and low importance (corresponding to low-frequency applications), then the correspondence between the importance score and the importance label can be: 0-8: low importance, 9-15: medium importance, 16-20: high importance.
[0029] The application's runtime statistics can refer to data obtained by statistically analyzing the application's operation during the first time period; for example, the application's runtime statistics include, but are not limited to, data such as the application's runtime and number of runs during the first time period.
[0030] The probability of an application running in the second time period indicates the likelihood that the application will be used during the second time period. The second time period can refer to a set length of time after the first time period, or it can refer to a set length of time after the application is restored (i.e., the user accesses the cloud terminal again). For example, the probability of an application running in the second time period can refer to the probability of the application running / usage during the second time period.
[0031] The probability of the application running within the second time period can be predicted based on the running information corresponding to each run of the application within the third time period prior to the second time period. The running information includes, but is not limited to, running time (including start and end times) and running mode.
[0032] As an example, a Long Short-Term Memory Network (LSTM) or Transformer model can be used to predict the likelihood of the application running in the second time period based on the running information of each run in the third time period.
[0033] As another example, derived information can be determined based on runtime information; using an LSTM or Transformer model, the likelihood of the application running in the second time period can be predicted based on the runtime information and derived information. The derived information includes the number of runs, runtime frequency, and the runtime of each run in the third time period.
[0034] In some alternative embodiments, the importance can be determined based on the application's runtime statistics.
[0035] In some alternative embodiments, the importance may be determined based on the likelihood of the application running during the second time period.
[0036] In some alternative embodiments, the importance can be determined based on the application's runtime statistics and the likelihood of the application running in the second time period.
[0037] Step 102: Group the multiple applications according to their importance to obtain at least one application group.
[0038] In cases where importance is indicated by an importance label, applications within the same application group have the same importance label.
[0039] In cases where importance is measured by an importance score, applications within the same application group have importance scores that fall within the same importance score range.
[0040] Each application group may include at least one application, and each application group corresponds to an importance label and / or an importance score range.
[0041] Step 103: For any application group in at least one application group, back up the applications in the application group to obtain the backup data packet corresponding to the application group.
[0042] Specifically, for any application group, the applications in that application group can be packaged together for backup to obtain the backup data package corresponding to the application group.
[0043] It should be noted that if the size of the backup data package exceeds the set threshold, the applications in the application group can be split and packaged to obtain multiple backup data packages.
[0044] The cloud terminal can store the backup data packets corresponding to each application group to the first storage service, so that the backup data packets can be retrieved from the first storage service when the application is restored; the first storage service can refer to the object storage service.
[0045] In this embodiment, the importance of any application among multiple applications is obtained. The importance is determined based on the application's running statistics in a first time period and / or the probability of the application running in a second time period; wherein the first time period is before the second time period; the multiple applications are grouped according to their importance to obtain at least one application group; for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data package corresponding to the application group; wherein, compared to packaging all applications together, grouping and backing up applications according to their importance improves the flexibility of application backup and reduces the size of the backup data package.
[0046] This embodiment provides another application backup method. Figure 2 This is a flowchart illustrating an application backup method provided in an embodiment of this application. This application backup method can be applied to cloud terminals.
[0047] like Figure 2 As shown, the application backup method may include the following steps: Step 201: Obtain the importance of any one of the multiple applications.
[0048] In one possible embodiment of this application, a first request is sent to a cloud terminal server; the cloud terminal server is configured to respond to the first request by invoking a large model service, so that the large model service determines the importance based on runtime statistics and / or runtime probability; and receive a first response sent by the cloud terminal server, the first response including the importance of any one of multiple applications.
[0049] The first request is used to determine the importance of the application.
[0050] In some optional embodiments, the cloud terminal may send a first request to the cloud terminal server in response to the cloud terminal disconnecting from the cloud terminal client, or in response to an application backup command sent by the user through the cloud terminal client; wherein, the disconnection between the cloud terminal and the cloud terminal client may indicate that the user has exited the cloud terminal.
[0051] The cloud terminal server can monitor application operation based on the system window change monitoring service to obtain application runtime information, including runtime and runtime mode. The system window change monitoring service, inherited from the Accessibility Service, listens for the package name of the currently top-of-the-stack application (the foreground application, i.e., the application the user is currently using). When the service's callback function is invoked, it determines whether the callback event is a window change event. If it is, it retrieves the package name of the currently top-of-the-stack application, records its usage, obtains its start and end times, and calculates its runtime. When the application is switched to the background, it begins recording the usage of the next foreground application.
[0052] For example, the recorded data is as follows:
[0053] This includes calculating derived information such as runtime and frequency based on the application's start and end times. The cloud terminal server can store the application's runtime information and derived information in a secondary storage service, which can refer to a data storage service.
[0054] Among them, the large model service can use LSTM or Transformer models to predict the probability of application operation in the second time period based on the application's operation information and derived information obtained from the cloud terminal server, and determine the importance of the application based on the application's operation statistics and / or the probability of application operation in the second time period.
[0055] Assuming the large model service uses LSTM for runtime probability prediction, then for any application, the runtime information corresponding to multiple runs of the application within the third time period, along with the derived information obtained based on the runtime information, can be input into the LSTM. The LSTM's memory units capture long-term dependencies in the input sequence, and its output... It can be used to predict the likelihood of the application running during the second time period. The prediction formula is as follows:
[0056] in, Indicates application The probability of running in the second time period takes a value between [0,1]. This represents the activation function, used to normalize probability values; This represents the output weight matrix, used to convert the hidden states of the LSTM into predicted values; This indicates that the LSTM is at time step The hidden state encodes the application's runtime information; b represents the bias term, used to ensure computational stability.
[0057] Among them, due to the prediction results Representative applications The probability of its future use needs to be limited to the range [0,1]. Therefore, the activation function can refer to the Sigmoid function.
[0058] For example, a user's sequence of running information for video A is input into an LSTM. Assume that after LSTM processing... Assuming , ,but:
[0059] Furthermore, After the Sigmoid transformation, That is, the probability of the application running in the near future is about 50.5%.
[0060] In some embodiments, the large model service can determine the importance of an application based on its operational statistics during a first time period and its probability of operation during a second time period. For example, the formula for determining the importance of application i is as follows:
[0061] in, Indicates the importance of application i. Indicates the runtime of application i during the first time period. This indicates the number of times application i runs within the first time period. This indicates the probability of application i running during the second time period. , , These are the corresponding weight parameters. The second time period follows the first time period.
[0062] In some embodiments, a decay factor can be introduced when determining importance; that is, the importance of an application is determined based on its operational statistics, the likelihood of its operation in a second time period, and the decay factor. For example, the formula for determining the importance of application i is as follows:
[0063] in, This represents the decay factor of application i, which is based on the execution interval corresponding to the most recent execution of application i. It is confirmed that there is a negative correlation between the decay factor and the interval between the most recent runs. For example, , The set attenuation coefficient, This is the execution interval corresponding to the most recent execution.
[0064] Step 202: Classify multiple applications according to the set application categories to obtain at least one application set.
[0065] In one possible embodiment of this application, setting an application category may refer to an application function category. For example, setting an application category may include video applications, social applications, office applications, and shopping applications, etc.
[0066] In one possible embodiment of this application, the application category is defined as including system applications and non-system applications. Non-system applications refer to third-party applications.
[0067] Step 203: For any application set in at least one application set, group the applications in the application set according to their importance to obtain at least one application group.
[0068] Applications within the same application set belong to the same application category, and each application set corresponds to at least one application group.
[0069] Step 204: For any application group in at least one application group, back up the applications in the application group to obtain the backup data packet corresponding to the application group.
[0070] In one possible embodiment of this application, when the application category includes system applications and non-system applications, the method further includes: sorting the system applications among the multiple applications according to their importance to obtain first sorting data, and sorting the non-system applications among the multiple applications according to their importance to obtain second sorting data; obtaining auxiliary data packets based on the first sorting data, the second sorting data, and application description data of the multiple applications; and sending the auxiliary data packets and backup data packets to a designated storage service to associate and store the auxiliary data packets and backup data packets.
[0071] The first sorting data is used to indicate the application recovery order of system applications, and the first sorting data can be a sorted list of system application identifiers; the second sorting data is used to indicate the application recovery order of non-system applications, and the second data can be a sorted list of non-system application identifiers; the application description data can include information such as application name, package name, version number, and application icon.
[0072] Here, "setting up storage service" can refer to the first storage service.
[0073] In this embodiment, the importance of any application among multiple applications is obtained; the multiple applications are classified according to a set application category to obtain at least one application set; for any application set in the at least one application set, the applications in the application set are grouped according to their importance to obtain at least one application group; for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data package corresponding to the application group; wherein, classifying applications according to application category first and then grouping them according to importance can enable similar applications to be processed together, avoid cross-category application grouping, and thus reduce the complexity of application backup.
[0074] This embodiment provides an application recovery method. Figure 3 This is a flowchart illustrating an application recovery method provided in an embodiment of this application. This application recovery method can be applied to terminal devices, such as cloud terminals.
[0075] like Figure 3 As shown, the application recovery method may include the following steps: Step 301: Sequentially obtain the backup data packets corresponding to each application group, and after obtaining the backup data packets at any time, restore the application based on the backup data packets.
[0076] The application grouping is obtained by the cloud terminal grouping multiple applications according to the importance of any one of the multiple applications; the importance is determined based on the application's running statistics in the first time period and / or the probability of the application running in the second time period; wherein the first time period is located before the second time period.
[0077] The cloud terminal can sequentially acquire backup data packets corresponding to each application group according to a set order; after acquiring the backup data packet each time, the cloud terminal can restore the application based on the acquired backup data packet.
[0078] In one possible embodiment of this application, the backup data packets corresponding to each application group are obtained sequentially, including: obtaining a storage address list, wherein the storage address list is obtained by sorting the storage addresses of the backup data packets corresponding to each application group according to the importance of each application group; the importance of the application group is determined according to the importance of any application in the application group; and the backup data packets corresponding to each application group are obtained sequentially according to the acquisition order indicated by the storage address list.
[0079] Specifically, when the importance of an application is expressed as an importance score, the importance of an application group can be expressed as either an importance score or an importance label; when the importance of an application is expressed as an importance label, the importance of an application group can be expressed as an importance label.
[0080] In some optional embodiments, the cloud terminal may send a second request to the cloud terminal server, the second request being used to request a list of storage addresses, and receive a second response returned by the cloud terminal server; wherein the second response includes the list of storage addresses.
[0081] In some embodiments, the cloud terminal server can sort the storage addresses of the backup data packets corresponding to each application group in descending order of importance, thereby obtaining a list of storage addresses.
[0082] In some embodiments, the cloud terminal server can first sort the storage addresses of backup data packets corresponding to system applications in descending order of importance, and then sort the storage addresses of backup data packets corresponding to non-system applications in descending order of importance, thus obtaining a storage address list. The cloud terminal can then restore system applications first, followed by non-system applications, according to the storage address list in this embodiment.
[0083] The importance of application groups indicates how frequently users use the applications and / or the likelihood of users using the applications. By retrieving backup data packages in order of importance of application groups, the applications that users frequently use can be restored first, avoiding long waiting times for users and improving user experience.
[0084] In one possible embodiment of this application, the application categories corresponding to multiple applications include system applications and non-system applications.
[0085] In one possible embodiment of this application, before sequentially obtaining the backup data packets corresponding to each application group, the method further includes: obtaining auxiliary data packets from a set storage service; wherein, the auxiliary data packets include first sorting data, second sorting data, and application description data of multiple applications, the first sorting data is obtained by sorting the system applications among the multiple applications according to their importance, the second sorting data is obtained by sorting the non-system applications among the multiple applications according to their importance; based on the application description information in the auxiliary data packets, application icon freezing processing and placeholder icon generation processing are performed on any application among the multiple applications.
[0086] This process allows for the generation of placeholder icons for applications that have not yet started installation, and the freezing of application icons for applications that have started installation but have not yet completed. After an application icon is frozen, the user cannot install or open the frozen application; for example, the frozen application icon may be displayed in gray. It should be noted that the cloud terminal can be reset before performing the application icon freezing and placeholder icon generation processes.
[0087] In some alternative embodiments, the cloud terminal may send a third request to the cloud terminal server in response to the establishment of a connection between the cloud terminal and the cloud terminal client, or in response to an application recovery command sent by the user through the cloud terminal client. The third request is used to request auxiliary data packets, and the cloud terminal server may receive a third response, which includes auxiliary data packets.
[0088] In one possible embodiment of this application, the backup data packet corresponding to any application group has a matching application category; application recovery based on the backup data packet includes: in response to the application category matching the backup data packet being a system application, performing application permission configuration processing on the system applications in the backup data packet sequentially according to the first sorting data, and in response to the completion of application permission configuration, unfreezing the application icons of the system applications in the backup data packet; in response to the application category matching the backup data packet being a non-system application, performing application permission configuration processing on the non-system applications in the backup data packet sequentially according to the second sorting data, and in response to the completion of application permission configuration, unfreezing the application icons of the non-system applications in the backup data packet.
[0089] Specifically, configuring application permissions based on the first sorting data can prioritize the restoration of important system applications; configuring application permissions based on the second sorting data can prioritize the restoration of important non-system applications. It should be noted that after the application permissions are configured, the application can run normally. Therefore, the application icon can be unfrozen after the application permissions are configured to indicate that the application is available.
[0090] It should be noted that the relevant content in this embodiment can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.
[0091] In this embodiment, backup data packets corresponding to each application group are sequentially obtained, and the application is restored based on the backup data packets after each acquisition. In this way, the application is restored in batches after each acquisition of backup data packets, which not only avoids long waiting times for users, but also reduces system load and makes the cloud terminal start up faster, thereby improving the user experience.
[0092] This embodiment provides an application processing method. Figure 3 This is a flowchart illustrating an application processing method provided in an embodiment of this application. This application processing method can be applied to a target service, such as a large model service.
[0093] like Figure 4 As shown, the application processing method may include the following steps: Step 401: Obtain the running statistics of any application in the first time period from multiple applications, and obtain the running probability of any application in the second time period from the multiple applications; wherein, the first time period is located before the second time period.
[0094] Step 402: For any of the applications, determine the importance of the application based on the running statistics and / or the running probability.
[0095] The importance level is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, to back up the applications in the application group to obtain a backup data package corresponding to the application group.
[0096] In one possible embodiment of this application, obtaining the probability of any application running within a second time period from the plurality of applications includes: obtaining running information corresponding to any run of any application within a third time period from the plurality of applications; wherein the third time period is prior to the second time period; and predicting the probability of running for any application based on the running information.
[0097] The third time period and the first time period can be the same time period or different time periods.
[0098] Among them, the large model service can determine the derived information (running frequency, number of runs, runtime of each run, etc.) based on the running information (including running time) corresponding to each run; and based on the running information and derived information, use LSTM or Transformer models to predict the probability of the application running in the second time period.
[0099] In one possible embodiment of this application, for any application, determining the importance of the application based on the running statistics and / or the running probability includes: for any application, obtaining the running interval corresponding to the most recent running of the application, and determining a decay factor based on the running interval; determining the importance of the application based on the running statistics, the running probability, and the decay factor.
[0100] For example, the formula for determining the importance of application i is as follows:
[0101] in, Indicates the importance of application i. Indicates the runtime of application i during the first time period. This indicates the number of times application i runs within the first time period. This indicates the probability of application i running during the second time period. , , For the corresponding weight parameters, This represents the decay factor of application i, which is based on the execution interval corresponding to the most recent execution of application i. It is confirmed that there is a negative correlation between the decay factor and the interval between the most recent runs. For example, , The set attenuation coefficient, This is the execution interval corresponding to the most recent execution.
[0102] It should be noted that the relevant content in this embodiment can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.
[0103] In this embodiment, operational statistics of any application among multiple applications are obtained during a first time period, and the probability of any application among the multiple applications running during a second time period is obtained; wherein, the first time period is prior to the second time period; for any application, the importance of the application is determined based on the operational statistics and / or the probability of running; wherein, the importance is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data package corresponding to the application group; wherein, determining the importance of an application based on operational statistics and / or the probability of running can reflect the frequency of application operation and / or the probability of operation in future time periods; in addition, grouping and packaging applications for backup based on their importance improves the flexibility of application backup and reduces the size of backup data packages.
[0104] To clearly illustrate the matching method of this application, this embodiment describes the interaction process between cloud terminals (cloud phones / cloud machines), cloud terminal clients (cloud phone clients), cloud terminal servers (cloud phone servers), and large model services. Figure 5 This is a schematic diagram of the modules for the cloud terminal, cloud terminal client, cloud terminal server, and large model service provided in the embodiments of this application. Figure 6 A timing diagram illustrating the application backup provided in the embodiments of this application; Figure 7 This is a timing diagram illustrating the application recovery provided in the embodiments of this application.
[0105] like Figure 5As shown, the cloud terminal includes a cloud-side Software Development Kit (SDK), a backup module, a silent recovery module, a system package management module, a launcher, and an application statistics module; the cloud terminal client includes an end-side SDK; the following describes... Figure 5 The following is a description of each module: Cloud terminal client: Users complete identity authentication through the cloud mobile client. The cloud mobile client provides access to the cloud mobile phone and functions to operate the cloud machine. It mainly includes handling user login, obtaining access credentials for the cloud mobile phone server, and providing access to the cloud machine and display window.
[0106] Cloud device: A virtual mobile phone that users see, which runs an operating system (OS).
[0107] Cloud phone server: Used for the management of cloud phone related services, mainly responsible for handling user login requests, issuing cloud phone server access credentials, relaying data recovery commands, relaying application running statistics, obtaining application importance, and obtaining download links (storage address list) for backup data packages, etc.
[0108] Client-side SDK: The SDK embedded in the cloud phone client is responsible for communicating with the cloud-side SDK and building a communication bridge between the cloud phone client and the cloud machine. Its main functions are sending command streams and receiving audio and video streams.
[0109] Cloud-side SDK: The cloud machine is responsible for communicating with the client-side SDK and transmitting data between the cloud mobile client and the cloud machine. This mainly includes heartbeat detection, receiving command streams, and sending audio and video streams.
[0110] Object storage service: After the cloud phone backup is completed, the backup data package will be pushed to this storage service. When restoring cloud phone data, the backup data package used for application recovery will also be pulled from this service.
[0111] Backup module: This module is used to back up cloud phone applications and data. The backup process is triggered when the cloud phone OS detects that the user has disconnected.
[0112] Application statistics module: Statistics on the running status of all applications within the cloud machine, such as the number of times they run, the duration of their run, the start time of the run, and the end time of the run.
[0113] Silent Recovery Module: Provides a service for external programs to trigger the recovery process, which can silently restore applications and data based on the importance of the applications at the time of backup.
[0114] System Package Management Module: A module in the operating system used to manage application packages, including functions such as application freezing, installation, and uninstallation.
[0115] Launcher: The operating system desktop application responsible for creating placeholder icons when installing applications, displaying icons of successfully installed applications, etc.
[0116] Data storage service: Used to store the runtime statistics of applications within the user's cloud machine and provide them to big data models for model training.
[0117] Large Model Service: Used to predict the likelihood of an application running and to determine the importance of an application based on its running statistics and / or likelihood of running, providing a basis for application backup and recovery order.
[0118] Figure 6 The diagram shows a timing representation of the application backup process, specifically: When a user connects to the cloud terminal and uses it normally, the backup module starts a Service, which is used by external programs to trigger the backup process.
[0119] When a user logs out of the cloud terminal, the cloud terminal OS detects that the cloud terminal client has stopped sending heartbeat packets, determines that the connection has been lost, calls the Service of the backup module, and triggers the backup process.
[0120] The backup module in the cloud terminal sends a request to the cloud terminal server to obtain the application's importance level. Upon receiving the request, the cloud terminal server sends a request to the large model service, obtains the application's importance level, and then returns it to the cloud terminal's backup module. The backup module then performs the following steps: (1) Use the getInstalledPackages method of PackageManager to obtain all installed applications in the cloud terminal, and obtain application description data such as the name, package name, version number, and icon of each application; (2) The applications are divided into two categories: system applications and non-system applications, resulting in two application sets; (3) First, group and back up the applications in the application set corresponding to the system application to obtain at least one backup data packet corresponding to the system application. Then, group and back up the applications in the application set corresponding to the non-system application to obtain at least one backup data packet corresponding to the non-system application. (4) Sort system applications according to their importance to obtain first sorted data, and sort non-system applications according to their importance to obtain second sorted data; package the application description data, first sorted data and second sorted data to obtain auxiliary data package (also known as pre-recovery package); (5) Send the auxiliary data packet, at least one backup data packet corresponding to the system application, and at least one backup data packet corresponding to the non-system application to the cloud terminal server, and then push them to the object storage service.
[0121] Figure 7 The diagram shows a timing representation of the application recovery process, specifically: The silent recovery module defines a Service, which contains a method to trigger silent recovery. Once this service is started, external programs can trigger the silent recovery process through it.
[0122] When a user clicks "Restore Application" in the cloud terminal client, the cloud terminal client sends a cloud terminal restore command to the cloud terminal server. The cloud terminal server then notifies the cloud terminal OS to call the silent restore method of the Service, triggering the silent restore operation, as follows: 1) Reset Cloud Terminal: The silent recovery module resets the cloud terminal and initializes the cloud-side SDK for end-to-cloud collaboration. Upon successful initialization, the cloud terminal client is notified that initialization has been successful and it can now access the cloud terminal. When the user clicks to enter the cloud terminal, the system requests an auxiliary data package from the cloud terminal server. After obtaining the storage address of the auxiliary data package, it downloads the auxiliary data package from the object storage service, decompresses it, and reads it into memory.
[0123] 2) Freeze Applications: The silent recovery module sends a request to the system package management module to freeze applications. The system package management module then freezes all applications in the auxiliary data package. The icons of the frozen applications will turn gray, and users will not be able to install or open the frozen applications themselves. The silent recovery module sends application information and icons from the auxiliary data packet to the Launcher, which then generates placeholder icons for uninstalled applications; if the application is already installed, no action is taken.
[0124] 3) Obtain and restore backup data packets: Request a list of storage addresses for backup data packets from the cloud terminal server. The cloud terminal server sorts the storage addresses of the backup data packets according to the importance of the application groups to obtain the storage address list.
[0125] Based on the acquisition order indicated by the storage address table, the backup data package is downloaded from the object storage service. After each successful download, the data is decompressed and restored, and the application and data are restored to the corresponding folders, such as / data / data / , / data / app / , / system / app / , etc., and then the data recovery is performed.
[0126] 4) Configure system application permissions and unfreeze application icons: Based on the first sorted data, configure application permissions for the data folder of system applications using shell commands. For example, the commands are: userId=$(dumpsys package application package name|grep"userId"|cut-d'='-f2), chown-R $userId:$userId / data / data / application package name; Unfreeze applications that have been successfully configured with permissions, and record the permission configuration status of the application after unfreezing. Once unfrozen, users can use the application normally.
[0127] 5) Configure permissions for non-system applications and unfreeze icons: After system applications are restored, non-system applications are restored based on the second sorted data. First, it is determined whether the application to be restored is installed. If it is installed, a shell command is executed to configure permissions for the application's data folder. After configuration, the folder is unfrozen. If it is not installed, a silent installation is initiated. After successful installation, a shell command is executed to configure application permissions. After configuration, the folder is unfrozen, and the permission configuration status of the application is recorded.
[0128] 6) Complete Launcher Restore Initialization: After the restore is complete, notify the cloud terminal backend that the restore is complete. Then, a restore completion page will pop up, showing the restored application status. The Launcher initialization process will then be executed in the background, restoring the desktop icon layout. The restored application status may include the total number of applications restored, the number of successfully restored applications, and the number of failed restoration applications.
[0129] This application utilizes highly intelligent technology to predict the applications a user will use / run in the near future and calculate their importance. Applications are then backed up and restored in batches according to their importance, ensuring a fast and smooth application startup experience when the user enters the cloud terminal. It also guarantees that users can access their frequently used applications in the shortest possible time, reducing user waiting time. Furthermore, through a freeze / unfreeze mechanism for auxiliary data packages and application icons, users can immediately experience the rapid recovery of key applications upon starting the cloud terminal. This mechanism is particularly suitable for scenarios requiring immediate action, such as when users need to quickly access chat applications, social media, or financial applications, enabling a seamless transition and avoiding a poor experience caused by recovery delays.
[0130] To implement the above embodiments, this application also proposes an application backup device for use in terminal devices, such as cloud terminals.
[0131] Figure 8 This is a schematic diagram of the structure of an application backup device provided in an embodiment of this application.
[0132] like Figure 8 As shown, the application backup device 800 includes: The acquisition module 810 is used to acquire the importance of any application among multiple applications. The importance is determined based on the application's running statistics in a first time period and / or the application's running probability in a second time period; wherein the first time period is located before the second time period. Grouping module 820 is used to group multiple applications according to their importance to obtain at least one application group; The backup module 830 is used to back up the applications in any application group of at least one application group, and obtain the backup data package corresponding to the application group.
[0133] Optionally, the grouping module 820 is specifically used for: Based on the defined application categories, the multiple applications are classified to obtain at least one application set; For any application set in the at least one application set, the applications in the application set are grouped according to their importance to obtain at least one application group.
[0134] Optionally, the application category can be set to include system applications and non-system applications.
[0135] Optionally, the device further includes: The sorting module is used to sort the system applications among the plurality of applications according to the importance to obtain first sorting data, and to sort the non-system applications among the plurality of applications according to the importance to obtain second sorting data; The processing module is used to obtain an auxiliary data packet based on the first sorted data, the second sorted data, and the application description data of the multiple applications; The sending module is used to send the auxiliary data packet and the backup data packet to the designated storage service so as to associate and store the auxiliary data packet and the backup data packet.
[0136] Optionally, this device is applied to a cloud terminal, and the acquisition module 810 is specifically used for: Send a first request to the cloud terminal server; the cloud terminal server is used to respond to the first request by invoking the large model service, so that the large model service determines the importance level based on the running statistics and / or the running probability; Receive a first response sent by the cloud terminal server, wherein the first response includes the importance of any one of the plurality of applications.
[0137] It should be noted that the foregoing explanation of the application backup method embodiment also applies to the application backup device of this embodiment, and will not be repeated here.
[0138] In this embodiment, the importance of any application among multiple applications is obtained. The importance is determined based on the application's running statistics in a first time period and / or the probability of the application running in a second time period; wherein the first time period is before the second time period; the multiple applications are grouped according to their importance to obtain at least one application group; for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data package corresponding to the application group; wherein, compared to packaging all applications together, grouping and backing up applications according to their importance improves the flexibility of application backup and reduces the size of the backup data package.
[0139] To implement the above embodiments, this application also proposes an application recovery device for use in terminal devices, such as cloud terminals.
[0140] Figure 9 This is a schematic diagram of the structure of an application recovery device provided in an embodiment of this application.
[0141] like Figure 9 As shown, the application recovery device 900 includes: The recovery module 910 is used to sequentially obtain the backup data packets corresponding to each application group, and after obtaining the backup data packets at any time, to restore the application based on the backup data packets.
[0142] The application grouping is obtained by the cloud terminal grouping multiple applications according to the importance of any one of the multiple applications; the importance is determined based on the application's running statistics in the first time period and / or the probability of the application running in the second time period; wherein the first time period is located before the second time period.
[0143] Optionally, the recovery module 910 is specifically used for: Obtain a storage address list, which is obtained by sorting the storage addresses of backup data packets corresponding to each application group according to the importance of each application group; the importance of each application group is determined based on the importance of any application in the application group. Based on the acquisition order indicated by the storage address list, the backup data packets corresponding to each application group are acquired sequentially.
[0144] Optionally, the application categories corresponding to multiple applications include system applications and non-system applications, and the device further includes: The acquisition module is used to acquire auxiliary data packets from a set storage service before sequentially acquiring the backup data packets corresponding to each application group; wherein, the auxiliary data packets include first sorting data, second sorting data, and application description data of the plurality of applications, wherein the first sorting data is obtained by sorting the system applications among the plurality of applications according to the importance, and the second sorting data is obtained by sorting the non-system applications among the plurality of applications according to the importance; The processing module is used to perform application icon freezing and placeholder icon generation processing on any of the multiple applications based on the application description information in the auxiliary data packet.
[0145] Optionally, the backup data packet corresponding to any of the application groups has a matching application category, and the recovery module 910 is specifically used for: In response to the application category matching the backup data packet being a system application, application permission configuration is performed on the system applications in the backup data packet according to the first sorting data, and in response to the completion of application permission configuration, the application icons of the system applications in the backup data packet are unfrozen. In response to the fact that the application category matched by the backup data package is a non-system application, application permission configuration processing is performed on the non-system applications in the backup data package according to the second sorting data, and in response to the completion of application permission configuration, application icon unfreezing processing is performed on the non-system applications in the backup data package.
[0146] It should be noted that the foregoing explanation of the application recovery method embodiment applied to cloud terminals also applies to the application recovery device of this embodiment, and will not be repeated here.
[0147] In this embodiment, backup data packets corresponding to each application group are sequentially obtained, and the application is restored based on the backup data packets after each acquisition. In this way, the application is restored in batches after each acquisition of backup data packets, which not only avoids long waiting times for users, but also reduces system load and makes the cloud terminal start up faster, thereby improving the user experience.
[0148] To implement the above embodiments, this application also proposes an application processing device for a target service, such as a large model service.
[0149] Figure 10 This is a schematic diagram of an application processing device provided in an embodiment of this application.
[0150] like Figure 10 As shown, the application processing device 1000 includes: The acquisition module 1010 is used to acquire the running statistics of any application in a first time period among multiple applications, and to acquire the running probability of any application in a second time period among the multiple applications; wherein, the first time period is located before the second time period; The determination module 1020 is used to determine the importance of any application based on the running statistics and / or the running probability. The importance level is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, to back up the applications in the application group to obtain a backup data package corresponding to the application group.
[0151] Optionally, the acquisition module 1010 is specifically used for: Obtain the running information corresponding to any one run of any of the multiple applications within a third time period; wherein the third time period is prior to the second time period; For any of the applications, the probability of operation is predicted based on the operational information.
[0152] Optionally, the determination module 1020 is specifically used for: For any of the applications, obtain the running interval corresponding to the most recent run of the application, and determine the decay factor based on the running interval; The importance of the application is determined based on the operational statistics, the operational probability, and the decay factor.
[0153] In this embodiment, operational statistics of any application among multiple applications are obtained during a first time period, and the probability of any application among the multiple applications running during a second time period is obtained; wherein, the first time period is prior to the second time period; for any application, the importance of the application is determined based on the operational statistics and / or the probability of running; wherein, the importance is used to group the multiple applications to obtain at least one application group, and for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data package corresponding to the application group; wherein, determining the importance of an application based on operational statistics and / or the probability of running can reflect the frequency of application operation and / or the probability of operation in future time periods; in addition, grouping and packaging applications for backup based on their importance improves the flexibility of application backup and reduces the size of backup data packages.
[0154] Figure 11This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 1100 in this embodiment is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0155] like Figure 11 As shown, the above-mentioned electronic device 1100 includes: The memory 1101 and the processor 1102 are connected by a bus 1103 that connects different components (including the memory 1101 and the processor 1102). The memory 1101 stores a computer program, and when the processor 1102 executes the program, it implements the application backup method or application recovery method of the present application embodiment.
[0156] Bus 1103 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0157] Electronic device 1100 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by electronic device 1100, including volatile and non-volatile media, removable and non-removable media.
[0158] Memory 1101 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1104 and / or cache memory 1105. Electronic device 1100 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 1106 may be used to read and write non-removable, non-volatile magnetic media (… Figure 11 Not shown; usually referred to as a "hard drive"). Although Figure 11As not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 1103 via one or more data media interfaces. Memory 1101 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.
[0159] A program / utility 1108 having a set (at least one) of program modules 1107 may be stored, for example, in memory 1101. Such program modules 1107 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 1107 typically perform the functions and / or methods described in the embodiments of this application.
[0160] Electronic device 1100 can also communicate with one or more external devices 1109 (e.g., keyboard, pointing device, display 1111, etc.), and with one or more devices that enable a user to interact with the electronic device 1100, and / or with any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 1112. Furthermore, electronic device 1100 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1113. Figure 11 As shown, network adapter 1113 communicates with other modules of electronic device 1100 via bus 1103. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0161] The processor 1102 performs various functional applications and data processing by running programs stored in the memory 1101.
[0162] It should be noted that the implementation process and technical principles of the electronic device in this embodiment are explained in the foregoing description of the application backup method or application recovery method in the embodiments of this application, and will not be repeated here.
[0163] To implement the above embodiments, this application also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the foregoing embodiments.
[0164] To implement the above embodiments, this application also proposes a computer program product, including a computer program that, when executed by a processor, implements the methods provided in the foregoing embodiments.
[0165] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0166] It should be noted that personal information collected from users should be used for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. Furthermore, such collection / sharing should only be conducted after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign an agreement / authorization that includes authorization of relevant user information before the user uses the function. In addition, any necessary steps must be taken to protect and safeguard access to such personal information data and ensure that others with access to personal information data comply with their privacy policies and procedures.
[0167] This application is intended to provide an implementation scheme for users to selectively prevent the use or access to their personal information data. Specifically, this disclosure is intended to provide hardware and / or software to prevent or block access to such personal information data. Once personal information data is no longer needed, risks can be minimized by restricting data collection and deleting data. Furthermore, where applicable, such personal information is de-identified to protect user privacy.
[0168] In the foregoing descriptions of the embodiments, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0169] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0170] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0171] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0172] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0173] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0174] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0175] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. An application backup method characterized by comprising: The method comprises the following steps: obtaining an importance degree of any application in a plurality of applications, the importance degree being determined based on running statistical data of the application within a first period and / or running possibility of the application within a second period; wherein the first period is prior to the second period; grouping the plurality of applications according to the importance degree to obtain at least one application group; backing up the applications in any application group of the at least one application group to obtain a backup data package corresponding to the application group.
2. The method of claim 1, wherein, The grouping the plurality of applications according to the importance degree to obtain at least one application group comprises: classifying the plurality of applications according to a set application category to obtain at least one application set; grouping the applications in any application set of the at least one application set according to the importance degree to obtain at least one application group.
3. The method of claim 2, wherein, The set application category comprises system applications and non-system applications.
4. The method of claim 3, wherein, The method further comprises: sorting the system applications in the plurality of applications according to the importance degree to obtain first sorting data, and sorting the non-system applications in the plurality of applications according to the importance degree to obtain second sorting data; obtaining an auxiliary data package based on the first sorting data, the second sorting data and application description data of the plurality of applications; sending the auxiliary data package and the backup data package to a set storage service to store the auxiliary data package and the backup data package in association.
5. The method of claim 1, wherein, The method is applied to a cloud terminal, and the obtaining an importance degree of any application in a plurality of applications comprises: sending a first request to a cloud terminal server; the cloud terminal server is configured to invoke a large model service in response to the first request to enable the large model service to determine the importance degree based on the running statistical data and / or the running possibility; receiving a first response sent by the cloud terminal server, the first response comprising the importance degree of any application in the plurality of applications.
6. An application recovery method characterized by comprising: The method comprises the following steps: sequentially obtaining backup data packages corresponding to each application group, and performing application recovery according to the backup data package after each time the backup data package is obtained; wherein the application group is obtained by grouping the plurality of applications according to an importance degree of any application in the plurality of applications; the importance degree is determined based on running statistical data of the application within a first period and / or running possibility of the application within a second period; wherein the first period is prior to the second period.
7. The method of claim 6, wherein, The sequentially obtaining backup data packages corresponding to each application group comprises: obtaining a storage address list, the storage address list being obtained by sorting storage addresses of the backup data packages corresponding to each application group according to an importance degree of each application group; the importance degree of each application group is determined according to an importance degree of any application in the application group; sequentially obtaining the backup data packages corresponding to each application group according to an obtaining order indicated by the storage address list.
8. The method of claim 6, wherein, The setting application category corresponding to the plurality of applications includes system applications and non-system applications, and before the backup data packets corresponding to each application group are sequentially obtained, the method further includes: obtaining an auxiliary data packet from a setting storage service; wherein the auxiliary data packet includes first sorting data, second sorting data, and application description data of the plurality of applications, the first sorting data is obtained by sorting the system applications in the plurality of applications according to the importance, and the second sorting data is obtained by sorting the non-system applications in the plurality of applications according to the importance; based on the application description information in the auxiliary data packet, performing application icon freezing processing and placeholder icon generation processing on any application in the plurality of applications.
9. The method of claim 8, wherein, The backup data packet corresponding to any of the application groups has a matching application category, and the application recovery according to the backup data packet includes: in response to the application category matched by the backup data packet being a system application, performing application permission configuration processing on the system applications in the backup data packet in sequence according to the first sorting data, and in response to the application permission configuration being completed, performing application icon unfreezing processing on the system applications in the backup data packet; in response to the application category matched by the backup data packet being a non-system application, performing application permission configuration processing on the non-system applications in the backup data packet in sequence according to the second sorting data, and in response to the application permission configuration being completed, performing application icon unfreezing processing on the non-system applications in the backup data packet.
10. An application processing method characterized by comprising: including the following steps: obtaining running statistical data of any application in a plurality of applications within a first time period, and obtaining running possibility of any application in the plurality of applications within a second time period; wherein the first time period is located before the second time period; for the any application, determining the importance of the application based on the running statistical data and / or the running possibility; wherein the importance is used to group the plurality of applications to obtain at least one application group, and for any application group in the at least one application group, the applications in the application group are backed up to obtain a backup data packet corresponding to the application group.
11. The method of claim 10, wherein, The obtaining of the running possibility of any application in the plurality of applications within a second time period includes: obtaining running information corresponding to any time running of any application in the plurality of applications within a third time period; wherein the third time period is located before the second time period; for the any application, predicting the running possibility based on the running information.
12. The method of claim 10, wherein, The determining of the importance of the any application based on the running statistical data and / or the running possibility includes: for the any application, obtaining a running interval corresponding to the last time running of the application, and determining a decay factor according to the running interval; determining the importance of the application according to the running statistical data, the running possibility, and the decay factor.
13. A backup application apparatus characterized by comprising: including: An obtaining module is configured to obtain an importance degree of any application in a plurality of applications, the importance degree being determined based on running statistical data of the application in a first time period and / or a running possibility of the application in a second time period, wherein the first time period is prior to the second time period. A grouping module is configured to group the plurality of applications according to the importance degrees, to obtain at least one application group. A backup module is configured to backup the applications in any application group in the at least one application group, to obtain a backup data packet corresponding to the application group.
14. An application recovery apparatus characterized by comprising: The method comprises the following steps: A recovery module is configured to sequentially obtain the backup data packets corresponding to the application groups, and perform application recovery according to the backup data packet after any time of obtaining the backup data packet. The application groups are obtained by grouping the plurality of applications according to the importance degrees of any application in the plurality of applications; the importance degrees are determined based on running statistical data of the application in a first time period and / or a running possibility of the application in a second time period, wherein the first time period is prior to the second time period.
15. An application processing apparatus comprising: The method comprises the following steps: An obtaining module is configured to obtain running statistical data of any application in a plurality of applications in a first time period, and obtain a running possibility of the application in a second time period, wherein the first time period is prior to the second time period. A determining module is configured to determine an importance degree of the application based on the running statistical data and / or the running possibility for any application. The importance degree is used for grouping the plurality of applications to obtain at least one application group, and backing up the applications in any application group in the at least one application group to obtain a backup data packet corresponding to the application group.
16. An electronic device, comprising: The method comprises the following steps: A processor and a memory in communication connection with the processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, to implement the method in any one of claims 1-5 or 6-9 or 10-12.
17. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method in any one of claims 1-5 or 6-9 or 10-12.
18. A computer program product, characterised in that, The computer program is executed by the processor to implement the method in any one of claims 1-5 or 6-9 or 10-12.