Application program processing method and device, equipment and storage medium

By determining whether the application exists on the service whitelist and performing computing power detection, determining the processing method, the problem of reducing startup efficiency caused by the competition for application resources is solved and the user experience is improved.

CN119149133APending Publication Date: 2024-12-17NANCHANG HUAQIN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411346407.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

A large number of applications compete for user-side resources, such as memory, storage space and processor performance, resulting in a reduced startup and operation efficiency of applications and affecting the user's user experience.

Method used

By determining whether the application exists in the pre-established service whitelist, if it exists, judge the connection status between the user and the server. If it does not exist, obtain the startup and operation data for computing capability detection, determine the most appropriate computing processing method, and select the service or the machine performs processing.

Benefits of technology

It improves the startup and operation efficiency of the application, optimizes the resource utilization of the user side, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119149133A_ABST
    Figure CN119149133A_ABST
Patent Text Reader

Abstract

The invention discloses an application program processing method and device, equipment and a storage medium. Whether an application program exists in a service white list or not is judged; if yes, whether the user side is connected with the server side or not is judged so as to determine an operation processing mode; if not, acquiring starting operation data of the application program; carrying out operational capability detection according to the starting operation data so as to determine an operation processing mode; and performing operation processing on the application program based on the operation processing mode. According to the scheme, the service white list is established in advance, and judgment is carried out when the application program is started, so that the application program belonging to the service white list can be directly processed by the server side on the premise that the user side is connected with the server side, and the efficiency is improved; and the application programs which do not belong to the service white list need to be subjected to operational capability detection, and the most suitable and efficient operation processing mode is determined according to the detection result, so that the starting operation efficiency of any application program in the user side is improved, and the use experience of the user is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of application processing, and in particular to a method, apparatus, device and storage medium for processing an application. Background Art

[0002] With the widespread popularity of smartphones and mobile devices, people are increasingly relying on various applications to meet their daily life, work and entertainment needs. Traditionally, the processing of applications by the user is relatively simple, mainly including installation, uninstallation and basic operation. However, with the increasing number of applications, increasingly complex functions and diversified user needs, the processing of applications has become more challenging.

[0003] A large number of applications compete for user-side resources, such as memory, storage space, and processor performance, which reduces the efficiency of application startup and operation and affects the user experience. Summary of the invention

[0004] In view of this, the present application provides an application processing method, apparatus, device and storage medium for solving the problem that a large number of applications compete for user-side resources, such as memory, storage space and processor performance, which will lead to reduced efficiency in application startup and operation and affect the user experience.

[0005] To achieve the above objectives, the proposed solution is as follows:

[0006] In a first aspect, a method for processing an application program includes:

[0007] In response to a start request instruction initiated by a user at a user end for an application, determining whether the application exists in a pre-established service whitelist;

[0008] If the application exists in the service whitelist, determining whether the user terminal is connected to the server terminal to determine the operation processing method for the application;

[0009] If the application does not exist in the service whitelist, obtaining startup and running data of the application;

[0010] Performing a computing capability test on the application program according to the startup operation data to determine a computing processing method for the application program;

[0011] The application is processed based on the processing method.

[0012] Preferably, the determining whether the user terminal is connected to the server terminal to determine the operation processing method for the application program includes:

[0013] If the user terminal is connected to the server terminal, determining the computing processing mode of the application program to be the server terminal processing mode;

[0014] If the user end is not connected to the server end, a connection request is initiated to the server end; if the request is successful, the operation processing mode of the application is determined to be the server end processing mode; if the request fails, the operation processing mode of the application is determined to be the local processing mode.

[0015] Preferably, the obtaining the startup and running data of the application program includes:

[0016] Determine a system service module in the user terminal for real-time monitoring of the operating status of the user terminal;

[0017] Extracting historical operation data of the application from the system service module;

[0018] arbitrarily extracting first operation data of each startup operation of the application from historical operation data of the application according to a preset sample size;

