CN109992323B - Process processing method and device, electronic equipment and computer readable storage medium - Google Patents

Process processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109992323B
CN109992323B CN201711488983.8A CN201711488983A CN109992323B CN 109992323 B CN109992323 B CN 109992323B CN 201711488983 A CN201711488983 A CN 201711488983A CN 109992323 B CN109992323 B CN 109992323B
Authority
CN
China
Prior art keywords
target process
target
signal
acquiring
closing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711488983.8A
Other languages
Chinese (zh)
Other versions
CN109992323A (en
Inventor
方攀
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711488983.8A priority Critical patent/CN109992323B/en
Publication of CN109992323A publication Critical patent/CN109992323A/en
Application granted granted Critical
Publication of CN109992323B publication Critical patent/CN109992323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a process processing method, a process processing device, electronic equipment and a computer readable storage medium. The method comprises the following steps: if a closing signal corresponding to the target process is detected, detecting whether the target process is in a frozen state; if the target process is detected to be in a frozen state, unfreezing the target process; sending the closing signal to the target process; and if the target process is detected to be unfrozen, closing the target process according to the closing signal. The process processing method, the process processing device, the electronic equipment and the computer readable storage medium can improve the resource utilization rate of the equipment.

Description

Process processing method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a process processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The smart device may implement different application operations through the application program, such as purchasing goods through a shopping-like application program, viewing videos through a video-like application program, and the like. The application program can be frozen, the frozen application program can not continue to run, and the processor resource in the intelligent device can not be occupied, but the application program still exists in the intelligent device, so that the resources such as a memory and hardware in the intelligent device can be occupied.
Disclosure of Invention
The embodiment of the application provides a process processing method and device, electronic equipment and a computer readable storage medium, which can improve the resource utilization rate of the equipment.
A process processing method, comprising:
if a closing signal corresponding to the target process is detected, detecting whether the target process is in a frozen state;
if the target process is detected to be in a frozen state, unfreezing the target process;
sending the close signal to the target process;
and if the target process is detected to be unfrozen, closing the target process according to the closing signal.
A process processing apparatus comprising:
the signal detection module is used for detecting whether the target process is in a frozen state or not if a closing signal corresponding to the target process is detected;
the process unfreezing module is used for unfreezing the target process if the target process is detected to be in a frozen state;
the signal sending module is used for sending the closing signal to the target process;
and the process closing module is used for closing the target process according to the closing signal if the target process is detected to be unfrozen.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
if a closing signal corresponding to the target process is detected, detecting whether the target process is in a frozen state;
if the target process is detected to be in a frozen state, unfreezing the target process;
sending the close signal to the target process;
and if the target process is detected to be unfrozen, closing the target process according to the closing signal.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
if a closing signal corresponding to the target process is detected, detecting whether the target process is in a frozen state;
if the target process is detected to be in a frozen state, unfreezing the target process;
sending the close signal to the target process;
and if the target process is detected to be unfrozen, closing the target process according to the closing signal.
According to the process processing method, the process processing device, the electronic equipment and the computer readable storage medium, when the closing signal corresponding to the target process is detected, if the target process is detected to be in the frozen state, the target process is unfrozen. And the closing signal is processed through the unfrozen target process. Therefore, the target process is in a frozen state instantly, and the closing signal can be processed in time. Under the condition of insufficient equipment resources, the target process can also receive and respond to the closing signal in time and release the equipment resources in time, so that the running efficiency of the equipment is ensured, and the resource utilization rate of the equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram showing an internal structure of an electronic apparatus according to an embodiment;
FIG. 2 is a partial block diagram of a system in an electronic device in one embodiment;
FIG. 3 is a flow diagram of a process handling method in one embodiment;
FIG. 4 is a flowchart of a process handling method in another embodiment;
FIG. 5 is a block diagram of an exemplary process control apparatus;
FIG. 6 is a diagram showing the structure of a process control apparatus according to another embodiment;
fig. 7 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
As shown in fig. 1, a schematic diagram of an internal structure of an electronic device is provided. The electronic device includes a processor, a memory, and a display screen connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory is used for storing data, programs, and/or instruction codes, and the like, and at least one computer program is stored on the memory, and the computer program can be executed by the processor to realize the process processing method suitable for the electronic device provided in the embodiment of the application. The Memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access-Memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a process handling method provided by various embodiments of the present application. The internal memory provides a cached execution environment for the operating system and computer programs in the non-volatile storage medium. The display screen may be a touch screen, such as a capacitive screen or an electronic screen, and is configured to display interface information of an application corresponding to a foreground process, and also may be configured to detect a touch operation applied to the display screen, and generate a corresponding instruction, such as a switching instruction for performing foreground and background applications.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components. For example, the electronic device further includes a network interface connected via the system bus, where the network interface may be an ethernet card or a wireless network card, and the like, and is used for communicating with an external electronic device, such as a server.
In one embodiment, as shown in FIG. 2, a partial architecture diagram of an electronic device is provided. The architecture system of the electronic device includes a JAVA space layer 21, a local framework layer 22, and a Kernel space layer 23. Policy applications 210 may be included on the JAVA space layer 21, and the electronic device may initiate a freeze and thaw policy for each application through the policy applications 210, so as to implement a freeze and thaw operation for each application in the electronic device. For example, the policy application 210 determines an application consuming power in the background, and initiates a freeze operation on the application consuming power in the background. The local framework layer 22 includes a resource priority and restriction management module 220 and a platform freeze management module 222. The electronic device can maintain the priority of the application program and the corresponding resource group in real time through the resource priority and restriction management module 220, and adjust the priority and the resource group of the application program according to the requirement of the upper layer, thereby achieving the effects of optimizing performance and saving power consumption. The electronic device may allocate, by using the platform freezing management module 222, the task that can be frozen in the background to the freezing layers corresponding to the preset different layers according to the length of the freezing time, where optionally, the freezing layers may include: CPU limited sleep mode, CPU frozen sleep mode, process deep frozen mode. The kernel space layer 23 includes a UID management module 230, a Cgroup module 232, a timeout freeze exit module 234, a Binder management module 236, and a process memory recycling module 238. The UID management module 230 may manage or freeze resources of the third-party application based on a User Identifier (UID) of the application. Compared with the Process control based on the Process Identifier (PID), the unified management of the resources of the application of one user is facilitated through the UID. The Cgroup module 232 is used to provide a complete set of resource restriction mechanisms related to Central Processing Unit (CPU), CPU set, memory, input/output (I/O) and Net. The timeout freeze exit module 234 is used to resolve the exception generated by the freeze timeout scenario. The Binder management and control module 236 is used for controlling the priority of the background Binder communication. The process memory recycling module 238 is used to implement a deep freezing mode of the process, and when the third-party application program is in a frozen state for a long time, the file area of the process can be released, so as to achieve a memory-saving module and speed up the next time the application program is started. Through the above framework, the process processing method in each embodiment of the present application can be realized.
FIG. 3 is a flow diagram of a process handling method in one embodiment. As shown in fig. 3, the process control method includes steps 302 to 308. Wherein:
step 302, if a shutdown signal corresponding to the target process is detected, detecting whether the target process is in a frozen state.
An Application (APP) is software written for a certain Application purpose in an electronic device, and the electronic device can implement a service required by a user through the APP. For example, a user may play a game through a game-like application, may watch a video through a video-like application, may play music through a music-like application, and the like. The application program can be divided into a foreground application program and a background application program according to the running state. The foreground application program refers to an application program running in the foreground of the electronic device, and the foreground application program can be displayed on the foreground and can interact with a user. Background applications refer to applications that run in the background of an electronic device, and background applications generally cannot be displayed in the foreground and implement an interactive process with a user.
Generally, an application operation of an application program is collectively performed by one or more processes (processes), which are one-time running activities of the program in a computer on a certain data set and are basic units for resource allocation and scheduling of a system. Meanwhile, one process can correspond to one or more threads, and the threads are a single sequential control flow in a program and are relatively independent and schedulable execution units in the process. The processes may include a foreground process, i.e., a process running in the foreground of the electronic device, and a background process, i.e., a process running in the background of the electronic device. The electronic equipment can control the switching of the foreground process and the background process, the foreground process can be switched to the background process to run, and the background process can also be switched to the foreground process to run. Specifically, the management of the process may be implemented by a process pool, and process identifiers corresponding to one or more processes may be stored in the process pool. The process pool may include a foreground process pool and a background process pool, the foreground process pool includes a process identifier corresponding to a foreground process, and the background process pool includes a process identifier corresponding to a background process. When detecting that the running states of the foreground process and the background process are changed, the process pool can correspondingly add or delete the process identification which is changed. For example, the process identifier of process a is "0123", and when it is detected that process a is changed from a background process to a foreground process, the process identifier of process a, which is "0123", can be removed from the background process pool and added to the foreground process pool.
In one embodiment, a shutdown signal refers to a signal that initiates a shutdown operation for a process. Generally, an application program of the application layer of the electronic device may initiate a shutdown signal, and after receiving the shutdown signal, the process may exit from running according to the shutdown signal. After the process exits, resources such as a processor and a memory of the terminal are not occupied. Taking the terminal of the Android system as an example, an application program in the terminal application layer may trigger to initiate a close signal to a process by calling an Android. It can be understood that, in the present application, the process processing method is described by taking an Android Operating System as an example, but the process processing method of the present application is not limited to be implemented in the Android System, and may also be applied in Operating systems such as ios (iphone Operating System), saiban, Windows, and MAC OS (MAC Operating System).
And step 304, if the target process is detected to be in the frozen state, unfreezing the target process.
In particular, processes may be frozen, and processes in the frozen state are not shut down, but are temporarily not running. The frozen process is generally processed in the operating system, and is controlled to enter an uninterruptible sleep state through a function body. A process in such an uninterruptible sleep state, even if woken up, will immediately resume in the uninterruptible sleep state due to the presence of the body of the function. Therefore, the process in the frozen state cannot receive the signal and cannot process the signal. That is, the process in the frozen state does not occupy the processor resource for running, but still occupies the resources such as the memory and hardware of the electronic device. The resource priority and restriction management module in the local framework layer of the electronic device can mark the state of the process, control the frozen state of the process through the corresponding mark, and know whether the process is in the frozen state or not by reading the state mark of the process.
After an application program in the application layer of the electronic device initiates a shutdown signal, the kernel layer of the electronic device may receive the shutdown signal, and then determine whether the process is in a frozen state by reading the resource priority and the constraint management module of the local framework layer. The closing signal can be initiated by a third party application program or a system application program. For example, the user may select a process to be killed through the third-party application program, and then initiate a shutdown signal to the process selected by the user through the third-party application program. The electronic equipment can also automatically trigger the killing of the background process according to the running condition, and when the background process meets the killing condition, a system application program of the electronic equipment automatically triggers to send a closing signal to the background process.
Step 306, sending a close signal to the target process.
And if the target process is judged to be in the frozen state, the electronic equipment can unfreeze the target process through the local framework layer. Meanwhile, the kernel layer of the electronic device sends a closing signal to the target process. If the target process is in the frozen state when the shutdown signal is sent, the target process cannot receive the shutdown signal, and the shutdown signal is added into a signal processing queue corresponding to the target process. And after the target process is unfrozen, the target process acquires the processing signal from the signal processing queue and processes the processing signal.
The signal transmitted in the electronic equipment is provided with a sending process identifier and a receiving process identifier, then the process for sending the signal is searched through the sending process identifier, and the process for receiving the signal is searched through the receiving process identifier. Specifically, the electronic device may search for the target process according to the receiving process identifier carried in the closing signal, and then send the closing signal to the target process corresponding to the receiving process identifier.
And 308, if the target process is unfrozen, closing the target process according to the closing signal.
When the target process is unfrozen, the unfrozen target process can be placed in a non-freezing state, and the process in the non-freezing state can not be frozen any more. After the target process is thawed, the signal may be received and processed. The target process may obtain a close signal through the signal processing queue and close according to the close signal.
In the process processing method provided in the above embodiment, when a shutdown signal corresponding to the target process is detected, if it is detected that the target process is in a frozen state, the target process is thawed. And processing the closing signal through the unfrozen target process. Therefore, the target process is in a frozen state instantly, and the closing signal can be processed in time. Under the condition of insufficient equipment resources, the target process can also receive and respond to the closing signal in time and release the equipment resources in time, so that the running efficiency of the equipment is ensured, and the resource utilization rate of the equipment is improved.
Fig. 4 is a flowchart of a process handling method in another embodiment. As shown in fig. 4, the process processing method includes steps 402 to 420. Wherein:
and 402, acquiring the resource occupancy rate of the electronic equipment, and acquiring the target process according to the resource occupancy rate.
In one embodiment, the electronic device is operating with limited resources for application processing. Therefore, the electronic device needs to continuously release the memory during the operation process, so that the effective operation of the application can be ensured. The resource refers to software or hardware resources that the electronic device must use when processing the application event, such as a memory and hardware resources of the electronic device. The resource occupancy rate refers to a resource occupancy proportion of the electronic device, generally refers to a proportion of occupied resources to total resources, and can be expressed in a percentage form. For example, if the total memory of the device has 128GB and the memory already occupied has 56GB, the resource occupancy of the device can be expressed as the memory occupancy, and the obtained memory occupancy is 43.75%.
The method comprises the steps of establishing a corresponding relation between the resource occupancy rate and process identification of a process in advance, obtaining corresponding target process identification according to the resource occupancy rate, and obtaining corresponding target process according to the target process identification. And establishing a corresponding relation between the resource occupancy rate and the process priority, then acquiring the corresponding target priority according to the resource occupancy rate of the electronic equipment, acquiring a target process identifier corresponding to the target priority, and acquiring the corresponding target process according to the target process identifier. For example, the memory occupancy rate of the electronic device is divided into three levels, such as 20-40%, 40-70%, 70-100%, and the like, the process is divided into five priorities, such as level 1, level 2, level 3, level 4, level 5, and the like, and the importance of the process decreases from level 1 to level 5. And then establishing a corresponding relation between the memory occupancy rate and the priority of the process, wherein 20-40% of the memory occupancy rate corresponds to 4 levels and 5 levels of the process, 40-70% of the memory occupancy rate corresponds to 3 levels, 4 levels and 5 levels of the process, and 70-100% of the memory occupancy rate corresponds to 2 levels, 3 levels, 4 levels and 5 levels of the process. Assuming that the memory occupancy rate in the electronic device is 50%, the priorities of the corresponding processes are 3, 4, and 5, and the processes with the priorities of 3, 4, and 5 are obtained as the target processes.
The corresponding relation can be stored in a list form, the electronic device can count the resource occupancy rate once at intervals, read the corresponding target process identification from the list according to the resource occupancy rate obtained by counting, and then acquire the corresponding target process according to the target process identification. For example, the electronic device may read the resource occupancy rate every 5 minutes, and then obtain the corresponding target process according to the resource occupancy rate.
Step 404, a shutdown signal is initiated to the acquired target process.
The shutdown signal may be initiated by a third party application or by a system application. The initiated close signal may include, but is not limited to, a sending process identifier, a receiving process identifier, and the like. The electronic device may look up the target process by receiving the process identification and then send the shutdown signal to the target process. For example, a signal may be sent to the target process through a function int send _ sig _ info (int sig, struct siginfo info, struct task _ struct).
Step 406, if a shutdown signal corresponding to the target process is detected, detecting whether the target process is in a frozen state.
Step 408, if it is detected that the target process is in the frozen state, acquiring a frozen duration corresponding to the target process, where the frozen duration represents a time interval from the time when the target process enters the frozen state to the current time.
When the process enters the frozen state, the electronic equipment simultaneously records the time when the process enters the frozen state, then monitors the state of the electronic equipment in real time, and when the process exits the frozen state, simultaneously records the time when the process exits the frozen state. Therefore, the electronic equipment can manage the state of each process, and the state of the process at each moment can be read through the state corresponding to the process recorded by the electronic equipment. The freezing duration is a time interval from the time of identifying the target process entering the freezing state to the current time, and specifically refers to a time interval from the time of entering the freezing state to the current time. For example, if the time when the process enters the frozen state at this time is 12 o 'clock 10 min 02 sec, and the current time is 12 o' clock 14 min 10 sec, the obtained freezing time length is 4 min 08 sec.
Specifically, the electronic device may read a current state of the target process, and if the target process is currently in a frozen state, may read a time at which the target process enters the frozen state this time, and then obtain a current time, and calculate a corresponding frozen duration according to the time at which the target process enters the frozen state and the current time. For example, in the Android system, the current time can be obtained through a function SimpleDateFormat ("yyyy-MM-dd hh: MM: ss"), and then the extreme freezing duration is determined according to the read time of entering the freezing state.
And step 410, if the freezing time length is greater than the time length threshold value, unfreezing the target process.
It can be understood that the frozen duration may reflect a duration of the process entering the frozen state at this time, and if the process is not thawed after being in the frozen state for a long time, which indicates that the process is not in the running state for a long time, the process may be considered as an unimportant process, and the process may be closed. The duration threshold is a value of the duration for screening the target process, and can be set as required. When the freezing duration of the target process is greater than the duration threshold, the probability that the target process is restarted by a user or a system is considered to be relatively low, the target process can be unfrozen and then closed; and if the freezing duration of the target process is less than the duration threshold. The probability that the user or the system restarts the target process is considered to be relatively high, and the current state of the target process can be continuously maintained.
For example, the time threshold is 1 hour, and if the freezing time of the target process exceeds 1 hour, the target process may be thawed and then the thawed target process may be shut down. If the freezing time of the target process is 5 minutes, which means that the time for the target process to enter the freezing state is 5 minutes, it is considered that the probability that the target process is started again by the user or the system is high, and the state of the target process can be continuously maintained.
Step 412, adding the close signal to a signal processing queue corresponding to the target process, where the signal processing queue includes one or more processing signals for processing the target process.
Each process may have a signal processing queue, which may be a stack space, that includes one or more processing signals for processing the target process, each processing signal indicating processing of a process. Specifically, the signal processing queue corresponding to the process may be a chain queue arranged in sequence, and may be described by a data structure. For example, in the signal processing queue list, it can be described by a signaling data structure. The signaling data structure may include three data, i.e., head, tail, signal, etc., where head is used to point to the first processed signal, tail is used to point to the next pointer of the last processed signal, and signal is used to describe the signal set in the signal processing queue.
And step 414, if it is detected that the target process is unfrozen, acquiring a signal processing queue corresponding to the target process, and sequencing the processing signals according to the signal initiation time.
When the target process is in the frozen state, the target process cannot receive the signal or process the signal. The processing signals received by the target process are stored in the signal processing queue, and then the processing signals in the signal processing queue are processed after the target process is awakened. When the target process is unfrozen, the target process can be operated in the electronic device. The target process acquires a corresponding signal processing queue, and the processing signals in the signal processing queue are sequenced according to signal initiation time, wherein the signal initiation time is the time for initiating the processing signals. The processing signals can be generally arranged according to the sequence of the signal initiation time from first to last, so that the processing signal at the first position of the queue can be preferentially acquired for processing during processing. The processing signals can also be arranged according to the sequence from the beginning of the signal to the end of the signal, and the processing signals at the tail of the queue can be preferentially acquired for processing during processing. In this embodiment, the arrangement order of the signal processing queues and the processing sequence are not specifically limited. For example, the signal processing queue includes three processing signals, the signal initiation time corresponding to the signal a is 12:16, the signal initiation time corresponding to the signal B is 13:22, and the signal initiation time corresponding to the signal C is 13: 50. The signal processing queue may be arranged in the order of signal a, signal B and signal C.
And step 416, sequentially processing the processing signals in the sorted signal processing queue.
In general, to avoid missing information, after being defrosted, the target process processes the unprocessed processing signals during the freeze period, that is, sequentially processes the processing signals in the sorted signal processing queue. It is understood that after the target process is thawed, all the processing signals in the signal processing queue may not be processed, and only a part of the processing signals may be obtained for processing. Optionally, the processing signal is obtained from the sorted signal processing queue according to the signal initiating object, and the obtained processing signal is processed. The signal initiating object refers to an object initiating a processing signal. For example, only the processing signal initiated by the system application may be processed, or only the processing signal whose corresponding signal initiation object is the same as the signal initiation object of the shutdown signal may be processed.
In one embodiment, the processing signals may also be obtained from the sorted signal processing queues according to the signal priorities of the processing signals, and the obtained processing signals are processed. Wherein the signal priority represents an important procedure for processing the signal. For example, the signal priority may be set according to the type of the processing signal, the signal priority of the processing signal corresponding to the instant message is higher, and the signal priority of the processing signal corresponding to the non-instant message is lower. And the processing signals are acquired according to the signal priority, and only the processing signals with higher priority are processed after the target process is unfrozen, so that the resource of equipment is saved.
In step 418, the target process is closed according to the close signal.
Specifically, the target process is closed according to the closing signal, and after the target process is closed, all threads corresponding to the target process can be closed, so as to avoid zombie processes. After the target process is closed, the target process can be set to be in the non-freezing state, and under the non-freezing state, the target process cannot be frozen again, so that the target process is prevented from entering the freezing state again to cause resource occupation. Alternatively, the duration of the unfrozen state may also be set, timed from the time the target process is turned off, within which duration the target process is set to the unfrozen state. A corresponding relationship between the process priority and the duration may also be established, where the higher the process priority is, the shorter the corresponding duration is. The corresponding duration is obtained according to the process priority of the target process, then timing is started from the time when the target process is closed, and the target process is set to be in the non-freezing state within the duration.
And step 420, acquiring the dependent process dependent on the target process, and closing the dependent process according to the closing signal.
In one embodiment, dependencies indicate the relationship that a process needs to utilize data of another process or processes to successfully implement execution of the one process. There are two processes of dependency relationship, respectively a depended process and a dependent process. For example, the process a depends on the process B, or the process B is depended on the process a, that is, the process a needs to use the data of the process B to execute the process a, at this time, the process a is a process depending on the process B, and the process B is a process depended on by the process a. Specifically, in the embodiment of the present application, a dependent process refers to a process that runs in dependence on a target process.
The dependency between processes is not always constant, but changes in real-time. The electronic equipment can record the dependency relationship among the processes, after the target process is closed, a background process dependent on the target process is searched from the recorded dependency relationship to serve as the dependent process, and the dependent process is closed according to the closing signal. In particular, the interdependence between two processes is based on the need for them to communicate with each other. Therefore, acquiring the dependent process corresponding to the target process includes: and acquiring a background process with a communication relation with a foreground process as a dependent process. In an operating system, the interaction mechanism between processes is mainly divided into a synchronization mechanism and a communication mechanism.
The communication mechanism comprises Socket, Binder, shared memory and the like. Binder Communication is an efficient IPC (Inter-Process Communication) mechanism implemented in an Android system, and is a client-server Communication structure. The client and the server define a corresponding proxy interface, when the client calls a method in the proxy interface, the method of the proxy interface packages parameters of the client into a Parcel object, and then the proxy interface sends the Parcel object to a Binder driver in the kernel layer. The server can read the request data in the Binder driver, then analyze and process the Parcel object, and return the processing result. Socket communication can be used for carrying out communication connection on two network application programs, so that data exchange of the application programs on the network is realized. Specifically, local inter-Process communication can uniquely identify a Process through PID (Process Identity), but communication among network processes is impossible. In network communication, an IP (Internet Protocol, Protocol for interconnection between networks) address can uniquely identify a host in a network, and a "Protocol + port" can uniquely identify a process in the host, so that in Socket communication, a process is typically uniquely identified in the form of "IP address + Protocol + port". Shared memory is a very efficient way to allow two unrelated processes to access the same logical memory, and shared memory is a very efficient way to share and transfer data between two running processes, and memory shared between different processes is usually arranged as the same physical memory.
Furthermore, acquiring the dependent process corresponding to the target process includes at least one of the following manners: acquiring a background process having a socket communication relation with a target process as a dependent process; acquiring a background process having a binder communication relationship with a target process as a dependent process; and acquiring a background process sharing the memory with the target process as a dependent process.
The process processing method provided in the foregoing embodiment acquires the target process according to the resource occupancy rate of the electronic device, and initiates the shutdown signal to the acquired target process. And when a closing signal corresponding to the target process is detected, if the target process is detected to be in a frozen state, unfreezing the target process according to the freezing time length of the target process. And closing the unfrozen target process and the dependent process according to the closing signal. Therefore, the target process is in a frozen state instantly, and the closing signal can be processed in time. Under the condition of insufficient equipment resources, the target process can also receive and respond to the closing signal in time and release the equipment resources in time, so that the running efficiency of the equipment is ensured, and the resource utilization rate of the equipment is improved. And under the condition that the target process is closed, closing the dependent process dependent on the target process so as to reduce the occupation of the device resources by the dependent process.
It should be understood that although the steps in the flowcharts of fig. 3 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3 and 4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
FIG. 5 is a block diagram of a process management device in accordance with an embodiment. As shown in FIG. 5, the process processing apparatus 500 includes a signal detection module 502, a process unfreezing module 504, a signal transmission module 506, and a process shutdown module 508. Wherein:
the signal detection module 502 is configured to detect whether the target process is in a frozen state if a shutdown signal corresponding to the target process is detected.
And a process unfreezing module 504, configured to unfreeze the target process if it is detected that the target process is in a frozen state.
A signal sending module 506, configured to send the shutdown signal to the target process.
A process shutdown module 508, configured to, if it is detected that the target process is thawed, shutdown the target process according to the shutdown signal.
When the process processing apparatus provided in the above embodiment detects a shutdown signal corresponding to the target process, if it is detected that the target process is in a frozen state, the target process is thawed. And the closing signal is processed through the unfrozen target process. Therefore, the target process is in a frozen state instantly, and the closing signal can be processed in time. Under the condition of insufficient equipment resources, the target process can also receive and respond to the closing signal in time and release the equipment resources in time, so that the running efficiency of the equipment is ensured, and the resource utilization rate of the equipment is improved.
Fig. 6 is a schematic structural diagram of a process processing apparatus according to another embodiment. As shown in FIG. 6, the process processing apparatus 600 includes a resource detection module 602, a signal detection module 604, a process unfreezing module 606, a signal sending module 608, and a process shutdown module 610. Wherein:
the resource detection module 602 is configured to obtain a resource occupancy rate of the electronic device, and obtain a target process according to the resource occupancy rate; and initiating a closing signal to the acquired target process.
The signal detection module 604 is configured to detect whether the target process is in a frozen state if a shutdown signal corresponding to the target process is detected.
And a process unfreezing module 606, configured to unfreeze the target process if it is detected that the target process is in a frozen state.
A signal sending module 608, configured to send the shutdown signal to the target process.
A process shutdown module 610, configured to, if it is detected that the target process is thawed, shutdown the target process according to the shutdown signal.
The process processing apparatus provided in the foregoing embodiment acquires the target process according to the resource occupancy rate of the electronic device, and initiates the shutdown signal to the acquired target process. And when a closing signal corresponding to the target process is detected, if the target process is detected to be in a frozen state, unfreezing the target process according to the freezing time length of the target process. And closing the unfrozen target process according to the closing signal. Therefore, the target process is in a frozen state instantly, and the closing signal can be processed in time. Under the condition that the equipment resources are insufficient, the target process can also receive and respond to the closing signal in time, and release the equipment resources in time, so that the running efficiency of the equipment is ensured, and the resource utilization rate of the equipment is improved.
In one embodiment, the process unfreezing module 606 is further configured to, if it is detected that the target process is in the frozen state, obtain a frozen duration corresponding to the target process, where the frozen duration represents a time interval from a time when the target process enters the frozen state to a current time; and if the freezing duration is greater than the duration threshold, unfreezing the target process.
In an embodiment, the signal sending module 608 is further configured to add the shutdown signal to a signal processing queue corresponding to the target process, where the signal processing queue includes one or more processing signals for processing the target process.
In one embodiment, the process closing module 610 is further configured to obtain a signal processing queue corresponding to the target process, and sort the processing signals according to signal initiation time; and sequentially processing the processing signals in the sequenced signal processing queue.
In one embodiment, the process shutdown module 610 is further configured to obtain a dependent process dependent on the target process, and shutdown the dependent process according to the shutdown signal.
In one embodiment, the process closing module 610 is further configured to acquire a background process having a communication relationship with the target process as a dependent process.
The division of the modules in the process processing apparatus is merely used for illustration, and in other embodiments, the process processing apparatus may be divided into different modules as needed to complete all or part of the functions of the process processing apparatus.
The implementation of each module in the process processing apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules formed by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the process handling methods provided by the embodiments described above.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the process handling method provided by the above embodiments.
The embodiment of the application also provides the electronic equipment. As shown in fig. 7, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as a mobile phone as an example:
fig. 7 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 7, the handset includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 710 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 780; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 700. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, which may also be referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 731 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 731 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. In one embodiment, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, can detect the magnitude of acceleration in each direction through the acceleration sensor, can detect the magnitude and the direction of gravity when the mobile phone is static, and can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then outputs the audio data to the processor 780 for processing, and then the processed audio data may be transmitted to another mobile phone through the RF circuit 710, or outputs the audio data to the memory 720 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 7 shows WiFi module 770, it is understood that it does not belong to the essential components of handset 700 and may be omitted as desired.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. In one embodiment, processor 780 may include one or more processing units. In one embodiment, processor 780 may integrate an application processor and a modem processor, where the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset 700 also includes a power supply 790 (e.g., a battery) for providing power to the various components, preferably, the power supply is logically connected to the processor 780 through a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 700 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, when the processor 780 included in the electronic device executes the computer program stored in the memory, the steps of the process processing method provided in the above embodiment are implemented.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A process processing method, comprising:
acquiring resource occupancy rate of electronic equipment, and acquiring a target priority level corresponding to the resource occupancy rate; the target priority level comprises at least one priority level, and the number of the priority levels corresponding to the target priority level is increased along with the increase of the resource occupancy rate;
acquiring a target process identifier corresponding to the target priority level, acquiring a target process corresponding to the target process identifier, and initiating a closing signal to the target process;
if a closing signal corresponding to the target process is detected, detecting whether the target process is in a frozen state;
if the target process is detected to be in a frozen state, unfreezing the target process;
sending the close signal to the target process;
if the target process is detected to be unfrozen, closing the target process according to the closing signal;
and acquiring a dependent process dependent on the target process, and closing the dependent process according to the closing signal.
2. The method of claim 1, wherein the thawing the target process if it is detected that the target process is in a frozen state comprises:
if the target process is detected to be in the frozen state, acquiring a frozen time corresponding to the target process, wherein the frozen time represents a time interval from the moment when the target process enters the frozen state to the current moment;
and if the freezing duration is greater than the duration threshold, unfreezing the target process.
3. The method of claim 1, wherein sending the shutdown signal to the target process comprises:
and adding the closing signal into a signal processing queue corresponding to the target process, wherein the signal processing queue comprises one or more processing signals for processing the target process.
4. The method of claim 3, wherein the shutting down the target process in response to the shut down signal comprises:
acquiring a signal processing queue corresponding to the target process, and sequencing the processing signals according to signal initiation time;
and sequentially processing the processing signals in the sequenced signal processing queue.
5. The method of claim 1, wherein obtaining a dependent process dependent on the target process comprises:
and acquiring a background process which has a communication relation with the target process and is used as a dependent process.
6. The method according to any one of claims 1 to 5, wherein the process-dependent acquisition mode comprises at least one of the following modes:
acquiring a background process having a socket communication relationship with the target process as the dependent process;
acquiring a background process having a binder communication relationship with the target process as the dependent process;
and acquiring a background process sharing the memory with the target process as the dependent process.
7. The method according to any one of claims 1 to 5, wherein the electronic device includes an application layer, a local framework layer, and a kernel layer, and the detecting whether the target process is in a frozen state if a shutdown signal corresponding to the target process is detected includes:
receiving the closing signal through the kernel layer, and detecting whether the target process is in a frozen state through a resource priority and limit management module of the local framework layer; the close signal is initiated by an application program in the application layer;
if the target process is detected to be in the frozen state, unfreezing the target process, including:
unfreezing the target process through the local framework layer;
the sending the close signal to the target process includes:
and sending the closing signal to the target process through the kernel layer.
8. A process processing apparatus, comprising:
the resource detection module is used for acquiring the resource occupancy rate of the electronic equipment, acquiring a target priority level corresponding to the resource occupancy rate, acquiring a target process identifier corresponding to the target priority level, acquiring a target process corresponding to the target process identifier, and initiating a closing signal to the target process; the target priority level comprises at least one priority level, and the number of the priority levels corresponding to the target priority level is increased along with the increase of the resource occupancy rate;
the signal detection module is used for detecting whether the target process is in a frozen state or not if a closing signal corresponding to the target process is detected;
the process unfreezing module is used for unfreezing the target process if the target process is detected to be in a frozen state;
the signal sending module is used for sending the closing signal to the target process;
and the process closing module is used for closing the target process according to the closing signal if the target process is detected to be unfrozen, acquiring a dependent process dependent on the target process, and closing the dependent process according to the closing signal.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201711488983.8A 2017-12-29 2017-12-29 Process processing method and device, electronic equipment and computer readable storage medium Active CN109992323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488983.8A CN109992323B (en) 2017-12-29 2017-12-29 Process processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488983.8A CN109992323B (en) 2017-12-29 2017-12-29 Process processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109992323A CN109992323A (en) 2019-07-09
CN109992323B true CN109992323B (en) 2022-09-16

Family

ID=67111398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488983.8A Active CN109992323B (en) 2017-12-29 2017-12-29 Process processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109992323B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752690B (en) * 2020-06-22 2023-05-26 陈洪涛 Process cleaning method, system, terminal equipment and storage medium
CN111651261B (en) * 2020-07-07 2023-04-07 Oppo(重庆)智能科技有限公司 Process management method and device, terminal equipment and computer readable storage medium
CN112000374B (en) * 2020-07-13 2024-01-02 深圳市智微智能软件开发有限公司 USB touch screen replacement method, device, equipment and medium applied to android system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106681722A (en) * 2016-12-27 2017-05-17 努比亚技术有限公司 Process processing method and electronic device
CN107479951A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Process management-control method, device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102148948B1 (en) * 2013-12-06 2020-08-27 삼성전자주식회사 Multi tasking method of electronic apparatus and electronic apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106681722A (en) * 2016-12-27 2017-05-17 努比亚技术有限公司 Process processing method and electronic device
CN107479951A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 Process management-control method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109992323A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109144232B (en) Process processing method and device, electronic equipment and computer readable storage medium
WO2019128546A1 (en) Application program processing method, electronic device, and computer readable storage medium
CN112703714A (en) Application program processing method and device, computer equipment and computer readable storage medium
CN110032267B (en) Information processing method and device, mobile terminal and computer readable storage medium
CN108541013B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992965B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN109992364B (en) Application freezing method and device, computer equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992380B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992323B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN110018905B (en) Information processing method, information processing apparatus, computer device, and computer-readable storage medium
CN109992375B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992363B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN109992309B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110046033B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
CN110032397B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN109992369B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992362B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109375995B (en) Application freezing method and device, storage medium and electronic equipment
CN110045811B (en) Application program processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant