CN117407130A - Application management and control method and device, electronic equipment and computer readable storage medium - Google Patents

Application management and control method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117407130A
CN117407130A CN202310336825.XA CN202310336825A CN117407130A CN 117407130 A CN117407130 A CN 117407130A CN 202310336825 A CN202310336825 A CN 202310336825A CN 117407130 A CN117407130 A CN 117407130A
Authority
CN
China
Prior art keywords
application
information
historical
current
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310336825.XA
Other languages
Chinese (zh)
Inventor
赵启亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202310336825.XA priority Critical patent/CN117407130A/en
Publication of CN117407130A publication Critical patent/CN117407130A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses an application management and control method, an application management and control device, electronic equipment and a computer-readable storage medium. The method comprises the following steps: when receiving a starting request of starting a second application by a first application, the electronic equipment determines first application information of the first application and second application information of the second application; determining the association strength between the first application and the second application according to the first application information and the second application information; if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment; and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information. When the first application is to start the second application, whether the second application is started or not is determined according to the historical use scene information of the second application and the current use scene information of the electronic equipment, so that whether the second application is started or not is intelligently controlled.

Description

Application management and control method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an application management and control method, an apparatus, an electronic device, and a computer readable storage medium.
Background
The system carried by the electronic device needs to run the application to execute the corresponding function, but as more and more application programs are installed in the electronic device, some application programs wake up each other, so that corresponding processes are generated on the background, the processes occupy the memory space of the electronic device and also occupy the performance resources of the electronic device, and thus the phenomena of blocking, power consumption and the like can occur when the electronic device runs.
Disclosure of Invention
The embodiment of the application provides an application management and control method, an application management and control device, electronic equipment and a computer readable storage medium. The application management and control method can intelligently manage and control the target application to be started by the current application according to the use habit and the use scene of the user.
In a first aspect, an embodiment of the present application provides an application management and control method, including:
when a starting request of starting a second application by a first application is received, determining first application information of the first application and second application information of the second application;
determining the association strength between the first application and the second application according to the first application information and the second application information;
if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment;
And determining whether to start the second application according to the historical usage scenario information and the current usage scenario information.
In a second aspect, an embodiment of the present application provides an application management and control apparatus, including:
the information determining module is used for determining first application information of the first application and second application information of the second application when a starting request of starting the second application by the first application is received;
the relevance determining module is used for determining the relevance strength between the first application and the second application according to the first application information and the second application information;
the acquiring module is used for acquiring historical use scene information of the second application and current use scene information of the electronic equipment if the association strength is smaller than a preset strength threshold value;
and the control module is used for determining whether to start the second application according to the historical use scene information and the current use scene information.
In a third aspect, embodiments of the present application provide an electronic device comprising a memory storing executable program code, a processor coupled to the memory; the processor invokes executable program codes stored in the memory to execute the application management and control method provided by the embodiment of the application.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform an application management method provided by embodiments of the present application.
In the embodiment of the application, when receiving a starting request for starting a second application by a first application, the electronic device determines first application information of the first application and second application information of the second application; determining the association strength between the first application and the second application according to the first application information and the second application information; if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment; and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information. When the first application is to start the second application, whether the second application is started or not is determined according to the historical use scene information of the second application and the current use scene information of the electronic equipment, so that whether the second application is started or not is intelligently controlled.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an application management method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a second flow chart of an application management method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an application management and control device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The system carried by the electronic device needs to run the application to execute the corresponding function, but as more and more application programs are installed in the electronic device, some application programs wake up each other, so that corresponding processes are generated on the background, the processes occupy the memory space of the electronic device and also occupy the performance resources of the electronic device, and thus the phenomena of blocking, power consumption and the like can occur when the electronic device runs.
For example, there may be a chain-type startup effect between some applications, where application a starts application B, and application B restarts application C, which may cause an unordered startup between applications, resulting in more processes in the electronic device, and thus, the electronic device consumes more power, and even is jammed.
In order to solve the technical problems, embodiments of the present application provide an application management and control method, an apparatus, an electronic device, and a computer readable storage medium. The application management and control method can intelligently manage and control the target application to be started by the current application according to the use habit and the use scene of the user.
Referring to fig. 1, fig. 1 is a schematic flow chart of an application management method according to an embodiment of the disclosure. The application management and control method can comprise the following steps:
110. when a starting request of starting the second application by the first application is received, determining first application information of the first application and second application information of the second application.
In some embodiments, some applications after startup, often in the background, may attempt to wake some applications in the background when the user is not exiting the application, such applications being the first applications. That is, the first application may be a background application.
When the first application is a background application and the electronic equipment receives a starting request of starting the second application by the first application. At this time, the electronic device may acquire first application information of the first application and second application information of the second application.
For example, the electronic device may determine application information of the application from information generated at the time of application installation, such as application information including package name, application type, application developer, and the like. The application information may also include application usage status information of the application, including a foreground application, a background application, a dormant application, and the like. The first application information and the second application information may each include one or more of the application information.
In some embodiments, the electronic device may collect application information when the first application and the second application are installed, and may also implement collecting application information of the application when the application installed by the electronic device is running.
In some implementations, the electronic device can obtain application information for the application by determining a process initiated by the application. For example, the electronic device may obtain first process information of a first process in which the first application issues the start request, and second process information of a second process in which the second application needs to be evoked, where the first application information includes the first process information, and the second application information includes the second process information.
120. And determining the association strength between the first application and the second application according to the first application information and the second application information.
In some implementations, the electronic device can perform a correlation analysis on the first process information and the second process information to determine a strength of correlation between the first application and the second application.
For example, according to the first process information, the first process may be determined to be a process with strong relevance to other applications, the first process is a priority process with a system level, and the first process may achieve implementation of a basic function by calling a process of the other applications. For example, the first process may be an Activity component process, where an Activity is an application component that provides a screen that a user may use to interact with in order to accomplish a task. All operations in Activity are closely related to the user, a component responsible for interacting with the user, and designated controls can be displayed through setContentView (View). In an android application, an Activity is typically a single screen on which controls can be displayed or events of the user can be monitored and processed to respond. The activities communicate with each other through the Intent.
For another example, the first process is a process corresponding to a ContentProvider component, where the ContentProvider component is used for data interaction and sharing between processes, i.e., cross-process communication, such as using a binder mechanism. The first process also has a higher priority at this time.
At this time, the first process is used as a process with a higher priority, so that in order to facilitate the call to other applications, the first process and the second process often have a higher association strength, and then the first application and the second application also have a higher association strength.
In some embodiments, if the first process is a background keep-alive process, such as the communication chat software, the process of such software is often background keep-alive, so as to implement real-time message receiving. And if the second process is a process of the file management class application. In the chat scenario, some files are often saved, and it is determined that the association strength of the first process and the second process is higher. The strength of the association between the first application and the second application is high.
In some embodiments, if the first process is a background hibernation process, such as a read-like application. And if the second process is a payment type application process, the association strength between the first process and the second process is lower. The strength of the association between the first application and the second application is low.
That is, the strength of the association between the applications is often determined according to the process information, and the process information can reflect the task that the applications want to do in the actual running process in real time, so that the strength of the association between the applications is more accurately determined.
In some embodiments, a neural network model may be preset, and the neural network model can judge the association strength between one application and another application according to the process information between two processes.
For example, the neural network model outputs a score value, and when the score value is higher, the strength of the association between one application and another application is higher.
In some embodiments, the person skilled in the art can also collect a large amount of process information of different applications, and then determine the strength of association between the processes by analyzing and summarizing the process information, and then take the strength of association as the strength of association between the applications.
130. And if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment.
In some embodiments, a preset intensity threshold of the association intensity may be preset, and when the association intensity is greater than or equal to the preset intensity threshold, it is indicated that the first application and the second application are two applications with stronger association, and at this time, the electronic device may allow the first application to start the second application in a background association, so as to ensure that the user can use the applications normally. For example, the first application is chat software, the second application is file management software, and after the first application downloads the file, the second application can be started in an associated manner to open or save the file.
In some embodiments, when the strength of the association between the first application and the second application is less than a preset strength threshold, historical usage scenario information of the second application and current usage scenario information of the electronic device are obtained.
For example, the historical use frequency and the historical use times of the second application in the preset historical time period are obtained, and the historical use scene information comprises the historical use frequency, the historical use times and the historical use time. Wherein the preset history period may be a period before the current time. The historical use frequency of the second application is a percentage of the use time length of all applications occupied by the corresponding use time length of the second application in a preset historical time period. The historical usage times of the second application are the opening times of the user in a preset historical time period.
In some implementations, the electronic device may obtain a current location and a current time of the electronic device, the current usage scenario information including the current location and the current time.
140. And determining whether to start the second application according to the historical usage scenario information and the current usage scenario information.
In some implementations, the electronic device can determine whether to launch the second application based on the historical usage time and the historical usage location, and the current location and the current time.
For example, the electronic device may determine, according to the historical usage time, a most commonly used time period of the second application within a preset historical time period, and determine, according to the historical usage location, a most commonly used location, and if the current location coincides with the most commonly used location, and the current time is within the daily most commonly used time period, determine that the first application starts the second application.
For another example, if the current location and the most frequently used location do not match, but the current time is within a time period of most frequently use per day, then it is determined that the first application initiates the second application.
For another example, if the current location coincides with the most commonly used location, but the current time is not within the most commonly used time period of each day, then it is determined that the first application initiates the second application.
For another example, if the current location and the most frequently used location do not match, but the current time is not within the most frequently used time period of each day, then it is determined that the first application does not launch the second application.
In some implementations, the electronic device may construct a first usage habit vector based on the historical usage time and the historical usage location; constructing a second use habit vector according to the current time and the current position; and determining whether to start the second application according to the first usage habit vector and the second usage habit vector.
For example, the electronic device may take the time and location as elements of two build vectors, and then build a first use habit vector based on the historical use time and the historical use location by taking into consideration both the time and the location dimensions, and build a second use habit vector based on the current time and the current location.
Specifically, the electronic device may preset a neural network model, which may input time information and location information and then output a corresponding vector.
After the electronic device obtains the first habit vector and the second habit vector, an error value between the first habit vector and the second habit vector can be calculated through setting, for example, a difference value of a modulus between the first habit vector and the second habit vector is calculated. If the difference is within the preset difference range, the first application is determined to be capable of starting the second application. Otherwise, if the difference is outside the preset difference range, determining that the first application cannot start the second application.
In some embodiments, the computer device may input the first habit vector into the similarity calculation model, and then calculate a loss value between the first habit vector and the second habit vector, and if the loss value is within a preset loss value range, it indicates that the first application may start the second application. If the loss value is outside the preset loss value range, the first application is not started.
By the method, whether the second application is started or not can be determined by the electronic equipment according to the historical use scene information and the current use scene information, so that whether the second application is started or not is intelligently controlled. The first application is prevented from randomly starting the second application, so that a plurality of malicious applications are prevented from being started in a chained mode, the computing resources of the electronic equipment are saved, and the power consumption of the electronic equipment is reduced.
In the embodiment of the application, when receiving a starting request for starting a second application by a first application, the electronic device determines first application information of the first application and second application information of the second application; determining the association strength between the first application and the second application according to the first application information and the second application information; if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment; and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information. When the first application is to start the second application, whether the second application is started or not is determined according to the historical use scene information of the second application and the current use scene information of the electronic equipment, so that whether the second application is started or not is intelligently controlled.
For a more detailed understanding of the application management method provided in the embodiments of the present application, please refer to fig. 2, and fig. 2 is a second flow chart of the application management method provided in the embodiments of the present application. The application management and control method can comprise the following steps:
201. when a starting request of starting the second application by the first application is received, whether the first application is a background application program or not is determined.
In some embodiments, some applications will often exist in the background after startup, and when the user does not exit the application, the application will attempt to wake some applications in the background. And when the electronic equipment receives a starting request of starting the second application by the first application, determining whether the first application is a background application program. Such as by a process of the first application to determine whether the first application is a foreground application or a background application.
If the first application is a foreground application, the electronic device can generate a popup to remind the user whether to start the second application, and the electronic device decides whether to start the second application according to the selection of the user.
Or if the first application is a foreground application, the electronic device may directly start the second application according to the start request.
In some embodiments, when a start request of the first application to start the second application is received, the electronic device may determine whether the second application is already started, and if the second application is already started, directly allow the first application to start the second application.
202. And if the first application is a background application program, determining first application information of the first application and second application information of the second application.
When the first application is a background application and the electronic equipment receives a starting request of starting the second application by the first application. At this time, the electronic device may acquire first application information of the first application and second application information of the second application.
For example, the electronic device may determine application information of the application from information generated at the time of application installation, such as application information including package name, application type, application developer, and the like. The application information may also include application usage status information of the application, including a foreground application, a background application, a dormant application, and the like. The first application information and the second application information may each include one or more of the application information.
In some embodiments, the electronic device may collect application information when the first application and the second application are installed, and may also implement collecting application information of the application when the application installed by the electronic device is running.
203. Acquiring first process information of a first process of a first application sending a starting request and second process information of a second process of a second application needing to be evoked, wherein the first application information comprises the first process information, and the second application information comprises the second process information.
In some implementations, the electronic device can obtain application information for the application by determining a process initiated by the application. For example, the electronic device may obtain first process information of a first process in which the first application issues the start request, and second process information of a second process in which the second application needs to be evoked, where the first application information includes the first process information, and the second application information includes the second process information.
The process information may include a priority of a process, such as a higher priority of a process of the system application, and a lower priority of a process of the third party application relative to a priority of a process of the system.
204. And carrying out relevance analysis on the first process information and the second process information to determine the relevance strength between the first application and the second application.
In some implementations, the electronic device can perform a correlation analysis on the first process information and the second process information to determine a strength of correlation between the first application and the second application.
For example, according to the first process information, the first process may be determined to be a process with strong relevance to other applications, the first process is a priority process with a system level, and the first process may achieve implementation of a basic function by calling a process of the other applications. For example, the first process may be an Activity component process, where an Activity is an application component that provides a screen that a user may use to interact with in order to accomplish a task. All operations in Activity are closely related to the user, a component responsible for interacting with the user, and designated controls can be displayed through setContentView (View). In an android application, an Activity is typically a single screen on which controls can be displayed or events of the user can be monitored and processed to respond. The activities communicate with each other through the Intent.
For another example, the first process is a process corresponding to a ContentProvider component, where the ContentProvider component is used for data interaction and sharing between processes, i.e., cross-process communication, such as using a binder mechanism. The first process also has a higher priority at this time.
At this time, the first process is used as a process with a higher priority, so that in order to facilitate the call to other applications, the first process and the second process often have a higher association strength, and then the first application and the second application also have a higher association strength.
In some embodiments, if the first process is a background keep-alive process, such as the communication chat software, the process of such software is often background keep-alive, so as to implement real-time message receiving. And if the second process is a process of the file management class application. In the chat scenario, some files are often saved, and it is determined that the association strength of the first process and the second process is higher. The strength of the association between the first application and the second application is high.
In some embodiments, if the first process is a background hibernation process, such as a read-like application. And if the second process is a payment type application process, the association strength between the first process and the second process is lower. The strength of the association between the first application and the second application is low.
That is, the strength of the association between the applications is often determined according to the process information, and the process information can reflect the task that the applications want to do in the actual running process in real time, so that the strength of the association between the applications is more accurately determined.
In some embodiments, a neural network model may be preset, and the neural network model can judge the association strength between one application and another application according to the process information between two processes.
For example, the neural network model outputs a score value, and when the score value is higher, the strength of the association between one application and another application is higher.
In some embodiments, the person skilled in the art can also collect a large amount of process information of different applications, and then determine the strength of association between the processes by analyzing and summarizing the process information, and then take the strength of association as the strength of association between the applications.
In some embodiments, the electronic device may determine a first priority of the first process according to the first process information, and determine a second priority of the second process according to the second process information; and determining the association strength according to the first priority and the second priority.
For example, the electronic device may allocate priorities to the processes of different applications in advance, and when the first application needs to start the second application, the computing result may be obtained by multiplying the first priority of the first process by the second priority of the second process. The result of the calculation is the strength of the association of the first application and the second application.
205. If the correlation strength is smaller than a preset strength threshold, acquiring the historical use frequency and the historical use times of the second application in a preset historical time period, wherein the historical use scene information comprises the historical use frequency and the historical use times; the method comprises the steps of obtaining the current position and the current time of the electronic equipment, wherein the current use scene information comprises the current position and the current time.
In some embodiments, a preset intensity threshold of the association intensity may be preset, and when the association intensity is greater than or equal to the preset intensity threshold, it is indicated that the first application and the second application are two applications with stronger association, and at this time, the electronic device may allow the first application to start the second application in a background association, so as to ensure that the user can use the applications normally. For example, the first application is chat software, the second application is file management software, and after the first application downloads the file, the second application can be started in an associated manner to open or save the file.
In some embodiments, when the strength of the association between the first application and the second application is less than a preset strength threshold, acquiring a history use frequency and a history use frequency of the second application in a preset history time period, wherein the history use scenario information comprises the history use frequency and the history use frequency; the method comprises the steps of obtaining the current position and the current time of the electronic equipment, wherein the current use scene information comprises the current position and the current time.
For example, the historical use frequency and the historical use times of the second application in the preset historical time period are obtained, and the historical use scene information comprises the historical use frequency, the historical use times and the historical use time. Wherein the preset history period may be a period before the current time. The historical use frequency of the second application is a percentage of the use time length of all applications occupied by the corresponding use time length of the second application in a preset historical time period. The historical usage times of the second application are the opening times of the user in a preset historical time period.
In some implementations, the electronic device may obtain a current location and a current time of the electronic device, the current usage scenario information including the current location and the current time.
In some embodiments, if the historical usage frequency is higher than the preset usage frequency, it is determined whether the historical usage frequency is higher than the preset usage frequency. And if the historical use times are higher than the preset use times, determining the historical use time and the historical use position of the second application.
206. And determining whether to start the second application according to the historical use time and the historical use position, the current position and the current time.
In some implementations, the electronic device can determine whether to launch the second application based on the historical usage time and the historical usage location, and the current location and the current time.
For example, the electronic device may determine, according to the historical usage time, a most commonly used time period of the second application within a preset historical time period, and determine, according to the historical usage location, a most commonly used location, and if the current location coincides with the most commonly used location, and the current time is within the daily most commonly used time period, determine that the first application starts the second application.
For another example, if the current location and the most frequently used location do not match, but the current time is within a time period of most frequently use per day, then it is determined that the first application initiates the second application.
For another example, if the current location coincides with the most commonly used location, but the current time is not within the most commonly used time period of each day, then it is determined that the first application initiates the second application.
For another example, if the current location and the most frequently used location do not match, but the current time is not within the most frequently used time period of each day, then it is determined that the first application does not launch the second application.
In some implementations, the electronic device may construct a first usage habit vector based on the historical usage time and the historical usage location; constructing a second use habit vector according to the current time and the current position; and determining whether to start the second application according to the first usage habit vector and the second usage habit vector.
For example, the electronic device may take the time and location as elements of two build vectors, and then build a first use habit vector based on the historical use time and the historical use location by taking into consideration both the time and the location dimensions, and build a second use habit vector based on the current time and the current location.
Specifically, the electronic device may preset a neural network model, which may input time information and location information and then output a corresponding vector.
After the electronic device obtains the first habit vector and the second habit vector, an error value between the first habit vector and the second habit vector can be calculated through setting, for example, a difference value of a modulus between the first habit vector and the second habit vector is calculated. If the difference is within the preset difference range, the first application is determined to be capable of starting the second application. Otherwise, if the difference is outside the preset difference range, determining that the first application cannot start the second application.
In some embodiments, the computer device may input the first habit vector into the similarity calculation model, and then calculate a loss value between the first habit vector and the second habit vector, and if the loss value is within a preset loss value range, it indicates that the first application may start the second application. If the loss value is outside the preset loss value range, the first application is not started.
By the method, whether the second application is started or not can be determined by the electronic equipment according to the historical use scene information and the current use scene information, so that whether the second application is started or not is intelligently controlled. The first application is prevented from randomly starting the second application, so that a plurality of malicious applications are prevented from being started in a chained mode, the computing resources of the electronic equipment are saved, and the power consumption of the electronic equipment is reduced.
In the embodiment of the application, when receiving a starting request of starting a second application by a first application, the electronic device determines whether the first application is a background application program. And if the first application is a background application program, determining first application information of the first application and second application information of the second application. Acquiring first process information of a first process of a first application sending a starting request and second process information of a second process of a second application needing to be evoked, wherein the first application information comprises the first process information, and the second application information comprises the second process information. And carrying out relevance analysis on the first process information and the second process information to determine the relevance strength between the first application and the second application. If the correlation strength is smaller than a preset strength threshold, acquiring the historical use frequency and the historical use times of the second application in a preset historical time period, wherein the historical use scene information comprises the historical use frequency and the historical use times; the method comprises the steps of obtaining the current position and the current time of the electronic equipment, wherein the current use scene information comprises the current position and the current time, and determining whether to start a second application according to the historical use time and the historical use position and the current time. Thereby intelligently controlling whether to launch the second application through the usage habits of the user for the application.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an application management and control device according to an embodiment of the present application. The application management and control apparatus 300 may include:
an information determining module 310, configured to determine, when a start request for starting a second application by a first application is received, first application information of the first application and second application information of the second application;
a relevance determining module 320, configured to determine a relevance strength between the first application and the second application according to the first application information and the second application information;
an obtaining module 330, configured to obtain historical usage scenario information of the second application and current usage scenario information of the electronic device if the association strength is less than a preset strength threshold;
the control module 340 is configured to determine whether to start the second application according to the historical usage scenario information and the current usage scenario information.
In some implementations, the information determining module 310 is configured to determine whether the first application is a background application;
and if the first application is a background application program, determining first application information of the first application and second application information of the second application.
In some embodiments, the relevance determining module 320 is configured to obtain first process information of a first process in which the first application sends a start request, and second process information of a second process that needs to be invoked by the second application, where the first application information includes the first process information, and the second application information includes the second process information;
And carrying out relevance analysis on the first process information and the second process information to determine the relevance strength between the first application and the second application.
In some embodiments, the relevance determining module 320 is configured to determine a first priority of the first process according to the first process information, and determine a second priority of the second process according to the second process information;
and determining the association strength according to the first priority and the second priority.
In some embodiments, the obtaining module 330 is configured to obtain a historical usage frequency and a historical usage number of times of the second application in a preset historical period, where the historical usage scenario information includes the historical usage frequency and the historical usage number of times;
the method comprises the steps of obtaining the current position and the current time of the electronic equipment, wherein the current use scene information comprises the current position and the current time.
In some embodiments, the obtaining module 330 is configured to determine whether the historical usage frequency is higher than the preset usage frequency if the historical usage frequency is higher than the preset usage frequency;
if the historical use times are higher than the preset use times, determining the historical use time and the historical use position of the second application;
in some embodiments, the control module 340 is configured to determine whether to launch the second application based on the historical usage time and the historical usage location, and the current location and the current time.
In some embodiments, the control module 340 is configured to construct a first usage habit vector according to the historical usage time and the historical usage location;
constructing a second use habit vector according to the current time and the current position;
and determining whether to start the second application according to the first usage habit vector and the second usage habit vector.
In the embodiment of the application, when receiving a starting request of starting a second application by a first application, an application management and control device determines first application information of the first application and second application information of the second application; determining the association strength between the first application and the second application according to the first application information and the second application information; if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment; and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information. When the first application is to start the second application, whether the second application is started or not is determined according to the historical use scene information of the second application and the current use scene information of the electronic equipment, so that whether the second application is started or not is intelligently controlled.
Correspondingly, the embodiment of the application also provides electronic equipment, which can be a terminal or a server, wherein the terminal can be a terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game machine, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and the like. As shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the electronic device structure shown in the figures is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device 400 using various interfaces and lines, and performs various functions of the electronic device 400 and processes data by running or loading software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device 400.
In the embodiment of the present application, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions:
when a starting request of starting a second application by a first application is received, determining first application information of the first application and second application information of the second application;
determining the association strength between the first application and the second application according to the first application information and the second application information;
if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment;
and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 4, the electronic device 400 further includes: a touch display 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
The touch display 403 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 401, and can receive and execute commands sent from the processor 401. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to implement the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch-sensitive display 403 may also implement an input function as part of the input unit 406.
The radio frequency circuitry 404 may be used to transceive radio frequency signals to establish wireless communication with a network device or other electronic device via wireless communication.
The audio circuitry 405 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone. The audio circuit 405 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 405 and converted into audio data, which are processed by the audio data output processor 401 and sent via the radio frequency circuit 404 to e.g. another electronic device, or which are output to the memory 402 for further processing. The audio circuit 405 may also include an ear bud jack to provide communication of the peripheral headphones with the electronic device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the electronic device 400. Alternatively, the power supply 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 407 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 4, the electronic device 400 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the application management method provided by the embodiments of the present application.
For example, the instructions may perform the steps of:
when a starting request of starting a second application by a first application is received, determining first application information of the first application and second application information of the second application;
determining the association strength between the first application and the second application according to the first application information and the second application information;
if the correlation strength is smaller than the preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment;
and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform any step in the application management and control method provided in the embodiments of the present application, so that the beneficial effects that can be achieved by the application management and control method provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
The application management and control method, device, electronic equipment and computer readable storage medium provided in the embodiments of the present application are described in detail, and specific examples are applied to illustrate the principles and embodiments of the present application, where the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. An application management and control method, comprising:
when a starting request of a first application to start a second application is received, determining first application information of the first application and second application information of the second application;
determining the association strength between the first application and the second application according to the first application information and the second application information;
if the correlation strength is smaller than a preset strength threshold, acquiring historical use scene information of the second application and current use scene information of the electronic equipment;
and determining whether to start the second application according to the historical usage scenario information and the current usage scenario information.
2. The application management method according to claim 1, wherein the determining the first application information of the first application and the second application information of the second application includes:
determining whether the first application is a background application;
and if the first application is a background application program, determining first application information of the first application and second application information of the second application.
3. The application management method according to claim 1, wherein the determining the strength of association between the first application and the second application according to the first application information and the second application information includes:
acquiring first process information of a first process of the first application sending a starting request and second process information of a second process of the second application needing to be aroused, wherein the first application information comprises the first process information, and the second application information comprises the second process information;
and carrying out relevance analysis on the first process information and the second process information to determine the relevance strength between the first application and the second application.
4. The application management method according to claim 3, wherein the performing association analysis on the first process information and the second process information to determine the association strength between the first application and the second application includes:
Determining a first priority of the first process according to the first process information, and determining a second priority of the second process according to the second process information;
and determining the association strength according to the first priority and the second priority.
5. The application management and control method according to claim 1, wherein the obtaining historical usage scenario information of the second application and current usage scenario information of the electronic device includes:
acquiring the history use frequency and the history use times of the second application in a preset history time period, wherein the history use scene information comprises the history use frequency and the history use times;
and acquiring the current position and the current time of the electronic equipment, wherein the current use scene information comprises the current position and the current time.
6. The application management method according to claim 5, wherein the determining whether to launch the second application according to the historical usage scenario information and the current usage scenario information includes:
if the historical use frequency is higher than the preset use frequency, determining whether the historical use frequency is higher than the preset use frequency;
If the historical use times are higher than the preset use times, determining the historical use time and the historical use position of the second application;
and determining whether to start the second application according to the historical use time and the historical use position, the current position and the current time.
7. The application management method according to claim 6, wherein the determining whether to launch the second application based on the historical use time and the historical use location, and the current location and the current time, comprises:
constructing a first use habit vector according to the historical use time and the historical use position;
constructing a second use habit vector according to the current time and the current position;
and determining whether to start the second application according to the first usage habit vector and the second usage habit vector.
8. An application management and control device, comprising:
the information determining module is used for determining first application information of a first application and second application information of a second application when a starting request of starting the second application by the first application is received;
The relevance determining module is used for determining the relevance strength between the first application and the second application according to the first application information and the second application information;
the acquiring module is used for acquiring historical use scene information of the second application and current use scene information of the electronic equipment if the association strength is smaller than a preset strength threshold value;
and the control module is used for determining whether to start the second application according to the historical use scene information and the current use scene information.
9. An electronic device, comprising:
a memory storing executable program code, a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the application management method of any of claims 1-7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the application management method of any one of claims 1-7.
CN202310336825.XA 2023-03-27 2023-03-27 Application management and control method and device, electronic equipment and computer readable storage medium Pending CN117407130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310336825.XA CN117407130A (en) 2023-03-27 2023-03-27 Application management and control method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310336825.XA CN117407130A (en) 2023-03-27 2023-03-27 Application management and control method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117407130A true CN117407130A (en) 2024-01-16

