A method, device, equipment and computer-readable medium for calling associated applications
By generating the optimal application policy association call table and selecting the most suitable associated application based on historical performance data and conflict scenarios, the problem of poor user experience in terminal application association calls is solved and resource optimization and conflict reduction are achieved.
Patent Information
- Application Number
- CN201811484704.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-12-06
AI Technical Summary
It is difficult for existing terminals to select the most suitable application when calling application associations, resulting in poor user experience, especially on devices with limited memory and average CPU performance.
By generating the optimal application policy associated call table, based on the historical performance data of each associated application and the combined performance data with other applications, the calling events are monitored and the optimal associated application is selected for invocation.
It enables the most optimized associated applications to be called on the terminal, thereby improving user experience, optimizing resource usage and reducing the risk of conflicts.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of terminals, and in particular to a method, apparatus, device and computer-readable medium for calling associated applications. Background Art
[0002] In the field of terminals (such as mobile terminals), application association calls usually include three situations, namely Multipurpose Internet Mail Extensions (MIME) file type association calls, Application Programming Interface (API) function association calls, and system event monitoring association calls.
[0003] Generally, the application association call of the terminal is set by the system default. For example, for Android phones, the default associated application can be set in the Settings-Applications-Default Applications interface. If there are multiple applications to choose from, an application list window will usually pop up for the user to choose.
[0004] Due to the wide variety of terminal applications and the large differences in hardware configurations, some terminals have small memory and average central processing unit (CPU) performance. At this time, the default associated application or the pop-up window for users to select the associated application cannot obtain the most suitable application for terminal use. Therefore, it is necessary to set and call the most optimized associated application for the user. Summary of the invention
[0005] The embodiments of the present invention provide a method, apparatus, device and computer-readable medium for calling associated applications, which realize a new way of calling associated applications and enable a terminal to run the most optimized associated applications.
[0006] An embodiment of the present invention provides a method for calling an associated application, the method comprising:
[0007] Generate an optimal application strategy association call table based on historical application performance data of each associated application and historical combined performance data of each associated application when it is run simultaneously with other applications;
[0008] When a call event is monitored, selecting the best associated application for the call event from the best application strategy associated call table;
[0009] The selected optimal associated application is called.
[0010] An embodiment of the present invention provides a device for calling an associated application, the device comprising:
[0011] An optimal call table generation module, used to generate an optimal application strategy associated call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications;
[0012] An optimal associated application acquisition module, configured to select an optimal associated application for the call event from the optimal application strategy associated call table when a call event is monitored;
[0013] The optimal associated application calling module is used to call the selected optimal associated application.
[0014] An embodiment of the present invention provides a device for calling associated applications, the device comprising: a processor and a memory, the memory storing a program for calling associated applications that can be run on the processor, and the program for calling associated applications implements the steps of the method for calling associated applications when executed by the processor.
[0015] An embodiment of the present invention provides a computer-readable medium on which a program for calling an associated application is stored. When the program for calling an associated application is executed by a processor, the steps of the method for calling an associated application are implemented.
[0016] The embodiment of the present invention obtains the most optimized associated application through performance analysis, so that the effect of improving user experience can be achieved when the associated application is called. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic flow chart of a method for calling an associated application provided by an embodiment of the present invention;
[0018] Figure 2 This is a schematic diagram of interaction between a terminal and a server for calling an associated application provided by an embodiment of the present invention;
[0019] Figure 3 It is a detailed flowchart of a method for intelligently calling associated applications provided by an embodiment of the present invention;
[0020] Figure 4 It is a flowchart of calling an associated calling strategy provided by an embodiment of the present invention;
[0021] Figure 5 It is a schematic diagram of the interaction process between a terminal and a server provided in an embodiment of the present invention;
[0022] Figure 6 is a schematic structural block diagram of a device for calling an associated application provided by an embodiment of the present invention;
[0023] Figure 7 It is a schematic structural block diagram of a device for calling an associated application provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following is a detailed description of the embodiments of the present invention in conjunction with the accompanying drawings. It should be understood that the embodiments described below are only used to illustrate and explain the present invention and are not used to limit the present invention. The terms "include", "comprising", "having", "containing", etc. used herein are all open terms, which means including but not limited to.
[0025] When an application is running, the embodiment of the present invention can record the application performance data such as the memory occupancy, CPU occupancy, traffic usage, power data, fault information, etc. of the application. Then, based on the statistical application performance data and the scenario analysis (or conflict scenario analysis) of the application call, the optimal policy association call table (or the optimal application policy association call table) is generated. Furthermore, the optimal policy association call table can be updated in combination with the memory priority, power priority, network priority, security priority and other association call policies set by the user. When an association call is monitored, the optimal application association call is achieved according to the optimal policy association call table.
[0026] Figure 1 is a schematic flow chart of a method for calling an associated application provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:
[0027] Step S101: Generate an optimal application strategy association call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications.
[0028] The historical application performance data of each associated application may include but is not limited to the CPU and memory occupied by each associated application during operation, the power consumed, network data such as traffic usage, and fault information, etc. Of course, in one embodiment, the above historical application performance data may be a combination of one or more of the above data.
[0029] The historical combined performance data when each of the associated applications is running simultaneously with other applications may include but is not limited to the CPU and memory occupied when each of the associated applications is running simultaneously with other applications, the power consumed, the network data such as the traffic used, and the fault information, etc. Of course, in one embodiment, the above historical combined performance data may be a combination of one or more of the above data.
[0030] In one embodiment, step S101 may include: performing statistical analysis on the historical combined performance data, determining the conflict scenarios of each of the associated applications, and generating a policy association call table based on the historical application performance data of each of the associated applications, and then generating the optimal application policy association call table based on the conflict scenarios of each of the associated applications and the policy association call table.
[0031] Each of the conflict scenarios of the associated applications may refer to an application scenario in which, after the associated application is called, the terminal hardware resources cannot meet the requirements of multiple applications running simultaneously, resulting in at least one application failing to work properly. The application scenario is an application associated call scenario in the terminal, such as opening a browser by clicking an html hyperlink file, opening a folder to access a USB disk file when the system monitors a USB disk insertion event, and a non-map application calling a map through an API interface disclosed by a map application.
[0032] In this embodiment, the generation of the policy association call table according to the historical application performance data of each associated application includes: obtaining from a server a policy association call initial table for calling each associated application according to the association call policy, then generating an association call policy for each associated application according to the historical application performance data of each associated application, and using the generated association call policy for each associated application, updating the policy association call initial table to obtain a policy association call table. Alternatively, obtaining a preset application association call table, the application association call table includes callable associated applications, then generating an association call policy for each associated application according to the historical application performance data of each associated application in the application association call table, and making one-to-one correspondence between each associated application in the application association call table and the generated association call policy for each associated application to obtain a policy association call table. In other words, it is possible to detect whether the terminal is in an online state. If it is detected that the terminal is in an online state, the policy association call initial table can be obtained from the server, and then the policy association call initial table can be updated according to the historical application performance data of each associated application to obtain the policy association call table. If it is detected that the terminal is not in an online state, an association call policy for each associated application is generated according to the locally preset application association call table and the locally counted historical application performance data of each associated application.
[0033] The associated application calls involved in the embodiments of the present invention mainly include MIME file type associated calls, API function associated calls, system event monitoring associated calls, etc. The MIME is an Internet standard, which refers to the type of setting a file with a certain extension to be opened by an application. The file type format is [type] / [subtype], type is the content type, such as text / html type, text represents text information, html represents html document, taking Android application as an example, when the application AndroidManifest.xml declares to listen to the MIME type text / html, the application can associate and call this application when the user clicks to view the html file, such as the ".html" type file is opened by the associated browser application, etc. The API function associated call mainly refers to the interface call method between different applications to start the associated application, that is, the interface declared by the application to the outside, such as the map application, the API interface definition declared by AutoNavi Map is shown in Table 1 below, and the call of AutoNavi Map can be realized by calling the API interface. The system event monitoring associated call mainly refers to the application registering to monitor a certain system event (such as touch screen events, key events, peripheral connection events, etc.), and starting the associated application by monitoring the registered system events. For example, the USB flash drive insertion event will associate and call the file manager to display the USB flash drive files.
[0034] Table 1. API interface definition table declared by Amap
[0035]
[0036]
[0037] Based on the above content, the preset application association call table can be generated according to the locally stored application API call data, system event monitoring associated call data and MIME file type associated call data. Therefore, the preset application association call table can include installed applications, external call interfaces and associated applications called through the external call interfaces, monitored system events and associated applications that can be triggered by the system events, MIME file types and associated applications that can open the MIME files.
[0038] The policy association call initial table and the policy association call table may include the content in the application association call table, the historical application performance data of each associated application and the corresponding association call policy, so as to call the associated application according to the association call policy. The policy association call initial table is stored on the server side, and the policy association call table can be directly generated by the terminal according to the historical application performance data of each associated application, or can be obtained by the terminal by updating the policy association call initial table.
[0039] It should be noted that the policy association call initial table stored on the server side can be updated according to the policy association call table. For example, the terminal compares the policy association call initial table with the policy association call table to obtain the change data, and sends the change data to the server, so that the server updates the policy association call initial table stored on the server according to the change data.
[0040] In this embodiment, generating the optimal application policy association calling table according to the conflict scenario of each associated application and the policy association calling table includes: obtaining other currently running applications, and determining whether each associated application will trigger a conflict when being called according to the conflict scenario of each associated application and other currently running applications; if it is determined that a conflict will be triggered, deleting the associated application that triggers the conflict in the policy association calling table, and obtaining an updated policy association calling table as the optimal application policy association calling table.
[0041] The optimal application strategy association call table may include the content of the strategy association call table, the historical combined performance number when each associated application runs simultaneously with other applications, and the corresponding conflict scenario.
[0042] Based on the above implementation, after executing step S101, the method may further include: updating the optimal application strategy association call table by using a preset association call strategy.
[0043] The preset associated calling strategy is an associated calling strategy related to performance, which may be preset by a user, or may be a preset strategy corresponding to a terminal usage scenario (eg, music scenario, game scenario, reading scenario, etc.) and / or application performance.
[0044] In this embodiment, the use of the preset associated call strategy to update the optimal application strategy associated call table includes: comparing the application performance data of multiple associated applications to obtain a comparison result, and based on the comparison result, determining the associated applications that do not meet the call conditions in the preset associated call strategy, and then deleting the associated applications that do not meet the call conditions in the optimal application strategy associated call table to obtain an updated optimal application strategy associated call table.
[0045] Step S102: when a call event is monitored, an optimal associated application is selected for the call event from the optimal application strategy associated call table.
[0046] Step S103: calling the selected optimal associated application.
[0047] It should be noted that, although the optimal associated application selected by the system can be called through the above implementation, if the optimal associated application is not the associated application expected by the user, the associated application set by the user can also be forcibly called according to the user setting.
[0048] The embodiment of the present invention starts with performance analysis, combines terminal resources, compares the operating efficiency and performance of different associated applications, and realizes intelligent matching of the associated application most suitable for terminal use.
[0049] The terminal described in the embodiment of the present invention includes but is not limited to a smart phone operating system, such as Android.
[0050] Combine the following Figures 2 to 5 The embodiments of the present invention are described in detail.
[0051] The embodiment of the present invention can first obtain a list of installed applications, and then obtain an associated call list (or an application associated call table) and a policy call initial table (or a policy associated call initial table) of all applications. When the application is running, the application's memory occupancy, CPU occupancy, traffic usage, power data, fault information and other application performance data can be recorded. Then, based on the statistically obtained application performance data and the scenario analysis (or conflict scenario analysis) of the application call, combined with the associated call policies set by the user such as memory priority, power priority, network priority, and security priority, an optimal policy associated call table (or optimal application policy associated call table) is generated. When an associated call is monitored, the optimal application associated call is achieved based on the policy associated call table (or the optimal application policy associated call table).
[0052] Figure 2 FIG. 1 is a schematic diagram of interaction between a terminal and a server for calling an associated application provided by an embodiment of the present invention. Figure 2 As shown, the terminal part 21 implements the association call of the embodiment of the present invention, and may include three functional modules: an association list module 211, a performance analysis module 212, and an association execution module 213. These three functional modules are all background system services of the terminal (e.g., mobile phone) operating system, wherein the association execution module 213 has a partial interface for interacting with the user. The server part 22 may include an association list service module 221, which interacts with the association list module 211 through the network to generate an application association call table and a policy association call initial table of the terminal, and supports comprehensive statistics of policy association call change data and application performance statistics data fed back by all networked terminals (i.e., receiving application performance data and policy association call data with differences from the terminal, and performing comprehensive statistics), thereby optimizing the policy association call initial table.
[0053] The association list module 211 is responsible for generating an application association call table and a policy association call initial table.
[0054] In this embodiment, the application association call table is obtained in the following manner: by calling the application installation service interface of the terminal (such as a mobile phone) system to obtain an information list of all installed applications, and when the terminal is not connected to the Internet, the application name, monitored system events, monitored MIME file types, etc. are locally parsed, and the application association call table is finally generated by searching the locally saved application API call data; when the terminal is connected to the Internet, the application association call table is obtained by connecting to the server.
[0055] It should be noted that when a user installs or uninstalls an application, the local update and server data acquisition process of the application association call table will be triggered.
[0056] In this embodiment, the policy association call initial table is obtained in the following manner: when the terminal is connected to the Internet, the installed application data is sent to the server, and the application policy association call initial table of the mobile terminal model is obtained by connecting to the server. When the terminal is not connected to the Internet, the performance analysis module 212 needs to analyze the application performance data locally before generating the policy association call initial table, and waits for the connection to the Internet to trigger the connection server to execute the acquisition of the policy association call initial table. When the installed application data changes, the local update of the application policy association call initial table and the server data acquisition process will also be triggered.
[0057] The performance analysis module 212 obtains the policy association call initial table from the association list module 211, collects the application performance data of the terminal at regular intervals, including CPU, memory, power, network, fault and other data, generates an application performance table, and then intelligently sets the association call priority strategy (or intelligently sets the strategy) in combination with the terminal's usage scenario, such as memory priority, power priority, network priority, security priority, etc., to generate a policy association call table. It should be noted that the application performance data collected above can collect one type of data or multiple types of data if the user agrees to collect.
[0058] The intelligent setting strategy can support the mutual changes of multiple strategies and combine them with terminal usage scenarios. For example, in entertainment scenarios, when users run entertainment applications in the terminal background, strategies for saving memory and controlling CPU usage are executed to avoid related calls causing system resource shortages, so that users can perceive application freezes and affect user experience.
[0059] The performance analysis module 212 compares the policy association call table with the policy association call initial table obtained from the server. When there is a large difference, the different application performance data and policy association call data are sent to the server for the server to make a decision on changing the policy association call initial table.
[0060] The association execution module 213 is used to set the association call strategy. By interacting with the user, various performance-related strategies can be set, such as intelligent setting strategy, memory priority strategy, power priority strategy, network priority strategy, security priority strategy, etc. The association execution module 213 executes the policy association call. When the strategy is met, the association call is executed. When the strategy is not met, the association call is intercepted and the user is prompted.
[0061] The interaction process between the terminal 21 and the server 22 is as follows: the association list module 211 of the terminal 21 first obtains the list of installed applications, and obtains the association call list (i.e.) and the policy call initial table of all applications from the association list service module 221 of the server 22. When the application is running, the application performance data is recorded, such as the memory and CPU occupied by the application when it is running, the traffic used when the application is running, the power data consumed when the application is running, the application is unresponsive or abnormally closed, and other fault information. Then the performance analysis module 212 of the terminal 21 generates the optimal application policy association call table based on the statistical application performance data and the scenario analysis of the application call, combined with the association call policy set by the user (memory priority, power priority, network priority, security priority, etc.). When the association call is monitored, the association execution module 213 of the terminal 21 implements the optimized application association call according to the policy association call table. That is, the purpose of intelligently setting the association application through performance analysis is achieved. In the above process, the performance analysis module 212 of the terminal 21 can compare the policy association call table with the policy association call initial table obtained from the server. If there is a large difference, the association list module 211 of the terminal 21 can send the different application performance data and policy association call data to the server 22, so that the server 22 can make a change decision on the policy association call initial table.
[0062] Figure 3 FIG. 1 is a detailed flow chart of a method for intelligently calling associated applications provided by an embodiment of the present invention. Figure 3 As shown, the method may include:
[0063] Step S301: the association list module 211 obtains a list of installed applications from a terminal (eg, a mobile phone) operating system.
[0064] Determination S302: The association list module 211 determines whether there is a network connection.
[0065] Step S303a: If there is no network connection, the association list module 211 cyclically parses the application information in the installed application list, the system events monitored by the application, the MIME file type, etc., generates the system event monitoring associated call data, the MIME file type associated call data, searches for the locally saved application API associated call data, integrates the three associated call data to generate an application associated call table, waits for networking, and obtains the application associated call table and the policy call associated initial table.
[0066] Step S303b: There is a network connection, and the association list module obtains the application association call table and the policy call association initial table by querying the remote server.
[0067] Step S304: the performance analysis module 212 periodically obtains the terminal's performance data from the terminal operating system, including CPU, memory, power, network, fault and other data, collects performance data related to the executing application, and records and updates the application performance table.
[0068] Step S305: When starting and exiting an application, the performance analysis module 212 comprehensively calculates data such as CPU usage, memory occupancy, power consumption, network usage, application failures, etc. during the application's duration, and records and updates the application performance table.
[0069] Step S306: The performance analysis module 212 compares the performance data of various applications of the same type, such as comparing the CPU usage rate of the browser application, the memory usage rate of the application, the average power consumption data of the application, the average failure data of the application, and the average traffic data of the application, and generates a policy association call table in combination with the association call strategy set by the association execution module 213.
[0070] For example, if the associated call strategy is set to power > memory > security > network, first compare the power, memory, security, and network related data as a whole to determine whether there is an obvious weakest item. If so, eliminate this option and then compare the power in sequence. When the power difference is greater than a threshold (such as 1%), output the comparison result. When the power difference is less than the threshold, compare the memory. When the memory usage difference is less than a certain threshold, compare the next item in sequence and finally output the comparison result. Update the application's policy associated call.
[0071] Step S307: The performance analysis module 212 compares the combined performance data of different types of applications, such as comparing the combined performance data of music applications and browser applications, such as unifying CPU utilization, memory usage, power consumption data, conflict failures, etc. Based on the combined performance data, the conflict situation of multiple applications when using terminal resources can be counted to provide decision data for scene intelligent strategy setting.
[0072] Step S308: The association execution module 213 executes the association call according to the association call strategy and the policy association call table when the association call occurs. When the user sets the interception of the association call under special circumstances, the interception of the association call is executed and the user is prompted.
[0073] Figure 4 is a flow chart of calling the associated calling strategy provided by an embodiment of the present invention, such as Figure 4 As shown, the user interacts with the association execution module 213, and the process of setting the association call strategy may include:
[0074] Step S401: The user sets the associated calling strategy.
[0075] You can set an intelligent setting strategy. At this time, the terminal will intelligently select the associated call strategy based on scenario analysis and application performance analysis.
[0076] Multiple policy priority conditions can be set, such as memory priority, power priority, network priority, and security priority policy sorting conditions. As follows: (1) If the first priority is set to power priority, the application with the lowest power consumption is selected as the default associated call. (2) If the first priority is set to memory priority, the application with the lowest system memory consumption is selected as the default associated call. (3) If the first priority is set to network priority, the application with the lowest message network traffic is selected as the default associated call. (4) If the first priority is set to security priority, the application with the least application failures is selected as the default associated call.
[0077] You can set multiple policy rankings, such as setting the policy to power>memory>security>network.
[0078] Step S402: the association execution module 213 displays the current associated application call list. The user can manually set a certain associated call strategy. At this time, the strategy comparison process is ignored and the application strategy associated call table is directly set.
[0079] Step S403: The user sets the interception condition of the associated call, and prompts the user when the interception condition is triggered, and the user decides whether to execute the associated call
[0080] For example, when the power level is lower than a certain threshold (such as 5%) or the memory level is lower than a certain threshold (such as 100M), the associated call is intercepted.
[0081] Step S404: If an associated call occurs, the associated execution module 213 executes the associated call according to the policy call table.
[0082] Figure 5 is a schematic diagram of the interaction process between the terminal and the server provided in an embodiment of the present invention, such as Figure 5 As shown, the interaction process between the mobile terminal and the server may include:
[0083] Step S501: when there is a network connection, the association list module 211 establishes a connection with the server 22 and obtains a policy association call initial table.
[0084] Step S502: the performance analysis module 212 updates the policy association call table according to the application performance analysis data (or application performance data, performance data).
[0085] Step S503: the performance analysis module 212 compares the application policy call changes relative to the policy association call initial table, and sends the application performance data and the application policy call data (or the changed application performance data and application policy call data, or the changed data) to the server 22.
[0086] Step S504: the server 22 collects the change data, and performs a multi-sample comparison in combination with the application version. When the change sample ratio exceeds a preset ratio (eg, 50%), the policy association call initial table saved by the change server 22 is called.
[0087] Figure 6 is a schematic structural block diagram of a device for calling an associated application provided by an embodiment of the present invention, such as Figure 6 As shown, the device may include: an optimal call table generating module 61 (implementing Figure 2 In the embodiment, the functions of the association list module 211 and the performance analysis module 212 are implemented, the optimal association application acquisition module 62 and the optimal association application calling module 63 (implementation Figure 2 (The function of the associated execution module 213 in the embodiment).
[0088] The optimal call table generation module 61 is used to generate an optimal application strategy associated call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications.
[0089] The historical application performance data of each associated application may include but is not limited to the CPU and memory occupied by each associated application during operation, the power consumed, network data such as traffic usage, and fault information, etc. Of course, in one embodiment, the above historical application performance data may be a combination of one or more of the above data.
[0090] The historical combined performance data when each of the associated applications is running simultaneously with other applications may include but is not limited to the CPU and memory occupied when each of the associated applications is running simultaneously with other applications, the power consumed, the network data such as the traffic used, and the fault information, etc. Of course, in one embodiment, the above historical combined performance data may be a combination of one or more of the above data.
[0091] In one embodiment, the optimal call table generation module 61 performs statistical analysis on the historical combined performance data, determines the conflict scenarios of each of the associated applications, and generates a policy association call table based on the historical application performance data of each of the associated applications, and then generates the optimal application policy association call table based on the conflict scenarios of each of the associated applications and the policy association call table.
[0092] Each of the conflict scenarios of the associated applications may refer to an application scenario in which, after the associated application is called, the terminal hardware resources cannot meet the requirements of multiple applications running simultaneously, resulting in at least one application failing to work properly. The application scenario is an application associated call scenario in the terminal, such as opening a browser by clicking an html hyperlink file, opening a folder to access a USB disk file when the system monitors a USB disk insertion event, and a non-map application calling a map through an API interface disclosed by a map application.
[0093] In this embodiment, the optimal call table generation module 61 obtains from the server a policy association call initial table for calling each of the associated applications according to the association call strategy, and then generates an association call strategy for each of the associated applications according to the historical application performance data of each of the associated applications, and uses the generated association call strategy for each of the associated applications to update the policy association call initial table to obtain a policy association call table. Alternatively, the optimal call table generation module 61 obtains a preset application association call table, the application association call table includes callable associated applications, and then generates an association call strategy for each of the associated applications according to the historical application performance data of each of the associated applications in the application association call table, and makes a one-to-one correspondence between each of the associated applications in the application association call table and the generated association call strategy for each of the associated applications to obtain a policy association call table. In other words, the optimal call table generation module 61 can detect whether the terminal is in an online state. If it is detected that the terminal is in an online state, the policy association call initial table can be obtained from the server, and then according to the historical application performance data of each associated application, the policy association call initial table is updated to obtain the policy association call table. If it is detected that the terminal is not in an online state, the association call policy of each associated application is generated according to the locally preset application association call table and the locally counted historical application performance data of each associated application.
[0094] The preset application association call table can be generated based on locally stored application API call data, system event monitoring associated call data and MIME file type associated call data. Therefore, the preset application association call table may include installed applications, external call interfaces and associated applications called through the external call interfaces, monitored system events and associated applications that can be triggered by the system events, MIME file types and associated applications that can open the MIME files.
[0095] The policy association call initial table and the policy association call table may include the content in the application association call table, the historical application performance data of each associated application and the corresponding association call policy, so as to call the associated application according to the association call policy. The policy association call initial table is stored on the server side, and the policy association call table can be directly generated by the terminal according to the historical application performance data of each associated application, or can be obtained by the terminal by updating the policy association call initial table.
[0096] It should be noted that the policy association call initial table stored on the server side can be updated according to the policy association call table. For example, the terminal compares the policy association call initial table with the policy association call table to obtain the change data, and sends the change data to the server, so that the server updates the policy association call initial table stored on the server according to the change data.
[0097] In this embodiment, the optimal call table generation module 61 generates the optimal application policy association call table according to the conflict scenario of each associated application and the policy association call table, including: obtaining other currently running applications, and determining whether each associated application will trigger a conflict when called according to the conflict scenario of each associated application and the other currently running applications; if it is determined that a conflict will be triggered, deleting the associated application that triggers the conflict in the policy association call table, and obtaining an updated policy association call table as the optimal application policy association call table.
[0098] The optimal application strategy association call table may include the content of the strategy association call table, the historical combined performance number when each associated application runs simultaneously with other applications, and the corresponding conflict scenario.
[0099] Based on the above implementation, the optimal call table generation module 61 can also be used to update the optimal application strategy associated call table using a preset associated call strategy.
[0100] The preset associated calling strategy is an associated calling strategy related to performance, which may be preset by a user, or may be a preset strategy corresponding to a terminal usage scenario (eg, music scenario, game scenario, reading scenario, etc.) and / or application performance.
[0101] In this embodiment, the optimal call table generation module 61 compares the application performance data of multiple associated applications to obtain a comparison result, and based on the comparison result, determines the associated applications that do not meet the call conditions in the preset associated call strategy, and then deletes the associated applications that do not meet the call conditions in the optimal application strategy associated call table to obtain an updated optimal application strategy associated call table.
[0102] The optimal associated application acquisition module 62 is used to select the optimal associated application for the call event from the optimal application strategy associated call table when a call event is monitored.
[0103] The optimal associated application calling module 63 is used to call the selected optimal associated application.
[0104] Since the optimal application strategy association call table comprehensively considers terminal performance, conflict scenarios, and user preset association call strategies, the associated application that is most suitable for terminal operation can be selected from the optimal application strategy association call table, which can not only optimize the use of terminal resources, but also reduce the risk of conflict and maximize user expectations.
[0105] Figure 7 is a schematic structural block diagram of a device for calling an associated application provided by an embodiment of the present invention, such as Figure 7 As shown, the device may include: a processor 71 and a memory 72, wherein the memory 72 stores a program for calling an associated application that can be run on the processor 71, and when the program for calling an associated application is executed by the processor 71, the steps of the method for calling an associated application are implemented.
[0106] An embodiment of the present invention provides a computer-readable medium on which a program for calling an associated application is stored. When the program for calling an associated application is executed by a processor, the steps of the method for calling an associated application are implemented.
[0107] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0108] The embodiments of the present invention can improve the application association calling experience and enhance the user experience from the perspective of improving terminal performance.
[0109] Although the present invention is described in detail above, the present invention is not limited thereto, and those skilled in the art can make various modifications based on the principles of the present invention. Therefore, all modifications made based on the principles of the present invention should be understood to fall within the protection scope of the present invention.
Claims
1. A method for calling an associated application, characterized in that: The method comprises: Generate an optimal application strategy association call table based on historical application performance data of each associated application and historical combined performance data of each associated application when it is run simultaneously with other applications; When a call event is monitored, selecting the best associated application for the call event from the best application strategy associated call table; Invoking the selected optimal associated application; The generating of the optimal application strategy association call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications comprises: Performing statistical analysis on the historical combined performance data to determine a conflict scenario for each of the associated applications; Generate a policy association call table according to the historical application performance data of each associated application; Determining whether a conflict will be triggered when each of the associated applications is called according to the conflict scenario of each of the associated applications and other currently running applications; If it is determined that a conflict will be triggered, the associated application that triggers the conflict in the policy association calling table is deleted, and an updated policy association calling table is obtained as the optimal application policy association calling table.
2. The method according to claim 1, characterized in that The generating of the policy association call table according to the historical application performance data of each associated application comprises: Obtaining from the server a policy association call initial table for calling each of the associated applications according to the association call policy; Generating an associated calling strategy for each associated application according to the historical application performance data of each associated application; The generated associated calling policy of each associated application is used to update the policy associated calling initial table to obtain a policy associated calling table.
3. The method according to claim 1, characterized in that The generating of the policy association call table according to the historical application performance data of each associated application comprises: Obtaining a preset application association calling table, wherein the application association calling table includes callable associated applications; Generate an associated calling strategy for each associated application according to the historical application performance data of each associated application in the application associated calling table; Each associated application in the application associated calling table is matched to the generated associated calling strategy of each associated application one by one to obtain a strategy associated calling table.
4. The method according to any one of claims 1 to 3, characterized in that: After generating the optimal application strategy association call table according to the historical application performance data of each associated application and the historical combined performance data of each associated application when it is run simultaneously with other types of applications, the method further includes: The optimal application strategy association calling table is updated using the preset association calling strategy.
5. The method according to claim 4, characterized in that The updating of the optimal application strategy association calling table by using the preset association calling strategy includes: Comparing the application performance data of a plurality of the associated applications to obtain a comparison result; According to the comparison result, determining the associated applications that do not meet the call conditions in the preset associated call strategy; The associated applications that do not meet the calling condition in the optimal application strategy associated calling table are deleted to obtain an updated optimal application strategy associated calling table.
6. A device for calling an associated application, characterized in that: The device comprises: An optimal call table generation module, used to generate an optimal application strategy associated call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications; An optimal associated application acquisition module, configured to select an optimal associated application for the call event from the optimal application strategy associated call table when a call event is monitored; An optimal associated application calling module, used for calling the selected optimal associated application; The generating of the optimal application strategy association call table according to the historical application performance data of each associated application and the historical combined performance data when each associated application is running simultaneously with other applications comprises: Performing statistical analysis on the historical combined performance data to determine a conflict scenario for each of the associated applications; Generate a policy association call table according to the historical application performance data of each associated application; Determining whether a conflict will be triggered when each of the associated applications is called according to the conflict scenario of each of the associated applications and other currently running applications; If it is determined that a conflict will be triggered, the associated application that triggers the conflict in the policy association calling table is deleted, and an updated policy association calling table is obtained as the optimal application policy association calling table.
7. A device for calling an associated application, the device comprising: A processor and a memory, characterized in that a program for calling an associated application that can be run on the processor is stored on the memory, and when the program for calling an associated application is executed by the processor, the steps of the method for calling an associated application as described in any one of claims 1 to 5 are implemented.
8. A computer-readable medium, characterized in that A program for calling an associated application is stored thereon, and when the program for calling an associated application is executed by a processor, the steps of the method for calling an associated application according to any one of claims 1 to 5 are implemented.
