WO2020093292A1 - Application freezing method and apparatus, and electronic device - Google Patents

Application freezing method and apparatus, and electronic device Download PDF

Info

Publication number
WO2020093292A1
WO2020093292A1 PCT/CN2018/114465 CN2018114465W WO2020093292A1 WO 2020093292 A1 WO2020093292 A1 WO 2020093292A1 CN 2018114465 W CN2018114465 W CN 2018114465W WO 2020093292 A1 WO2020093292 A1 WO 2020093292A1
Authority
WO
WIPO (PCT)
Prior art keywords
target application
application
processes
identification information
electronic device
Prior art date
Application number
PCT/CN2018/114465
Other languages
French (fr)
Chinese (zh)
Inventor
陈岩
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201880097730.4A priority Critical patent/CN112997132A/en
Priority to PCT/CN2018/114465 priority patent/WO2020093292A1/en
Publication of WO2020093292A1 publication Critical patent/WO2020093292A1/en

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of electronic equipment, in particular to a method, device and electronic equipment for applying freezing.
  • the industry has proposed a freezing method for the background application management of electronic devices.
  • the freezing method can identify and prohibit running unnecessary applications, and then unfreeze when the user needs to run the application to restore the application to operation.
  • the freezing method can effectively solve the problem that the electronic device still consumes power when the screen is off.
  • the present application discloses a method, an apparatus, and an electronic device for freezing an application, so that when the electronic device is turned off, the application can be completely frozen to put the electronic device into a standby state.
  • the embodiments of the present application provide a method for application freezing, which is applied to electronic devices and includes:
  • the electronic device If the electronic device is in a screen-off state, detect whether a target application holds a power lock, the target application is an application in the electronic device currently in a running state, and the power lock is used to indicate that the target application is in a screen-off state In the state, it still keeps running state;
  • the target application holds the power lock, release the power lock of the target application, and perform a freeze operation on the target application according to the identification information of the target application.
  • An embodiment of the present application further provides an application freezing device, including:
  • the screen detection module is used to determine whether the electronic device is in a screen-off state
  • An application detection module configured to detect whether the target application holds a power lock in the screen-off state, the target application is each application currently running in the electronic device, and the power lock is used to indicate the target application When it is in the off state, it still keeps running;
  • the control module is configured to release the power lock of the target application and perform a freezing operation on the target application according to the identification information of the target application.
  • An embodiment of the present application further provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is executed to freeze the application as described above A step of.
  • An embodiment of the present application further provides a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for freezing an application as described above are implemented.
  • the present application discloses a method, an apparatus, and an electronic device for freezing an application.
  • the electronic device can completely freeze the application when the screen is off, thereby solving the problem The problem that the electronic device still consumes power when the screen is off.
  • the method and apparatus for freezing the application and the condition for the electronic device to control the application to resume operation are to unlock the electronic device, thereby solving a misoperation that causes the electronic device to brighten the screen and resume running the application Case.
  • FIG. 1 is a flowchart of a method for application freezing disclosed in an embodiment of the present application
  • FIG. 3 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an application freezing device disclosed in an embodiment of the present application.
  • FIG. 7 is a block diagram of a partial structure of an electronic device disclosed in an embodiment of the present application.
  • Embodiments of the present application disclose a method, an apparatus, and an electronic device for freezing an application, so that the application can be completely frozen when the electronic device is turned off, and the application cannot be resumed due to a misoperation, thereby saving the electronic device Power consumption and CPU occupancy to reduce the running time of the electronic device.
  • a flowchart of a method for applying freezing disclosed in an embodiment of the present application is applied to the electronic device.
  • the method includes the steps of:
  • the electronic device may include a smart phone (such as an Android phone, an IOS phone, etc.), a personal computer, a tablet computer, a handheld computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable smart device and other Internet devices
  • a smart phone such as an Android phone, an IOS phone, etc.
  • a personal computer such as an Android phone, an IOS phone, etc.
  • a tablet computer such as a Samsung Galaxy S, etc.
  • a handheld computer such as a tablet computer
  • MID Mobile Internet Devices
  • the screen off state refers to a state where the screen of the electronic device is off.
  • some applications in the electronic device will be frozen first, such as dynamic wallpapers, foreground applications, some system applications, default input methods, and default desktops.
  • the process of freezing the application first is called 1.0 freezing operation, it should be noted that the method of application freezing involved in this application is not for applications that have been frozen by the 1.0 freezing operation, but for the unfiltered after the 1.0 freezing operation.
  • Frozen application refers to that the application is not frozen in the freezing operation, that is, the application is still running.
  • the target application refers to an application that is still in a running state after the 1.0 freeze operation, that is, an application that is still in a running state when the electronic device is in a screen-off state.
  • the target targeted by the method of application freezing involved in this application is the target application.
  • the power lock is a wakelock included in the application.
  • the wakelock is a lock mechanism. As long as the application holds the wakelock, the CPU cannot enter the sleep state and is always in a working state. For example, when the phone screen is turned off, some applications can still wake up the screen to prompt the user message. Here is the wakelock lock mechanism. Although the phone screen is turned off, these applications will still keep running.
  • the target application Due to the existence of the power lock, namely the wakelock, the target application is still in a running state when the electronic device is off the screen. It can be understood that, before performing the freezing operation on the target application, the power lock held by the target application needs to be released.
  • the target application involved in the application freezing method provided in this application may hold a timeout lock or a permanent lock.
  • the timeout lock performs an automatic unlocking operation over time.
  • the permanent lock requires external intervention to unlock.
  • the identification information of the target application includes identity identification information, process identification information, and the like of the target application.
  • the electronic device may perform a freezing operation on all processes of the application according to the identification information of the target application.
  • the method for freezing an application disclosed in this application determines whether it is necessary to perform a freezing operation by determining whether the electronic device is in a screen-off state. If the electronic device is in the screen-off state, it detects the application in the running state at the current moment, and detects whether the application in the running state holds the power lock. If yes, freeze the application according to the identification information of the application after releasing the power lock.
  • the present application realizes that the application is completely frozen when the electronic device is in the off-screen state, which can effectively solve the problem that the electronic device still consumes power in the off-screen state.
  • the identification information of the target application includes:
  • the application number UID of the target application is the application number UID of the target application.
  • the Android system assigns a different application number UID to each application. For example, if the target application is the application A currently running in the electronic device, and the application number UID corresponding to the target application is 2, then the The application number UID is 2.
  • the application number UID of the target application is essentially the identification information of the target application in the system, in fact, as long as the target application can be identified within the scope of protection of this application, not only Limited to the commonly used application number UID.
  • an application program is composed of multiple processes, and each of the processes has its corresponding process number PID.
  • the application number UID of the target application A be 2
  • the process corresponding to the target application A be a1, a2, a3, a4, and the process corresponding to the process a1, a2, a3, a4
  • the process number PID is 11, 12, 13, 14 respectively
  • the process number PID corresponding to each process a1, a2, a3, a4 under the application number 2 obtained at this time is 11, 12, 13, 14.
  • the process number PID is essentially the identity of each process under the target application. In fact, as long as the process can be identified within the protection scope of the present invention, it is not limited to the commonly used process number PID.
  • Each process ID PID corresponds to a record file under the process.
  • the process record file under one process contains the process identification information of all the processes started by the process. For example, if the application number UID of the target application A is 2, and the corresponding process number PID is 11, 12, 13, 14, then the process log files corresponding to each process number PID are respectively a11 .procs, a12.procs, a13.procs, a14.procs.
  • the common process recording file is cgroups.procs.
  • the process identification information of all the processes started by the process is recorded in the process recording file, they are within the scope of protection of the present invention, and are not limited to commonly The process record file.
  • the method also includes:
  • the identification information of all processes of the target application acquired according to the log file.
  • the identification information of the process in this embodiment may include the process number PID, process name, process status, process priority, and CPU time occupied by the process. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • the S30 includes:
  • S301 Acquire all the processes of the target application according to the identification information of all the processes
  • S303 Determine the identification information of the process that the target application is not currently frozen according to the identification information of all processes
  • S304 Acquire all the unfrozen processes of the target application according to the identification information of the unfrozen processes
  • the identification information of all processes includes the process number PID, the process name, the process status, the process priority, the process occupied CPU time, etc., according to the target application
  • the identification information of all the processes can obtain all the processes of the target application. After acquiring all the processes, the electronic device performs a freezing operation on all the processes.
  • the electronic device may also determine the identification information of the currently unfrozen process of the target application according to the identification information of all the processes of the target application, and then according to the unfrozen process
  • the identification information such as the process number PID, the process name, etc. acquires all the processes of the target application that are not frozen.
  • the electronic device may perform a freeze operation on all the processes that are not frozen, that is, freeze all the processes that are not frozen.
  • the method further includes:
  • the electronic device performs a freeze operation on the target application in accordance with the identification information of the target application.
  • the electronic device may perform a freezing operation on all the processes of the target application according to the identification information of the target application .
  • the identification information of the target application includes the application number UID of the target application, each process number PID under the application number UID, the recording file under the process corresponding to each process number PID and Identification information of all the processes of the target application acquired by the recording file.
  • the identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • the method further includes:
  • the wake-up condition refers to unlocking the electronic device. It can be understood that in actual operation, the electronic device may be bright due to accidentally touching the electronic device. At this time, the electronic device will wake up some applications such as dynamic wallpaper, foreground application, some system applications, and default input method. And the default desktop. If the operation of this wake-up application is recorded as a 1.0 wake-up operation, it should be noted that the wake-up operation performed in step S50 described in this application is not a 1.0 wake-up operation.
  • the step S50 includes:
  • S503 Perform a wake-up operation on all the processes of the target application that have been frozen.
  • the identification information of all the processes of the frozen target application includes the application number UID of the frozen target application, each process number PID under the application number UID, Each process number PID corresponds to the log file under the process and the identification information of all the processes of the target application acquired according to the log file.
  • the identification information of all processes may include the process number PID, the process name, the process status, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • the electronic device may acquire all prime processes of the target application that have been frozen according to the identification information of all processes, and perform a wake-up operation on all the processes of the target application that have been frozen.
  • the wakeup operation resumes running all the processes of the target application that have been frozen.
  • the present application provides a device for applying freezing.
  • the device includes:
  • the screen detection module 21 is used to determine whether the electronic device is in a screen-off state
  • the application detection module 22 is configured to detect whether the target application holds a power lock in a screen-off state, the target application is each application currently in a running state in the electronic device, and the power lock is used to indicate the target When the application is in the off-screen state, it still keeps running;
  • the control module 23 is configured to release the power lock of the target application and perform a freezing operation on the target application according to the identification information of the target application.
  • the screen detection module 21 may be used to determine whether the electronic device is in a screen-off state, and then determine whether the electronic device should perform a freeze operation. If the screen is off, the application detection module 22 detects whether the target application holds the power lock. The target application is each application currently running in the electronic device. The power lock is used to indicate that the target application remains in the running state when it is in the off-screen state. After the application detection module 22 detects the power lock held by the target application, the control module 23 releases the power lock held by the target application. At this time, the control module may perform a freezing operation on the target application according to the identification information of the target application.
  • the identification information of the target application includes:
  • the application number UID of the target application is the application number UID of the target application.
  • the application number UID of the target application is essentially the identification information of the target application in the system. It can be understood that, because the Andriod system is a single-user system, in order to realize data sharing, the Android system assigns a different application number UID to each application. For example, if the target application is the application A currently running in the electronic device, and the application number UID corresponding to the target application is 2, then the The application number UID is 2.
  • an application program is composed of multiple processes, and each of the processes has its corresponding process number PID.
  • the application number of the target application A is 2, the process corresponding to the target application A is a1, a2, a3, a4, and the process number corresponding to the process a1, a2, a3, a4
  • the PIDs are 11, 12, 13, and 14, respectively, and the process numbers PID corresponding to the processes a1, a2, a3, and a4 under the application number UID obtained at this time are 11, 12, respectively. 13, 14.
  • the process number PID is essentially the identity of each process under the target application. In fact, as long as the process can be identified within the protection scope of the present invention, it is not limited to the commonly used process number PID.
  • the PID of each process number corresponds to the record file under the process.
  • the process record file under a process contains the process identification information of all the processes started by the process. For example, if the application number UID of the target application A is 2, and the corresponding process number PID is 11, 12, 13, 14, then the process record file corresponding to each process number is a11. procs, a12.procs, a13.procs, a14.procs.
  • the common process recording file is cgroups.procs.
  • the process recording file records the process identification information of all the processes started by the process, the process identification information is within the scope of protection of the present invention, and is not limited to commonly used The process record file.
  • the application detection module is further used to: obtain identification information of all processes of the target application obtained according to the log file.
  • the identification information of the process in this embodiment may include the process number PID, process name, process status, process priority, and CPU time occupied by the process. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • control module is also used to:
  • a freeze operation is performed on all the acquired processes that are not frozen.
  • the control module 23 can obtain all the processes of the target application according to the identification information of the all processes of the target application.
  • the identification information of all processes includes the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. After acquiring all the processes, the control module 23 performs a freeze operation on all the processes.
  • the control module 23 may also determine the identification information of the currently unfrozen process of the target application according to the identification information of all processes of the target application, and then according to the unfrozen process of the process
  • the identification information such as the process number PID, the process name, etc. acquires all the processes of the target application that are not frozen.
  • the control module 23 may perform a freezing operation on all the processes that are not frozen, that is, freeze all the processes that are not frozen.
  • control module 23 is further configured to: perform a freeze operation on the target application according to the identification information of the target application.
  • the control module 23 may perform freezing on all the processes of the target application according to the identification information of the target application operating.
  • the identification information of the target application includes the application number UID of the target application, each process number PID under the application number UID, and each process number PID corresponding to the record under the process A file and identification information of all processes of the target application acquired according to the log file.
  • the identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • control module 23 is further configured to: after being detected by the screen detection module 21, if the electronic device is in a bright screen state and the wake-up condition is satisfied, wake up all frozen Describe the target application.
  • the screen state of the electronic device is detected by the screen detection module 21, and after the detection, the electronic device is in a bright screen state.
  • the wake-up condition refers to unlocking the electronic device. It can be understood that in actual operation, the electronic device may be bright due to accidentally touching the electronic device. At this time, the electronic device will wake up some applications such as dynamic wallpaper, foreground application, some system applications, and default input method. And the default desktop. If the operation of this wake-up application is recorded as a 1.0 wake-up operation, it should be noted that the control module 23 of the present application wakes up not the application awakened in the 1.0 wake-up operation, but the method involved in freezing the application Of the target application that has been frozen.
  • control module 23 wakes up the target application that has been frozen, including:
  • a wake-up operation is performed on all the processes of the target application that have been frozen.
  • the identification information of all the processes of the frozen target application includes the application number UID of the frozen target application, each process number PID under the application number UID, the Each process number PID corresponds to the log file under the process and the identification information of all the processes of the target application acquired according to the log file.
  • the identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
  • the control module 23 may acquire all the processes of the target application that have been frozen according to the identification information of all processes, and perform wake-up on all the processes of the target application that have been frozen operating. The wakeup operation resumes running all the processes of the target application that have been frozen.
  • An embodiment of the present application further provides an electronic device, including a memory 720 and a processor 780.
  • the memory 720 stores a computer program, and is characterized in that, when the computer program is executed by the processor 780, the computer program
  • the processor 780 performs the steps of application freezing as described above.
  • the electronic device may be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, wearable device, etc.
  • the electronic device is Mobile phone as an example:
  • the mobile phone includes: a radio frequency (Radio Frequency) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 7570, a processor 780 , And power supply 790 and other components.
  • a radio frequency (Radio Frequency) circuit 710 for detecting radio frequency (Radio Frequency) signal from a radio frequency (Radio Frequency) circuit 710
  • a memory 720 includes: a radio frequency (Radio Frequency) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 7570, a processor 780 , And power supply 790 and other components.
  • WiFi wireless fidelity
  • FIG. 7 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of certain components, or a
  • the RF circuit 710 can be used for receiving and sending signals during sending and receiving information or during a call. It can receive the downlink information of the base station and process it to the processor 780; it can also send the uplink data to the base station.
  • RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on.
  • the RF circuit 710 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Message Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Message Service
  • the memory 720 may be used to store software programs and modules.
  • the processor 780 executes various functional applications and data processing of the mobile phone by running 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, where the program storage area may store an operating system and applications required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc .;
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 730 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile phone 700.
  • the input unit 730 may include a touch panel 731 and other input devices 732.
  • the touch panel 731 also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc. on or near the touch panel 731 Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 731 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 780, and can receive the command sent by the processor 780 and execute it.
  • the touch panel 731 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 730 may also include other input devices 732.
  • 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.).
  • 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.
  • the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event, and then the processor 780 according to The type of touch event provides a corresponding visual output on the display panel 741.
  • the touch panel 731 and the display panel 741 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated and Realize the input and output functions of the mobile phone.
  • the mobile phone 700 may further include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may close the display panel 741 and / or when the mobile phone moves to the ear Or backlight.
  • the motion sensor may include an acceleration sensor, which can detect the magnitude of acceleration in various directions through the acceleration sensor, and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching), and vibration recognition-related functions (such as Pedometer, percussion), etc.
  • the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor and so on.
  • the audio circuit 760, the speaker 761, and the microphone 762 may provide an audio interface between the user and the mobile phone.
  • the audio circuit 760 can transmit the received electrical signal converted to electrical signals to the speaker 761, which is converted into a sound signal output by the speaker 761; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 760 After receiving, it is converted into audio data, and then processed by the audio data output processor 780, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for subsequent processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access.
  • FIG. 7 shows the WiFi module 770, it can be understood that it is not a necessary component of the mobile phone 700, and may be omitted as needed.
  • the processor 780 is the control center of the mobile phone, connects various parts of the entire mobile phone with various interfaces and lines, executes or executes the software programs and / or modules stored in the memory 720, and calls the data stored in the memory 720 to execute Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
  • the processor 780 may include one or more processing units.
  • the processor 780 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 780.
  • the mobile phone 700 further includes a power supply 790 (such as a battery) for powering various components.
  • a power supply 790 (such as a battery) for powering various components.
  • the power supply can be logically connected to the processor 780 through a power management system, so as to realize functions such as charging, discharging, and power consumption management through the power management system.
  • the mobile phone 700 may further include a camera, a Bluetooth module, and the like.
  • Non-volatile memory may 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.
  • RAM is available in many 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), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

An application freezing method and apparatus, and an electronic device. The method comprises: determining whether an electronic device is in an off-screen state (S10); if the electronic device is in the off-screen state, detecting whether a target application holds a power lock, wherein the target application is an application, which is currently running, in the electronic device, and the power lock is used to indicate that the target application still remains in a running state when the target application is in the off-screen state (S20); and if the target application holds the power lock, releasing the power lock of the target application, and executing a freezing operation on the target application according to identification information of the target application (S30). The application freezing method and apparatus, and the electronic device can make the electronic device enter a standby state after completely freezing an application in an off-screen state, thereby saving on power consumption and CPU usage amount of the electronic device.

Description

应用冻结的方法、装置及电子设备Application freezing method, device and electronic equipment 技术领域Technical field
本申请涉及电子设备技术领域,特别是涉及一种应用冻结的方法、装置及电子设备。The present application relates to the technical field of electronic equipment, in particular to a method, device and electronic equipment for applying freezing.
背景技术Background technique
随着互联网技术的发展,人们对电子设备性能的要求越来越高。而在平时,为了丰富电子设备的各项功能,人们往往下载很多类型的应用程序。但在电子设备处于灭屏状态时,这些应用程序通常会继续运行,占用电子设备的运行空间,导致电子设备无法进入待机状态,且耗电量也在不断增加。With the development of Internet technology, people are increasingly demanding the performance of electronic devices. However, in order to enrich various functions of electronic devices, people often download many types of applications. However, when the electronic device is in the off state, these applications usually continue to run, occupying the running space of the electronic device, resulting in the electronic device not being able to enter the standby state, and the power consumption is also increasing.
目前业界针对电子设备的后台应用管理提出了冻结的方法。冻结的方法可以识别并禁止运行不必要的应用,在用户需要运行应用时再解冻,使应用恢复运行。冻结的方法可以有效解决电子设备灭屏状态下仍然消耗电量的问题。At present, the industry has proposed a freezing method for the background application management of electronic devices. The freezing method can identify and prohibit running unnecessary applications, and then unfreeze when the user needs to run the application to restore the application to operation. The freezing method can effectively solve the problem that the electronic device still consumes power when the screen is off.
但是,传统的冻结技术无法有效冻结某些正在运行的应用,应用冻结不彻底使电子设备无法进入待机状态。However, the traditional freezing technology cannot effectively freeze some running applications, and the application freezing does not completely prevent the electronic device from entering the standby state.
发明内容Summary of the invention
有鉴于此,本申请公开一种应用冻结的方法、装置及电子设备,以实现在电子设备灭屏时,可以彻底冻结应用使所述电子设备进入待机状态。In view of this, the present application discloses a method, an apparatus, and an electronic device for freezing an application, so that when the electronic device is turned off, the application can be completely frozen to put the electronic device into a standby state.
本申请实施例提供一种应用冻结的方法,应用于电子设备,包括:The embodiments of the present application provide a method for application freezing, which is applied to electronic devices and includes:
判断所述电子设备是否处于灭屏状态;Determine whether the electronic device is in the off-screen state;
若所述电子设备处于灭屏状态,检测目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的应用,所述电源锁用于指示所述目 标应用处于灭屏状态时,仍然保持运行状态;If the electronic device is in a screen-off state, detect whether a target application holds a power lock, the target application is an application in the electronic device currently in a running state, and the power lock is used to indicate that the target application is in a screen-off state In the state, it still keeps running state;
若所述目标应用持有所述电源锁,释放所述目标应用的所述电源锁,并根据所述目标应用的识别信息对所述目标应用执行冻结操作。If the target application holds the power lock, release the power lock of the target application, and perform a freeze operation on the target application according to the identification information of the target application.
本申请实施例还提供一种应用冻结的装置,包括:An embodiment of the present application further provides an application freezing device, including:
屏幕检测模块,用于判断所述电子设备是否处于灭屏状态;The screen detection module is used to determine whether the electronic device is in a screen-off state;
应用检测模块,用于检测灭屏状态下所述目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的各应用,所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态;An application detection module, configured to detect whether the target application holds a power lock in the screen-off state, the target application is each application currently running in the electronic device, and the power lock is used to indicate the target application When it is in the off state, it still keeps running;
控制模块,用于释放所述目标应用的所述电源锁和根据所述目标应用的识别信息对所述目标应用执行冻结操作。The control module is configured to release the power lock of the target application and perform a freezing operation on the target application according to the identification information of the target application.
本申请实施例还提供一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上所述的应用冻结的步骤。An embodiment of the present application further provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is executed to freeze the application as described above A step of.
本申请实施例还提供一种计算机非易失性可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用冻结的方法的步骤。An embodiment of the present application further provides a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for freezing an application as described above are implemented.
从上述的技术方案可知,本申请公开了一种应用冻结的方法、装置及电子设备,通过释放应用持有的电源锁,使所述电子设备在灭屏状态时可彻底冻结应用,从而解决所述电子设备灭屏状态下仍然消耗电量的问题。在所述电子设备处于亮屏状态时,所述应用冻结的方法、装置及电子设备控制应用恢复运行的条件为解锁所述电子设备,从而解决误操作使所述电子设备亮屏而恢复运行应用的情况。It can be seen from the above technical solution that the present application discloses a method, an apparatus, and an electronic device for freezing an application. By releasing the power lock held by the application, the electronic device can completely freeze the application when the screen is off, thereby solving the problem The problem that the electronic device still consumes power when the screen is off. When the electronic device is in a bright screen state, the method and apparatus for freezing the application and the condition for the electronic device to control the application to resume operation are to unlock the electronic device, thereby solving a misoperation that causes the electronic device to brighten the screen and resume running the application Case.
因此,本申请实现了电子设备冻结时,彻底冻结应用,且不会因误操作恢复应用,从而节省电子设备耗电量和CPU占用量。Therefore, in this application, when the electronic device is frozen, the application is completely frozen, and the application is not restored due to a misoperation, thereby saving power consumption and CPU occupation of the electronic device.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据公开的附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, without paying any creative labor, other drawings can be obtained based on the published drawings.
图1为本申请实施例公开的一种应用冻结的方法流程图;FIG. 1 is a flowchart of a method for application freezing disclosed in an embodiment of the present application;
图2为本申请实施例公开的一种应用冻结的方法流程图;2 is a flowchart of an application freezing method disclosed in an embodiment of the present application;
图3为本申请实施例公开的一种对应用冻结的方法流程图;3 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application;
图4为本申请实施例公开的一种对应用冻结的方法流程图;4 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application;
图5为本申请实施例公开的一种对应用冻结的方法流程图;5 is a flowchart of a method for freezing an application disclosed in an embodiment of the present application;
图6为本申请实施例公开的一种应用冻结的装置结构示意图;6 is a schematic structural diagram of an application freezing device disclosed in an embodiment of the present application;
图7为本申请实施例公开的一种电子设备的部分结构的框图。7 is a block diagram of a partial structure of an electronic device disclosed in an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请实施例公开了一种应用冻结的方法、装置及电子设备,以实现在所述电子设备灭屏时可彻底冻结应用,且不会因为误操作恢复运行应用,进而可以节省所述电子设备的耗电量和CPU占用量,减少所述电子设备的运行时间。Embodiments of the present application disclose a method, an apparatus, and an electronic device for freezing an application, so that the application can be completely frozen when the electronic device is turned off, and the application cannot be resumed due to a misoperation, thereby saving the electronic device Power consumption and CPU occupancy to reduce the running time of the electronic device.
参见图1,本申请一实施例公开的一种应用冻结的方法流程图,该方法应用于所述电子设备,所述方法包括步骤:Referring to FIG. 1, a flowchart of a method for applying freezing disclosed in an embodiment of the present application is applied to the electronic device. The method includes the steps of:
S10,判断所述电子设备是否处于灭屏状态。S10. Determine whether the electronic device is in a screen-off state.
在实际使用中,所述电子设备可以包括智能手机(如Android手机、IOS手机等)、个人电脑、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。In actual use, the electronic device may include a smart phone (such as an Android phone, an IOS phone, etc.), a personal computer, a tablet computer, a handheld computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable smart device and other Internet devices The embodiment of the present invention is not limited.
所述灭屏状态指的是所述电子设备屏幕关闭的状态。本申请中,当所述电子设备处于灭屏状态时,所述电子设备中的一部分应用会被首先冻结,如动态壁纸、前台应用、部分系统应用、默认输入法和默认桌面等。若将首先冻结应用的过程称为1.0冻结操作,则需要说明的是,本申请所涉及到的应用冻结的方法不针对1.0冻结操作已冻结的应用,而是针对经过1.0冻结操作后被过滤未冻结的应用。所述过滤指的是在冻结操作中应用未被冻结进程,即应用仍处于运行状态。The screen off state refers to a state where the screen of the electronic device is off. In this application, when the electronic device is in a screen-off state, some applications in the electronic device will be frozen first, such as dynamic wallpapers, foreground applications, some system applications, default input methods, and default desktops. If the process of freezing the application first is called 1.0 freezing operation, it should be noted that the method of application freezing involved in this application is not for applications that have been frozen by the 1.0 freezing operation, but for the unfiltered after the 1.0 freezing operation. Frozen application. The filtering refers to that the application is not frozen in the freezing operation, that is, the application is still running.
S20,若所述电子设备处于灭屏状态,检测目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的应用,所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态。S20, if the electronic device is in the off-screen state, detect whether the target application holds a power lock, the target application is an application currently in the running state in the electronic device, and the power lock is used to indicate that the target application is in When the screen is off, it still keeps running.
所述目标应用指的是经所述1.0冻结操作后仍处于运行状态的应用,即所述电子设备处于灭屏状态时仍处于运行状态的应用。本申请涉及的应用冻结的方法针对的目标即为所述目标应用。The target application refers to an application that is still in a running state after the 1.0 freeze operation, that is, an application that is still in a running state when the electronic device is in a screen-off state. The target targeted by the method of application freezing involved in this application is the target application.
所述电源锁即为应用所包含的wakelock,所述wakelock是一种锁的机制,只要应用持有wakelock,CPU就无法进入休眠状态,一直处于工作状态。比如,手机屏幕在屏幕关闭的时候,有些应用依然可以唤醒屏幕提示用户消息,这里就是用到了wakelock锁机制,虽然手机屏幕关闭了,但是这些应用会仍然保持运行状态。The power lock is a wakelock included in the application. The wakelock is a lock mechanism. As long as the application holds the wakelock, the CPU cannot enter the sleep state and is always in a working state. For example, when the phone screen is turned off, some applications can still wake up the screen to prompt the user message. Here is the wakelock lock mechanism. Although the phone screen is turned off, these applications will still keep running.
S30,若所述目标应用持有所述电源锁,释放所述目标应用的所述电源锁,并根据所述目标应用的识别信息对所述目标应用执行冻结操作。S30: If the target application holds the power lock, release the power lock of the target application, and perform a freeze operation on the target application according to the identification information of the target application.
由于所述电源锁即wakelock的存在,所述目标应用在所述电子设备灭屏状 态时仍处于运行状态。可以理解的是,在对所述目标应用执行冻结操作之前,需释放所述目标应用持有的所述电源锁。本申请所提供的应用冻结的方法涉及到的所述目标应用可以持有超时锁,也可以持有永久锁。所述超时锁随时间推移执行自动解锁操作。所述永久锁需要外界干预解锁。Due to the existence of the power lock, namely the wakelock, the target application is still in a running state when the electronic device is off the screen. It can be understood that, before performing the freezing operation on the target application, the power lock held by the target application needs to be released. The target application involved in the application freezing method provided in this application may hold a timeout lock or a permanent lock. The timeout lock performs an automatic unlocking operation over time. The permanent lock requires external intervention to unlock.
所述目标应用的识别信息包括所述目标应用的身份识别信息、进程识别信息等。所述电子设备可以根据所述目标应用的识别信息对所述应用的所有进程执行冻结操作。The identification information of the target application includes identity identification information, process identification information, and the like of the target application. The electronic device may perform a freezing operation on all processes of the application according to the identification information of the target application.
综上,本申请公开的应用冻结的方法,通过判断所述电子设备是否处于灭屏状态确定是否需要执行冻结操作。若所述电子设备处于灭屏状态,则检测当前时刻处于运行状态的应用,并检测所述处于运行状态的应用是否持有所述电源锁。若有,释放所述电源锁后根据所述应用的识别信息冻结应用。In summary, the method for freezing an application disclosed in this application determines whether it is necessary to perform a freezing operation by determining whether the electronic device is in a screen-off state. If the electronic device is in the screen-off state, it detects the application in the running state at the current moment, and detects whether the application in the running state holds the power lock. If yes, freeze the application according to the identification information of the application after releasing the power lock.
因此,本申请实现了在所述电子设备灭屏状态时彻底冻结应用,可有效解决所述电子设备灭屏状态下仍然消耗电量的问题。Therefore, the present application realizes that the application is completely frozen when the electronic device is in the off-screen state, which can effectively solve the problem that the electronic device still consumes power in the off-screen state.
上述实施例中,所述目标应用的识别信息包括:In the above embodiment, the identification information of the target application includes:
所述目标应用的应用号UID。The application number UID of the target application.
可以理解的是,因为Andriod系统为单用户系统,为了实现数据共享,Android系统为每个应用都分配了不同的所述应用号UID。例如,设所述目标应用为所述电子设备中当前处于运行状态的应用A,同时所述目标应用对应的所述应用号UID为2,则此时获取到的所述目标应用A的所述应用号UID为2。It can be understood that, because the Andriod system is a single-user system, in order to realize data sharing, the Android system assigns a different application number UID to each application. For example, if the target application is the application A currently running in the electronic device, and the application number UID corresponding to the target application is 2, then the The application number UID is 2.
所述目标应用的所述应用号UID实质上是所述目标应用在所述系统中的身份识别信息,事实上,只要能对所述目标应用进行标识均在本申请的保护范围内,并不只限于常用的所述应用号UID。The application number UID of the target application is essentially the identification information of the target application in the system, in fact, as long as the target application can be identified within the scope of protection of this application, not only Limited to the commonly used application number UID.
所述应用号UID下的各进程号PID。Each process number PID under the application number UID.
可以理解的是,一个应用程序由多个进程组成,其中每个所述进程都有各 自对应的所述进程号PID。例如,设所述目标应用A的所述应用号UID为2,所述目标应用A对应的所述进程为a1、a2、a3、a4,且所述进程a1、a2、a3、a4对应的所述进程号PID分别为11、12、13、14,则此时获取到的所述应用号为2下的各所述进程a1、a2、a3、a4对应的所述进程号PID分别为11、12、13、14。It can be understood that an application program is composed of multiple processes, and each of the processes has its corresponding process number PID. For example, let the application number UID of the target application A be 2, the process corresponding to the target application A be a1, a2, a3, a4, and the process corresponding to the process a1, a2, a3, a4 The process number PID is 11, 12, 13, 14 respectively, then the process number PID corresponding to each process a1, a2, a3, a4 under the application number 2 obtained at this time is 11, 12, 13, 14.
所述进程号PID实质上是各所述进程在所述目标应用下的身份标识。事实上,只要能对所述进程进行标识均在本发明的保护范围内,并不只限于常用的所述进程号PID。The process number PID is essentially the identity of each process under the target application. In fact, as long as the process can be identified within the protection scope of the present invention, it is not limited to the commonly used process number PID.
各所述进程号PID对应进程下的记录文件。Each process ID PID corresponds to a record file under the process.
可以理解的是,一个所述进程下的所述进程记录文件里包含了通过该所述进程启动的所有所述进程的所述进程识别信息。例如,设所述目标应用A的所述应用号UID为2,对应的所述进程号PID为11、12、13、14,则各所述进程号PID对应的所述进程记录文件分别为a11.procs、a12.procs、a13.procs、a14.procs。It can be understood that the process record file under one process contains the process identification information of all the processes started by the process. For example, if the application number UID of the target application A is 2, and the corresponding process number PID is 11, 12, 13, 14, then the process log files corresponding to each process number PID are respectively a11 .procs, a12.procs, a13.procs, a14.procs.
在Andriod系统中,常见的所述进程记录文件为cgroups.procs。在IOS系统和其他系统中,需要看通过该所述进程启动的所有所述进程的进程识别信息具体存放的位置。事实上,在其他任何系统中,只要该所述进程记录文件里记录了通过该所述进程启动的所有所述进程的所述进程识别信息均在本发明的保护范围内,并不只限于常用的所述进程记录文件。In the Andriod system, the common process recording file is cgroups.procs. In the IOS system and other systems, it is necessary to look at the specific storage location of the process identification information of all the processes started by the process. In fact, in any other system, as long as the process identification information of all the processes started by the process is recorded in the process recording file, they are within the scope of protection of the present invention, and are not limited to commonly The process record file.
所述方法还包括:The method also includes:
根据所述记录文件获取的所述目标应用的所有进程的识别信息。The identification information of all processes of the target application acquired according to the log file.
可以理解的是,本实施例中的所述进程的识别信息可以包含所述进程号PID、进程名、进程状态、进程优先级、所述进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设 定。It can be understood that the identification information of the process in this embodiment may include the process number PID, process name, process status, process priority, and CPU time occupied by the process. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
参见图2,上述实施例中,所述S30包括:Referring to FIG. 2, in the above embodiment, the S30 includes:
S301,根据所述所有进程的识别信息获取所述目标应用的所有所述进程;S301: Acquire all the processes of the target application according to the identification information of all the processes;
S302,对所述获取的所述所有所述进程执行冻结操作;S302, perform a freeze operation on all the acquired processes;
或,or,
S303,根据所述所有进程的识别信息确定出所述目标应用当前未被冻结的所述进程的识别信息;S303: Determine the identification information of the process that the target application is not currently frozen according to the identification information of all processes;
S304,根据所述未被冻结的所述进程的识别信息,获取所述目标应用的未被冻结的所有所述进程;S304: Acquire all the unfrozen processes of the target application according to the identification information of the unfrozen processes;
S305,对获取的所述所有未被冻结的所述进程执行冻结操作。S305: Perform a freeze operation on the acquired all processes that are not frozen.
本实施例中,所述所有进程的识别信息包括所述进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等,根据所述目标应用的所述所有进程的识别信息可获得所述目标应用的所有所述进程。获取所述所有所述进程后,由所述电子设备对所述所有所述进程执行冻结操作。所述电子设备也可以根据所述目标应用的所述所有进程的识别信息确定出所述目标应用当前所述未被冻结的所述进程的识别信息,再根据所述未被冻结的所述进程的识别信息如所述进程号PID、所述进程名等获取所述目标应用的所述未被冻结的所有所述进程。所述电子设备可对所述所有未被冻结的所述进程执行冻结操作,即冻结所有未被冻结的所述进程。In this embodiment, the identification information of all processes includes the process number PID, the process name, the process status, the process priority, the process occupied CPU time, etc., according to the target application The identification information of all the processes can obtain all the processes of the target application. After acquiring all the processes, the electronic device performs a freezing operation on all the processes. The electronic device may also determine the identification information of the currently unfrozen process of the target application according to the identification information of all the processes of the target application, and then according to the unfrozen process The identification information such as the process number PID, the process name, etc. acquires all the processes of the target application that are not frozen. The electronic device may perform a freeze operation on all the processes that are not frozen, that is, freeze all the processes that are not frozen.
参见图3,在本申请的一个实施例中,所述方法还包括:Referring to FIG. 3, in an embodiment of the present application, the method further includes:
S40,若所述目标应用不持有所述电源锁,则由所述电子设备根据所述目标应用的识别信息对所诉目标应用执行冻结操作。S40. If the target application does not hold the power lock, the electronic device performs a freeze operation on the target application in accordance with the identification information of the target application.
所述目标应用不持有所述电源锁后,在所述电子设备处于灭屏状态时,所述电子设备可根据所述目标应用的识别信息对所述目标应用的所有所述进程执 行冻结操作。所述目标应用的识别信息包括所述目标应用的所述应用号UID、所述应用号UID下的各所述进程号PID、所述各进程号PID对应进程下的所述记录文件和根据所述记录文件获取的所述目标应用的所述所有进程的识别信息。所述所有进程的识别信息可以包含所述进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设定。After the target application does not hold the power lock, when the electronic device is in a screen-off state, the electronic device may perform a freezing operation on all the processes of the target application according to the identification information of the target application . The identification information of the target application includes the application number UID of the target application, each process number PID under the application number UID, the recording file under the process corresponding to each process number PID and Identification information of all the processes of the target application acquired by the recording file. The identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
参见图4,在本申请一实施例中,所述方法还包括:Referring to FIG. 4, in an embodiment of the present application, the method further includes:
S50,若所述电子设备处于亮屏状态,且满足唤醒条件,则唤醒已被冻结的所述目标应用。S50. If the electronic device is in a bright screen state and the wakeup condition is satisfied, wake up the target application that has been frozen.
所述唤醒条件指的是解锁所述电子设备。可以理解的是,在实际操作中,会因为误触所述电子设备导致所述电子设备亮屏,此时所述电子设备会唤醒一些应用如动态壁纸、前台应用、部分系统应用、默认输入法和默认桌面等。若将此唤醒应用的操作记为1.0唤醒操作,则需要说明的是,本申请所述的步骤S50执行的唤醒操作不是1.0唤醒操作。The wake-up condition refers to unlocking the electronic device. It can be understood that in actual operation, the electronic device may be bright due to accidentally touching the electronic device. At this time, the electronic device will wake up some applications such as dynamic wallpaper, foreground application, some system applications, and default input method. And the default desktop. If the operation of this wake-up application is recorded as a 1.0 wake-up operation, it should be noted that the wake-up operation performed in step S50 described in this application is not a 1.0 wake-up operation.
参见图5在本申请一实施例中,所述步骤S50包括:Referring to FIG. 5, in an embodiment of the present application, the step S50 includes:
S501,获取所述已被冻结的所述目标应用的所述所有进程的识别信息;S501: Obtain identification information of all processes of the target application that has been frozen;
S502,根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有所述进程;S502, acquiring all the processes of the target application that have been frozen according to the identification information of all the processes;
S503,对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。S503: Perform a wake-up operation on all the processes of the target application that have been frozen.
所述已被冻结的所述目标应用的所述所有进程的识别信息包括所述已被冻结的所述目标应用的所述应用号UID、所述应用号UID下的各所述进程号PID、所述各进程号PID对应进程下的所述记录文件和根据所述记录文件获取的所述目标应用的所述所有进程的识别信息。所述所有进程的识别信息可以包含所述 进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设定。The identification information of all the processes of the frozen target application includes the application number UID of the frozen target application, each process number PID under the application number UID, Each process number PID corresponds to the log file under the process and the identification information of all the processes of the target application acquired according to the log file. The identification information of all processes may include the process number PID, the process name, the process status, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
所述电子设备可根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有素数进程,并对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。所述唤醒操作即恢复运行所述已被冻结的所述目标应用的所有所述进程。The electronic device may acquire all prime processes of the target application that have been frozen according to the identification information of all processes, and perform a wake-up operation on all the processes of the target application that have been frozen. The wakeup operation resumes running all the processes of the target application that have been frozen.
参见图6,本申请提供了一种应用冻结的装置,所述装置包括:Referring to FIG. 6, the present application provides a device for applying freezing. The device includes:
屏幕检测模块21,用于判断所述电子设备是否处于灭屏状态;The screen detection module 21 is used to determine whether the electronic device is in a screen-off state;
应用检测模块22,用于检测灭屏状态下所述目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的各应用,所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态;The application detection module 22 is configured to detect whether the target application holds a power lock in a screen-off state, the target application is each application currently in a running state in the electronic device, and the power lock is used to indicate the target When the application is in the off-screen state, it still keeps running;
控制模块23,用于释放所述目标应用的所述电源锁和根据所述目标应用的识别信息对所述目标应用执行冻结操作。The control module 23 is configured to release the power lock of the target application and perform a freezing operation on the target application according to the identification information of the target application.
所述屏幕检测模块21可用于判断所述电子设备是否处于灭屏状态,进而判断所述电子设备是否应该执行冻结操作。若处于灭屏状态,则,由所述应用检测模块22检测所述目标应用是否持有所述电源锁。所述目标应用为所述电子设备中当前处于运行状态的各应用。所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态。所述应用检测模块22检测到所述目标应用持有的所述电源锁后,由所述控制模块23释放所述目标应用持有的所述电源锁。此时,所述控制模块可根据所述目标应用的识别信息对所述目标应用执行冻结操作。The screen detection module 21 may be used to determine whether the electronic device is in a screen-off state, and then determine whether the electronic device should perform a freeze operation. If the screen is off, the application detection module 22 detects whether the target application holds the power lock. The target application is each application currently running in the electronic device. The power lock is used to indicate that the target application remains in the running state when it is in the off-screen state. After the application detection module 22 detects the power lock held by the target application, the control module 23 releases the power lock held by the target application. At this time, the control module may perform a freezing operation on the target application according to the identification information of the target application.
在本申请一个实施例中,所述目标应用的识别信息包括:In an embodiment of the present application, the identification information of the target application includes:
所述目标应用的应用号UID。The application number UID of the target application.
本实施例中,所述目标应用的应用号UID实质上是所述目标应用在所述系统中的身份识别信息。可以理解的是,因为Andriod系统为单用户系统,为了实现数据共享,Android系统为每个应用都分配了不同的所述应用号UID。例如,设所述目标应用为所述电子设备中当前处于运行状态的应用A,同时所述目标应用对应的所述应用号UID为2,则此时获取到的所述目标应用A的所述应用号UID为2。In this embodiment, the application number UID of the target application is essentially the identification information of the target application in the system. It can be understood that, because the Andriod system is a single-user system, in order to realize data sharing, the Android system assigns a different application number UID to each application. For example, if the target application is the application A currently running in the electronic device, and the application number UID corresponding to the target application is 2, then the The application number UID is 2.
事实上,只要能对所述目标应用进行标识均在本申请的保护范围内,并不只限于常用的所述应用号UID。In fact, as long as the target application can be identified within the protection scope of the present application, it is not limited to the commonly used application number UID.
所述应用号UID下的各进程号PID。Each process number PID under the application number UID.
可以理解的是,一个应用程序由多个进程组成,其中每个所述进程都有各自对应的所述进程号PID。例如,设所述目标应用A的应用号为2,所述目标应用A对应的所述进程为a1、a2、a3、a4,且所述进程a1、a2、a3、a4对应的所述进程号PID分别为11、12、13、14,则此时获取到的所述应用号UID为2下的各所述进程a1、a2、a3、a4对应的所述进程号PID分别为11、12、13、14。It can be understood that an application program is composed of multiple processes, and each of the processes has its corresponding process number PID. For example, suppose the application number of the target application A is 2, the process corresponding to the target application A is a1, a2, a3, a4, and the process number corresponding to the process a1, a2, a3, a4 The PIDs are 11, 12, 13, and 14, respectively, and the process numbers PID corresponding to the processes a1, a2, a3, and a4 under the application number UID obtained at this time are 11, 12, respectively. 13, 14.
所述进程号PID实质上是各所述进程在所述目标应用下的身份标识。事实上,只要能对所述进程进行标识均在本发明的保护范围内,并不只限于常用的所述进程号PID。The process number PID is essentially the identity of each process under the target application. In fact, as long as the process can be identified within the protection scope of the present invention, it is not limited to the commonly used process number PID.
所述各进程号PID对应进程下的记录文件。The PID of each process number corresponds to the record file under the process.
可以理解的是,一个进程下的所述进程记录文件里包含了通过该所述进程启动的所有所述进程的所述进程的识别信息。例如,设所述目标应用A的所述应用号UID为2,对应的所述进程号PID为11、12、13、14,则各所述进程号对应的所述进程记录文件分别为a11.procs、a12.procs、a13.procs、a14.procs。It can be understood that the process record file under a process contains the process identification information of all the processes started by the process. For example, if the application number UID of the target application A is 2, and the corresponding process number PID is 11, 12, 13, 14, then the process record file corresponding to each process number is a11. procs, a12.procs, a13.procs, a14.procs.
在Andriod系统中,常见的所述进程记录文件为cgroups.procs。在IOS系统和其他系统中,需要看通过该所述进程启动的所述所有进程的进程识别信息具 体存放的位置。事实上,在其他任何系统中,只要该所述进程记录文件里记录了通过该所述进程启动的所有所述进程的所述进程的识别信息均在本发明的保护范围内,并不只限于常用的所述进程记录文件。In the Andriod system, the common process recording file is cgroups.procs. In the IOS system and other systems, it is necessary to look at the location where the process identification information of all the processes started by the process is specifically stored. In fact, in any other system, as long as the process recording file records the process identification information of all the processes started by the process, the process identification information is within the scope of protection of the present invention, and is not limited to commonly used The process record file.
则所述应用检测模块还用于:根据所述记录文件获取的所述目标应用的所有进程的识别信息。Then, the application detection module is further used to: obtain identification information of all processes of the target application obtained according to the log file.
可以理解的是,本实施例中的所述进程的识别信息可以包含所述进程号PID、进程名、进程状态、进程优先级、进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设定。It can be understood that the identification information of the process in this embodiment may include the process number PID, process name, process status, process priority, and CPU time occupied by the process. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
在本申请的一个实施例中,所述控制模块还用于:In an embodiment of the present application, the control module is also used to:
根据所述所有进程的识别信息获取所述目标应用的所有所述进程;Acquiring all the processes of the target application according to the identification information of the all processes;
对所述获取的所述所有所述进程执行冻结操作;Perform a freezing operation on all the acquired processes;
或,or,
根据所述所述进程的识别信息确定出所述目标应用当前未被冻结的所述进程的识别信息;Determine the identification information of the process that is not currently frozen by the target application according to the identification information of the process;
根据所述未被冻结的所述进程的识别信息,获取所述目标应用的未被冻结的所有所述进程;Acquiring all the processes of the target application that are not frozen according to the identification information of the processes that are not frozen;
对获取的所述所有未被冻结的所述进程执行冻结操作。A freeze operation is performed on all the acquired processes that are not frozen.
所述控制模块23根据所述目标应用的所述所有进程的识别信息可获得所述目标应用的所有所述进程。所述所有进程的识别信息包括所述进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等。获取所述所有所述进程后,由所述控制模块23对所述所有所述进程执行冻结操作。所述控制模块23也可以根据所述目标应用的所有进程的识别信息确定出所述目标应用所述当前未被冻结的所述进程的识别信息,再根据所述未被冻结的所述 进程的识别信息如所述进程号PID、所述进程名等获取所述目标应用的所述未被冻结的所有所述进程。所述控制模块23可对所述所有未被冻结的所述进程执行冻结操作,即冻结所有未被冻结的所述进程。The control module 23 can obtain all the processes of the target application according to the identification information of the all processes of the target application. The identification information of all processes includes the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. After acquiring all the processes, the control module 23 performs a freeze operation on all the processes. The control module 23 may also determine the identification information of the currently unfrozen process of the target application according to the identification information of all processes of the target application, and then according to the unfrozen process of the process The identification information such as the process number PID, the process name, etc. acquires all the processes of the target application that are not frozen. The control module 23 may perform a freezing operation on all the processes that are not frozen, that is, freeze all the processes that are not frozen.
在本申请的一个实施例中,若所述目标应用不持有所述电源锁,所述控制模块23还用于:根据所述目标应用的识别信息对所述目标应用执行冻结操作。In an embodiment of the present application, if the target application does not hold the power lock, the control module 23 is further configured to: perform a freeze operation on the target application according to the identification information of the target application.
所述目标应用不持有所述电源锁后,在所述电子设备处于灭屏状态时,所述控制模块23可根据所述目标应用的识别信息对所述目标应用的所有所述进程执行冻结操作。所述目标应用的识别信息包括所述目标应用的所述应用号UID、所述应用号UID下的各所述进程号PID、所述各所述进程号PID对应所述进程下的所述记录文件和根据所述记录文件获取的所述目标应用的所述所有进程的识别信息。所述所有进程的识别信息可以包含所述进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设定。After the target application does not hold the power lock, when the electronic device is in a screen-off state, the control module 23 may perform freezing on all the processes of the target application according to the identification information of the target application operating. The identification information of the target application includes the application number UID of the target application, each process number PID under the application number UID, and each process number PID corresponding to the record under the process A file and identification information of all processes of the target application acquired according to the log file. The identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
在本申请的一个实施例中,所述控制模块23还用于:经所述屏幕检测模块21检测后,若所述电子设备处于亮屏状态,且满足唤醒条件,则唤醒已被冻结的所述目标应用。In an embodiment of the present application, the control module 23 is further configured to: after being detected by the screen detection module 21, if the electronic device is in a bright screen state and the wake-up condition is satisfied, wake up all frozen Describe the target application.
本实施例中,通过所述屏幕检测模块21检测所述电子设备屏幕状态,经检测后,所述电子设备处于亮屏状态,此时所述唤醒条件指的是解锁所述电子设备。可以理解的是,在实际操作中,会因为误触所述电子设备导致所述电子设备亮屏,此时所述电子设备会唤醒一些应用如动态壁纸、前台应用、部分系统应用、默认输入法和默认桌面等。若将此唤醒应用的操作记为1.0唤醒操作,则需要说明的是,本申请所述控制模块23唤醒的不是所述1.0唤醒操作中唤醒的应用,而是所述应用冻结的方法中涉及到的已被冻结的所述目标应用。In this embodiment, the screen state of the electronic device is detected by the screen detection module 21, and after the detection, the electronic device is in a bright screen state. At this time, the wake-up condition refers to unlocking the electronic device. It can be understood that in actual operation, the electronic device may be bright due to accidentally touching the electronic device. At this time, the electronic device will wake up some applications such as dynamic wallpaper, foreground application, some system applications, and default input method. And the default desktop. If the operation of this wake-up application is recorded as a 1.0 wake-up operation, it should be noted that the control module 23 of the present application wakes up not the application awakened in the 1.0 wake-up operation, but the method involved in freezing the application Of the target application that has been frozen.
在本申请的一个实施例中,所述控制模块23唤醒已被冻结的所述目标应用,包括:In an embodiment of the present application, the control module 23 wakes up the target application that has been frozen, including:
获取所述已被冻结的所述目标应用的所述所有进程的识别信息;Acquiring identification information of all the processes of the target application that have been frozen;
根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有所 述进程;Acquiring all the processes of the target application that have been frozen according to the identification information of all the processes;
对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。A wake-up operation is performed on all the processes of the target application that have been frozen.
所述已被冻结的所述目标应用的所述所有进程的识别信息包括所述已被冻结的目标应用的所述应用号UID、所述应用号UID下的各所述进程号PID、所述各进程号PID对应进程下的所述记录文件和根据所述记录文件获取的所述目标应用的所述所有进程的识别信息。所述所有进程的识别信息可以包含所述进程号PID、所述进程名、所述进程状态、所述进程优先级、所述进程已占用CPU时间等。应当明确的是,这里所列举的只是几种常见的所述进程的识别信息,并不代表所述进程的识别信息必须包含或只包含上述几种信息,可以根据具体应用场景灵活设定。The identification information of all the processes of the frozen target application includes the application number UID of the frozen target application, each process number PID under the application number UID, the Each process number PID corresponds to the log file under the process and the identification information of all the processes of the target application acquired according to the log file. The identification information of all processes may include the process number PID, the process name, the process state, the process priority, the process occupied CPU time, and the like. It should be clear that the list here is only several common identification information of the process, and does not mean that the identification information of the process must contain or only contain the above-mentioned types of information, which can be flexibly set according to specific application scenarios.
所述控制模块23可根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有所述进程,并对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。所述唤醒操作即恢复运行所述已被冻结的所述目标应用的所有所述进程。The control module 23 may acquire all the processes of the target application that have been frozen according to the identification information of all processes, and perform wake-up on all the processes of the target application that have been frozen operating. The wakeup operation resumes running all the processes of the target application that have been frozen.
本申请实施例还提供了一种电子设备,包括存储器720及处理器780,所述存储器720中储存有计算机程序,其特征在于,所述计算机程序被所述处理器780执行时,使得所述处理器780执行如上所述的应用冻结的步骤。为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。所述电子设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以所述电子设备为手机为例:An embodiment of the present application further provides an electronic device, including a memory 720 and a processor 780. The memory 720 stores a computer program, and is characterized in that, when the computer program is executed by the processor 780, the computer program The processor 780 performs the steps of application freezing as described above. For ease of description, only parts related to the embodiments of the present application are shown, and specific technical details 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, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, wearable device, etc. The electronic device is Mobile phone as an example:
图7为与本申请实施例提供的所述电子[手机结构]设备相关的手机的部分结构的框图。参考图7,手机包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路760、无线保真(wireless fidelity,WiFi)模块7570、处理器780、以及电源790等部件。本领域技术人员可以理解,图7所示的手机结构并不构成对手机的限定,可以包括比图示更多 或更少的部件,或者组合某些部件,或者不同的部件布置。7 is a block diagram of a partial structure of a mobile phone related to the electronic [mobile phone structure] device provided by an embodiment of the present application. 7, the mobile phone includes: a radio frequency (Radio Frequency) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 7570, a processor 780 , And power supply 790 and other components. Those skilled in the art may understand that the structure of the mobile phone shown in FIG. 7 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of certain components, or a different component arrangement.
其中,RF电路710可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器780处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。Among them, the RF circuit 710 can be used for receiving and sending signals during sending and receiving information or during a call. It can receive the downlink information of the base station and process it to the processor 780; it can also send the uplink data to the base station. Generally, RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Message Service (SMS), etc.
存储器720可用于存储软件程序以及模块,处理器780通过运行存储在存储器720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器720可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 720 may be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running 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, where the program storage area may store an operating system and applications required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc .; The data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元730可用于接收输入的数字或字符信息,以及产生与手机700的用户设置以及功能控制有关的键信号输入。具体地,输入单元730可包括触控面板731以及其他输入设备732。触控面板731,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱 动相应的连接装置。在一个实施例中,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732。具体地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 730 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile phone 700. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc. on or near the touch panel 731 Operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 731 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 780, and can receive the command sent by the processor 780 and execute it. In addition, the touch panel 731 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may also include other input devices 732. Specifically, 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.).
显示单元740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元740可包括显示面板741。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。在一个实施例中,触控面板731可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器780根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741集成而实现手机的输入和输出功能。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 (Liquid Crystal) (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. In one embodiment, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event, and then the processor 780 according to The type of touch event provides a corresponding visual output on the display panel 741. Although in FIG. 7, the touch panel 731 and the display panel 741 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated and Realize the input and output functions of the mobile phone.
手机700还可包括至少一种传感器750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板741和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度 计、温度计、红外线传感器等其他传感器等。The mobile phone 700 may further include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may close the display panel 741 and / or when the mobile phone moves to the ear Or backlight. The motion sensor may include an acceleration sensor, which can detect the magnitude of acceleration in various directions through the acceleration sensor, and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching), and vibration recognition-related functions (such as Pedometer, percussion), etc. In addition, the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor and so on.
音频电路760、扬声器761和传声器762可提供用户与手机之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710可以发送给另一手机,或者将音频数据输出至存储器720以便后续处理。The audio circuit 760, the speaker 761, and the microphone 762 may provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received electrical signal converted to electrical signals to the speaker 761, which is converted into a sound signal output by the speaker 761; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 760 After receiving, it is converted into audio data, and then processed by the audio data output processor 780, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for subsequent processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块770,但是可以理解的是,其并不属于手机700的必须构成,可以根据需要而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Although FIG. 7 shows the WiFi module 770, it can be understood that it is not a necessary component of the mobile phone 700, and may be omitted as needed.
处理器780是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器720内的软件程序和/或模块,以及调用存储在存储器720内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器780可包括一个或多个处理单元。在一个实施例中,处理器780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器780中。The processor 780 is the control center of the mobile phone, connects various parts of the entire mobile phone with various interfaces and lines, executes or executes the software programs and / or modules stored in the memory 720, and calls the data stored in the memory 720 to execute Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. In one embodiment, the processor 780 may include one or more processing units. In one embodiment, the processor 780 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 780.
手机700还包括给各个部件供电的电源790(比如电池),优选的,电源可以通过电源管理系统与处理器780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 700 further includes a power supply 790 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so as to realize functions such as charging, discharging, and power consumption management through the power management system.
在一个实施例中,手机700还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 700 may further include a camera, a Bluetooth module, and the like.
在本申请实施例中,该电子设备所包括的处理器780执行存储在存储器上的计算机程序时实现上述实施例提供的进程处理方法的步骤。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 foregoing embodiment are implemented.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any references to memory, storage, databases, or other media used in this application may include non-volatile and / or volatile memory. Non-volatile memory may 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 many 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), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are more specific and detailed, but they should not be construed as limiting the patent scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which all fall within the protection scope of the present application. Therefore, the protection scope of the patent of this application shall be subject to the appended claims.

Claims (16)

  1. 一种应用冻结的方法,应用于电子设备,其特征在于,包括:A method for applying freezing, which is applied to electronic equipment, is characterized by including:
    判断所述电子设备是否处于灭屏状态;Determine whether the electronic device is in the off-screen state;
    若所述电子设备处于灭屏状态,检测目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的应用,所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态;If the electronic device is in a screen-off state, detect whether a target application holds a power lock, the target application is an application in the electronic device currently in a running state, and the power lock is used to indicate that the target application is in a screen-off state In the state, it still keeps running state;
    若所述目标应用持有所述电源锁,释放所述目标应用的所述电源锁,并根据所述目标应用的识别信息对所述目标应用执行冻结操作。If the target application holds the power lock, release the power lock of the target application, and perform a freeze operation on the target application according to the identification information of the target application.
  2. 根据权利要求1所述的方法,其特征在于,所述目标应用的识别信息包括:The method according to claim 1, wherein the identification information of the target application comprises:
    所述目标应用的应用号UID;The application number UID of the target application;
    所述应用号UID下的各进程号PID;PID of each process number under the application number UID;
    各所述进程号PID对应进程下的记录文件;Each process number PID corresponds to the record file under the process;
    所述方法还包括:The method also includes:
    根据所述记录文件获取的所述目标应用的所有进程的识别信息。The identification information of all processes of the target application acquired according to the log file.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述目标应用的识别信息对所述目标应用执行冻结操作,包括:The method according to claim 2, wherein the performing freezing operation on the target application according to the identification information of the target application comprises:
    根据所述所有进程的识别信息获取所述目标应用的所有所述进程;Acquiring all the processes of the target application according to the identification information of the all processes;
    对所述获取的所述所有所述进程执行冻结操作;Perform a freezing operation on all the acquired processes;
    或,or,
    根据所述所有进程的识别信息确定出所述目标应用当前未被冻结的所述进程的识别信息;Determine the identification information of the process that is not currently frozen by the target application according to the identification information of all processes;
    根据所述未被冻结的所述进程的识别信息,获取所述目标应用的未被冻结的所有所述进程;Acquiring all the processes of the target application that are not frozen according to the identification information of the processes that are not frozen;
    对获取的所述所有未被冻结的所述进程执行冻结操作。A freeze operation is performed on all the acquired processes that are not frozen.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若所述目标应用不持有所述电源锁,则由所述电子设备根据所述目标应用的识别信息对所述目标应用执行冻结操作。If the target application does not hold the power lock, the electronic device performs a freeze operation on the target application according to the identification information of the target application.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若所述电子设备处于亮屏状态,且满足唤醒条件,则唤醒已被冻结的所述目标应用。If the electronic device is in the bright screen state and the wake-up condition is satisfied, the target application that has been frozen is woken up.
  6. 根据权利要求5所述的方法,其特征在于,所述唤醒已被冻结的所述目标应用包括:The method according to claim 5, wherein the awakening of the target application that has been frozen includes:
    获取所述已被冻结的所述目标应用的所述所有进程的识别信息;Acquiring identification information of all the processes of the target application that have been frozen;
    根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有所述进程;Acquiring all the processes of the target application that have been frozen according to the identification information of all the processes;
    对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。A wake-up operation is performed on all the processes of the target application that have been frozen.
  7. 根据权利要求6所述的方法,其特征在于,所述唤醒条件包括:The method according to claim 6, wherein the wake-up condition comprises:
    解锁所述电子设备。Unlock the electronic device.
  8. 一种应用冻结的装置,其特征在于,所述装置包括:A device for applying freezing, characterized in that the device comprises:
    屏幕检测模块,用于判断所述电子设备是否处于灭屏状态;The screen detection module is used to determine whether the electronic device is in a screen-off state;
    应用检测模块,用于检测灭屏状态下所述目标应用是否持有电源锁,所述目标应用为所述电子设备中当前处于运行状态的各应用,所述电源锁用于指示所述目标应用处于灭屏状态时,仍然保持运行状态;An application detection module, configured to detect whether the target application holds a power lock in the screen-off state, the target application is each application currently running in the electronic device, and the power lock is used to indicate the target application When it is in the off state, it still keeps running;
    控制模块,用于释放所述目标应用的所述电源锁和根据所述目标应用的识别信息对所述目标应用执行冻结操作。The control module is configured to release the power lock of the target application and perform a freezing operation on the target application according to the identification information of the target application.
  9. 根据权利要求8所述的装置,其特征在于,所述目标应用的识别信息包括:The apparatus according to claim 8, wherein the identification information of the target application includes:
    所述目标应用的应用号UID;The application number UID of the target application;
    所述应用号UID下的各进程号PID;PID of each process number under the application number UID;
    各所述进程号PID对应进程下的记录文件;Each process number PID corresponds to the record file under the process;
    则所述应用检测模块还用于:根据所述记录文件获取的所述目标应用的所有进程的识别信息。Then, the application detection module is further used to: obtain identification information of all processes of the target application obtained according to the log file.
  10. 根据权利要求9所述的装置,其特征在于,所述控制模块还用于:The device according to claim 9, wherein the control module is further configured to:
    根据所述所有进程的识别信息获取所述目标应用的所有所述进程;Acquiring all the processes of the target application according to the identification information of the all processes;
    对所述获取的所述所有所述进程执行冻结操作;Perform a freezing operation on all the acquired processes;
    或,or,
    根据所述所有进程的识别信息确定出所述目标应用当前未被冻结的所述进程的识别信息;Determine the identification information of the process that is not currently frozen by the target application according to the identification information of all processes;
    根据所述未被冻结的所述进程的识别信息,获取所述目标应用的未被冻结的所有所述进程;Acquiring all the processes of the target application that are not frozen according to the identification information of the processes that are not frozen;
    对获取的所述所有未被冻结的所述进程执行冻结操作。A freeze operation is performed on all the acquired processes that are not frozen.
  11. 根据权利要求8所述的装置,其特征在于,若所述目标应用不持有所述电源锁,所述控制模块还用于:根据所述目标应用的识别信息对所述目标应用执行冻结操作。The apparatus according to claim 8, wherein if the target application does not hold the power lock, the control module is further configured to: perform a freeze operation on the target application according to the identification information of the target application .
  12. 根据权利要求8所述的装置,其特征在于,所述控制模块还用于:经所述屏幕检测模块检测后,若所述电子设备处于亮屏状态,且满足唤醒条件,则唤醒已被冻结的所述目标应用。The apparatus according to claim 8, wherein the control module is further configured to: after being detected by the screen detection module, if the electronic device is in a bright screen state and the wake-up condition is satisfied, the wake-up has been frozen Of the target application.
  13. 根据权利要求12所述的装置,其特征在于,所述控制模块唤醒已被冻结的所述目标应用,包括:The apparatus according to claim 12, wherein the control module wakes up the target application that has been frozen, including:
    获取所述已被冻结的所述目标应用的所述所有进程的识别信息;Acquiring identification information of all the processes of the target application that have been frozen;
    根据所述所有进程的识别信息获取所述已被冻结的所述目标应用的所有所述进程;Acquiring all the processes of the target application that have been frozen according to the identification information of all the processes;
    对所述已被冻结的所述目标应用的所有所述进程执行唤醒操作。A wake-up operation is performed on all the processes of the target application that have been frozen.
  14. 根据权利要求13所述的装置,其特征在于,所述唤醒条件包括:The apparatus according to claim 13, wherein the wake-up condition comprises:
    解锁所述电子设备。Unlock the electronic device.
  15. 一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1-7中任一项所述的应用冻结的步骤。An electronic device includes a memory and a processor, and the memory stores a computer program, wherein when the computer program is executed by the processor, the processor is caused to execute any of claims 1-7. One of the steps to freeze an application.
  16. 一种计算机非易失性可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-7中任一项所述的应用冻结的步骤。A computer non-volatile readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the step of freezing the application according to any one of claims 1-7 is realized .
PCT/CN2018/114465 2018-11-08 2018-11-08 Application freezing method and apparatus, and electronic device WO2020093292A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880097730.4A CN112997132A (en) 2018-11-08 2018-11-08 Application freezing method and device and electronic equipment
PCT/CN2018/114465 WO2020093292A1 (en) 2018-11-08 2018-11-08 Application freezing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/114465 WO2020093292A1 (en) 2018-11-08 2018-11-08 Application freezing method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2020093292A1 true WO2020093292A1 (en) 2020-05-14

Family

ID=70612367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/114465 WO2020093292A1 (en) 2018-11-08 2018-11-08 Application freezing method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN112997132A (en)
WO (1) WO2020093292A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472940A (en) * 2021-06-08 2021-10-01 Tcl通讯(宁波)有限公司 Mobile terminal optimization processing method and device based on wearable device and mobile terminal
WO2022262434A1 (en) * 2021-06-18 2022-12-22 荣耀终端有限公司 Power optimization method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468426A (en) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 Application freezing method and terminal
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106020415A (en) * 2016-05-09 2016-10-12 深圳市万普拉斯科技有限公司 Application control method and apparatus for intelligent device in standby state
CN108536269A (en) * 2018-03-26 2018-09-14 上海康斐信息技术有限公司 A kind of method and its system reducing terminal standby power consumption

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291212A (en) * 2017-06-16 2017-10-24 深圳天珑无线科技有限公司 Power lock processing method and processing device
CN108021220A (en) * 2017-10-25 2018-05-11 努比亚技术有限公司 A kind of terminal applies control method, terminal and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN105468426A (en) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 Application freezing method and terminal
CN106020415A (en) * 2016-05-09 2016-10-12 深圳市万普拉斯科技有限公司 Application control method and apparatus for intelligent device in standby state
CN108536269A (en) * 2018-03-26 2018-09-14 上海康斐信息技术有限公司 A kind of method and its system reducing terminal standby power consumption

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472940A (en) * 2021-06-08 2021-10-01 Tcl通讯(宁波)有限公司 Mobile terminal optimization processing method and device based on wearable device and mobile terminal
WO2022262434A1 (en) * 2021-06-18 2022-12-22 荣耀终端有限公司 Power optimization method and electronic device