Family

ID=89491411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310336825.XA Pending CN117407130A (en) 2023-03-27 2023-03-27 Application management and control method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117407130A (en)

Similar Documents

Publication Publication Date Title
US11244672B2 (en) Speech recognition method and apparatus, and storage medium
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
CN107463403B (en) Process control method, device, storage medium and electronic equipment
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
WO2019024646A1 (en) Application management and control method, apparatus, and electronic device
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
US20220300328A1 (en) Application optimization method and device, storage medium, and electronic equipment
CN114327087A (en) Input event processing method and device, electronic equipment and storage medium
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN113253964A (en) Data management method, device, equipment and storage medium
US10871875B2 (en) Cursor identification on an IHS display
CN117407130A (en) Application management and control method and device, electronic equipment and computer readable storage medium
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
WO2019024643A1 (en) Data synchronization control method, device and electronic equipment
CN109726003B (en) Application unfreezing processing method, electronic device and computer readable storage medium
CN109672242B (en) Terminal charging control method and device and storage medium
CN108958829B (en) Pre-loaded resource control method, device, storage medium and terminal
CN117542134B (en) Communication method and device of passive device, electronic device and readable storage medium
CN114245026B (en) Shooting method, shooting device, computer equipment and storage medium
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal
CN114489858B (en) Application software information setting method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination