CN116027942A - Application management method and terminal equipment - Google Patents

Application management method and terminal equipment Download PDF

Info

Publication number
CN116027942A
CN116027942A CN202211130740.8A CN202211130740A CN116027942A CN 116027942 A CN116027942 A CN 116027942A CN 202211130740 A CN202211130740 A CN 202211130740A CN 116027942 A CN116027942 A CN 116027942A
Authority
CN
China
Prior art keywords
application
interface
terminal device
applications
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211130740.8A
Other languages
Chinese (zh)
Inventor
郭兆鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211130740.8A priority Critical patent/CN116027942A/en
Publication of CN116027942A publication Critical patent/CN116027942A/en
Priority to PCT/CN2023/105712 priority patent/WO2024055726A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Abstract

The application management method and the terminal equipment reduce the false killing probability of the application, ensure the continuity of application use of the user and improve the user experience. The method comprises the following steps: the method comprises the steps that a terminal device determines an associated application of at least one application, and a process of the at least one application is in a background running state; and under the condition that the process of the first associated application of the first application is in a foreground running state, the terminal equipment searches and kills applications except the first application in the at least one application, wherein the at least one application comprises the first application.

Description

Application management method and terminal equipment
Technical Field
The present application relates to the field of terminals, and in particular, to an application management method and a terminal device.
Background
With the vigorous development of various Applications (APP), many transactions can be operated on a terminal device (such as a mobile phone) through software, and applications that are used daily by people are increasing. In order to reduce power consumption, release the storage space and avoid the problems of blocking and the like of the terminal equipment, the terminal equipment can search and kill the application of which the process is in a background running state based on a search and kill strategy.
However, the searching and killing strategy corresponding to the method is inflexible, the situation of application miskilling exists, the problem of interrupting the continuity of application used by a user exists, and the user experience is poor.
Disclosure of Invention
The application management method and the terminal equipment reduce the false killing probability of the application, ensure the continuity of application use of the user and improve the user experience.
In a first aspect, an application management method is provided, including: the method comprises the steps that terminal equipment determines an associated application of at least one application, and the process of the at least one application is in a background running state; and under the condition that the process of the first associated application of the first application is in a foreground running state, the terminal equipment searches and kills applications except the first application in the at least one application, wherein the at least one application comprises the first application.
In the application, when the searching and killing instruction is detected, the terminal equipment can judge whether the application in the background running state of the process has the application related to the application, and under the condition that the related relation is effective, the terminal equipment can keep the application in the background running state of the process, namely keep the application in the background running state, so that the problem of bad user experience caused by miskilling of the application is avoided.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: the terminal equipment displays a first interface, an output frame and/or a first function button for setting associated data are displayed on the first interface, the associated data comprise a plurality of applications and a plurality of corresponding associated applications, the plurality of associated applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of associated applications comprise the first associated application; the terminal device determines an associated application of at least one application, including: the terminal device generating the association data when detecting a first operation of the output frame and/or the first function button by a user; the terminal device determines an associated application of the at least one application based on the associated data.
With reference to the first aspect, in some implementations of the first aspect, the process of the first associated application being in a foreground running state is determined by the terminal device within a time threshold.
With reference to the first aspect, in certain implementation manners of the first aspect, before the terminal device searches and kills an application other than the first application in the at least one application, the method further includes: the terminal equipment determines whether a second operation of a second function button by a user is detected, the second button is displayed on a second interface, the second interface is a corresponding interface when the process of the first application is in a foreground running state, and the second function button is used for indicating to provide service or data through the first associated application; the terminal device searches and kills applications except the first application in the at least one application, and the method comprises the following steps: and the terminal equipment searches and kills applications except the first application in the at least one application under the condition that the second operation of the second function button by the user is detected.
With reference to the first aspect, in certain implementation manners of the first aspect, before the terminal device searches and kills an application other than the first application in the at least one application, the method further includes: the terminal equipment determines whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application; the terminal device searches and kills applications except the first application in the at least one application, and the method comprises the following steps: and the terminal equipment searches and kills applications except the first application in the at least one application under the condition that the first information exists on the second interface.
With reference to the first aspect, in certain implementation manners of the first aspect, before the terminal device searches and kills an application other than the first application in the at least one application, the method further includes: the terminal equipment displays a third interface, a third function button is displayed on the third interface, and the third function button is used for indicating not to search and kill the first application; the terminal device searches and kills applications except the first application in the at least one application, and the method comprises the following steps: and the terminal equipment searches and kills applications except the first application in the at least one application under the condition that the third operation of the third function button by the user is detected.
With reference to the first aspect, in some implementations of the first aspect, the process of the first application is in a background running state, and the process of the second associated application is in a foreground running state, where the method further includes: in case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined, the terminal equipment sets the second associated application as the associated application of the first application; wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
In a second aspect, there is provided a terminal device comprising: a determining module and a processing module; the determining module is used for determining the associated application of at least one application, and the process of the at least one application is in a background running state; the processing module is used for searching and killing applications except the first application in the at least one application under the condition that the process of the first associated application of the first application is in a foreground running state, and the at least one application comprises the first application.
With reference to the second aspect, in certain implementations of the second aspect, the processing module is configured to: displaying a first interface, wherein an output frame and/or a first function button for setting associated data are displayed on the first interface, the associated data comprise a plurality of applications and a plurality of corresponding associated applications, the plurality of associated applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of associated applications comprise the first associated application; generating the associated data when a first operation of the output frame and/or the first function button by a user is detected; the determining module is used for: and determining an associated application of the at least one application based on the associated data.
With reference to the second aspect, in some implementations of the second aspect, the process of the first associated application being in a foreground running state is determined by the terminal device within a time threshold.
With reference to the second aspect, in certain implementations of the second aspect, the determining module is configured to: determining whether a second operation of a second function button by a user is detected, wherein the second button is displayed on a second interface, the second interface is an interface corresponding to the first application when the process is in a foreground running state, and the second function button is used for indicating to provide services or data through the first associated application; the processing module is used for: and searching and killing applications except the first application in the at least one application under the condition that the second operation of the second function button by the user is detected.
With reference to the second aspect, in certain implementations of the second aspect, the determining module is configured to: determining whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application; the processing module is used for: and searching and killing applications except the first application in the at least one application under the condition that the first information exists on the second interface.
With reference to the second aspect, in certain implementations of the second aspect, the processing module is configured to: displaying a third interface, wherein a third function button is displayed on the third interface and is used for indicating not to search and kill the first application; and searching and killing applications other than the first application in the at least one application under the condition that the third operation of the third function button by the user is detected.
With reference to the first aspect, in some implementations of the first aspect, a process of the first application is in a background running state, and a process of the second associated application is in a foreground running state, and the processing module is configured to: setting a second associated application as an associated application of the first application in the case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined; wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
In a third aspect, there is provided another terminal device comprising a processor coupled to a memory, operable to execute instructions in the memory to implement a method as in any one of the possible implementations of the first aspect. Optionally, the terminal device further comprises a memory. Optionally, the terminal device further comprises a communication interface, and the processor is coupled to the communication interface.
In a fourth aspect, there is provided a processor comprising: input circuit, output circuit and processing circuit. The processing circuitry is configured to receive signals via the input circuitry and to transmit signals via the output circuitry such that the processor performs the method of any one of the possible implementations of the first aspect described above.
In a specific implementation process, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the output signal may be output by, for example and without limitation, a transmitter and transmitted by a transmitter, and the input circuit and the output circuit may be the same circuit, which functions as the input circuit and the output circuit, respectively, at different times. The embodiments of the present application do not limit the specific implementation manner of the processor and the various circuits.
In a fifth aspect, a processing device is provided that includes a processor and a memory. The processor is configured to read instructions stored in the memory and to receive signals via the receiver and to transmit signals via the transmitter to perform the method of any one of the possible implementations of the first aspect.
Optionally, the processor is one or more and the memory is one or more.
Alternatively, the memory may be integrated with the processor or the memory may be separate from the processor.
In a specific implementation process, the memory may be a non-transient (non-transitory) memory, for example, a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
It should be appreciated that the related data interaction process, for example, transmitting the indication information, may be a process of outputting the indication information from the processor, and the receiving the capability information may be a process of receiving the input capability information by the processor. Specifically, the data output by the processing may be output to the transmitter, and the input data received by the processor may be from the receiver. Wherein the transmitter and receiver may be collectively referred to as a transceiver.
The processing means in the fifth aspect may be a chip, and the processor may be implemented by hardware or by software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor, implemented by reading software code stored in a memory, which may be integrated in the processor, or may reside outside the processor, and exist separately.
In a sixth aspect, there is provided a computer program product comprising: a computer program (which may also be referred to as code, or instructions) which, when executed, causes a computer to perform the method of any one of the possible implementations of the first aspect.
In a seventh aspect, a computer readable storage medium is provided, which stores a computer program (which may also be referred to as code, or instructions) which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic system architecture diagram of a terminal device according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of an application management method provided by an embodiment of the present application;
fig. 3 is a schematic diagram of a mobile phone interface for application management according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a mobile phone interface for further application management according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a tablet interface for further application management provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a mobile phone interface for further application management according to an embodiment of the present application;
Fig. 7 is a schematic diagram of a setting interface of an association relationship provided in an embodiment of the present application;
fig. 8 is a schematic diagram of another setting interface of the association relationship provided in the embodiment of the present application;
fig. 9 is a schematic block diagram of a terminal device provided in an embodiment of the present application;
fig. 10 is a schematic block diagram of still another terminal device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described below with reference to the accompanying drawings.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first instruction and the second instruction are for distinguishing different user instructions, and the sequence of the instructions is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Furthermore, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, and c may represent: a, b, or c, or a and b, or a and c, or b and c, or a, b and c, wherein a, b and c can be single or multiple.
The terminal device to which the embodiments of the present application relate may be a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm computer, a mobile internet device (mobile internet device, MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a personal digital assistant (personal digital assistant, PDA), and the like, which are not limited in this application.
In order to make the purpose and the technical solution of the present application clearer and more intuitive, the method and the terminal device provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Fig. 1 is a schematic system architecture diagram of a terminal device according to an embodiment of the present application.
As shown in fig. 1, the terminal device includes a processor 110, a transceiver 120, and a display unit 130. Wherein the display unit 130 may include a display screen.
Optionally, the terminal device may further comprise a memory 140. The processor 110, transceiver 120 and memory 140 may communicate with each other via internal communication paths to transfer control and/or data signals, the memory 140 being adapted to store a computer program, the processor 110 being adapted to call and run the computer program from the memory 140.
The processor 110 may be combined with the memory 140 as a processing device, more commonly as separate components, and the processor 110 is configured to execute program code stored in the memory 140 to perform the functions described above. In particular, the memory 140 may also be integrated into the processor 110 or may be separate from the processor 110.
In addition to this, in order to make the functions of the terminal device more complete, the terminal device may further include one or more of an input unit 150, an audio circuit 160, a sensor 170, and the like.
Optionally, the terminal device may further include a power supply 180 for providing power to various devices or circuits in the terminal device.
It will be understood that the operations and/or functions of the respective modules in the terminal device shown in fig. 1 are respectively for implementing the corresponding flows in the method embodiments described below. In particular, reference will be made to the following description of the method embodiments, and detailed descriptions will be omitted here as appropriate to avoid redundancy.
It will be appreciated that the processor 110 in the terminal device shown in fig. 1 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 (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
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 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 transceiver 120. For example: the processor 110 communicates with the bluetooth module in the transceiver 120 through a UART interface to implement bluetooth functions. In some embodiments, the audio circuit 160 may communicate audio signals to the transceiver 120 through a UART interface to implement the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as the display unit 130. 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 display unit 130 communicate via a DSI interface to implement display functionality of the terminal device.
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 processor 110 with display unit 130, transceiver 120, audio mode circuit 180, sensor 170, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
It should be understood that the connection relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the terminal device. In other embodiments of the present application, the terminal device may also use different interfacing manners in the foregoing embodiments, or a combination of multiple interfacing manners.
It will be appreciated that the power supply 180 shown in fig. 1 is used to power the processor 110, the memory 140, the display unit 130, the camera 190, the input unit 150, the transceiver 120, and the like.
The transceiver 120 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 wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on a terminal device. Transceiver 120 may be one or more devices that integrate at least one communication processing module.
The terminal device implements a display function through the GPU, the display unit 130, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display unit 130 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 unit 130 is used for displaying images, videos, and the like. The display unit 130 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device may include 1 or N display units 130, N being a positive integer greater than 1.
Memory 140 may be used to store computer executable program code that includes instructions. The memory 140 may include a stored program area and a stored 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 (comparison and verification data, phonebook, etc.) created during use of the terminal device, and the like. In addition, the memory 140 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 terminal device and data processing by executing instructions stored in the memory 140 and/or instructions stored in a memory provided in the processor.
The terminal device may implement audio functions through the audio circuit 160, an application processor, etc. Such as music playing, recording, etc.
The audio circuit 160 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 circuit 160 may also be used to encode and decode audio signals. In some embodiments, the audio circuit 160 may be disposed in the processor 110, or some functional modules of the audio circuit 160 may be disposed in the processor 110.
With the vigorous development of various applications, many transactions can be operated on terminal equipment (such as mobile phones) through software, and applications used by people in daily life are increasing. In order to reduce power consumption, release the storage space and avoid the problems of blocking and the like of the terminal equipment, the terminal equipment can search and kill the application of which the process is in a background running state based on a search and kill strategy.
However, the searching and killing strategy corresponding to the method is inflexible, the situation of application miskilling exists, the problem of interrupting the continuity of application used by a user exists, and the user experience is poor.
For example, in the case that the game application needs to obtain the verification code through the short message application, there may be a situation that the game application is killed by mistake, which results in that the user needs to restart the game application, and the user experience is poor.
In view of this, the embodiments of the present application provide an application management method and a terminal device, where the terminal device may determine, when detecting a query and kill instruction, whether an application in a background running state of a process has an application associated with the application, and under a condition that the association is effective, the terminal device may keep the application in the background running state of the process, so as to avoid the application from being killed by mistake. In other words, the application false killing probability is reduced, the continuity of application use by the user is guaranteed, and the user experience is improved.
In order to make the purpose and the technical solution of the application clearer and more intuitive, the application management method and the terminal device provided in the embodiments of the application will be described in detail below with reference to the drawings and the embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Fig. 2 is a schematic flowchart of an application management method 200 provided in an embodiment of the present application. As shown in fig. 2, the method 200 includes the steps of:
s201, the terminal equipment determines an associated application of at least one application, and the process of the at least one application is in a background running state.
In one possible implementation, the terminal device may determine an associated application of the at least one application based on the associated data.
It should be understood that the above-mentioned association data may include a plurality of applications and a corresponding plurality of association applications, where the plurality of association applications are used to provide services or data for the corresponding plurality of applications, and the association data may be preset by a user or may be automatically generated by a terminal device, which is not limited in this application.
S202, under the condition that the process of the first associated application of the first application is in a foreground running state, the terminal equipment searches and kills applications except the first application in the at least one application, wherein the at least one application comprises the first application.
It should be appreciated that the plurality of applications in the association data includes the first application and the plurality of associated applications in the association data includes the first associated application. In other words, in the case that the first application has an associated application (i.e., the first associated application described above) and the first associated application is running in the foreground, the terminal device may consider that the association relationship between the first application and the first associated application is effective, that is, the first associated application is providing services and data to the first application, that is, the probability that the user needs to switch the process of the first application from the background to the foreground for further use is high, and the terminal device may keep the first application that is currently running in the background alive, so as to avoid the first application from being killed by mistake, and affect the use continuity of the first application by the subsequent user.
In the embodiment of the application, when the detection and killing instruction is detected, the terminal equipment can judge whether the application in the background running state of the process has the application related to the application, and under the condition that the related relation is effective, the terminal equipment can keep the application in the background running state of the process alive, so that the application is prevented from being killed by mistake. In other words, the application false killing probability is reduced, the continuity of application use by the user is guaranteed, and the user experience is improved.
The application management method provided by the application is described in detail below by taking a mobile phone as an example.
Fig. 3 illustrates an application management mobile phone interface 300, as shown in fig. 3, in which a user clicks a "sms application" icon, as shown in fig. 3, in order to open the sms application, as shown in fig. 3, in which the user is provided with icon options for a plurality of other applications (such as video, date, weather, etc.). The mobile phone detects click operation of a user, acquires an instruction for opening the short message application, and responds to the instruction to enable the short message application to run in the foreground.
As shown in a mobile phone interface b in fig. 3, a short message interface is displayed, and a user can view short message messages sent by different objects through the interface.
In one possible implementation, when an instruction of an application in a background running state of the killing process is detected, the mobile phone may determine an associated application of the at least one application based on the associated data.
Table one shows the association data provided by the embodiments of the present application.
List one
Figure BDA0003850173140000081
As shown in table one, the above-mentioned association data indicates that the associated application of the video application is a short message application, and the associated application of the game application is a user application including a mailbox application and a camera application.
Illustratively, the at least one application includes a video application (which may also be referred to as a first application), a weather application, and a music application. The mobile phone determines that the associated application of the video application is a short message application (may also be referred to as a first associated application), the weather application and an associated application that is not currently set by music based on the associated data shown in the table one.
It should be understood that the above-described association data is merely exemplary, and in addition, the above-described association data may also include corresponding association applications of other applications, which are not limited in this application.
As shown in the interface b in fig. 3, the associated application of the video application, that is, the foregoing short message application is performed in a foreground running state, the mobile phone may consider that the association relationship between the video application and the foregoing short message application is effective, that is, the short message application is or will provide services and data for the video application, and the probability that the user needs to switch the process of the video application back to the foreground from the background for continuous use is very high. The mobile phone can search and kill the applications except the video application in the video application, the weather application and the music application, namely keep the video application alive so as to avoid the video application from being killed by mistake and influence the use continuity of the video by the subsequent user.
Optionally, the user may switch the video application back to the foreground operation later, without restarting, and the interface may revert to the last-used interface (not shown) before the last switch to the background, with good user experience.
Optionally, in the case that the mobile phone determines that the process of the short message application is not in the foreground running state, the mobile phone may consider that the current short message application does not provide services or data for the video application. In other words, the video application does not need the service or data of the short message application, that is, the probability that the user needs to switch the video application from the background to the foreground is low, so that the mobile phone can search and kill the video application, the weather application and the music application for lower power consumption and free the storage space.
As an optional embodiment, in a case that a first application of which the process is in a background running state has an associated application (i.e., the first associated application), and in a case that the process of the first associated application is in a foreground running state, the terminal device may further search and kill applications except the first application in the at least one application under a condition that it is determined that a second operation of the second function button by the user is detected, so as to reduce the probability of false application killing, and at the same time, reduce the probability of false application keep-alive, so as to further reduce power consumption and release storage space.
It should be understood that the second button is displayed on a second interface, where the second interface is a corresponding interface when the process of the first application is in the foreground running state, and the second function button is used to indicate to provide services or data through the first associated application.
The following describes another application management method provided in the present application in detail by taking a mobile phone as an example.
Fig. 4 shows yet another application managed mobile phone interface 400, as shown in fig. 4, where a user clicks on a "game application" icon, as shown in mobile phone interface a in fig. 4, to open the game application, as shown in mobile phone interface a in fig. 4, which also provides the user with icon options for a number of other applications (e.g., video, date, weather, etc.). The mobile phone detects clicking operation of a user, acquires an instruction for opening the game application, and responds to the instruction to enable the game application to run in the foreground.
As shown in a mobile phone interface b in fig. 4, a login interface of a game application is displayed, and a user inputs an account number and a password corresponding to a game. In addition, in order to ensure the security of the game account, the user can click on the 'obtain verification code' button, the mobile phone detects the clicking operation of the 'obtain verification code' button by the user, and an instruction for obtaining the verification code is generated based on the clicking operation.
The mobile phone can acquire the game verification code based on the instruction for acquiring the verification code. As shown in the mobile phone interface c in fig. 4, the user may swipe the mobile phone screen, and the mobile phone may generate an instruction to display the application desktop based on the operation of the swipe mobile phone screen.
As shown in an interface d in fig. 4, the interface is an application desktop, and the interface displays a mailbox application, a short message application, a camera application, a weather application, and the like. The user can click on the icon of the mailbox application to look up the acquired verification code, and then the successful login of the game is realized under the condition that the verification code is correctly input. And the mobile phone generates an instruction for opening the short message application based on the clicking operation of clicking the short message application icon.
As shown in interface e of fig. 4, a use interface of the mailbox application is displayed, through which a user can view mailbox messages sent by different objects, wherein the mailbox messages comprise the game verification code.
It should be understood that, in the case where the process of the mailbox application is in the front running state, the process of the game application is correspondingly switched from the front running state to the back running state.
If the mobile phone detects an instruction of searching and killing the application with the process in the background running state, the mobile phone can determine the associated application of at least one application based on the associated data.
Illustratively, if the at least one application includes a weather application and a music application in addition to the game application (which may also be referred to as a first application). The mobile phone determines that the associated application of the game application includes a camera application and a mailbox application (which may also be referred to as a first associated application), the weather application, and an associated application that the music does not currently set based on the associated data shown in table one.
It should be understood that the above-described association data is merely exemplary, and in addition, the above-described association data may also include corresponding association applications of other applications, which are not limited in this application.
As shown in interface e in fig. 4, the mobile phone may determine that the associated application of the game application, that is, the mailbox application is running in the foreground.
As shown in interface b (i.e., the second interface) in fig. 4, in order to avoid that the game application and the mailbox application are used independently, and thus the game application is kept alive by mistake, the mobile phone may determine that, in the case that there is a click operation (i.e., the second operation) of the function button (i.e., the second function button) for "obtaining the verification code" by the user, the mailbox application is considered to be providing services and data for the video application, i.e., the user needs to switch the progress of the game application from the background back to the foreground for further use. The mobile phone can search and kill the applications except the game application in the game application, the weather application and the music application, namely keep the game application alive so as to avoid the situation that the game application is killed by mistake and influence the use continuity of the subsequent users on the game.
Optionally, the user can switch the game application back to the foreground to run subsequently without restarting, and the interface can be restored to the last-used interface (i.e. interface b in fig. 4) before the last switch to the background, so that the game verification code obtained through the mailbox is input to the corresponding position of the interface, thereby realizing the login of the game and having good user experience.
Alternatively, in the case where it is determined that there is no click operation (i.e., the second operation described above) of the function button (i.e., the second function button) of "get authentication code" by the mobile phone, it is considered that the current mailbox application does not provide services or data to the game application. In other words, the game application does not need the service or data of the mailbox application, that is, the probability that the user needs to switch the video application from the background to the foreground is low, so that the mobile phone can check and kill the game application, the weather application and the music application for lower power consumption and free of storage space.
Optionally, in addition to the second function button shown in the foregoing embodiment, when a first application whose process is in a background running state has an associated application (i.e., the first associated application), and a process of the first associated application is in a foreground running state, the terminal device may further search and kill applications except the first application in the at least one application when determining that first information exists, so as to reduce the probability of false application killing, and simultaneously reduce the probability of false application keep-alive, so as to further reduce power consumption and release storage space.
It should be understood that the first information is displayed on a second interface, where the second interface is an interface corresponding to a process of the first application when the process is in a foreground running state, and the first information is used to indicate a service or data of the first associated application.
The following describes another application management method provided in the present application in detail by taking a tablet computer as an example.
Fig. 5 illustrates yet another application managed tablet interface 500, as shown in fig. 5, where a user clicks on a "game application" icon, as shown in tablet interface a in fig. 5, to open the game application, as shown in tablet interface a in fig. 5, which also provides the user with icon options for a number of other applications (e.g., video, date, weather, etc.). The tablet personal computer detects clicking operation of a user, acquires an instruction for opening the game application, and responds to the instruction to enable the game application to run in the foreground.
As shown in a tablet computer interface b in fig. 5, a login interface of a game application is displayed, and a user outputs an account number and a password corresponding to a game. In addition, in order to ensure the security of the game account, the user can click on the "obtain verification code" button, and the tablet computer detects the clicking operation of the user on the "obtain verification code" button and generates an instruction for obtaining the verification code based on the clicking operation.
The tablet computer can acquire the game verification code based on the instruction for acquiring the verification code. As shown in the tablet computer interface c in fig. 5, the interface displays a prompt box of new mailbox information, and the user clicks the prompt box, so that the tablet computer can generate an instruction for opening the mailbox application based on the clicking operation of the user on the prompt box.
As shown in interface d in fig. 5, a use interface of the mailbox application is displayed, through which a user can view mailbox messages sent by different objects, wherein the mailbox messages include the game validation code.
It should be understood that, in the case where the process of the mailbox application is in the front running state, the process of the game application is correspondingly switched from the front running state to the back running state.
If the tablet computer detects an instruction of an application of which the killing process is in a background running state, the tablet computer can determine an associated application of at least one application based on the associated data.
Illustratively, if the at least one application includes a weather application and a music application in addition to the game application (which may also be referred to as a first application). The tablet computer determines, based on the association data shown in table one, that the associated applications of the game application include a camera application and a mailbox application (which may also be referred to as a first associated application), and that the weather application and the music are not currently set.
It should be understood that the above-described association data is merely exemplary, and in addition, the above-described association data may also include corresponding association applications of other applications, which are not limited in this application.
As shown in interface e in fig. 5, the tablet computer may determine that the associated application of the game application, i.e., the mailbox application is running in the foreground.
As shown in interface b (i.e., the second interface) in fig. 5, in order to avoid that the game application and the mailbox application are used independently, and thus, in the case of a mis-keep-alive game application, the tablet computer may determine that a keyword (i.e., the first information described above) for acquiring the verification code or the verification code exists, consider that the mailbox application is providing services and data for the video application, i.e., the user needs to switch the progress of the game application from the background back to the foreground for further use. The tablet personal computer can search and kill the applications except the game application in the game application, the weather application and the music application, namely keep the game application alive so as to avoid the game application from being killed by mistake and influence the use continuity of the subsequent users on the game.
Optionally, the user can switch the game application back to the foreground to run subsequently without restarting, and the interface can be restored to the last-used interface (i.e. interface b in fig. 5) before the last switch to the background, so that the game verification code obtained through the mailbox is input to the corresponding position of the interface, thereby realizing the login of the game and having good user experience.
Alternatively, in the case where the tablet computer determines that there is no click operation (i.e., the second operation described above) of the function button (i.e., the second function button) of "get authentication code", the current mailbox application may be considered to provide no service or data to the game application. In other words, the game application does not need the service or data of the mailbox application, that is, the probability that the user needs to switch the video application from the background to the foreground is low, so that the tablet computer can check and kill the game application, the weather application and the music application for lower power consumption and free of storage space.
It should be understood that, in order to avoid the problem that, when the process of the first association application is not timely operated in the foreground, the terminal device misjudges that the association relationship between the first application and the first association application is not effective, so that the first application is miskilled and the use of the user is affected, the process of the first association application may be determined by the terminal device in the foreground operating state within a time threshold, so as to reduce the error rate of the judgment that the association relationship is effective.
Optionally, to further avoid false killing of the application, the terminal device may further perform the above-described killing or keep-alive when detecting the user operation. In other words, the user decisions have a higher priority than the terminal device decisions.
The following describes another application management method provided in the present application in detail by taking a mobile phone as an example.
Fig. 6 shows yet another application management mobile phone interface 600, such as the mobile phone interface a in fig. 6 and the mobile phone interface a in fig. 3, which are similar to each other, and specific details may be described with reference to the corresponding embodiment of fig. 3 to avoid repetition.
As shown in the mobile phone interface b in fig. 6, before the mobile phone can kill the applications other than the video application, the weather application, and the music application, i.e., before the video application is kept alive, the mobile phone can also display a function button of "keep-alive video application" (i.e., the third function button) and a function button of "kill video application" (i.e., the fourth function button) on the interface.
In one possible scenario, the user may click on the "keep-alive video application" function button described above, if the user determines that the sms application is indeed providing services or data for the video application. The mobile phone may generate an instruction to keep the video application alive based on the clicking operation (i.e., the third operation) of the function button of the "keep-alive video application" by the user, and implement the keep-alive of the video application based on the instruction.
In another possible scenario, the user may click the "kill video application" function button described above, if the user determines that the sms application does not need to provide services or data to the video application. The mobile phone can generate an instruction for killing the video application based on the click operation of the user on the function button for killing the video application, and can realize the searching and killing of the video application based on the instruction, so that the ineffective protection of the video application is avoided, the system power consumption is further reduced, and the storage space is released.
Alternatively, the user may not select to perform the above-described killing based on the result of the mobile phone determination.
In one possible implementation, the user may click "x" in the upper corner of the cell phone interface b in fig. 6, to close or hide the function buttons of the "keep-alive video application" and "kill video application" described above.
In another possible implementation manner, the user may not perform any operation, and the mobile phone may perform the operation of killing or keeping alive the video application based on the determination result of the mobile phone when the user operation is not detected within the preset period of time.
Alternatively, the interface b in fig. 6 may display only one function button.
For example, the interface b may display only the function button of "kill video application", and the user may click on the function button of "kill video application" in the case where killing is determined. Or, under the condition that the video application is determined not to be killed, namely the video application is kept alive, the user can not click any function button, and under the condition that the mobile phone does not detect the user operation within a preset time period, the current searching and killing judgment of the terminal equipment can be determined to be approved by the user.
Optionally, on the interface displaying the button of the "keep-alive video application" and/or the function button of the "kill video application", the mobile phone may also display a prompt message (not shown in the figure) that the "video application is acquiring data through the sms application" or that the "sms application is providing services for the video application" at the same time.
In the same way, the mobile phone interface e in fig. 4 and the tablet computer interface e in fig. 5 may display the function buttons of the "kill game application" and/or the function buttons of the "keep-alive game application" and the reminding information, which are not limited in this application.
It should be understood that the above-mentioned detection instruction detected by the terminal device may be triggered by a user, or may be triggered by the terminal device automatically, which is not limited in this application.
It should also be understood that the association data provided in the embodiments of the present application may be set by a user, or may be automatically generated by the terminal device.
First case: the user sets the above-mentioned associated data.
In one possible implementation manner, the user may set the association relationship between the applications through a setting interface of the association data, so as to generate the relationship data.
Fig. 7 is a setup interface 700 of relationship data provided in an embodiment of the present application. As shown in an interface a in fig. 7, a first application, a second application, a third application, and selected buttons corresponding to the respective applications are displayed, respectively. The user can click a selected button of the first application, the terminal equipment detects click operation of the selected button of the first application by the user, and an instruction for displaying the application which can establish an association relation with the first application is generated based on the click operation.
As shown in interface b (i.e., the first interface) in fig. 7, the terminal device displays, on the interface, applications that can establish an association with the first application, including a first association application, a second association application, and a third association application, based on the above-described instruction. The user may click a selected button (first function button) of the first associated application, the terminal device detects a click operation of the selected button of the first associated application by the user, generates an instruction for setting the first associated application as an associated application of the first application based on the click operation, and executes an operation corresponding to the instruction, that is, sets the first associated application as an associated application of the first application.
Optionally, the terminal device may further display, on the interface, services/data provided by other applications required by the first application, so that a user may set a corresponding associated application according to the required services/data of the first application, or set only an associated application of a certain type of services/data provided by the first application required by other applications according to the required services/data of the first application, so as to implement subsequent keep-alive of the first application when the certain type of services/data is provided by the associated application.
Fig. 8 is another setup interface 800 of relationship data provided in an embodiment of the present application. As shown in an interface a in fig. 8, a first application, a second application, a third application, and selected buttons corresponding to the respective applications are displayed, respectively. The user may click a selected button of the first application, and the terminal device detects a click operation of the selected button of the first application by the user, and generates an instruction for displaying a service (not shown in the figure) or data that the first application needs to provide by other applications based on the click operation.
As shown in interface b in fig. 8, based on the above instruction, the terminal device displays on the interface that the data that the first application needs other applications to provide includes a verification code and a picture. The user can click a selected button of the verification code, the terminal equipment detects the click operation of the user on the selected button of the verification code, and an instruction for displaying an application capable of providing the verification code for the first application is generated based on the click operation.
As shown in interface c (i.e., the first interface) in fig. 8, the terminal device displays, on the interface, applications that can provide the authentication code for the first application including the first associated application and the second associated application based on the above instruction. The user may click a selected button (first function button) of the first associated application, the terminal device detects a click operation of the selected button of the first associated application by the user, generates an instruction for setting the first associated application as an associated application of the first application based on the click operation, and executes an operation corresponding to the instruction, that is, sets the first associated application as an associated application of the first application.
It should be understood that if only the association relationship between the first application and the first association application exists currently, the association data includes the first application and the first association application. If the association data has other application association relations, the terminal equipment can update the first application and the first association application into the relation data.
Second case: the terminal equipment automatically generates the related data.
For example, when it is determined that the process of the first application is switched from the foreground running state to the background running state, and then it is determined that the second associated application is switched from the previous state (the process is not started or the process is in the background running state) to the process in the foreground running state, the terminal device may set the second associated application as another associated application of the first application in the case that it is determined that the second information exists on the second interface and/or that there is a fourth operation of a fourth function button on the second interface by the user. The second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the second associated application. I.e. the above-mentioned association data may be updated to new association data comprising the first application and the second association application.
Alternatively, if the association relationship between the applications is not validated within a predetermined time, the terminal device may cancel the association relationship between the corresponding applications.
In an exemplary embodiment, it is assumed that the association application of the first application includes a first association application and a second association application, where the first application may acquire the verification code through the first association application or the second association application, but in an actual practical use process, in a case where the verification code needs to be acquired, there may be multiple operations of manually selecting the application by the user, which results in that the first application is actually the verification code acquired through the second association application, that is, although the association relationship exists between the first application and the first association application, the terminal device may cancel the association relationship between the first application and the first association application because the association relationship is not validated for a long time.
Alternatively, in the case that there is no manual modification by the user, the association relationship between the applications in the association data may be permanently existing or may be time-limited, which is not limited in the present application.
It should be appreciated that the above-described operation by the user may also be referred to as a user instruction, for example, the above-described first operation may be referred to as a first instruction, the above-described second operation may be referred to as a second instruction, and the above-described third operation may be referred to as a third instruction. The operation of the user may specifically include a touch operation, a drag operation, a gesture trigger operation, a voice wake operation, a click operation, and the like, which is not limited in the embodiment of the present application. The operations corresponding to the different instructions may be the same or different, and the different operations may correspond to the same instruction or different instructions, for example, a user may open the first association application through a click operation or may open the first association application through a voice wake-up operation, which is not limited in this embodiment of the present application.
It should also be understood that the foregoing embodiments may also be coupled to each other, which is not limited in this application. The sequence numbers of the above processes do not mean the sequence of execution sequence, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the point of view that the terminal device is the execution subject. In order to implement the functions in the method provided in the embodiment of the present application, the terminal device may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Some of the functions described above are performed in a hardware configuration, a software module, or a combination of hardware and software modules, depending on the specific application of the solution and design constraints.
The terminal device provided in the embodiment of the present application will be described in detail below with reference to fig. 9 and 10.
Fig. 9 shows a terminal device 900 provided in an embodiment of the present application, where the terminal device 900 includes: a determination module 901 and a processing module 902.
Wherein, the determining module 901 is configured to: determining an associated application of at least one application, wherein the process of the at least one application is in a background running state; the processing module 902 is configured to: and under the condition that the process of the first associated application of the first application is in a foreground running state, searching and killing applications except the first application in the at least one application, wherein the at least one application comprises the first application.
Optionally, the processing module 902 is configured to: displaying a first interface, wherein an output frame and/or a first function button for setting associated data are displayed on the first interface, the associated data comprise a plurality of applications and a plurality of corresponding associated applications, the plurality of associated applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of associated applications comprise the first associated application; generating the associated data when a first operation of the output frame and/or the first function button by a user is detected; the determining module 901 is configured to: and determining an associated application of the at least one application based on the associated data.
Optionally, the process of the first association application is in a foreground running state, which is determined by the terminal device within a time threshold.
Optionally, the determining module 901 is configured to: determining whether a second operation of a second function button by a user is detected, wherein the second button is displayed on a second interface, the second interface is an interface corresponding to the first application when the process is in a foreground running state, and the second function button is used for indicating to provide services or data through the first associated application; the processing module 902 is configured to: and searching and killing applications except the first application in the at least one application under the condition that the second operation of the second function button by the user is detected.
Optionally, the determining module 901 is configured to: determining whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application; the processing module 902 is configured to: and searching and killing applications except the first application in the at least one application under the condition that the first information exists on the second interface.
Optionally, the processing module 902 is configured to: displaying a third interface, wherein a third function button is displayed on the third interface and is used for indicating not to search and kill the first application; and searching and killing applications other than the first application in the at least one application under the condition that the third operation of the third function button by the user is detected.
Optionally, the process of the first application is in a background running state, and the process of the second associated application is in a foreground running state, and the processing module 902 is configured to: setting a second associated application as an associated application of the first application in the case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined; wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
It should be understood that the terminal device 900 herein is embodied in the form of functional modules. The term module herein may refer to an application specific integrated circuit (application specific integrated circuit, ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor, etc.) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it will be understood by those skilled in the art that the terminal device 900 may be specifically a terminal device in the foregoing embodiment, or the functions of the terminal device in the foregoing embodiment may be integrated in the terminal device 900, and the terminal device 900 may be configured to execute each flow and/or step corresponding to the terminal device in the foregoing method embodiment, which is not described herein for avoiding repetition.
The terminal device 900 has a function of implementing the corresponding steps executed by the terminal device in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In an embodiment of the present application, the terminal device 900 in fig. 9 may also be a chip or a chip system, for example: system on chip (SoC).
Fig. 10 shows another terminal device 1000 provided in an embodiment of the present application. The terminal device 1000 includes: a processor 1001, a transceiver 1002, and a memory 1003. Wherein the processor 1001, the transceiver 1002 and the memory 1003 communicate with each other through an internal connection path, the memory 1003 is used for storing instructions, and the processor 1001 is used for executing the instructions stored in the memory 1003 to control the transceiver 1002 to transmit signals and/or receive signals.
Wherein the processor 1001 is configured to: determining an associated application of at least one application, wherein the process of the at least one application is in a background running state; and under the condition that the process of the first associated application of the first application is in a foreground running state, searching and killing applications except the first application in the at least one application, wherein the at least one application comprises the first application.
Optionally, the processor 1001 is configured to: displaying a first interface, wherein an output frame and/or a first function button for setting associated data are displayed on the first interface, the associated data comprise a plurality of applications and a plurality of corresponding associated applications, the plurality of associated applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of associated applications comprise the first associated application; generating the associated data when a first operation of the output frame and/or the first function button by a user is detected; and determining an associated application of the at least one application based on the associated data.
Optionally, the process of the first association application is in a foreground running state, which is determined by the terminal device within a time threshold.
Optionally, the processor 1001 is configured to: determining whether a second operation of a second function button by a user is detected, wherein the second button is displayed on a second interface, the second interface is an interface corresponding to the first application when the process is in a foreground running state, and the second function button is used for indicating to provide services or data through the first associated application; and searching and killing applications except the first application in the at least one application under the condition that the second operation of the second function button by the user is detected.
Optionally, the processor 1001 is configured to: determining whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application; and searching and killing applications except the first application in the at least one application under the condition that the first information exists on the second interface.
Optionally, the processor 1001 is configured to: displaying a third interface, wherein a third function button is displayed on the third interface and is used for indicating not to search and kill the first application; and searching and killing applications other than the first application in the at least one application under the condition that the third operation of the third function button by the user is detected.
Optionally, the process of the first application is in a background running state, and the process of the second associated application is in a foreground running state, and the processor 1001 is configured to: setting a second associated application as an associated application of the first application in the case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined; wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
It should be understood that terminal device 1000 may be specifically a terminal device in the foregoing embodiment, or the functions of the terminal device in the foregoing embodiment may be integrated in terminal device 1000, and terminal device 1000 may be configured to perform each step and/or flow corresponding to the terminal device in the foregoing method embodiment.
The memory 1003 may optionally include read-only memory and random access memory and provide instructions and data to the processor 1001. A portion of memory 1003 may also include non-volatile random access memory. For example, the memory 1003 may also store information of a device type. The processor 1001 may be configured to execute instructions stored in the memory, and when the processor executes the instructions, the processor 1001 may execute steps and/or flows corresponding to the first terminal device in the foregoing method embodiment.
It should be appreciated that in embodiments of the present application, the processor may be a central processing unit (Central Processing Unit, CPU), the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
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.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, 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 with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
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.
In addition, each functional unit in each embodiment of the present application 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.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. An application management method, comprising:
the method comprises the steps that terminal equipment determines an associated application of at least one application, and a process of the at least one application is in a background running state;
and under the condition that the process of the first associated application of the first application is in a foreground running state, the terminal equipment searches and kills applications except the first application in the at least one application, and the at least one application comprises the first application.
2. The method of claim 1, wherein the method further comprises, prior to the terminal device determining the associated application of the at least one application:
the terminal equipment displays a first interface, wherein an output frame and/or a first function button for setting association data are displayed on the first interface, the association data comprise a plurality of applications and a plurality of corresponding association applications, the plurality of association applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of association applications comprise the first association application;
the terminal device determines an associated application of at least one application, including:
in case a first operation of the output box and/or the first function button by a user is detected, the terminal device generates the association data;
The terminal device determines an associated application of the at least one application based on the associated data.
3. The method of claim 1, wherein the process of the first associated application being in a foreground run state is determined by the terminal device within a time threshold.
4. A method according to any of claims 1 to 3, characterized in that the method further comprises, before the terminal device kills an application of the at least one application other than the first application:
the terminal equipment determines whether a second operation of a second function button by a user is detected, the second button is displayed on a second interface, the second interface is a corresponding interface when the process of the first application is in a foreground running state, and the second function button is used for indicating to provide service or data through the first associated application;
the terminal device searches and kills applications except the first application in the at least one application, and comprises:
in the case that it is determined that the second operation of the second function button by the user is detected, the terminal device kills applications other than the first application among the at least one application.
5. A method according to any of claims 1 to 3, characterized in that the method further comprises, before the terminal device kills an application of the at least one application other than the first application:
the terminal equipment determines whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application;
the terminal device searches and kills applications except the first application in the at least one application, and comprises:
and under the condition that the first information exists on the second interface, the terminal equipment searches and kills applications except the first application in the at least one application.
6. The method according to any one of claims 1 to 5, wherein before the terminal device kills applications other than the first application among the at least one application, the method further comprises:
the terminal equipment displays a third interface, and a third function button is displayed on the third interface and is used for indicating that the first application is not searched and killed;
The terminal device searches and kills applications except the first application in the at least one application, and comprises:
in the case that the third operation of the third function button by the user is detected, the terminal device searches and kills applications other than the first application in the at least one application.
7. The method of any of claims 1-6, wherein the process of the first application is in a background running state and the process of the second associated application is in a foreground running state, the method further comprising:
in the case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined, setting the second associated application as the associated application of the first application by the terminal equipment;
wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
8. A terminal device, comprising:
the determining module is used for determining an associated application of at least one application, and the process of the at least one application is in a background running state;
And the processing module is used for searching and killing applications except the first application in the at least one application under the condition that the process of the first associated application of the first application is in a foreground running state, and the at least one application comprises the first application.
9. The terminal device of claim 8, wherein the processing module is configured to:
displaying a first interface, wherein an output frame and/or a first function button for setting associated data are displayed on the first interface, the associated data comprise a plurality of applications and a plurality of corresponding associated applications, the plurality of associated applications are used for providing services or data for the plurality of corresponding applications, the plurality of applications comprise the first application, and the plurality of associated applications comprise the first associated application;
generating the association data in the case that the first operation of the output frame and/or the first function button by the user is detected;
the determining module is used for:
an associated application of the at least one application is determined based on the associated data.
10. The terminal device of claim 8, wherein the process of the first associated application being in a foreground run state is determined by the terminal device within a time threshold.
11. The terminal device according to any of the claims 8 to 10, wherein the determining module is configured to:
determining whether a second operation of a second function button by a user is detected, wherein the second button is displayed on a second interface, the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the second function button is used for indicating to provide services or data through the first associated application;
the processing module is used for:
in the case that the second operation of the second function button by the user is detected, the application except the first application in the at least one application is checked and killed.
12. The terminal device according to any of the claims 8 to 10, wherein the processing module is configured to:
determining whether first information exists on a second interface, wherein the second interface is a corresponding interface when a process of the first application is in a foreground running state, and the first information is used for indicating services or data of the first associated application;
and searching and killing applications except the first application in the at least one application under the condition that the first information exists on the second interface.
13. The terminal device according to any of the claims 8 to 12, wherein the processing module is configured to:
displaying a third interface, wherein a third function button is displayed on the third interface and is used for indicating that the first application is not searched and killed;
and in the case that the third operation of the third function button by the user is detected, searching and killing the application except the first application in the at least one application.
14. The terminal device according to any of the claims 8 to 13, wherein the process of the first application is in a background running state and the process of the second associated application is in a foreground running state, the processing module being configured to:
setting the second associated application as the associated application of the first application in the case that the second information exists on the second interface and/or the fourth operation of the fourth function button on the second interface by the user is determined;
wherein the second information is used for indicating the service or data of the second associated application, and the fourth function button is used for indicating the service or data provided by the fourth associated application.
15. A terminal device comprising a processor and a memory, the memory for storing code instructions; the processor is configured to execute the code instructions to perform the method of any one of claims 1 to 7.
16. A computer readable storage medium storing a computer program comprising instructions for implementing the method of any one of claims 1 to 7.
17. A computer program product comprising computer program code for causing a computer to carry out the method according to any one of claims 1 to 7 when said computer program code is run on the computer.
CN202211130740.8A 2022-09-16 2022-09-16 Application management method and terminal equipment Pending CN116027942A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211130740.8A CN116027942A (en) 2022-09-16 2022-09-16 Application management method and terminal equipment
PCT/CN2023/105712 WO2024055726A1 (en) 2022-09-16 2023-07-04 Application management method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211130740.8A CN116027942A (en) 2022-09-16 2022-09-16 Application management method and terminal equipment

Publications (1)

Publication Number Publication Date
CN116027942A true CN116027942A (en) 2023-04-28

Family

ID=86090177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211130740.8A Pending CN116027942A (en) 2022-09-16 2022-09-16 Application management method and terminal equipment

Country Status (2)

Country Link
CN (1) CN116027942A (en)
WO (1) WO2024055726A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092700B (en) * 2013-02-01 2016-09-28 华为终端有限公司 Internal memory method for cleaning, device and terminal unit
CN103218133B (en) * 2013-03-28 2016-12-28 东莞宇龙通信科技有限公司 The startup method of affiliate application and terminal
CN104503841A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN105868010A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application calling method and terminal
CN113535250A (en) * 2020-04-13 2021-10-22 华为技术有限公司 Application keep-alive method and device and electronic equipment
CN111611020A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 Application process searching and killing method and device for application program

Also Published As

Publication number Publication date
WO2024055726A1 (en) 2024-03-21

Similar Documents

Publication Publication Date Title
CN106201733B (en) Method for processing input between devices and electronic device thereof
CN109753159B (en) Method and apparatus for controlling electronic device
US10386927B2 (en) Method for providing notification and electronic device thereof
US11093069B2 (en) Method and apparatus for performing a function based on a touch event and a relationship to edge and non-edge regions
US20170293749A1 (en) Authentication method and electronic device using the same
US10031587B2 (en) Electronic device
US9997131B2 (en) Display driving method, display driver integrated circuit, and electronic device comprising the same
US9826342B2 (en) Method for controlling sound output and an electronic device thereof
US10242167B2 (en) Method for user authentication and electronic device implementing the same
US9866674B2 (en) Method for performing function and electronic device supporting the same
US20170269725A1 (en) Electronic device for touch and finger scan sensor input and control method thereof
KR20170019127A (en) Method for controlling according to state and electronic device thereof
US11042240B2 (en) Electronic device and method for determining underwater shooting
US20160109936A1 (en) Display control method and protective cover in electronic device
KR102607647B1 (en) Electronic apparatus and tethering connection method thereof
US20190163286A1 (en) Electronic device and method of operating same
CN113325988A (en) Multitask management method and terminal equipment
US9756674B2 (en) Method of transmitting and receiving data of electronic device and electronic device using the method
US10756847B2 (en) Electronic device and method for detecting error thereof
US20210311752A1 (en) Electronic apparatus and operating method thereof
US20160119538A1 (en) Electronic device for sensing lens and operating method thereof
KR102547054B1 (en) Electronic device and method for controlling activation of camera module
US20180024656A1 (en) Method and apparatus for operation of an electronic device
US20200098298A1 (en) Display and electronic device comprising display
CN109416615B (en) Method for processing touch event and electronic device suitable for method

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