CN110046033B - Application program processing method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN110046033B
CN110046033B CN201810032308.2A CN201810032308A CN110046033B CN 110046033 B CN110046033 B CN 110046033B CN 201810032308 A CN201810032308 A CN 201810032308A CN 110046033 B CN110046033 B CN 110046033B
Authority
CN
China
Prior art keywords
application program
application
processed
electronic equipment
equipment
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
CN201810032308.2A
Other languages
Chinese (zh)
Other versions
CN110046033A (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 CN201810032308.2A priority Critical patent/CN110046033B/en
Publication of CN110046033A publication Critical patent/CN110046033A/en
Application granted granted Critical
Publication of CN110046033B publication Critical patent/CN110046033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/504Resource capping

Landscapes

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

Abstract

The application provides an application program processing method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: detecting the connection state of the electronic equipment and the external equipment; if the external equipment is disconnected with the electronic equipment, acquiring a to-be-processed application program of a signal input or output by the external equipment; and freezing the application program to be processed. According to the application program processing method and device, the electronic equipment and the computer readable storage medium, when the external equipment is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic equipment is reduced.

Description

Application program 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 an application processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The intelligent device can realize different application operations through the application program, such as viewing videos through a video application program. The application program can be frozen, the frozen application program can not continue to run, and processor resources in the intelligent device cannot be occupied. However, since the application program is still present in the smart device, resources such as memory and hardware in the smart device are also occupied.
Disclosure of Invention
The embodiment of the application program processing method and device, the electronic equipment and the computer readable storage medium can reduce the consumption of resources in the electronic equipment.
An application processing method, comprising:
detecting the connection state of the electronic equipment and the external equipment;
if the external equipment is disconnected with the electronic equipment, acquiring a to-be-processed application program of a signal input or output by the external equipment;
and freezing the application program to be processed.
An application processing apparatus comprising:
the state detection module is used for detecting the connection state of the electronic equipment and the external equipment;
the application acquisition module is used for acquiring a to-be-processed application program of a signal input or output by the external equipment if the external equipment is disconnected with the electronic equipment;
and the application processing module is used for freezing the application program to be processed.
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:
detecting the connection state of the electronic equipment and the external equipment;
if the external equipment is disconnected with the electronic equipment, acquiring a to-be-processed application program of a signal input or output by the external equipment;
and freezing the application program to be processed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting the connection state of the electronic equipment and the external equipment;
if the external equipment is disconnected with the electronic equipment, acquiring a to-be-processed application program of a signal input or output by the external equipment;
and freezing the application program to be processed.
According to the application processing method and device, the electronic equipment and the computer readable storage medium, the electronic equipment can detect the connection state of the electronic equipment and the external equipment, if the external equipment is disconnected, the application to be processed of signals input or output through the external equipment is obtained, and the application to be processed is frozen. When the external device is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic device is reduced. Meanwhile, the application program to be processed does not input or output signals any more, so that the input or output signals are prevented from being processed effectively, and the accuracy of information processing 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 diagram of an application environment for a method for processing an application program according to an embodiment;
FIG. 2 is a schematic diagram showing an internal configuration of an electronic apparatus according to an embodiment;
FIG. 3 is a flow diagram of a method for application processing in one embodiment;
FIG. 4 is a flowchart of an application processing method in another embodiment;
FIG. 5 is a diagram illustrating a state change of an application in one embodiment;
FIG. 6 is a partial architectural diagram of an electronic device in one embodiment;
FIG. 7 is a block diagram of an application processing device in one embodiment;
FIG. 8 is a diagram showing the structure of an application processing apparatus according to another embodiment;
fig. 9 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.
FIG. 1 is a diagram illustrating an application environment of an application processing method according to an embodiment. As shown in FIG. 1, the application environment includes a client 102 and a server 104. The client 102 can be installed with an application program, and in the running process of the application program, the client 102 can detect the connection state with the external equipment in real time; if the external equipment is detected to be disconnected, acquiring the application program to be processed of the input or output signal of the external equipment; and freezing the application program to be processed. The server 104 may be used to push application processing algorithms to the client 102, according to which the client 102 processes the application. The client 102 is an electronic device located at the outermost periphery of the computer network and mainly used for inputting user information and outputting a processing result, and may be, for example, a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, and the like. The server 104 is a device, such as one or more computers, for responding to service requests while providing computing services. It is understood that in other embodiments provided herein, the application environment of the application processing method may comprise only the client 102.
As shown in fig. 2, 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, instruction codes and/or 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 application program 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 an application processing 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. 2 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.
FIG. 3 is a flow diagram that illustrates a method for processing an application in one embodiment. The application processing method in this embodiment is described by taking the application processing method running on the terminal or the server in fig. 1 as an example. As shown in fig. 3, the application processing method includes steps 302 to 306. Wherein:
step 302, detecting a connection state of the electronic device and the external device.
In one embodiment, the external device refers to a device externally connected to the electronic device, and the electronic device can input or output data through the external device. Specifically, the external device may be configured to collect data, upload the collected data to the electronic device, and the electronic device may process the data uploaded by the external device. For example, external device can be intelligent bracelet, and data such as user's rhythm of the heart, walking step number can be gathered to the intelligent bracelet, then the intelligent bracelet can be with these data uploads of gathering to the cell-phone in showing, supply the user to look over. The external equipment can also be used for outputting a control signal to the electronic equipment, and the electronic equipment operates according to the control signal after receiving the control signal. For example, the external device may be a game pad, and after the computer is connected to the game pad, the game can be played through the game pad. The external device can also be used for receiving data transmitted by the electronic device and outputting the data transmitted by the electronic device. For example, the external device may be an earphone, and when the earphone is connected to a mobile phone, the earphone may output a sound signal of the mobile phone.
Generally, an electronic device provides a connection interface for an external device, and the external device can be connected to the electronic device through the connection interface. The interface may be wired or wireless. For example, the connection interface may be a USB (Universal Serial Bus) interface, an earphone interface, a power interface, a Bluetooth (Bluetooth) interface, etc., and is not limited in this embodiment. It can be understood that the electronic device can manage the connection state of the external device, and the electronic device can determine the connection state of the external device through the value of the state tag of the interface. For example, the state tag of the external device may be a state, and when the state value is 0, it indicates that the external device is not connected; when the state value is 1, it indicates that an external device is connected.
And 304, if the external device is disconnected from the electronic device, acquiring the application program to be processed of the input or output signal of the external device.
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 games through a game-like application, may watch videos through a video-like application, may play music through a music-like application, and so on. 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 id is used to uniquely identify a process. 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.
When the external device is connected to the electronic device, the external device may input a signal to the electronic device, and then process the signal through an application program in the electronic device. The application program in the electronic device can also send signals to the external device and then process the signals through the external device. For example, a video application may output an image signal through an external display screen, and a music application may output an audio signal through an external earphone. If the electronic equipment is detected to be disconnected with the external equipment, the application program of the signal input or output through the external equipment can be acquired as the application program to be processed, and the application program to be processed is processed.
Step 306, freezing the application program to be processed.
And in the running process of the application program to be processed, signals can be input or output through the external equipment. When the electronic equipment detects that the external equipment is disconnected, the application program to be processed can be frozen. The application program to be processed entering the frozen state cannot continue to run. For example, when a music application plays music through a headphone, the music application can be frozen when the headphone is detected to be pulled out. The application program playing music will not continue to run and will not play music. The frozen application program to be processed can be awakened, and the awakened application program to be processed can continue to run.
In the application processing method provided by the above embodiment, the electronic device may detect a connection state with the external device, and if the external device is disconnected, obtain the to-be-processed application that inputs or outputs a signal through the external device, and freeze the to-be-processed application. When the external device is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic device is reduced. Meanwhile, the application program to be processed does not input or output signals any more, so that the input or output signals are prevented from being processed effectively, and the accuracy of information processing is improved.
Fig. 4 is a flowchart of an application processing method in another embodiment. The application processing method in this embodiment is described by taking the application processing method running on the terminal or the server in fig. 1 as an example. As shown in fig. 4, the application processing method includes steps 402 to 416. Wherein:
step 402, detecting a connection state of the electronic device and the external device.
In one embodiment, the electronic device sends a broadcast signal when the external device is connected or disconnected. The application installed in the electronic device may receive the broadcast signal through a registered broadcast receiver (BroadcastReceiver), and the application registered with the broadcast receiver may receive the broadcast signal sent from the electronic device, so as to monitor the connection state of the external device through the received broadcast signal. For example, in the Android system, when the earphone is plugged in or pulled out, a broadcast signal ACTION _ Headset _ PLUG is sent out, after the application program receives the broadcast signal, the connection state of the earphone can be judged through the value of a state tag in the broadcast signal, the value of the state can be 0, 1 or 2, 0 indicates that the earphone is not plugged in, and 1 indicates that the earphone is plugged in.
It is understood that the electronic device and the external device may transmit data, and a connection needs to be established before transmitting data. For example, the electronic device and the external device may establish connection through bluetooth, after the external device opens the bluetooth, the electronic device may search for the external device through bluetooth, send a connection request to the external device after searching for the external device, and after the external device agrees to the connection request, the electronic device may establish connection with the external device.
In step 404, if the external device is disconnected from the electronic device, a signal input or output by the external device is obtained.
And when the external equipment is detected to be disconnected with the electronic equipment, acquiring a signal input or output by the external equipment. In particular, the signal may be of the audio signal, image signal, character signal, or the like type. For example, the electronic device may play a video through the external display screen, where the played video is a continuous image frame sequence, and the electronic device may send the continuous image frame sequence to the external display screen and play the video through the external display screen. Assuming that the played consecutive image frames include 10 image frames, the image frames corresponding to the first image frame to the last image frame are respectively identified as "01", "02". Then the circumscribed display screen can be played in the order of "01" → "02" → "03" → "04" → "05" → "06" → "07" → "08" → "09" → "10".
And 406, acquiring the application identifier carried in the signal, and acquiring the application program to be processed according to the application identifier.
The acquired signal generally contains information such as signal content, signal transmission time, application identifier, etc., and the application program transmitting the signal or the application program receiving the signal can be determined according to the application identifier. The application identifier is a unique identifier for distinguishing different application programs, and may specifically be a package name (packageaname) of an application program. For example, the package name of the application may be com. And acquiring the application program to be processed according to the application program identification. And then acquiring the application program to be processed according to the application identifier.
Specifically, acquiring the application program to be processed according to the application identifier may include: acquiring the device type of the external device, and acquiring a target application program according to the device type; and acquiring the application program to be processed from the target application program according to the application identifier. The external device can be classified into different device types according to the signal type of the signal that the external device can input or output. For example, the signal may include an image signal, an audio signal, a character signal, etc., and the external device may be classified according to the type of the signal that the external device can output. Specifically, after the electronic device detects that the external device is connected, the electronic device may record the device identifier of the external device establishing the connection, then obtain the device type of the external device, and correspondingly store the device identifier and the device type.
When the external device is detected to be disconnected, the device identification of the disconnected external device is obtained, and the corresponding device type is obtained according to the device identification. The electronic device can also establish the relationship between the device type and the application program in advance, and then can acquire the target application program through the device type. For example, if the external device can only output the audio signal, the corresponding application program is the application program that can output the audio signal; if the external device can only output the image signal, the corresponding application program is the application program capable of outputting the image signal. And acquiring the target application program according to the equipment type, and acquiring the application program to be processed from the target application program according to the application identifier contained in the signal. Therefore, when the application program to be processed is obtained, the related application program can be quickly positioned, and each application program is not required to be compared once, so that the searching efficiency of the application program to be processed is improved.
Step 408, determining whether the signal input or output by the application program to be processed through the external device is an instant communication signal.
In one embodiment, the instant communication signal refers to a signal that needs to be sent or received instantly, for example, when a call is made, the output voice signal can be an instant communication signal; when the video call is carried out, the output image signal and the voice signal are instant communication signals. When the external equipment is detected to be disconnected, whether a signal input or output by the application program to be processed through the external equipment is an instant communication signal or not can be judged, and if the signal is detected to be the instant communication signal, the application program to be processed is not frozen; and if the signal is not detected to be the instant communication signal, freezing the application program to be processed.
It can be understood that the real-time requirement of the instant messaging signal is relatively high during transmission, and generally, in the process of instant messaging, a user can master the operation condition of the electronic device in real time. If the external device is disconnected in the instant messaging process, the application program to be applied is not frozen in order to ensure the quality of the instant messaging. Specifically, when transmitting signals, the signals may be prioritized and marked by priority tags. For example, an instant messaging signal may be marked as a higher priority signal; the application program of the system application program can also be set to be higher priority, and the importance of the signal can be judged through the priority label. The priority of the signal input or output by the application program to be processed through the external equipment can be judged to be lower than the priority threshold, and if not, the application program to be processed is frozen.
And step 410, if not, acquiring the disconnection duration from the moment when the external equipment is disconnected to the current moment.
In order to prevent user error, the external device is disconnected. The disconnection duration from the moment when the external equipment is disconnected to the current moment can be obtained, and if the disconnection duration exceeds a duration threshold, the application program to be processed can be frozen; and if the disconnection time length does not exceed the time length threshold, not freezing the application program to be processed. For example, the time threshold may be set to 5 seconds, and if the disconnection time exceeds 5 seconds, the application to be processed is frozen.
Specifically, when detecting that the external device is disconnected, the electronic device starts a timer to start timing. The timer established by the electronic equipment can establish a corresponding relation with the application program to be processed, and when the disconnection of the external equipment is detected, the timer is started to start timing. Specifically, a corresponding relationship between an application identifier of the application program to be processed and a timing identifier of the timer is established in advance, and the timer is searched and started to start timing through the timing identifier corresponding to the application identifier to be processed. Taking an Android system as an example, the system defines a timer in advance, acquires the application program to be processed when detecting disconnection of the external device, and searches for the corresponding timer through the application identifier of the application program to be processed. The timer is cleared by a timer method, and then started by a timer function, starting the timing.
In step 412, if the disconnection duration exceeds the duration threshold, the operating state of the electronic device is detected.
In the embodiment provided by the application, after the external device is disconnected, the working state of the electronic device can be detected, and the freezing of the application program to be processed can be controlled according to the working state of the electronic device. The operating state of the electronic device can be divided into a screen locking state and an unlocking state. When the screen is locked, the operation interface of the electronic equipment is locked, and the user cannot operate the electronic equipment. When the electronic equipment is in the unlocking state, the operation interface of the electronic equipment is unlocked, and a user can perform certain operation on the electronic equipment. Generally, an electronic device in a screen locking state can be unlocked only by a user through preset operation. For example, a predetermined sliding track may be set on the screen of the electronic device, and if the user slides according to the predetermined sliding track, the electronic device may be unlocked; or a password input interface can be arranged on the operation interface of the electronic equipment, and the electronic equipment can be unlocked only when a user inputs a correct password.
And step 414, freezing the application program to be processed if the electronic equipment is in the screen locking state.
When the electronic device is in the unlocked state, it is indicated that the user is operating the electronic device, and the application program to be processed may not be frozen when the external device is disconnected. When the electronic equipment is in the screen locking state, the application program to be processed can be frozen if the user does not operate the electronic equipment.
In step 416, if it is detected that the external device is connected to the electronic device, the application program to be processed is awakened.
When the external device is detected to be reconnected with the electronic device, the application program to be processed in the frozen state can be awakened. And the application program to be processed after being awakened can be restarted to run. In the Android system, various methods are available for freezing and waking up the application program. Taking one of them as an example, the application can be set to the frozen state by a pm (PACKAGE manager) command, in which the application can be set to the frozen state by a freeze command pm disable [ -USER _ ID ] PACKAGE _ OR _ COMPONENT, and then the application in the frozen state can also be waken up by a unfreeze command pm enable [ -USER _ ID ] PACKAGE _ OR _ COMPONENT, and the application list in the frozen state is obtained by a freeze list query command pm list PACKAGEs-d to view the application in the frozen state.
It can be understood that, in the present application, the application processing method is described by taking the Android Operating System as an example, but the application 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).
FIG. 5 is a diagram illustrating a state change of an application in one embodiment. As shown in fig. 5, when the disconnection of the external device is detected, the application program to be processed may be frozen. And when the external equipment is connected, awakening the application program to be processed. When the application program to be processed is in the frozen state, the application program to be processed does not run, and the corresponding resource occupancy rate cannot be changed. When the system is in the awakening state, the application program to be processed can run, and the occupancy rate of resources in the running process is not limited.
In one embodiment, after the pending application is woken up, the pending application may be controlled to enter a resource restricted state. And the resource occupancy rate of the application program in the resource limiting state to the electronic equipment during running is less than the occupancy rate threshold value. The resource refers to software or hardware resources that are necessary for the electronic device to process an application event, such as a Central Processing Unit (CPU), a Memory (Memory), hardware, a network resource, and an Input-Output (IO) of the electronic device.
Specifically, the application program to be processed may be controlled to enter the resource restriction state according to the total resource occupancy rate of the acquired electronic device. The total resource occupancy rate refers to a ratio of occupied resources of the electronic device, and generally refers to a ratio of occupied resources to total resources, which can be expressed in a percentage form. For example, if the total memory of the device has 128GB and the already occupied memory has 56GB, the total resource occupancy of the device can be expressed as the memory occupancy, and the obtained memory occupancy is 43.75%. The resource occupancy rates of all the application programs can be counted in real time in the running process of the electronic equipment, the resource occupancy rates of the application programs refer to the proportion of the resources used by one application program to all the resources of the electronic equipment, and the resource occupancy rates of all the application programs in the electronic equipment are added to obtain the total resource occupancy rates.
The total resource occupancy rate can be compared with the total occupancy rate threshold value, if the total resource occupancy rate exceeds the total occupancy rate threshold value, the available resources of the electronic equipment are considered to be less, and the awakened application program to be processed can be controlled to enter a resource limiting state. It can be understood that, when the application program to be processed is in the resource restriction state, the resource occupancy rate in the running process cannot exceed the occupancy rate threshold, so that the use of the application program to be processed on the resources of the electronic device can be controlled, and the resources of the electronic device can be saved. It is understood that the total occupancy threshold is greater than the occupancy threshold. For example, when the total CPU occupancy exceeds 50%, the CPU occupancy for controlling the woken-up application to be processed to run cannot exceed 5% so as to reduce the excessive consumption of the CPU by the woken-up application to be processed. In a mobile phone system, resource occupancy rates of a CPU, a memory, an IO, and the like of an awakened to-be-processed application program may be controlled by a control group (cgroups), that is, the awakened to-be-processed application program is controlled to enter a resource restriction state.
Specifically, the resource occupation condition may be controlled according to the application priority of the application program to be processed, the correspondence between the application priority of the application program and the resource restriction level is pre-established, and then the resource restriction level entering the resource restriction state is controlled according to the application priority of the application program to be processed. The application priority of the application program to be processed refers to the importance degree of the application program to be processed, and can be set in advance. For example, the system-level application may be set to a higher application priority and the third-party application may be set to a lower application priority. Or the application priority of the application program can be set according to the type of the application program, the application program of the instant messaging class is set to be higher in application priority, and the application program of the tool class is set to be lower in application priority. The application priority of the application program may also be set according to other criteria, which are not specifically limited herein. The resource restriction level refers to a degree of restriction on a resource used by an application program. Acquiring an application priority corresponding to an application program to be processed, and acquiring a corresponding resource limit level according to the application priority; and controlling the awakened application program to be processed to enter a resource limiting state corresponding to the resource limiting level. For example, the pending application corresponding to the system level may be set to a light resource limit and the third party pending application may be set to a deep resource limit.
It will be appreciated that different applications may depend on different resources, and the type of resource restriction of an application may be controlled based on the type of resource on which the application depends. For example, some local applications may use less network resources, while some applications that need to perform network communication use more network resources, and may limit the network resources for the applications that use more network resources. Specifically, resource occupation history data of the awakened application program to be processed is obtained, a dependent resource type corresponding to the application program to be processed is obtained according to the resource occupation history data, and the awakened application program to be processed is controlled to enter a resource limiting state according to the dependent resource type and the resource limiting level. The resource occupation history data refers to data of resources which are historically occupied by the application program, and the dependent resource type is the type of the resource which is depended on when the application program runs.
In one embodiment, a corresponding relationship between the total resource occupancy and the resource restriction level may also be established. And when the total resource occupancy rate exceeds the total occupancy rate threshold value, acquiring a resource limit level according to the total resource occupancy rate, and then controlling the awakened application program to be processed to enter a resource limit state corresponding to the resource limit level. For example, if the total occupancy threshold is 50%, when the total resource occupancy exceeds 50%, the total resource occupancy is divided into three occupancy levels, i.e., 50% to 60%, 60% to 80%, 80% to 100%, and the three occupancy levels respectively correspond to a light resource restriction level, a normal resource restriction level, and a deep resource restriction level, and corresponding resource restriction levels can be obtained according to the total resource occupancy, and the occupancy thresholds corresponding to different resource restriction levels are different. It is to be understood that the resource limit level may also be obtained by combining the total resource occupancy rate and the application priority of the woken application to be processed, which is not limited herein.
In the application processing method provided by the above embodiment, the electronic device may detect a connection state with the external device, and if the external device is disconnected, obtain the to-be-processed application that inputs or outputs a signal through the external device. And controlling the freezing of the application program to be processed according to the signal type, the disconnection time length, the working state of the electronic equipment and the like. When the external device is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic device is reduced. Meanwhile, the application program to be processed does not input or output signals any more, so that the input or output signals are prevented from being processed effectively, and the accuracy of information processing is improved. Meanwhile, the application program to be processed is frozen according to the signal type, the disconnection time length, the working state of the electronic equipment and the like, and the application program can be processed more accurately.
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.
In one embodiment, as shown in FIG. 6, a partial architecture diagram of an electronic device is provided. The architecture system of the electronic device includes a JAVA space layer 61, a local framework layer 62, and a Kernel space layer 63. Policy applications 610 may be included on the JAVA space layer 61, and the electronic device may initiate a freeze and thaw policy for each application through the policy applications 610, so as to implement a freeze and thaw operation for each application in the electronic device. For example, the policy application 610 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 62 includes a resource priority and restriction management module 620 and a platform freeze management module 622. 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 620, and adjust the priority and the resource group of the application program according to the requirements 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 622, 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 63 includes a UID management module 630, a Cgroup module 632, a timeout freeze exit module 634, a Binder management and control module 636, and a process memory recycling module 638. The UID management module 630 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 632 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 634 is used to resolve the exception generated by the freeze timeout scenario. The Binder management and control module 636 is used for controlling the priority of background Binder communication. The process memory recycling module 638 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-mentioned architecture, the application processing method in the embodiments of the present application can be realized.
FIG. 7 is a block diagram of an application processing device in one embodiment. As shown in fig. 7, the application processing apparatus 700 includes a state detection module 702, an application acquisition module 704, and an application processing module 706. Wherein:
the state detection module 702 is configured to detect a connection state between the electronic device and the external device.
An application obtaining module 704, configured to obtain a to-be-processed application program that inputs or outputs a signal through the external device if the external device is disconnected from the electronic device.
And an application processing module 706, configured to freeze the application to be processed.
In the application processing apparatus provided in the foregoing embodiment, the electronic device may detect a connection state with the external device, and if the external device is disconnected, obtain the to-be-processed application that inputs or outputs a signal through the external device, and freeze the to-be-processed application. When the external device is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic device is reduced. Meanwhile, the application program to be processed does not input or output signals any more, so that the input or output signals are prevented from being processed effectively, and the accuracy of information processing is improved.
Fig. 8 is a schematic structural diagram of an application processing apparatus according to another embodiment. As shown in fig. 8, the application processing apparatus 800 includes a frame number acquisition module 802, a class acquisition module 804, a policy acquisition module 806, an application processing module 808, and an application restoration module 810. Wherein:
the state detection module 802 is configured to detect a connection state between the electronic device and an external device;
an application obtaining module 804, configured to obtain a to-be-processed application program that inputs or outputs a signal through the external device if the external device is disconnected from the electronic device;
an application processing module 806, configured to freeze the application to be processed.
And the application awakening module 808 is configured to awaken the application program to be processed if it is detected that the external device is connected to the electronic device.
In the application processing apparatus provided in the foregoing embodiment, the electronic device may detect a connection state with the external device, and if the external device is disconnected, obtain the to-be-processed application that inputs or outputs a signal through the external device, and freeze the to-be-processed application. When the external device is pulled out, the application program to be processed can be frozen, the application program to be processed is prevented from continuously running, and the occupation of the application program on the resources of the electronic device is reduced. Meanwhile, the application program to be processed does not input or output signals any more, so that the input or output signals are prevented from being processed effectively, and the accuracy of information processing is improved. When the reconnection of the external equipment is detected, the application program to be processed is awakened, and the accuracy of processing the application program is improved.
In one embodiment, the application acquiring module 804 is further configured to acquire a signal input or output through the external device; and acquiring an application identifier carried in the signal, and acquiring the application program to be processed according to the application identifier.
In an embodiment, the application obtaining module 804 is further configured to obtain a device type of the external device, and obtain the target application program according to the device type; and acquiring the application program to be processed from the target application program according to the application identifier.
In one embodiment, the application processing module 806 is further configured to determine whether a signal input or output by the to-be-processed application program through the external device is an instant messaging signal; and if not, freezing the application program to be processed.
In one embodiment, the application processing module 806 is further configured to obtain a disconnection duration from the time when the external device is disconnected to the current time; and if the disconnection time length exceeds a time length threshold value, freezing the application program to be processed.
In one embodiment, the application processing module 806 is further configured to detect an operating state of the electronic device; and if the electronic equipment is in a screen locking state, freezing the application program to be processed.
The division of the modules in the application processing apparatus is only for illustration, and in other embodiments, the application processing apparatus may be divided into different modules as needed to complete all or part of the functions of the application processing apparatus.
The implementation of each module in the application 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 constituted 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 application processing methods provided by the above-described embodiments.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the application processing method provided by the above embodiments.
The embodiment of the application also provides the electronic equipment. As shown in fig. 9, 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 the mobile phone as an example:
fig. 9 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. 9, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuit 960, wireless fidelity (WiFi) module 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 9 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 910 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 980; 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 910 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)), e-mail, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 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, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 920 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 930 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 900. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, which may also be referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (e.g., a user operating the touch panel 931 or near the touch panel 931 by using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 931 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 the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch panel 931 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 930 may include other input devices 932 in addition to the touch panel 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), and the like.
The display unit 940 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 940 may include a display panel 941. In one embodiment, the Display panel 941 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 931 may overlay the display panel 941, and when the touch panel 931 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 980 to determine the type of touch event, and then the processor 980 provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in fig. 9, the touch panel 931 and the display panel 941 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 may be integrated to implement the input and output functions of the mobile phone.
Cell phone 900 may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 941 and/or backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor 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 960, speaker 961 and microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then outputs the audio data to the processor 980 for processing, and then the audio data can be transmitted to another mobile phone through the RF circuit 910, or the audio data can be output to the memory 920 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 970, and provides wireless broadband Internet access for the user. Although fig. 9 shows WiFi module 970, it is to be understood that it does not belong to the essential components of cell phone 900 and may be omitted as desired.
The processor 980 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 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. In one embodiment, processor 980 may include one or more processing units. In one embodiment, the processor 980 may integrate an application processor and a modem processor, wherein 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 the processor 980.
The handset 900 also includes a power supply 990 (e.g., a battery) for supplying power to various components, which may preferably be logically connected to the processor 980 via 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 900 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, when the processor 980 included in the electronic device executes the computer program stored in the memory, the steps of the application 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. An application processing method, comprising:
detecting the connection state of the electronic equipment and the external equipment;
if the external equipment is disconnected with the electronic equipment, acquiring a to-be-processed application program of a signal input or output by the external equipment;
judging whether the signal input or output by the application program to be processed through the external equipment is an instant communication signal or not;
if not, detecting the working state of the electronic equipment;
and if the electronic equipment is in a screen locking state, freezing the application program to be processed.
2. The method of claim 1, wherein the obtaining the application to be processed for inputting or outputting the signal through the external device comprises:
acquiring a signal input or output through the external equipment;
and acquiring an application identifier carried in the signal, and acquiring the application program to be processed according to the application identifier.
3. The method of claim 2, wherein the obtaining the application program to be processed according to the application identifier comprises:
acquiring the equipment type of the external equipment, and acquiring a target application program according to the equipment type;
and acquiring the application program to be processed from the target application program according to the application identifier.
4. The method of claim 1, wherein the electronic device provides a connection interface to the external device, and the detecting the connection status of the electronic device and the external device comprises:
and judging the connection state of the external equipment according to the value of the state label of the connection interface.
5. The method of claim 1, wherein said freezing the pending application comprises:
acquiring disconnection duration from the moment of disconnection of the external equipment to the current moment;
and if the disconnection time length exceeds a time length threshold value, freezing the application program to be processed.
6. The method of any of claims 1 to 5, wherein said freezing the pending application further comprises:
and if the external equipment is detected to be connected with the electronic equipment, awakening the application program to be processed.
7. The method of claim 6, wherein after the waking of the pending application, the method further comprises:
acquiring the total resource occupancy rate of the electronic equipment;
and controlling the application program to be processed to enter a resource limiting state according to the total resource occupancy rate, wherein the resource occupancy rate of the application program in the resource limiting state to the electronic equipment is smaller than an occupancy rate threshold value when the application program in the resource limiting state runs.
8. An application processing apparatus, comprising:
the state detection module is used for detecting the connection state of the electronic equipment and the external equipment;
the application acquisition module is used for acquiring a to-be-processed application program of a signal input or output by the external equipment if the external equipment is disconnected with the electronic equipment;
the application processing module is used for judging whether a signal input or output by the application program to be processed through the external equipment is an instant communication signal; if not, detecting the working state of the electronic equipment; and if the electronic equipment is in a screen locking state, freezing the application program to be processed.
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.
CN201810032308.2A 2018-01-12 2018-01-12 Application program processing method and device, electronic equipment and computer readable storage medium Active CN110046033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032308.2A CN110046033B (en) 2018-01-12 2018-01-12 Application program processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810032308.2A CN110046033B (en) 2018-01-12 2018-01-12 Application program processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110046033A CN110046033A (en) 2019-07-23
CN110046033B true CN110046033B (en) 2021-08-17