[0019] Acquire the startup time when the application is started and the data processing amount during the runtime from the first running data;

[0020] The startup time and data processing volume of each startup operation are summarized to obtain the startup operation data of the application.

[0021] Preferably, the performing of computing capability detection on the application program according to the startup operation data to determine a computing processing method for the application program includes:

[0022] Determine the startup time and data processing amount of each startup operation of the application program from the startup operation data;

[0023] Determine the total number of times the application is started and run in the startup and run data;

[0024] Compare the startup time of each startup operation with a preset first time threshold, and count the number of times the startup time is greater than the first time threshold as the first number;

[0025] Compare the data processing volume of each startup operation with a preset first processing volume threshold, and count the number of times the data processing volume is greater than the first processing volume threshold as a second number;

[0026] A computing capability test is performed based on the total number, the first number, and the second number to determine a computing processing method for the application.

[0027] Preferably, the performing of computing capability detection based on the total number, the first number, and the second number to determine a computing processing method for the application program includes:

[0028] Calculating a ratio of the first number of times to the total number of times as a first ratio;

[0029] calculating a ratio of the second number of times to the total number of times as a second ratio;

[0030] If the first ratio and / or the second ratio is greater than a first preset comparison value, a pop-up window is sent to the user terminal for the user to select in the pop-up window;

[0031] The operation processing mode of the application is determined based on the user's selection.

[0032] Preferably, performing operation processing on the application based on the operation processing method includes:

[0033] If the computing processing mode is a server processing mode, determining whether the application and the server are connected via a USB;

[0034] If so, sending the to-be-processed data of the application to the server via the USB;

[0035] If not, the data to be processed of the application is sent to the server via a wireless connection, a Bluetooth connection or an NFC connection;

[0036] When the server receives the data to be processed sent by the application, it performs computation on the data to be processed.

[0037] Preferably, performing operation processing on the application based on the operation processing method includes:

[0038] If the computing processing mode is a local processing mode, all the application programs in the background of the user end are used as the first program;

[0039] Obtaining the time interval between the last running time of each of the first programs and the current time;

[0040] Clearing the first program whose time interval is greater than a preset time interval threshold from the user end background;

[0041] After clearing, the application is processed on the user end.

[0042] In a second aspect, a device for processing an application program includes:

[0043] A whitelist determination module, configured to respond to a startup request instruction initiated by a user at a user end to an application program, and to determine whether the application program exists in a pre-established service whitelist;

[0044] A connection determination module, used to determine whether the user terminal is connected to the server terminal if the application exists in the service whitelist, so as to determine the operation processing mode of the application;

[0045] A startup operation data acquisition module, used for acquiring startup operation data of the application if the application does not exist in the service whitelist;

[0046] A computing capability detection module, used to detect the computing capability of the application program according to the startup operation data, so as to determine a computing processing method for the application program;

[0047] An operation processing module is used to perform operation processing on the application based on the operation processing method.

[0048] In a third aspect, an application processing device includes a memory and a processor;

[0049] The memory is used to store programs;

[0050] The processor is used to execute the program to implement each step of the method for processing an application as described in any one of the first aspects.

[0051] In a fourth aspect, a storage medium stores a computer program thereon, wherein when the computer program is executed by a processor, the steps of the method for processing an application as described in any one of the first aspects are implemented.

[0052] It can be seen from the above technical solution that the present application responds to a startup request instruction initiated by a user at the user end to an application, and determines whether the application exists in a pre-established service whitelist; if the application exists in the service whitelist, it determines whether the user end and the server end are connected to determine the operation processing method for the application; if the application does not exist in the service whitelist, the startup operation data of the application is obtained; the operation capability of the application is detected according to the startup operation data to determine the operation processing method for the application; and the application is operated based on the operation processing method. This solution first determines whether the application to be started and run exists in a pre-established service whitelist. The service whitelist is used to give priority to server-side processing of applications. If it exists, it is necessary to determine whether the user end where the application is located is connected to the server end, so that the server end can perform calculations on the application and determine the calculation method. If it does not exist, it is necessary to perform a calculation capability test on the application based on the startup and operation data of the application to determine whether server-side processing is required to determine the calculation method. This solution pre-establishes a service whitelist and makes a judgment when the application is started. On the premise that the user end is connected to the server end, applications belonging to the service whitelist can be directly processed by the server end, which greatly improves efficiency; applications that do not belong to the service whitelist need to perform a calculation capability test, and determine the most appropriate and efficient calculation method based on the test results. This can improve the startup and operation efficiency of any application on the user end, which is beneficial to the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 An optional flow chart of a method for processing an application provided in an embodiment of the present application;

[0055] Figure 2 A schematic diagram of the structure of a processing device for an application provided in an embodiment of the present application;

[0056] Figure 3 A schematic diagram of the structure of a processing device for an application provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] The present invention can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, distributed computing environments including any of the above devices or devices, etc.

[0059] The embodiment of the present invention provides a method for processing an application program. The method can be applied to various computer terminals or intelligent terminals. The execution subject can be a processor or a server of the computer terminal or the intelligent terminal. The method flow chart of the method is as follows: Figure 1 As shown, specifically including:

[0060] S1: In response to a start request instruction initiated by a user at a user end to an application, it is determined whether the application exists in a pre-established service whitelist.

[0061] The user end may refer to a computer end: a desktop computer, a laptop computer, etc.; a mobile device end: a smart phone, a tablet computer, etc.; a smart TV end; a game console end; a smart watch; a smart speaker, etc., and this embodiment does not impose any restrictions on this.

[0062] When using the user terminal, users will open an application to engage in social activities, play games, etc. For example, on a mobile phone, a user clicks on an application on the phone screen, which is equivalent to initiating a start request instruction. This application first determines whether the application exists in the pre-established service whitelist.

[0063] The service whitelist can be viewed as a summary table of applications for the server to perform computing and processing. The service whitelist is not limited to the type of user terminal or the type of application. In the process of establishing the service whitelist, the basic information of each application in the user terminal can be first obtained, such as the amount of memory, the amount of computing at startup, the program size, and the program parameters. Then, combined with the computing intensity of the user terminal itself, a computing power test is performed to decide whether to include it in the service whitelist. For example, if the test result is that the user terminal itself cannot efficiently support the startup and operation of the application, it will be included in the service whitelist. If the test result is that the user terminal can fully support the startup and operation of the application, it will not be included in the service whitelist.

[0064] S2: If the application exists in the service whitelist, it is determined whether the user terminal is connected to the server terminal to determine the operation processing method for the application.

[0065] The applications in the service whitelist are the ones that use the server for computing and processing first. When it is determined that an application is in the service whitelist, it is necessary to first determine whether the user end where the application is located is connected to the server, so as to ensure that the server can process it. Then, the computing and processing method can be determined based on whether it is connected.

[0066] The server side is a system or device such as the cloud, computer, or server that can remotely process user-side applications.

[0067] S3: If the application does not exist in the service whitelist, then the startup and running data of the application is obtained.

[0068] If the application does not exist in the service whitelist, there may be two situations. One is that the service whitelist has already performed a computing power test on the application when it was established, and the test result is that it does not need to be processed by the server. The other is that it has not undergone a computing power test, so it does not exist in the service whitelist, and its computing power has yet to be tested. Therefore, it can be tested by obtaining its startup operation data.

[0069] The startup operation data refers to the computing power information required by the application when it is started, and the computing power information required during the runtime until the operation is completed. These are two types of data, and the computing power detection is performed based on these two types of data.

[0070] S4: Performing a computing capability test on the application program according to the startup operation data to determine a computing processing method for the application program.