Also Published As

Publication number Publication date
CN112997132A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2018049897A1 (en) Data backup method and device
CN107678876B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
WO2020024732A1 (en) Process processing method, electronic device, and computer-readable storage medium
CN110018901B (en) Memory recovery method and device, computer equipment and computer readable storage medium
CN107704133B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN104423996A (en) View refreshing method and view refreshing device
WO2019128588A1 (en) Process processing method and apparatus, electronic device, computer readable storage medium
CN107766222B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107908492B (en) Black screen detection method, mobile terminal and computer readable storage medium
WO2019128574A1 (en) Information processing method and device, computer device and computer readable storage medium
WO2019128573A1 (en) Information processing method, apparatus, computer device and computer-readable storage medium
CN107908491B (en) Card screen detection and solution method, mobile terminal and computer readable storage medium
CN107765922B (en) Card screen detection and solution method, mobile terminal and computer readable storage medium
WO2020093292A1 (en) Application freezing method and apparatus, and electronic device
WO2019128569A1 (en) Method and apparatus for freezing application, and storage medium and terminal
CN107872367B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107818036B (en) Black screen detection method, mobile terminal and computer readable storage medium
WO2019128553A1 (en) Application processing method, electronic device, and computer-readable storage medium
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
WO2019128586A1 (en) Application processing method, electronic device, and computer readable storage medium
CN107861826B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107404569B (en) System control method, terminal and computer readable storage medium
CN106454953B (en) Flow control method, device and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18939276

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18939276

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.09.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18939276

Country of ref document: EP

Kind code of ref document: A1