Family

ID=67264282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032308.2A Active CN110046033B (en) 2018-01-12 2018-01-12 Application program processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110046033B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241322A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Memory management method and device and mobile device
CN115834751A (en) * 2022-11-09 2023-03-21 惠州市德赛西威智能交通技术研究院有限公司 Detection method, detection system and storage medium for mobile phone interconnection equipment
CN118158779A (en) * 2022-12-07 2024-06-07 中兴通讯股份有限公司 Application processing method, system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147732A (en) * 1999-11-22 2001-05-29 Solvex Co Method for restarting personal computer by connected mouse, keyboard or scanner, and means for the method
CN106200876A (en) * 2016-07-11 2016-12-07 珠海市魅族科技有限公司 Applied program processing method and system
CN106371870A (en) * 2016-08-30 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Control method and apparatus for wearable device application program
CN106713490A (en) * 2017-01-19 2017-05-24 努比亚技术有限公司 Network application-based process freezing and unfreezing apparatus and method
CN107436805A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 A kind of method and device for freezing application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147732A (en) * 1999-11-22 2001-05-29 Solvex Co Method for restarting personal computer by connected mouse, keyboard or scanner, and means for the method
CN107436805A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 A kind of method and device for freezing application
CN106200876A (en) * 2016-07-11 2016-12-07 珠海市魅族科技有限公司 Applied program processing method and system
CN106371870A (en) * 2016-08-30 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Control method and apparatus for wearable device application program
CN106713490A (en) * 2017-01-19 2017-05-24 努比亚技术有限公司 Network application-based process freezing and unfreezing apparatus and method

Also Published As

Publication number Publication date
CN110046033A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN107272872B (en) Power saving control method and related product
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
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
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992364B (en) Application freezing method and device, computer equipment and computer readable storage medium
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992380B (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
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992375B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN109992363B (en) Application program 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
CN109992323B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN110018885B (en) Application program freezing method and device, storage medium and terminal
CN107659718B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN109992369B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN110045994B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110045811B (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
CN109992362B (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: OPPO Guangdong Mobile Communications Co.,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