[0071] It should be noted that the computing power of an application can be tested based on the startup and operation data. In fact, it means determining the computing power of the user end or server end required to start and run the application based on the startup and operation data. If the application requires good computing power to be processed, then the server end will be used to process the application. If the application does not require good computing power, the user end can process it itself.

[0072] The computing capability testing process may include:

[0073] Calculate the size of the startup data. For example, if an application requires a relatively large amount of memory when it starts and needs to process a large amount of data when it runs, it means that the application requires good computing power to process it. If an application does not require a relatively large amount of memory when it starts and does not need to process a lot of data when it runs, it means that the application does not require good computing power.

[0074] S5: Performing operation processing on the application based on the operation processing method.

[0075] The operation processing method may include: server-side processing method, local processing method, etc. The server-side processing method refers to the method in which the server remotely processes the user-side application program, and the local processing method refers to the method in which the user-side performs processing itself.

[0076] It can be seen from the above technical solution that the present application responds to a startup request instruction initiated by a user at the user end to an application, and determines whether the application exists in a pre-established service whitelist; if the application exists in the service whitelist, it determines whether the user end and the server end are connected to determine the operation processing method for the application; if the application does not exist in the service whitelist, the startup operation data of the application is obtained; the operation capability of the application is detected according to the startup operation data to determine the operation processing method for the application; and the application is operated based on the operation processing method. This solution first determines whether the application to be started and run exists in a pre-established service whitelist. The service whitelist is used to give priority to server-side processing of applications. If it exists, it is necessary to determine whether the user end where the application is located is connected to the server end, so that the server end can perform calculations on the application and determine the calculation method. If it does not exist, it is necessary to perform a calculation capability test on the application based on the startup and operation data of the application to determine whether server-side processing is required to determine the calculation method. This solution pre-establishes a service whitelist and makes a judgment when the application is started. On the premise that the user end is connected to the server end, applications belonging to the service whitelist can be directly processed by the server end, which greatly improves efficiency; applications that do not belong to the service whitelist need to perform a calculation capability test, and determine the most appropriate and efficient calculation method based on the test results. This can improve the startup and operation efficiency of any application on the user end, which is beneficial to the user experience.

[0077] In the method provided in the embodiment of the present invention, the process of determining whether the user terminal is connected to the server terminal to determine the operation processing method of the application program is specifically described as follows:

[0078] If the user terminal is connected to the server terminal, determining the computing processing mode of the application program to be the server terminal processing mode;

[0079] If the user end is not connected to the server end, a connection request is initiated to the server end; if the request is successful, the operation processing mode of the application is determined to be the server end processing mode; if the request fails, the operation processing mode of the application is determined to be the local processing mode.

[0080] It is understandable that if the server is to be used to process the application, it is necessary to ensure that the user end and the server are in a connected state. Therefore, after determining that the application exists in the service whitelist, this application must determine whether the user end and the server are connected. If the two are currently in a connected state, the operation processing method can be directly determined as the server processing method; if the two are not currently in a connected state, then a connection request can be initiated by the user or automatically by the user end.

[0081] The following is an explanation of the process of obtaining the startup running data of the application in the present application.

[0082] Determine a system service module in the user terminal for real-time monitoring of the operating status of the user terminal;

[0083] Extracting historical operation data of the application from the system service module;

[0084] arbitrarily extracting first operation data of each startup operation of the application from historical operation data of the application according to a preset sample size;

[0085] Acquire the startup time when the application is started and the data processing amount during the runtime from the first running data;

[0086] The startup time and data processing volume of each startup operation are summarized to obtain the startup operation data of the application.

[0087] Specifically, the user terminal will include system service modules that monitor the running status of the user terminal in real time, such as running service monitoring modules, task managers, housekeeper applications, activity monitors, etc. They can monitor and monitor the running status of each application in real time and store running data.

[0088] Therefore, the startup and running data of the application can be obtained to perform computing power detection. First, the historical running data of the application is extracted from the system service module, which includes the data of each startup and running of the application. Then, the sample size is pre-set, and the data is extracted from the historical running data according to the sample size. For example, if the sample size is 500, the data of the most recent 500 startups and runs of the application are extracted from the historical running data as the first running data. The first running data includes startup data and running data. This application needs to use the startup time in the startup data and the data processing volume in the running data. These two types of data are obtained because the startup time can characterize the startup response speed of the application. The faster the speed, the shorter the startup time, and the slower the speed, the longer the startup time; and the data processing volume can represent the efficiency, time and other characteristics of the application during the running process after startup. For example, if the data processing volume is large, then a relatively strong computing power is required accordingly. Therefore, obtaining the above two types of data for computing power detection can make the detection more accurate and help the processing of the application.

[0089] Next, the startup time and data processing volume of each startup operation are summarized to obtain the startup operation data of the application.

[0090] The above embodiment illustrates the process of obtaining the startup and running data of the application in the present application. The following is a detailed explanation of the steps of performing computing capability detection on the application based on the startup and running data in the present application to determine the computing processing method for the application.

[0091] Determine the startup time and data processing amount of each startup operation of the application program from the startup operation data;

[0092] Determine the total number of times the application is started and run in the startup and run data;

[0093] Compare the startup time of each startup operation with a preset first time threshold, and count the number of times the startup time is greater than the first time threshold as the first number;

[0094] Compare the data processing volume of each startup operation with a preset first processing volume threshold, and count the number of times the data processing volume is greater than the first processing volume threshold as a second number;

[0095] A computing capability test is performed based on the total number, the first number, and the second number to determine a computing processing method for the application.

[0096] Specifically, the total number of times the application is started and run in the startup and running data is the above-mentioned preset sample size, wherein each data includes the startup time and the data processing amount, and the computing power detection is performed in combination with the startup time and the data processing amount.

[0097] This application sets a first time threshold. It can be considered that if the startup time of the application is greater than the first time threshold, it means that its startup speed is relatively slow. If this situation occurs more frequently, it means that the application occupies more memory, or needs to process more data when starting, etc., which will lead to multiple slow startup speeds. It also sets a first processing volume threshold. It can be considered that if the data processing volume of the application is greater than the first processing volume threshold, it means that its requirements for the processing device during operation are relatively high. Then, the first number and the second number are determined respectively, and compared with the total number, respectively, to determine the operation processing method for the application.

[0098] The process of performing computing capability detection based on the total number of times, the first number of times, and the second number of times to determine a computing processing method for the application program includes:

[0099] Calculating a ratio of the first number of times to the total number of times as a first ratio;

[0100] calculating a ratio of the second number of times to the total number of times as a second ratio;

[0101] If the first ratio and / or the second ratio is greater than a first preset comparison value, a pop-up window is sent to the user terminal for the user to select in the pop-up window, and a calculation processing method for the application is determined based on the user's selection.

[0102] or,

[0103] If the first ratio and / or the second ratio is greater than a first preset comparison value, it is determined that the operation processing method for the application is a server-side processing method, and the application is added to the service whitelist.

[0104] Specifically, we can calculate the proportion of the first number and the second number in the total number to measure the probability that the application needs server processing. Take the first number as an example:

[0105] To calculate the ratio of the first number to the total number of times, you can divide the first number by the total number of times to get a first ratio, and set the first preset comparison value to a value less than 1 such as 0.8. Since the first number counts the startup time that is greater than the first time threshold, if the first ratio is greater than the first preset comparison value, it means that the startup time of the application will be longer in most cases. Therefore, it is optimal to choose the server to perform calculations on the application.

[0106] After determining that the first ratio is greater than the first preset comparison value, or the second ratio is greater than the first preset comparison value, or both the first ratio and the second ratio are greater than the first preset comparison value, in order to make the operation processing more efficient, the operation processing method for the application can be directly determined as the server processing method, and the application can be added to the service whitelist.

[0107] On the other hand, from the user level, a pop-up window can be sent to the user end, allowing the user to select the desired computing processing method in the pop-up window, so that the user has a better experience and more flexible processing methods. The pop-up window can include multiple options, as follows:

[0108] 1) Server-side processing method, and add the application to the service whitelist.

[0109] 2) Server-side processing method, no other processing is performed.

[0110] 3) Local processing method, and add the application to the service whitelist.

[0111] 4) This machine processes the data without any other processing.

[0112] The following embodiments describe in detail the process of performing operation processing on the application program based on the operation processing method in the present application.

[0113] This application is divided into two operation processing methods:

[0114] 1. Server-side processing method

[0115] Determine whether the application is connected to the server via USB;

[0116] If so, sending the to-be-processed data of the application to the server via the USB;

[0117] If not, the data to be processed of the application is sent to the server via a wireless connection, a Bluetooth connection or an NFC connection;

[0118] When the server receives the data to be processed sent by the application, it performs computation on the data to be processed.

[0119] Specifically, if it is determined that the operation processing method for the application is the server processing method, it has been indicated that the user end and the server end are interconnected at this time, so it is also necessary to determine the connection method between the two. There are many connection methods. USB connection is relatively stable and the data transmission speed is faster. In order to make the operation processing process more efficient, first select USB connection. Then it is necessary to first determine whether the current connection method is USB connection. If so, the application's to-be-processed data is sent to the server via USB; if not, you can choose wireless connection method, Bluetooth connection method or NFC connection method, etc.

[0120] (ii) This machine’s processing method.

[0121] All the applications in the background of the user end are taken as the first application;

[0122] Obtaining the time interval between the last running time of each of the first programs and the current time;

[0123] Clearing the first program whose time interval is greater than a preset time interval threshold from the user end background;

[0124] After clearing, the application is processed on the user end.

[0125] Specifically, if the operation processing mode is determined to be the local processing mode, this means that the application does not require server-side operation processing, or the user end where the application is located cannot connect to the server. Therefore, in order to improve the operation processing efficiency, the user end can be processed accordingly so that the user end can allocate more computing power to the application, such as clearing the background, or clearing one or more applications from the background that have a long time interval between the user's last operation and the current operation. The time interval threshold can be set to one hour. The longer the time interval, the smaller the probability that the user will run the first program again in a short time, so clearing such a first program from the background will not have a big impact on the user, and it can also improve the computing power of the user end.

[0126] Furthermore, if the operation processing method is a server-side processing method, the data to be processed of the application can be transmitted to the simulator in the server, and after the simulator processing is completed, the operation result is returned to the user end.

[0127] This application provides users with the option of using the server for computing and processing, so users do not need to pursue high-configuration client terminals to serve more customers.

[0128] and Figure 1 Corresponding to the method described above, the embodiment of the present invention further provides an application processing device for processing Figure 1In the specific implementation of the method, the application processing device provided in the embodiment of the present invention can be in a computer terminal or various mobile devices, combined with Figure 2 , introduce the processing device of the application, such as Figure 2 As shown, the device may include:

[0129] A whitelist determination module 10 is used to determine whether the application exists in a pre-established service whitelist in response to a startup request instruction initiated by a user at a user end to the application;

[0130] A connection determination module 20, for determining whether the user terminal is connected to the server terminal if the application exists in the service whitelist, so as to determine the operation processing mode of the application;

[0131] A startup operation data acquisition module 30, configured to acquire startup operation data of the application if the application does not exist in the service whitelist;

[0132] A computing capability detection module 40, configured to detect the computing capability of the application program according to the startup operation data, so as to determine a computing processing method for the application program;

[0133] The operation processing module 50 is used to perform operation processing on the application based on the operation processing method.

[0134] It can be seen from the above technical solution that the present application responds to a startup request instruction initiated by a user at the user end to an application, and determines whether the application exists in a pre-established service whitelist; if the application exists in the service whitelist, it determines whether the user end and the server end are connected to determine the operation processing method for the application; if the application does not exist in the service whitelist, the startup operation data of the application is obtained; the operation capability of the application is detected according to the startup operation data to determine the operation processing method for the application; and the application is operated based on the operation processing method. This solution first determines whether the application to be started and run exists in a pre-established service whitelist. The service whitelist is used to give priority to server-side processing of applications. If it exists, it is necessary to determine whether the user end where the application is located is connected to the server end, so that the server end can perform calculations on the application and determine the calculation method. If it does not exist, it is necessary to perform a calculation capability test on the application based on the startup and operation data of the application to determine whether server-side processing is required to determine the calculation method. This solution pre-establishes a service whitelist and makes a judgment when the application is started. On the premise that the user end is connected to the server end, applications belonging to the service whitelist can be directly processed by the server end, which greatly improves efficiency; applications that do not belong to the service whitelist need to perform a calculation capability test, and determine the most appropriate and efficient calculation method based on the test results. This can improve the startup and operation efficiency of any application on the user end, which is beneficial to the user experience.

[0135] Furthermore, the embodiment of the present application provides a processing device for an application program. Figure 3 The hardware structure diagram of the application processing device is shown in FIG. Figure 3 The hardware structure of the application processing device may include: at least one processor 01, at least one communication interface 02, at least one memory 03 and at least one communication bus 04.

[0136] In the embodiment of the present application, the number of the processor 01 , the communication interface 02 , the memory 03 , and the communication bus 04 is at least one, and the processor 01 , the communication interface 02 , and the memory 03 communicate with each other through the communication bus 04 .

[0137] The processor 01 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0138] The memory 03 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), etc., such as at least one disk memory.

[0139] The memory stores a program, and the processor can call the program stored in the memory, and the program is used to execute the following application processing method, including:

[0140] In response to a start request instruction initiated by a user at a user end for an application, determining whether the application exists in a pre-established service whitelist;

[0141] If the application exists in the service whitelist, determining whether the user terminal is connected to the server terminal to determine the operation processing method for the application;

[0142] If the application does not exist in the service whitelist, obtaining startup and running data of the application;

[0143] Performing a computing capability test on the application program according to the startup operation data to determine a computing processing method for the application program;

[0144] The application is processed based on the processing method.

[0145] Optionally, the detailed functions and extended functions of the program may refer to the description of the processing method of the application program in the method embodiment.

[0146] The embodiment of the present application further provides a storage medium, which may store a program suitable for execution by a processor, and when the program is running, controls the device where the storage medium is located to execute the following application processing method, including:

[0147] In response to a start request instruction initiated by a user at a user end for an application, determining whether the application exists in a pre-established service whitelist;

[0148] If the application exists in the service whitelist, determining whether the user terminal is connected to the server terminal to determine the operation processing method for the application;

[0149] If the application does not exist in the service whitelist, obtaining startup and running data of the application;

[0150] Performing a computing capability test on the application program according to the startup operation data to determine a computing processing method for the application program;

[0151] The application is processed based on the processing method.

[0152] Specifically, the storage medium may be a computer-readable storage medium, and the computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk or a ROM.

[0153] Optionally, the detailed functions and extended functions of the program may refer to the description of the processing method of the application program in the method embodiment.

[0154] In addition, the functional modules in the various embodiments of the present disclosure can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a live broadcast device, or a network device, etc.) to perform all or part of the steps of the methods of the various embodiments of the present disclosure.

[0155] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0156] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0157] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing an application, characterized in that: include: In response to a start request instruction initiated by a user at a user end for an application, determining whether the application exists in a pre-established service whitelist; If the application exists in the service whitelist, determining whether the user terminal is connected to the server terminal to determine the operation processing method for the application; If the application does not exist in the service whitelist, obtaining startup and running data of the application; Performing a computing capability test on the application program according to the startup operation data to determine a computing processing method for the application program; The application is processed based on the processing method.

2. The method according to claim 1, characterized in that The determining whether the user terminal is connected to the server terminal to determine the operation processing method of the application program includes: If the user terminal is connected to the server terminal, determining the computing processing mode of the application program to be the server terminal processing mode; If the user end is not connected to the server end, a connection request is initiated to the server end; if the request is successful, the operation processing mode of the application is determined to be the server end processing mode; if the request fails, the operation processing mode of the application is determined to be the local processing mode.

3. The method according to claim 1, characterized in that The step of obtaining the startup and running data of the application program includes: Determine a system service module in the user terminal for real-time monitoring of the operating status of the user terminal; Extracting historical operation data of the application from the system service module; arbitrarily extracting first operation data of each startup operation of the application from historical operation data of the application according to a preset sample size; Acquire the startup time when the application is started and the data processing amount during the runtime from the first running data; The startup time and data processing volume of each startup operation are summarized to obtain the startup operation data of the application.

4. The method according to claim 1, characterized in that The performing of computing capability detection on the application program according to the startup operation data to determine a computing processing method for the application program includes: Determine the startup time and data processing amount of each startup operation of the application program from the startup operation data; Determine the total number of times the application is started and run in the startup and run data; Compare the startup time of each startup operation with a preset first time threshold, and count the number of times the startup time is greater than the first time threshold as the first number; Compare the data processing volume of each startup operation with a preset first processing volume threshold, and count the number of times the data processing volume is greater than the first processing volume threshold as a second number; A computing capability test is performed based on the total number, the first number, and the second number to determine a computing processing method for the application.

5. The method according to claim 4, characterized in that The performing of computing capability detection based on the total number of times, the first number of times, and the second number of times to determine a computing processing method for the application program includes: Calculating a ratio of the first number of times to the total number of times as a first ratio; calculating a ratio of the second number of times to the total number of times as a second ratio; If the first ratio and / or the second ratio is greater than a first preset comparison value, a pop-up window is sent to the user terminal for the user to select in the pop-up window, and a calculation processing method for the application is determined based on the user's selection. or, If the first ratio and / or the second ratio is greater than a first preset comparison value, it is determined that the operation processing method for the application is a server-side processing method, and the application is added to the service whitelist.

6. The method according to claim 1, characterized in that The performing operation processing on the application based on the operation processing method includes: If the computing processing mode is a server processing mode, determining whether the application and the server are connected via a USB; If so, sending the to-be-processed data of the application to the server via the USB; If not, the data to be processed of the application is sent to the server via a wireless connection, a Bluetooth connection or an NFC connection; When the server receives the data to be processed sent by the application, it performs computation on the data to be processed.

7. The method according to claim 1, characterized in that The performing operation processing on the application based on the operation processing method includes: If the computing processing mode is a local processing mode, all the application programs in the background of the user end are used as the first program; Obtaining the time interval between the last running time of each of the first programs and the current time; Clearing the first program whose time interval is greater than a preset time interval threshold from the user end background; After clearing, the application is processed on the user end.

8. A device for processing an application, characterized in that: include: A whitelist determination module, configured to respond to a startup request instruction initiated by a user at a user end to an application program, and to determine whether the application program exists in a pre-established service whitelist; A connection determination module, used to determine whether the user terminal is connected to the server terminal if the application exists in the service whitelist, so as to determine the operation processing mode of the application; A startup operation data acquisition module, used for acquiring startup operation data of the application if the application does not exist in the service whitelist; A computing capability detection module, used to detect the computing capability of the application program according to the startup operation data, so as to determine a computing processing method for the application program; An operation processing module is used to perform operation processing on the application based on the operation processing method.

9. An application processing device, characterized in that: including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the method for processing an application program as described in any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the method for processing an application program according to any one of claims 1 to 7 is implemented.