CN115706753B - Application management method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115706753B
CN115706753B CN202110941131.XA CN202110941131A CN115706753B CN 115706753 B CN115706753 B CN 115706753B CN 202110941131 A CN202110941131 A CN 202110941131A CN 115706753 B CN115706753 B CN 115706753B
Authority
CN
China
Prior art keywords
application
running
information
background
electronic device
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.)
Active
Application number
CN202110941131.XA
Other languages
Chinese (zh)
Other versions
CN115706753A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110941131.XA priority Critical patent/CN115706753B/en
Publication of CN115706753A publication Critical patent/CN115706753A/en
Application granted granted Critical
Publication of CN115706753B publication Critical patent/CN115706753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application is suitable for the technical field of equipment control, and provides a management method and device of an application program and electronic equipment, wherein the method comprises the following steps: if the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment meeting the information acquisition triggering condition; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met; determining a background running application set based on the running environment information; and managing the application programs running in the background according to the second application running in the background and the background running application set at the moment of meeting the information acquisition triggering condition. The technical scheme provided by the application can avoid the situation that the application program frequently switched by the user is frequently closed when the background is operated, so that the switching efficiency between applications conforming to the use habit of the user is improved, and the accuracy of application program management is improved.

Description

Application management method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of equipment control, and particularly relates to a management method and device of an application program and electronic equipment.
Background
With the continuous development of intelligent application technology, the number and variety of application programs are increasing. In order to meet various demands of users in life, work, study and the like, a large number of application programs are often installed on the electronic equipment, and due to the fact that the equipment performance of the electronic equipment is continuously increased, other application programs can be operated in the background besides one application program operated in the foreground of the electronic equipment, so that a user can conveniently switch among a plurality of application programs, and switching efficiency and smoothness of application operation are improved. However, the device resources occupied by part of the application programs are larger, for example, part of the game application or the video playing application, and when the electronic device manages the application programs running in the background, part of the application programs running in the background can be ended according to the available device resource conditions, so that the normal use of the electronic device is ensured.
The existing application program management technology generally determines whether to allow the application program to run in the background according to the resource occupation degree of the application program, for example, for each type of game application, the electronic device can close the application program of the type to run in the background, and for the application program of the type with less resource occupation and less maintenance difficulty, the electronic device can allow the application program of the type to run in the background. However, when using the electronic device, the user often switches back and forth between the application with larger occupied resources and the application with smaller occupied resources, and the above manner can frequently close part of the types of applications, thereby greatly reducing the efficiency of switching between application programs and reducing the accuracy of application management.
Disclosure of Invention
The embodiment of the application provides a management method and device of application programs, electronic equipment and a computer readable storage medium, which can solve the problems that the management technology of the application programs frequently closes partial types of applications, thereby greatly reducing the switching efficiency between the application programs and reducing the accuracy of application management.
In a first aspect, an embodiment of the present application provides a method for managing an application program, including:
If the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment meeting the information acquisition triggering condition; the operation environment information is information irrelevant to an application program installed on the electronic device; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met;
Determining a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background; the first application is an application program which accords with application using habit of the user at the moment of meeting the information acquisition triggering condition;
and managing the application programs running in the background according to the second application running in the background at the moment of meeting the information acquisition triggering condition and the background running application set.
The embodiment of the application has the following beneficial effects: the method comprises the steps that corresponding operation environment information is obtained when information acquisition triggering conditions are met, a background operation application set allowed to operate in the background is determined based on the operation environment information, and because the operation environment information can be used for deducing application use habits corresponding to the time when the information acquisition triggering conditions are met by a user, a first application contained in the generated background operation application set is an application program conforming to the user use habits when the information acquisition triggering conditions are met, and the application program currently operated in the background is managed based on the background operation application set. Compared with the existing application program management technology, in the embodiment of the application, the application program to be closed is not only determined according to the sequence of running each application program in the background, but also the application using habit of the user is determined according to the running environment information, the first application conforming to the application using habit of the user is selected from the installed application programs to generate a background running application set, and the application program to be operated in the background is managed based on the background running application set, so that the situation that the application program frequently switched by the user is frequently closed when the application program is operated in the background is avoided, the time consumption required for restarting after the program is closed is reduced, the switching efficiency among the applications conforming to the use habit of the user is improved, and the application program management accuracy is improved.
In one possible implementation manner of the first aspect, if the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment when the information acquisition triggering condition is met includes:
if the information acquisition triggering condition is met, receiving the original data fed back by the data acquisition module;
performing principal component analysis on the original data, determining at least two operation environment dimensions, and respectively determining original dimension parameters corresponding to the original data in each operation environment dimension;
Based on the dimension of the running environment, carrying out normalization processing on the original dimension parameter to obtain a normalized parameter;
And carrying out feature extraction on the normalized parameters of each operation environment dimension to obtain feature information of the operation environment dimension, and generating the operation environment information based on the feature information of all the operation environment dimensions.
In a possible implementation manner of the first aspect, the performing principal component analysis on the raw data to determine at least two operating environment dimensions includes:
Filtering the original data according to a preset filtering rule to obtain filtered original data;
And carrying out principal component analysis on the filtered original data, and determining at least two operation environment dimensions.
In a possible implementation manner of the first aspect, the determining a background running application set based on the running environment information includes:
generating a plurality of candidate application item sets based on all the application programs; each of the candidate application item sets contains at least one of the applications;
Selecting a very-large frequent item set from all the candidate application item sets according to the running environment information and the application set information corresponding to the candidate application item sets; the application set information comprises application information of each application program in the candidate application item set;
According to the application information and the running environment information of each application program in the maximum frequent item set, starting confidence degrees corresponding to each application program in the maximum frequent item set are calculated respectively;
and selecting the application program with the starting confidence coefficient larger than a preset confidence coefficient threshold as a candidate application, and determining the background running application set based on the candidate application.
In a possible implementation manner of the first aspect, the selecting the application program with the start confidence coefficient greater than the preset confidence coefficient threshold as a candidate application, and determining the background running application set based on the candidate application includes:
importing all the candidate applications and the running environment information into decision algorithms corresponding to all the running environment dimensions, and calculating the first application corresponding to the running environment dimensions;
and generating the background running application set based on the first application corresponding to all the running environment dimensions.
In one possible implementation manner of the first aspect, if the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment when the information acquisition triggering condition is met includes:
responding to a starting operation initiated by a user, running a third application indicated by the starting operation in a foreground, and acquiring the running environment information corresponding to the starting operation moment initiated by the user; or (b)
Responding to an application closing instruction, ending running a fourth application corresponding to the application closing instruction, and acquiring the running environment information corresponding to the fourth application when the running is ended; or (b)
And responding to a mode switching instruction of the electronic equipment, switching the operation mode of the electronic equipment, and acquiring the corresponding operation environment information when switching to the operation mode.
In a possible implementation manner of the first aspect, the running environment information includes at least one of the following: location information, time information, touch information, application information, and system setting information.
In a possible implementation manner of the first aspect, the managing the application program running in the background according to the second application running in the background at the moment when the information collection triggering condition is met and the application set running in the background includes:
if any second application is in the background running application set, maintaining the second application to run in the background;
if any second application is not in the background application set, stopping running of the second application in the background;
and if the first application which is not operated in the background exists in the background operation application set, starting the first application which is not operated in the background.
In a second aspect, an embodiment of the present application provides an apparatus for managing an application, including:
the operation environment information acquisition unit is used for acquiring operation environment information corresponding to the moment meeting the information acquisition triggering condition if the information acquisition triggering condition is met; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met;
The background running application set determining unit is used for determining a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background; the first application is an application program which accords with application using habit of the user at the moment of meeting the information acquisition triggering condition;
And the application program management unit is used for managing the application programs running in the background according to the second application running in the background at the moment of meeting the information acquisition triggering condition and the background running application set.
In one possible implementation manner of the second aspect, the operation environment information obtaining unit includes:
The original data acquisition unit is used for receiving the original data fed back by the data acquisition module if the information acquisition triggering condition is met;
the original dimension parameter acquisition unit is used for carrying out principal component analysis on the original data, determining at least two operation environment dimensions, and respectively determining original dimension parameters corresponding to the original data in each operation environment dimension;
The normalization parameter generation unit is used for carrying out normalization processing on the original dimension parameter based on the dimension of the operation environment to obtain a normalization parameter;
and the running environment information generating unit is used for carrying out feature extraction on the normalized parameters of each running environment dimension to obtain feature information of the running environment dimension, and generating the running environment information based on the feature information of all the running environment dimensions.
In a possible implementation manner of the second aspect, the original dimension parameter obtaining unit includes:
The original data filtering unit is used for filtering the original data according to a preset filtering rule to obtain filtered original data;
and the principal component analysis unit is used for carrying out principal component analysis on the filtered original data and determining at least two operation environment dimensions.
In one possible implementation manner of the second aspect, the background running application set determining unit includes:
A candidate application item set generating unit, configured to generate a plurality of candidate application item sets based on all the application programs; each of the candidate application item sets contains at least one of the applications;
The maximum frequent item set generation unit is used for selecting a maximum frequent item set from all the candidate application item sets according to the running environment information and the application set information corresponding to the candidate application item sets; the application set information comprises application information of each application program in the candidate application item set;
The starting confidence determining unit is used for respectively calculating the starting confidence corresponding to each application program in the maximum frequent item set according to the application information and the running environment information of each application program in the maximum frequent item set;
and the candidate application selecting unit is used for selecting the application program with the starting confidence coefficient larger than a preset confidence coefficient threshold value as a candidate application, and determining the background running application set based on the candidate application.
In a possible implementation manner of the second aspect, the candidate application selection unit includes:
The decision algorithm importing unit is used for importing all the candidate applications and the running environment information into a decision algorithm corresponding to each running environment dimension, and calculating the first application corresponding to the running environment dimension;
And the decision determining unit is used for generating the background running application set based on the first applications corresponding to all the running environment dimensions.
In a possible implementation manner of the second aspect, the operation environment information obtaining unit includes:
The starting triggering unit is used for responding to the starting operation initiated by the user, running a third application indicated by the starting operation in the foreground and acquiring the running environment information corresponding to the starting operation moment initiated by the user; or (b)
The closing triggering unit is used for responding to an application closing instruction, ending the running of a fourth application corresponding to the application closing instruction and acquiring the running environment information corresponding to the running of the fourth application; or (b)
And the mode switching triggering unit is used for responding to a mode switching instruction of the electronic equipment, switching the operation mode of the electronic equipment and acquiring the corresponding operation environment information when switching to the operation mode.
In a possible implementation manner of the second aspect, the running environment information includes at least one of the following: location information, time information, touch information, application information, and system setting information.
In a possible implementation manner of the second aspect, the application management unit includes:
an application starting unit, configured to maintain the second application running in the background if any of the second applications is in the background running application set;
An application closing unit, configured to stop running of the second application in the background if any of the second applications is not in the background application set;
And the application pre-starting unit is used for starting the first application which is not operated in the background if the first application which is not operated in the background exists in the background operation application set.
In a third aspect, an embodiment of the present application provides an electronic device, a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for managing an application according to any one of the first aspect when the processor executes the computer program.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the method for managing an application program according to any one of the first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product, which when run on an electronic device, causes the electronic device to execute the method for managing an application according to any one of the first aspects.
In a sixth aspect, an embodiment of the present application provides a chip system, including a processor, where the processor is coupled to a memory, and the processor executes a computer program stored in the memory, to implement the method for managing an application program according to any one of the first aspects.
It will be appreciated that the advantages of the second to sixth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a block diagram of the software architecture of an electronic device according to an embodiment of the application;
FIG. 3 is a schematic diagram of the management of a prior art application;
FIG. 4 is a flowchart illustrating an implementation of a method for managing an application according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an application launch provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of application shutdown according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a user switching an operation mode of an electronic device according to an embodiment of the present application;
FIG. 8 is a schematic diagram showing a prompt message for mode switching according to an embodiment of the present application;
FIG. 9 is a flowchart showing a specific implementation of S401 according to an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating the acquisition of raw data according to an embodiment of the present application;
FIG. 11 is a flowchart showing a specific implementation of S402 according to an embodiment of the present application;
FIG. 12 is a schematic view illustrating selection of a very frequent item set according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a decision tree according to an embodiment of the present application;
FIG. 14 is a schematic diagram of an overall architecture of an application management device according to an embodiment of the present application;
fig. 15 is a block diagram of a management apparatus for an application program according to an embodiment of the present application;
Fig. 16 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The application management method provided by the embodiment of the application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal DIGITAL ASSISTANT, PDA) and the like, and particularly can be applied to electronic scales or electronic devices with body detection functions.
For example, the electronic device may be a Station (ST) in a WLAN, may be a cellular telephone, a cordless telephone, a Session initiation protocol (Session InitiationProtocol, SIP) telephone, a wireless local loop (Wireless Local Loop, WLL) station, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a computer, a laptop computer, a handheld communication device, a handheld computing device, and/or other devices for communicating over a wireless system, as well as next generation communication systems, e.g., a mobile terminal in a 5G network or a mobile terminal in a future evolved public land mobile network (Public Land Mobile Network, PLMN) network, etc.
Fig. 1 shows a schematic structural diagram of an electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information. The display 194 may specifically display the generated detection report, so that the user may view the detection report through the display 194.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1. The display 194 may include a touch panel and other input devices.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A. In particular, the speaker 170A may be configured to output a prompt message for informing the user of the location where contact with the electronic scale is desired.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display 194, for example, the electronic device may obtain the weight of the user through the pressure sensor 180A. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software architecture block diagram of an electronic device according to an embodiment of the application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, a An Zhuoyun line (Android runtime) system layer, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as cameras, calendars, maps, WLANs, bluetooth, music, video, short messages, mailboxes, weChat, WPS, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system layer may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The workflow of the electronic device 100 software and hardware is illustrated below in connection with capturing a photo scene.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a camera application icon, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video by the camera 193.
Typically, an electronic device may have a number of different applications installed thereon, which may provide different types of services to a user. Illustratively, FIG. 3 shows a management schematic of an existing application. Referring to (a) in fig. 3, an album application 31, a music application 32, a video application, an instant chat application, a game application, and the like are installed in the electronic device. The electronic device may receive a touch operation initiated by a user and start a corresponding application program to run in the foreground of the electronic device, and for example, when the electronic device detects that the user clicks on the album application 31, the electronic device may run the album application 31 in the foreground.
In order to improve the smoothness of user operation, the electronic device may run, in addition to the application program in the foreground, a part of the application program in the background, and the application program in the background, in the prior art, is often an application program started by the user in the process of using the electronic device. Illustratively, as shown in (b) of FIG. 3, the electronic device may respond to a user clicking on a control of the album application 31 to run the electronic device album application 31. If the electronic device detects the main interface return operation initiated by the user, the electronic device may return to the main interface of the electronic device at 10:01, i.e. return to the main interface shown in (a) of fig. 3. At this time, the electronic device detects that the user clicks the control of the music application 32 at 10:02, and generates the operation interface of the music application 32, as shown in (c) in fig. 3, in which case the album application 31 may remain in an operating state in the background of the electronic device although not operating in the foreground. At this time, the user may initiate a sliding operation at the lower boundary of the screen of the electronic device, and the electronic device may display the preview interface of each application program started by the user in response to the sliding operation, where the preview interface 33 includes the preview interface 33 of the application program running in the foreground (such as the music application 32) and the preview interface 34 of the application program running in the background (such as the album application 31), and of course, may also include the application program that has finished running, such as the preview interface 35 of the video application, as shown in (d) in fig. 3, where the order of displaying the hierarchy among the application programs is specifically determined according to the order in which the application program is started in the foreground. If the electronic device detects that the user clicks on the preview interface 34, it indicates that the user needs to switch from the music application 32 to the album application 31. If the album application 31 is running in the background, the electronic device can immediately run the album application 31 in the foreground at this time without reloading the album application 31 and restarting the album application, thereby greatly improving the loading speed of the application program and realizing smooth switching among the application programs.
However, in the actual use process of the electronic device, the electronic device cannot keep all the application programs started by the user running in the background due to the limited device resources and too high resource occupancy rate of part of the application programs.
Case 1: the background of the electronic device has run 5 applications, and the 5 applications occupy 90% of the device resources of the electronic device. At this time, if the electronic device needs to start a new application program, and running the application program needs to call 20% of device resources of the electronic device, in this case, the electronic device needs to close a part of application programs in background running, so that the electronic device can run normally.
Case 2: the electronic device is provided with a part of game application, and when the electronic device runs the game application, a large amount of hardware resources are required to be occupied, so that if the game application is maintained to run in the background, the utilization rate of the hardware resources in the electronic device is reduced, and in general, the application program of the type is closed to run in the background.
Therefore, although the electronic device may maintain the application program in the background running, in some cases, it is necessary to close some of the application programs running in the background to ensure the normal running of the electronic device, and reserve enough resources to run the application program newly started by the user. Therefore, how to reasonably manage the application programs running in the background directly affects the use experience of the user and the smoothness of the operation of the electronic equipment. The existing management technology for the application programs running in the background can be mainly divided into the following three modes:
mode 1: the applications that need to be closed are determined based on the order in which the applications are run in the background.
As shown in fig. 3 (d), the electronic device may display preview interfaces of each started application program, where the level of the preview interface of each application program is determined by the order in which the application program runs in the background, the preview interface of the application program running in the background first is at the bottom layer, such as the preview interface 35 of the video application, and so on, and the preview interface of the application program running in the foreground or finally running in the background is at the top layer, such as the preview interface 33 of the music application 32. It should be noted that, if there are more started applications, the page displaying the preview interface of the started application may be provided with the maximum number of display interfaces, for example, the number of display interfaces in (d) in fig. 3 is 3, and the interfaces of other applications after the 3-level may be hidden, and the preview interface of the other levels displayed in the current page may be switched through the sliding operation, so as to determine the preview interface of the application running earlier than the background.
When the electronic equipment needs to close part of background application programs under the condition of insufficient resources, the application program which is operated in the background at first can be selected as the application program which needs to be closed according to the sequence of each application program which is operated in the background at present, namely, the application program of which the preview interface is positioned at a lower layer. It should be noted that, the application program with the preview interface displayed in the page is an application program started by the user, and is not an application program running in the background, so that part of the application programs may already end to run in the background, but the preview page corresponding to the application program, namely, the page "tombstone" is still reserved in the page. The electronic device can determine the application program with the preview page at the bottommost layer from the application programs of the non-page 'tombstone', and can finish the operation of the application program operated at the bottommost layer if the resources of the electronic device are insufficient after the operation of the application program at the bottommost layer is finished, and the like until the resources of the electronic device meet the operation requirements.
However, when the application program running in the background is managed in the above manner, the application program commonly used by the user, such as the instant chat application, may be closed, which may cause the user to fail to receive the information sent by the chat object in real time, so that the accuracy of the background application program management is lower.
Mode 2: the application of the type of the holding part runs in the background.
The electronic device may be preset with an application list maintained in a background running state, and in the case of insufficient resources, the electronic device may keep the application program in the application list running in the background, and end running the application program not in the application list. For example, the application list includes email/instant chat (email/INSTANT MESSAGING, email/IM) applications, i.e. applications belonging to the email/IM type, which the electronic device keeps running in the background, such as email applications, weChat applications, whatsapp applications, etc., while non-email/IM applications are closed in case of insufficient resources.
However, in general, the applications of the common email/IM type for the user are limited, if all the applications of the common email/IM type are kept running in the background and a large number of applications of the common email/IM type for the user are closed, the common applications are frequently closed and frequently started, and the applications of the unusual email/IM type occupy the resources of the electronic device, so that not only is the resources of the electronic device wasted, but also the efficiency of switching the applications is reduced, and the use experience of the user is reduced. It can be seen that the above management accuracy for the application program is also low.
Mode 3: disabling part-type applications from running in the background
In a similar manner to the above, the electronic device may also set an application list that prohibits the background running, where the application in the application list automatically ends the application of the above type when the application runs in the background, or after a specific time (for example, running for 1 minute). For example, the application list includes application programs of game types, such as large-scale game applications such as the glowing of an owner and the overwhelming of life, and the electronic device needs to consume a large amount of hardware resources when keeping the application programs of the types running in the background, so that the maintenance difficulty is high, and the electronic device can use the application programs of the types as application programs forbidden to run in the background.
However, during the course of the game, the user often exits the game to perform other operations, such as replying to a message sent by the communication object or making a voice call. At this time, if the application program of the above type is run in the background or the background is run for more than a certain time, the running is ended, which may cause the application program to be frequently closed and frequently started, and for the application program with a larger data amount, the loading time may be worse, thereby further reducing the efficiency of application program switching and reducing the use experience of the user. Therefore, when the application program is managed in this way, the application program is greatly deviated from the actual use habit of the user.
Therefore, in the prior art, when the application program operated in the background is managed, the application program commonly used by the user is easy to finish operation, so that the situation that the application program commonly used by the user is frequently closed and frequently started occurs, the time consumption required by switching between applications is greatly increased, and the switching efficiency of the application program and the accuracy of application program management are reduced.
Embodiment one:
Therefore, in order to solve the defects of the existing application program management technology, the application provides an application program management method, wherein an execution main body of the application program management method can be specifically an electronic device, the electronic device can be an electronic device such as a smart phone, a tablet personal computer, a smart watch and the like, a plurality of operable application programs are installed in the electronic device, and the application programs can run in the foreground of the electronic device or in the background of the electronic device.
Fig. 4 is a flowchart of an implementation of an application management method according to an embodiment of the present application, which is described in detail below:
In S401, if the information acquisition triggering condition is satisfied, acquiring operation environment information corresponding to the moment when the information acquisition triggering condition is satisfied; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met.
In this embodiment, the electronic device may be provided with an information acquisition triggering condition, and when the information acquisition triggering condition is satisfied, the running environment information at the corresponding moment is acquired, and an application program running in the background in the electronic device is managed according to the running environment information. The information collection triggering conditions set by the electronic equipment can be one or a plurality of, and are specifically determined according to actual conditions.
In one possible implementation manner, the information acquisition triggering condition may be a time triggering condition, the electronic device may be configured with a plurality of information acquisition triggering moments, and when the electronic device detects that a certain preconfigured information acquisition triggering moment is reached, the electronic device identifies that the information acquisition triggering condition is met, and performs the operation of S401. It should be noted that, the time intervals between the above-mentioned information collection trigger moments may be the same, in this case, that is, the electronic device is provided with a trigger period, and the running environment information of the electronic device is periodically obtained based on the trigger period, so as to manage the application programs running in the background of the electronic device.
Further, as another embodiment of the present application, the information collection triggering condition may be an event triggering condition, and if the information collection triggering condition is an event triggering condition, one or more of the following three cases may be included:
Case 1: when the application is started, the step S401 is specifically: and responding to a starting operation initiated by a user, running a third application indicated by the starting operation in the foreground, and acquiring the running environment information corresponding to the starting operation moment initiated by the user.
In this embodiment, the electronic device may respond to a startup operation initiated by a user for a locally installed application. Illustratively, FIG. 5 shows a schematic diagram of application launch provided by an embodiment of the present application. The starting operation comprises at least two modes, namely: an application is launched in a main interface of the electronic device and another application is launched in one application.
Fig. 5 (a) shows a schematic diagram of starting an application program in the main interface. Referring to (a) of fig. 5, icons of respective application programs currently installed in a main interface of the electronic device may be displayed by a user by clicking a corresponding icon to initiate a start operation for a related application. For example, when the user clicks the icon 51 of the album application, the electronic device receives a click operation on the icon 51, recognizes the click operation as a start operation, recognizes an application program corresponding to the click operation as a third application, that is, the album application as the third application, reads a related program running file of the album application from the local memory to run the album application, and displays an operation interface corresponding to the album application. In addition to running the third application, the electronic device may also obtain running environment information corresponding to when the third application is started.
Fig. 5 (b) shows a schematic diagram of starting one application program in another application program. Referring to fig. 5 (b), the electronic device is running an application, such as an instant chat application. In the operation interface of the instant chat application, there may be displayed an application return control 52, where the application return control 52 is specifically configured to return to the application program that was last invoked to run in the foreground, in this example, the application return control 52 displays an album application, that is, indicates that the electronic device is running the album application before the instant chat application is run in the foreground. If the electronic device detects that the user clicks the application return control 52, it indicates that the user initiates a start operation for starting the album application, at this time, the album application is identified as a third application, and the album application is run in the foreground, and the corresponding running environment information when the album application is started is obtained.
Fig. 5 (c) shows a schematic diagram of another way of starting another application from one application. The electronic device may initiate a slide-up operation at the edge under the screen in the interface as in (b) of fig. 5 to display the interface of the preview page of each application program started by the electronic device, i.e., (c) of fig. 5. The interface comprises a preview page of the application program running in the current foreground and a preview page of the application program running in the background. The user can activate the corresponding application program to the foreground operation by clicking any preview page in the interface, namely the clicking operation is the starting operation of the corresponding application program. For example, when the user clicks the preview page 53 of the album application, the electronic device may start the album application and apply the album application to the foreground operation, and at this time, the electronic device may further obtain the operation environment information corresponding to when the album application is activated to the foreground operation.
In this embodiment, after receiving a startup operation initiated by a user, the electronic device activates a third application corresponding to the startup operation to a foreground operation, and may further manage an application program running in the background, so that running environment information corresponding to the moment when the startup operation is received may be obtained.
Case 2: when the application is closed, the step S401 is specifically: and responding to an application closing instruction, ending the operation of a fourth application corresponding to the application closing instruction, and acquiring the operation environment information corresponding to the operation of the fourth application.
In this embodiment, the electronic device may respond to an application shutdown instruction for a locally installed application program, for example, the fourth application, where the application shutdown instruction may be initiated by a user or may be automatically generated by the electronic device. Illustratively, FIG. 6 shows a schematic diagram of application shutdown provided by an embodiment of the present application.
Fig. 6 (a) and (b) show schematic views of closing an application in an operation interface of the application. Referring to fig. 6 (a), the electronic device runs an instant chat application in the foreground, at this time, by initiating a sliding operation on the edge under the screen to display the interface of the preview pages of each application program started by the electronic device, as shown in fig. 6 (b), the preview pages located at the rightmost side are preview pages of the application program running in the foreground of the electronic device (the arrangement order of each preview page is determined according to the front-to-back order of each application program running in the foreground, and finally the preview page of the application program running in the foreground is at the rightmost side, while the preview page of the application program running in the foreground at the earliest is at the leftmost side, and is limited by the size of the display module of the electronic device, and part of the preview pages are in a hidden state, and each preview page can be viewed by sliding left and right), that is, the preview page of the instant chat application. At this time, if the electronic device receives the sliding operation about the preview page, it indicates that the user needs to close the instant chat application, and generates an application closing instruction about the instant chat application, closes the application program (i.e., the fourth application), and obtains the running environment information.
The electronic device may receive a right-slide operation of the user in the interface (b) of fig. 6 to change the preview page of the application program displayed in the screen, as shown in (c) of fig. 6, the preview page of the on-screen instant chat application of the electronic device may be hidden, and the preview page of the music playing application may appear. In this case, the user may initiate the above-mentioned sliding operation in the display area where the preview page of the application program to be closed is located, so as to close the corresponding application program, and the electronic device may generate the application closing instruction of the application program corresponding to the area according to the area corresponding to the sliding operation initiated by the user.
In one possible implementation manner, the application scenario in which the electronic device automatically generates the application closing instruction may be: in the process of running the application program, the equipment resources occupied by the application program are dynamically changed, if the application program starts a certain internal function, the occupied equipment resources are larger, the electronic equipment needs to configure the corresponding equipment resources for the application program to start the internal function, at the moment, the application program running in the background may need to be closed, at the moment, the electronic equipment can generate an application closing instruction and end the application program running in the background (namely, a fourth application) and acquire the running environment information corresponding to the constant Xuetime of ending the application.
In one possible implementation manner, the application scenario where the electronic device automatically generates the application closing instruction may further be: the electronic equipment can configure a maximum background operation duration for each application program which operates in the background; if the actual running time of any application program in the background running is detected to be longer than the maximum background running time, the electronic equipment can close the application program, at the moment, an application closing instruction of the corresponding application program can be generated, and corresponding running environment information is acquired.
In this embodiment, after the electronic device obtains the application closing instruction, the fourth application corresponding to the running application closing instruction is closed, where the running fourth application includes an application running in the foreground and an application running in the background, and after the application is closed, the device resource of the electronic device is changed, and at this time, the application running in the background can be managed, so that the running environment information corresponding to the moment of the fourth application is ended.
Case 3: when the operation mode of the electronic device is changed, the step S401 is specifically: and responding to a mode switching instruction of the electronic equipment, switching the operation mode of the electronic equipment, and acquiring the corresponding operation environment information when switching to the operation mode.
In this embodiment, the electronic device may manage the application programs running in the background, in addition to when the application programs are turned on and off, when the running mode of the electronic device is changed. The operation modes of the electronic device include, but are not limited to: normal operation mode, power saving operation mode, high performance operation mode, low battery operation mode, and the like. The electronic device may switch between a plurality of operation modes, and the switching of the operation modes of the electronic device may be initiated by a user or may be automatically performed by the electronic device.
Fig. 7 is a schematic diagram illustrating a user switching an operation mode of an electronic device according to an embodiment of the present application. Referring to fig. 7 (a), a user may enter a setup interface of the electronic device by clicking on an application icon "setup" on the electronic device, the setup interface being shown in fig. 7 (b). Through the setup interface, a user may set up a plurality of device items of the electronic device, such as wireless connections, bluetooth, etc., as well as settings for the operational mode, such as control 72. After the electronic device receives the click of the control 72 by the user, the electronic device may enter into a setting interface of an operation mode, as shown in (c) in fig. 7, where each operation mode that the electronic device may change, such as a normal operation mode 73, a power-saving operation mode 74, and a high-performance operation mode 75, may be displayed in the setting interface of the operation mode. The electronic equipment can receive the selection operation initiated by the user in the setting interface, determine the operation mode corresponding to the selection operation, and switch the electronic equipment to the corresponding operation mode.
Fig. 7 is a schematic diagram illustrating a user switching an operation mode of an electronic device according to another embodiment of the present application. Referring to fig. 7 (d), the electronic device may respond to a sliding operation initiated by the user above the screen, and display a corresponding quick setting pop-up window, where the quick setting pop-up window may quickly start and close a control of a corresponding functional module in the electronic device, such as a switch control of a bluetooth module, a switch control of a wireless communication module, a switch control of a mobile data function, and the like, and further includes a switch control 76 that whether to open a low battery mode. The electronic device may be in a normal running state when the switch control 76 is in an off state, and may change the state of the switch control 76 when receiving a click operation of the switch control 76 by a user, for example, switch the off state to the on state, where the electronic device may generate a mode switching instruction to switch the electronic device from the normal running state to the low power state.
In one possible implementation, the electronic device may be configured with multiple power thresholds, such that the overall power of the electronic device is divided into multiple distinct regions, such as a high power region, a medium power region, and a low power region, which may be associated with different modes of operation. In this case, when the actual power of the electronic device reaches a preset power threshold, the electronic device may generate a mode switching instruction to switch to an operation mode associated with the corresponding power region. Of course, when the electronic device needs to switch to the operation mode corresponding to the electric quantity area, a corresponding prompt message may also be generated, and, for example, fig. 8 shows a schematic display diagram of the prompt message in the mode switching provided in an embodiment of the present application. When the electric quantity of the electronic device reaches a preset electric quantity threshold, if the actual electric quantity of the electronic device is 20%, the electronic device can generate a prompt message of a switching mode to prompt the user to be in a lower electric quantity currently and inquire whether the user needs to switch to a corresponding low electric quantity mode, wherein the prompt message comprises two controls, one is a confirmation control 81 for confirming that the information is checked, and the other is a switching control 82 for switching the electric quantity mode. If the electronic device detects that the user clicks the confirmation control 81, it indicates that the user has determined that the current battery is in a lower power level and does not need to switch the operation mode, and at this time, the electronic device maintains the original operation mode of the electronic device; if the electronic device detects that the user clicks the switch control 82, it indicates that the user needs to switch the operation mode of the electronic device to the low-power mode, a mode switching instruction about the low-power mode is generated, and operation environment information of the electronic device is obtained.
In this embodiment, there are differences in available device resources of electronic devices in different operation modes, so when the operation modes of the electronic devices are switched, operation environment information at corresponding moments can be obtained, and a process of managing an application program running in the background is triggered.
In the embodiment of the application, the electronic equipment can acquire the operation environment parameters in a plurality of different states, for example, when the application program is switched, when the application program is closed and when the operation mode is changed, the available equipment resources of the electronic equipment can be changed in all three conditions, so that the application program operated in the background can be managed, the instantaneity of management operation can be improved, and the application program operated in the background is matched with the real-time available resources of the electronic equipment.
In this embodiment, when the electronic device meets a preset information acquisition trigger condition, the electronic device may acquire operation environment information at a corresponding moment, so as to determine, according to the operation environment information, an application usage habit of a user corresponding to the moment when the acquisition trigger condition is met. The above-described running environment information may specifically be information unrelated to an application program installed on the electronic device.
In one possible implementation, the operating environment information includes one or a combination of two or more of the following: location information, time information, touch information, system setting information, application information, and the like. The runtime environment information may include a plurality of runtime environment dimensions, and different runtime environment dimensions are used to describe feature information of one runtime environment.
In this embodiment, the application information is specifically used to determine an application that has been executed by the electronic device, that is, feature information for describing an application launch dimension. The application information may include: application package name, application start time, cleaned time, application use time, etc.
In this embodiment, the location information is used to determine a geographic location where the electronic device is located, that is, feature information for describing dimensions of a geographic environment; the location information may be a geographic coordinate point determined based on longitude and latitude, and may further include a scene type, a location name, and the like where the electronic device is located. For example, the scene types may be: malls, schools, offices, homes, etc.
In this embodiment, the time information is used to determine a specific time corresponding to the time when the above information acquisition triggering condition is satisfied, that is, the feature information for describing the time dimension. The time information may include corresponding year, month, date, week, and time information.
In this embodiment, the touch information is used to determine touch information initiated by a user on the electronic device when the acquisition trigger condition is satisfied, that is, feature information for describing a user operation dimension. The touch information comprises touch gestures initiated by a user on the electronic equipment, key information and the like. The touch gestures may include a touch trajectory, a touch type (e.g., click, double click, long press, and double press clicks, etc.), a touch duration, and so forth.
In this embodiment, the system setting information is used to determine information of a system state corresponding to the electronic device when the acquisition triggering condition is satisfied, that is, feature information for describing a dimension of the system state. The system setting information includes: and when the acquisition triggering condition is met, the information such as the operation mode, the equipment electric quantity, the resource occupation condition, the available resource condition, the network connection state, the access condition of the external equipment and the like corresponding to the electronic equipment.
Further, as another embodiment of the present application, fig. 9 shows a flowchart of a specific implementation of S401 provided by an embodiment of the present application, and referring to fig. 9, in this embodiment, acquiring operation environment information of an electronic device may specifically include the following steps:
In S4011, if the information acquisition triggering condition is satisfied, the original data fed back by the data acquisition module is received.
In this embodiment, a data acquisition module for acquiring original data corresponding to the operating environment information is configured in the electronic device. When the information acquisition triggering condition is met, the electronic equipment can send an acquisition instruction to the data acquisition module, and after the data acquisition module receives the acquisition instruction, the electronic equipment can feed back the original data related to the moment when the information acquisition triggering condition is met.
If the running environment information includes a plurality of running environment dimensions, different running environment dimensions may correspond to different data acquisition modules, that is, the original data corresponding to each running environment dimension is obtained through the corresponding data acquisition module.
For example, for raw data of the position dimension, it can be obtained by a positioning module; for the original data of the time dimension, the original data can be acquired through a clock module; for the original data of the touch dimension, the original data can be obtained through an interaction module (such as a touch screen, each physical key module and the like).
The above data collection process may specifically include two modes:
Mode 1: and directly acquiring the original data. The mode of directly acquiring the original data can be that each data acquisition module directly returns the original data to the electronic equipment after acquiring the original data.
Mode 2: and feeding back the original data to the cloud server. Illustratively, fig. 10 shows a schematic diagram of acquiring original data according to an embodiment of the present application. Referring to fig. 10, an electronic device may locally install a client program in communication with a cloud server, when the electronic device detects that a preset information acquisition triggering condition is met, each data acquisition module may transmit acquired original data back to the client program in the electronic device, where the client program may encapsulate the fed back original data, for example, into a class, and send an encapsulated class data packet to the cloud server, where the cloud server may be in a file after processing the original data. The sending of the class data packet to the cloud server may be implemented through a iBinder mechanism.
In S4012, principal component analysis is performed on the raw data, at least two operation environment dimensions are determined, and raw dimension parameters corresponding to the raw data in each operation environment dimension are respectively determined.
In this embodiment, after the original data fed back by the data acquisition module is received, principal component analysis may be performed on the original data to determine original dimension parameters corresponding to a plurality of different operating environment dimensions in the original data. When the original data is acquired through the data acquisition module, the data with different dimensions can be represented through the same parameter, and in order to better determine the application habit of a user, the data with a plurality of operation environment dimensions are required to be separated in a component mode so as to realize the dimension reduction operation on the original data.
The principal component analysis specifically determines at least two uncorrelated operation environment dimensions in the original data, and determines original dimension parameters of the operation environment dimensions. For example, the time dimension and the position dimension may be separated from the original data, and the position parameters corresponding to the position dimension and the time parameters corresponding to the time dimension may be determined respectively.
Further, as another embodiment of the present application, filtering operation may be performed on the raw data before performing the principal component analysis on the raw data. Correspondingly, the S4012 described above may include:
Step 1: and filtering the original data according to a preset filtering rule to obtain filtered original data.
Step 2: and carrying out principal component analysis on the filtered original data, and determining at least two operation environment dimensions.
In this embodiment, the original data fed back by the electronic device may be a plurality of data acquired in a period of time, where abnormal data may exist in the plurality of data, for example, data with abnormal values or empty data content, for the acquired data, the electronic device may identify the acquired data as abnormal data, perform filtering, thereby obtaining filtered original data that does not include abnormal data, and then perform principal component analysis on the filtered original data to determine the operation environment dimensions included in the filtered original data, and the original dimension parameters corresponding to the operation environment dimensions.
In one possible implementation manner, if the electronic device obtains the original data in the manner 2, that is, encapsulates the original data into a class and sends the class to the cloud server, the operation of S4012 may be completed by the cloud server. Optionally, the cloud server may send the original dimension parameters of each running environment dimension to the electronic device, so that the electronic device performs the operation of S4013.
In S4013, based on the running environment dimension, normalizing the original dimension parameter to obtain a normalized parameter.
In this embodiment, after obtaining the original dimension parameters corresponding to each operation environment dimension, the electronic device may perform normalization processing on the original dimension parameters based on the normalization standard of the corresponding operation environment dimension, so as to obtain normalized parameters that may correspond to the operation environment dimension, and after performing normalization processing on each original dimension parameter, may facilitate subsequent feature extraction on the original data.
In S4014, feature extraction is performed on the normalized parameters of each of the operation environment dimensions, so as to obtain feature information of the operation environment dimensions, and the operation environment information is generated based on the feature information of the operation environment dimensions.
In this embodiment, after normalizing each operation environment dimension, the electronic device obtains a corresponding normalized parameter, and may obtain feature information corresponding to the environment feature dimension through a feature extraction algorithm corresponding to the operation environment dimension. For example, for the position dimension, determining the scene type, the location name and the like corresponding to the position coordinate according to the normalized position coordinate; for the time dimension, the time range within which the time falls can be determined according to the normalized time: such as daytime or evening; the weekend, workday or special holiday; idle or busy, etc. And generating the operation environment information corresponding to the information acquisition triggering moment according to the characteristic information corresponding to each operation environment dimension.
In the embodiment of the application, the acquired original data is subjected to the processing such as dimension reduction, normalization and feature extraction to obtain the running environment information which can better represent the application use habit of the user, so that the prediction accuracy of the application use habit of the user can be improved, and the accuracy of the subsequent background running application set determination is improved.
In S402, determining a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background; the first application is an application program which accords with application using habit of the user at the moment of meeting the information acquisition triggering condition.
In this embodiment, the electronic device may determine the application usage habit of the user by using the above running environment information, so that the first application included in the background running application set determined based on the above running environment information is also an application program that accords with the application usage habit of the user. The background running application set is specifically used for determining a first application allowed to run in the background, so that the subsequent electronic device can manage the application programs running in the background according to the background running application set, and the application programs running in the background are enabled to conform to application using habits of users.
In one possible implementation, the electronic device may record standard environmental information corresponding to each application that has been installed. If the running environment information corresponding to the information acquisition triggering time is matched with the standard environment information associated with the application program, the application program accords with the application using habit of the current user, the application program is identified as a first application, and the background running application set is generated based on the first application obtained through identification. The standard environment information corresponding to the application program is determined based on the historical usage record corresponding to the application program, and one application program can correspond to one or more standard environment information. Since the application can be run in different scenarios, times and device settings, the application can correspond to a plurality of different standard environment information.
Further, as another embodiment of the present application, fig. 11 shows a flowchart of a specific implementation of S402 provided in an embodiment of the present application. Referring to fig. 11, the step S402 may specifically include the following steps:
In S4021, generating a plurality of candidate application item sets based on all the application programs; each of the candidate application item sets contains at least one of the applications.
In this embodiment, a plurality of different applications are installed in the electronic device, and by arranging and combining the applications, an application set including at least one application, that is, the candidate application set, may be obtained.
If N application programs are installed in the electronic device, the candidate application item set that may be generated by the application program is specifically:
ItemNum is the total number of the application item sets.
In S4022, according to the running environment information and the application set information corresponding to the candidate application item sets, selecting a very frequent item set from all the candidate application item sets; the application set information comprises application information of each application program in the candidate application item set.
In this embodiment, the candidate application item set includes one or more installed application programs, and application information of each application program may determine application set information of the candidate application item set. The application information is specifically used for determining the usage habit of the corresponding application program. The application information may include: the application package name, the application starting time, the cleaned time, the application using place, the application using network state, the application using running mode, the application using historical electric quantity and the like. Therefore, the application set information including the candidate application item sets of the plurality of application programs may also include the plurality of information.
In one possible implementation, feature dimensions contained in application information of an application program are matched with runtime environment dimensions contained in runtime environment information, so that subsequent identification of extremely frequent item sets can be facilitated.
In one possible implementation manner, when the electronic device generates the application set information of the candidate application item set according to the application information of the application program, the application set information may be generated by performing cluster analysis on the application information of each application program in the candidate application item set. The cluster analysis is specifically used for determining common characteristic information of application information among a plurality of application programs in the candidate application item set, and determining application set information of the candidate application item set based on the common characteristic information.
For example, a candidate application set includes three applications, namely, application a, application B, and application C. The application information a of the application program a specifically includes: daytime use, home use, and connection WIFI use; the application information B of the application program B is specifically: daytime use, home use and mobile network connection use; the application information C of the application program C is specifically: night use, home use, mobile network use. Therefore, when the application information of the three application programs is subjected to cluster analysis, it can be determined that most of the application programs in the candidate application item set are used in the daytime, at home and through a connected mobile network, and at night and through WIFI belong to non-common features, and in this case, the application set information obtained after clustering is: daytime use, home use, and mobile network connection use.
In this embodiment, the electronic device may match the running environment information with application set information of the candidate application item set, and if the matching degree between the running environment information and the application set information of the candidate application item set is greater than a preset matching threshold, identify the candidate application item set as an associated application item set, and then select a very frequent item set from a plurality of associated application item sets. Wherein each subset in the extremely frequent item set is an associated application item set; the matching degree between the superset of the extremely-frequent item set and the application set information is smaller than or equal to the matching threshold, namely the superset of the extremely-frequent item set is an unoccupied item set.
In one possible implementation manner, the electronic device may perform preprocessing on the obtained running environment information, where the preprocessing includes performing dimension reduction processing on the information, converting the information into a one-dimensional array, calculating a support degree of a candidate application item set based on the converted one-dimensional array, selecting the candidate application item set with the support degree greater than a preset support threshold as a frequent item set, and determining a maximum frequent item set based on all the frequent item sets obtained by recognition.
Illustratively, FIG. 12 shows a schematic drawing of the selection of a very frequent item set provided by an embodiment of the present application. If the operation environment information contains position information, time information, gesture information and system setting information, the electronic equipment can combine the position information and the time information and extract the characteristics, and the two information are converted into a one-dimensional array for determining the space-time characteristics of the operation environment and an immediate space-time characteristic array; the electronic device can combine the gesture information and the system setting information and extract the characteristics, convert the two information into one-dimensional arrays, and determine the system characteristics of the operation environment, namely the system characteristic data, then integrate the two arrays to obtain a corresponding operation environment characteristic array, and determine the frequent item set based on the operation environment characteristic data. The electronic device is internally provided with application programs 1 to N, the application programs can be divided into a plurality of different candidate application item sets, and the support degree between the candidate application item sets and the running environment characteristic array is calculated based on each candidate application item set, so that a very frequent item set is identified.
In S4023, according to the application information and the running environment information of each application program in the maximum frequent item set, starting confidence degrees corresponding to each application program in the maximum frequent item set are calculated respectively.
In this embodiment, after determining the extremely frequent item set, the electronic device may perform confidence calculation based on the application information and the running environment information of each application program in the extremely frequent item set, so as to determine the starting confidence corresponding to each application program, so that the associated application program meeting the requirements may be partitioned based on the starting confidence.
In S4024, the application program with the start confidence coefficient greater than the preset confidence coefficient threshold is selected as a candidate application, and the background running application set is determined based on the candidate application.
In this embodiment, the electronic device may be configured with a corresponding confidence threshold, to select, from the extremely frequent item set, a first application that may run in the background, specifically: and the electronic equipment selects an application program with the starting confidence coefficient larger than the confidence coefficient threshold as a candidate application, and generates the background running application set based on the selected candidate application.
In one possible implementation manner, the electronic device may directly use the candidate application with the starting confidence coefficient greater than the preset confidence coefficient threshold as the first application, and generate the background running application set.
Further, as another embodiment of the present application, the step S4024 may specifically include the following steps:
In S4024.1, all the candidate applications and the running environment information are imported into a decision algorithm corresponding to each running environment dimension, and the first application corresponding to the running environment dimension is calculated.
In this embodiment, the electronic device may be configured with a corresponding decision algorithm, where the decision algorithm may be represented in various forms. The expression form can be a neural network, a decision tree, a decision correspondence table, and the like. The electronic device may import all candidate applications and running environment information obtained from the extremely frequent item set into a decision algorithm corresponding to the running environment dimension, where the decision algorithm may determine a candidate application with a matching environment parameter of the running environment dimension, that is, the candidate application is used as a first application corresponding to the running environment dimension, and the implementation manner may specifically be: when the electronic device imports the running environment information into the decision algorithm, the decision algorithm may determine a corresponding decision branch, and select an application matching the decision branch, that is, the first application, from the candidate applications.
For example, the electronic device includes a time dimension decision algorithm, which may be used to determine that the time of day and the time of night conform to the application program used by the user, and if the time information recorded in the running environment information is 13:00, the decision algorithm selects a branch corresponding to the time of day, and selects a candidate application that matches the branch, that is, the first application, from all candidate applications.
Illustratively, the decision algorithm may be a decision tree, which includes a plurality of different decision branches, and each decision branch may correspond to a running environment dimension, such as a system setup dimension, a location dimension, a time dimension, and an application scenario dimension. Illustratively, fig. 13 shows a schematic structural diagram of a decision tree according to an embodiment of the present application. Referring to FIG. 13, branches of various different operating environment dimensions are incorporated within the decision tree, the different branches being used to determine first applications associated with different operating feature dimensions. Wherein, the branch includes: device system branches, location information branches, time information branches, and application scenario branches. The electronic device may determine a corresponding branching route according to the operating environment information, and determine a first application of an operating environment dimension associated therewith through the corresponding branching route.
It should be noted that the decision algorithm is generated according to the application usage record in the user history process.
In S4024.2, the background running application set is generated based on the first applications corresponding to all the running environment dimensions.
In this embodiment, after determining the first applications corresponding to the dimensions of each running environment, the electronic device may integrate multiple first applications, for example, merge the same first applications, and reserve different first applications, so as to generate a background running application set.
In the embodiment, the application program which can be operated in the background can be determined in multiple dimensions through the decision algorithm generated based on the user using habit, so that the accuracy of the first application identification is improved.
In the embodiment of the application, the application programs are divided to generate a plurality of candidate application item sets, the extremely-frequent item sets are identified, the application programs matched with the running environment information can be identified in batches rapidly, and further screening is carried out according to the extremely-frequent item sets, so that the first application used to the user application is determined, and the accuracy of the background running application set is improved.
In S403, according to the second application running in the background at the moment when the information collection triggering condition is satisfied and the set of applications running in the background, the application program running in the background is managed.
In this embodiment, after determining the first applications allowed to run in the background, the electronic device may manage the application programs currently running in the background based on the background running application set recorded with all the first applications, so as to determine the application programs that need to be closed in the background running application and the application programs that need to be reserved.
Further, as another embodiment of the present application, the above S403 may specifically include the following three cases:
case 1: and if any second application is in the background running application set, maintaining the second application running in the background.
Case 2: and if any second application is not in the background application set, stopping the second application from running in the background.
Case 3: and if the first application which is not operated in the background exists in the background operation application set, starting the first application which is not operated in the background. In the embodiment, the application programs which are not operated in the background and meet the use habit of the user can be preloaded and started, so that the waiting time of the user is reduced, and the switching efficiency of the user among the application programs can be improved.
Fig. 14 is a schematic diagram illustrating an overall architecture of an application management apparatus according to an embodiment of the present application. Referring to fig. 14, the application management apparatus specifically includes the following modules: the data collection module 141, the data processing module 142, the prediction module 143, the decision module 144, and the execution module 145, respectively. The data collection module 141 may obtain the original data of each running environment dimension, for example, the time dimension, the position dimension, the system setting dimension, and the application scene dimension, and send the original data to the data processing module 142, where the data processing module 142 may perform abnormal data filtering on the original data first, then perform principal component analysis, determine the running environment dimension, perform dimension reduction processing on the original data based on the running environment dimension, obtain the original dimension parameters of each running environment dimension, and process the original dimension parameters by processing modes such as normalization and feature extraction, so as to obtain the running environment information. The preprocessed operating environment information is then input to the prediction module 143 to determine a maximum frequent item set, where the maximum frequent item set may be determined using a plurality of neural algorithms, each being a recurrent neural network (Recurrent Neural Network, RNN), and candidate applications are determined from the maximum frequent item set. The candidate applications are then imported into the decision module 144, and the first applications corresponding to the branches of each running environment dimension are determined, so as to obtain a background running application set, and the second applications running in the background are managed based on the background running application set imported into the execution module 145, where the management process includes: application state query, advance reservation of an un-launched first application, escape policy, etc.
As can be seen from the foregoing, in the method for managing an application program provided in the embodiment of the present application, corresponding running environment information may be obtained when an information acquisition trigger condition is satisfied, and a background running application set allowed to run in the background may be determined based on the running environment information. Compared with the existing application program management technology, in the embodiment of the application, the application program to be closed is not only determined according to the sequence of running each application program in the background, but also the application using habit of the user is determined according to the running environment information, the first application conforming to the application using habit of the user is selected from the installed application programs to generate a background running application set, and the application program to be operated in the background is managed based on the background running application set, so that the situation that the application program frequently switched by the user is frequently closed when the application program is operated in the background is avoided, the time consumption required for restarting after the program is closed is reduced, the switching efficiency among the applications conforming to the use habit of the user is improved, and the application program management accuracy is improved.
Embodiment two:
Corresponding to the application management method described in the above embodiments, fig. 15 shows a block diagram of the application management device provided in the embodiment of the present application, and for convenience of explanation, only the portion related to the embodiment of the present application is shown.
Referring to fig. 15, the application management apparatus includes:
An operation environment information obtaining unit 151, configured to obtain operation environment information corresponding to a moment when the information acquisition triggering condition is satisfied, if the information acquisition triggering condition is satisfied; the operation environment information is information irrelevant to an application program installed on the electronic device; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met;
A background running application set determining unit 152, configured to determine a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background;
the application management unit 153 is configured to manage an application running in the background according to the second application running in the background and the set of applications running in the background when the information acquisition triggering condition is satisfied.
Alternatively, the operation environment information acquisition unit 151 includes:
The original data acquisition unit is used for receiving the original data fed back by the data acquisition module if the information acquisition triggering condition is met;
the original dimension parameter acquisition unit is used for carrying out principal component analysis on the original data, determining at least two operation environment dimensions, and respectively determining original dimension parameters corresponding to the original data in each operation environment dimension;
The normalization parameter generation unit is used for carrying out normalization processing on the original dimension parameter based on the dimension of the operation environment to obtain a normalization parameter;
and the running environment information generating unit is used for carrying out feature extraction on the normalized parameters of each running environment dimension to obtain feature information of the running environment dimension, and generating the running environment information based on the feature information of all the running environment dimensions.
Optionally, the original dimension parameter obtaining unit includes:
The original data filtering unit is used for filtering the original data according to a preset filtering rule to obtain filtered original data;
and the principal component analysis unit is used for carrying out principal component analysis on the filtered original data and determining at least two operation environment dimensions.
Optionally, the background running application set determining unit 152 includes:
A candidate application item set generating unit, configured to generate a plurality of candidate application item sets based on all the application programs; each of the candidate application item sets contains at least one of the applications;
The maximum frequent item set generation unit is used for selecting a maximum frequent item set from all the candidate application item sets according to the running environment information and the application set information corresponding to the candidate application item sets; the application set information comprises application information of each application program in the candidate application item set;
The starting confidence determining unit is used for respectively calculating the starting confidence corresponding to each application program in the maximum frequent item set according to the application information and the running environment information of each application program in the maximum frequent item set;
and the candidate application selecting unit is used for selecting the application program with the starting confidence coefficient larger than a preset confidence coefficient threshold value as a candidate application, and determining the background running application set based on the candidate application.
Optionally, the candidate application selection unit includes:
The decision algorithm importing unit is used for importing all the candidate applications and the running environment information into a decision algorithm corresponding to each running environment dimension, and calculating the first application corresponding to the running environment dimension;
And the decision determining unit is used for generating the background running application set based on the first applications corresponding to all the running environment dimensions.
Alternatively, the operation environment information acquisition unit 151 includes:
The starting triggering unit is used for responding to the starting operation initiated by the user, running a third application indicated by the starting operation in the foreground and acquiring the running environment information corresponding to the starting operation moment initiated by the user; or (b)
The closing triggering unit is used for responding to an application closing instruction, ending the running of a fourth application corresponding to the application closing instruction and acquiring the running environment information corresponding to the running of the fourth application; or (b)
And the mode switching triggering unit is used for responding to a mode switching instruction of the electronic equipment, switching the operation mode of the electronic equipment and acquiring the corresponding operation environment information when switching to the operation mode.
Optionally, the operating environment information includes at least one of: location information, time information, touch information, application information, and system setting information.
Optionally, the application management unit 153 includes:
an application starting unit, configured to maintain the second application running in the background if any of the second applications is in the background running application set;
An application closing unit, configured to stop running of the second application in the background if any of the second applications is not in the background application set;
And the application pre-starting unit is used for starting the first application which is not operated in the background if the first application which is not operated in the background exists in the background operation application set.
Therefore, the management device for the application program provided by the embodiment of the application can also acquire the corresponding operation environment information when the information acquisition triggering condition is met, and determine the background operation application set allowed to operate in the background based on the operation environment information. Compared with the existing application program management technology, in the embodiment of the application, the application program to be closed is not only determined according to the sequence of running each application program in the background, but also the application using habit of the user is determined according to the running environment information, the first application conforming to the application using habit of the user is selected from the installed application programs to generate a background running application set, and the application program to be operated in the background is managed based on the background running application set, so that the situation that the application program frequently switched by the user is frequently closed when the application program is operated in the background is avoided, the time consumption required for restarting after the program is closed is reduced, the switching efficiency among the applications conforming to the use habit of the user is improved, and the application program management accuracy is improved.
Fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 16, the electronic device 16 of this embodiment includes: at least one processor 160 (only one processor is shown in fig. 16), a memory 161, and a computer program 162 stored in the memory 161 and executable on the at least one processor 160, the processor 160 implementing the steps in any of the various application management method embodiments described above when executing the computer program 162.
The electronic device 16 may be a computing device such as a desktop computer, a notebook computer, a palm top computer, a cloud server, etc. The electronic device may include, but is not limited to, a processor 160, a memory 161. It will be appreciated by those skilled in the art that fig. 16 is merely an example of the electronic device 16 and is not intended to limit the electronic device 16, and may include more or fewer components than shown, or may combine certain components, or may include different components, such as input-output devices, network access devices, etc.
The Processor 160 may be a central processing unit (Central Processing Unit, CPU), the Processor 160 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 161 may in some embodiments be an internal storage unit of the electronic device 16, such as a hard disk or a memory of the electronic device 16. The memory 161 may also be an external storage device of the electronic device 16 in other embodiments, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 16. Further, the memory 161 may also include both internal storage units and external storage devices of the electronic device 16. The memory 161 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs, etc., such as program codes of the computer programs. The memory 161 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the application also provides electronic equipment, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that enable the implementation of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a camera device/electronic apparatus, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method for managing an application program, comprising:
If the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment meeting the information acquisition triggering condition; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met;
Determining a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background; the first application is an application program which accords with application using habit of the user at the moment of meeting the information acquisition triggering condition;
Managing application programs running in the background according to the second application running in the background at the moment of meeting the information acquisition triggering condition and the background running application set;
And if the information acquisition triggering condition is met, acquiring the operation environment information corresponding to the moment meeting the information acquisition triggering condition, wherein the operation environment information comprises the following components:
if the information acquisition triggering condition is met, receiving the original data fed back by the data acquisition module;
performing principal component analysis on the original data, determining at least two operation environment dimensions, and respectively determining original dimension parameters corresponding to the original data in each operation environment dimension;
Based on the dimension of the running environment, carrying out normalization processing on the original dimension parameter to obtain a normalized parameter;
And carrying out feature extraction on the normalized parameters of each operation environment dimension to obtain feature information of the operation environment dimension, and generating the operation environment information based on the feature information of all the operation environment dimensions.
2. The method of claim 1, wherein said performing principal component analysis on said raw data to determine at least two operating environment dimensions comprises:
Filtering the original data according to a preset filtering rule to obtain filtered original data;
And carrying out principal component analysis on the filtered original data, and determining at least two operation environment dimensions.
3. The method of managing as set forth in claim 1, wherein said determining a background running application set based on the running environment information includes:
generating a plurality of candidate application item sets based on all the application programs; each of the candidate application item sets contains at least one of the applications;
Selecting a very-large frequent item set from all the candidate application item sets according to the running environment information and the application set information corresponding to the candidate application item sets; the application set information comprises application information of each application program in the candidate application item set;
According to the application information and the running environment information of each application program in the maximum frequent item set, starting confidence degrees corresponding to each application program in the maximum frequent item set are calculated respectively;
and selecting the application program with the starting confidence coefficient larger than a preset confidence coefficient threshold as a candidate application, and determining the background running application set based on the candidate application.
4. A method of managing as set forth in claim 3 wherein said selecting said application with said launch confidence greater than a preset confidence threshold as a candidate application and determining said set of background running applications based on the candidate application comprises:
importing all the candidate applications and the running environment information into decision algorithms corresponding to all the running environment dimensions, and calculating the first application corresponding to the running environment dimensions;
and generating the background running application set based on the first application corresponding to all the running environment dimensions.
5. The method according to any one of claims 1 to 4, wherein if the information collection triggering condition is met, acquiring the operation environment information corresponding to the moment when the information collection triggering condition is met includes:
responding to a starting operation initiated by a user, running a third application indicated by the starting operation in a foreground, and acquiring the running environment information corresponding to the starting operation moment initiated by the user; or (b)
Responding to an application closing instruction, ending running a fourth application corresponding to the application closing instruction, and acquiring the running environment information corresponding to the fourth application when the running is ended; or (b)
And responding to a mode switching instruction of the electronic equipment, switching the operation mode of the electronic equipment, and acquiring the corresponding operation environment information when switching to the operation mode.
6. The method of any of claims 1-4, wherein the operating environment information includes at least one of: location information, time information, touch information, application information, and system setting information.
7. The method according to any one of claims 1 to 4, wherein managing the application programs running in the background according to the second application running in the background at the moment when the information acquisition triggering condition is satisfied and the set of applications running in the background includes:
if any second application is in the background running application set, maintaining the second application to run in the background;
if any second application is not in the background application set, stopping running of the second application in the background;
and if the first application which is not operated in the background exists in the background operation application set, starting the first application which is not operated in the background.
8. An application management apparatus, comprising:
the operation environment information acquisition unit is used for acquiring operation environment information corresponding to the moment meeting the information acquisition triggering condition if the information acquisition triggering condition is met; the running environment information is used for indicating application using habit of a user at the moment when the information acquisition triggering condition is met;
The background running application set determining unit is used for determining a background running application set based on the running environment information; the background running application set comprises at least one first application allowed to run in the background; the first application is an application program which accords with application using habit of the user at the moment of meeting the information acquisition triggering condition;
The application program management unit is used for managing application programs running in the background according to the second application running in the background at the moment of meeting the information acquisition triggering condition and the background running application set;
the operation environment information acquisition unit includes:
The original data acquisition unit is used for receiving the original data fed back by the data acquisition module if the information acquisition triggering condition is met;
the original dimension parameter acquisition unit is used for carrying out principal component analysis on the original data, determining at least two operation environment dimensions, and respectively determining original dimension parameters corresponding to the original data in each operation environment dimension;
The normalization parameter generation unit is used for carrying out normalization processing on the original dimension parameter based on the dimension of the operation environment to obtain a normalization parameter;
and the running environment information generating unit is used for carrying out feature extraction on the normalized parameters of each running environment dimension to obtain feature information of the running environment dimension, and generating the running environment information based on the feature information of all the running environment dimensions.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 7.
CN202110941131.XA 2021-08-16 2021-08-16 Application management method and device, electronic equipment and storage medium Active CN115706753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110941131.XA CN115706753B (en) 2021-08-16 2021-08-16 Application management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110941131.XA CN115706753B (en) 2021-08-16 2021-08-16 Application management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115706753A CN115706753A (en) 2023-02-17
CN115706753B true CN115706753B (en) 2024-06-14

Family

ID=85181231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110941131.XA Active CN115706753B (en) 2021-08-16 2021-08-16 Application management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115706753B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133094B (en) * 2017-06-05 2021-11-02 努比亚技术有限公司 Application management method, mobile terminal and computer readable storage medium
CN107635078B (en) * 2017-10-30 2020-12-22 Oppo广东移动通信有限公司 Game control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN115706753A (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
CN111316199B (en) Information processing method and electronic equipment
CN117014567A (en) Video call display method and related device applied to electronic equipment
CN114650363B (en) Image display method and electronic equipment
CN114327666B (en) Application starting method and device and electronic equipment
WO2020259554A1 (en) Learning-based keyword search method, and electronic device
CN113254409B (en) File sharing method, system and related equipment
CN114079893B (en) Bluetooth communication method, terminal device and computer readable storage medium
CN113805797B (en) Processing method of network resource, electronic equipment and computer readable storage medium
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
WO2023056795A1 (en) Quick photographing method, electronic device, and computer readable storage medium
WO2021223681A1 (en) Intelligent reminding method and device
CN116070035B (en) Data processing method and electronic equipment
US20240126424A1 (en) Picture sharing method and electronic device
CN115333941A (en) Method for acquiring application running condition and related equipment
CN111031492A (en) Call demand response method and device and electronic equipment
CN114079642B (en) Mail processing method and electronic equipment
CN115437601B (en) Image ordering method, electronic device, program product and medium
CN116048831B (en) Target signal processing method and electronic equipment
CN114338642B (en) File transmission method and electronic equipment
CN115706753B (en) Application management method and device, electronic equipment and storage medium
CN114205318B (en) Head portrait display method and electronic equipment
CN114764300B (en) Window page interaction method and device, electronic equipment and readable storage medium
CN117998004A (en) Instance management method and device, electronic equipment and storage medium
CN118646821A (en) Card display method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant