WO2016041190A1 - 一种运行应用程序的方法及装置 - Google Patents

一种运行应用程序的方法及装置 Download PDF

Info

Publication number
WO2016041190A1
WO2016041190A1 PCT/CN2014/086909 CN2014086909W WO2016041190A1 WO 2016041190 A1 WO2016041190 A1 WO 2016041190A1 CN 2014086909 W CN2014086909 W CN 2014086909W WO 2016041190 A1 WO2016041190 A1 WO 2016041190A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
run
needs
identifier
operating system
Prior art date
Application number
PCT/CN2014/086909
Other languages
English (en)
French (fr)
Inventor
魏孔刚
赵京
钟光华
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2017515146A priority Critical patent/JP6491326B2/ja
Priority to PCT/CN2014/086909 priority patent/WO2016041190A1/zh
Priority to US15/512,454 priority patent/US10386914B2/en
Priority to EP14901998.6A priority patent/EP3187995A4/en
Priority to KR1020177010210A priority patent/KR102048329B1/ko
Priority to CN201480046579.3A priority patent/CN105612485B/zh
Priority to CN201811039304.3A priority patent/CN109324833B/zh
Publication of WO2016041190A1 publication Critical patent/WO2016041190A1/zh
Priority to US16/509,190 priority patent/US11181968B2/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
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3228Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • 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 invention relates to the field of computer technologies, and in particular, to a method and apparatus for running an application.
  • the terminal sleeps the running application and the operating system, so that the terminal enters the standby state.
  • the terminal when the terminal is in the standby state, if the user wants to run an application, the user needs to submit a wakeup request to the terminal.
  • the terminal receives the wakeup request submitted by the user, wakes up the operating system, and runs the hibernated application through the operating system to cause the terminal to enter the awake state. Then, the user can submit a running request to the terminal by clicking the running interface corresponding to the application that needs to run, and the terminal receives the running request submitted by the user, and obtains the identifier of the application to be run. Run the application you need to run through the operating system, depending on the identity of the application you need to run.
  • the terminal In the process of running the application, the terminal not only runs the application that needs to run, but also runs the application that is hibernated, and the application that is hibernated is not the application that the user currently needs to run, and runs the application that is hibernated.
  • System resources which caused a waste of system resources and increased system power consumption.
  • the present invention provides a method and apparatus for running an application.
  • the technical solution is as follows:
  • a method of running an application comprising:
  • the obtaining, according to the application entry information, an identifier of an application that needs to be run includes:
  • the identity of the obtained application is determined to be an identifier of an application that needs to be run.
  • the method before the receiving the application entry information input by the user, the method further includes:
  • the application entry information corresponding to each application and the identifier of each application are respectively stored in a correspondence relationship between the application portal information and the identifier of the application.
  • the waking up an operating system and maintaining an application that is hibernated in an application other than the application that needs to be running is still in a dormant state ,include:
  • the application that is hibernated in the application other than the application that needs to be running is still in a dormant state by the process group management interface in the operating system according to the identifier of the acquired application.
  • the running, by the operating system, the application that needs to be run, according to the identifier of the application that needs to run includes:
  • the determining, according to the identifier of the application that needs to run, running the required operation by using the operating system After using the program it also includes:
  • the dependent application is launched by the process group management interface in a process defrosting layer of the operating system according to the identifier of the dependent application and the allocated system resource.
  • the identifier of the application that is to be run according to the requirement, after running the application that needs to be run by using the operating system include:
  • the application and the operating system that need to be run are hibernated by the process group management interface to put the terminal into a standby state.
  • an apparatus for running an application comprising:
  • a receiving module configured to receive application entry information input by the user in a standby state
  • An obtaining module configured to obtain an identifier of an application that needs to be run according to the application portal information
  • a wake-up module configured to wake up the operating system and keep the hibernated application in the application other than the application that needs to be running still in a sleep state
  • a running module configured to run the application that needs to be run by using the operating system according to the identifier of the application that needs to run.
  • the acquiring module includes:
  • a first acquiring unit configured to acquire, according to the application portal information, an identifier of the corresponding application from a correspondence between the application portal information and the identifier of the application;
  • a determining unit configured to determine an identifier of the acquired application as an identifier of an application that needs to run.
  • the device further includes:
  • a setting module configured to set application entry information corresponding to each application
  • a storage module configured to store the application entry information corresponding to each application and the identifier of each application in a correspondence between the application portal information and the identifier of the application.
  • the waking module includes:
  • a wake-up unit configured to wake up the system device, the bus, and the external device by the wake-up process to implement wake-up of the operating system
  • a second obtaining unit configured to acquire, by using the operating system, an identifier of an application that is dormant in an application other than the application that needs to be run;
  • a holding unit configured to maintain, by the process group management interface in the operating system, that the hibernated application in the application other than the application that needs to be running is still in hibernation according to the identifier of the acquired application status.
  • the running module includes:
  • a first allocation unit configured to allocate, by the operating system, system resources to the application that needs to be run according to the identifier of the application that needs to run;
  • a first starting unit configured to start, according to the identifier of the application that needs to run and the allocated system resource, the application that needs to be run by using a process group management interface in a process thawing layer of the operating system, Implement the application that needs to run to run.
  • the running module further includes:
  • a third obtaining unit configured to acquire, according to the identifier of the application that needs to run, an identifier of the application that the application that needs to run depends on;
  • a second allocation unit configured to allocate system resources to the dependent application by using the operating system according to the identifier of the dependent application
  • a second starting unit configured to start, by the process group management interface, the dependent application in a process defrosting layer of the operating system according to the identifier of the dependent application and the allocated system resource.
  • the device further includes:
  • Obtaining a storage module when detecting an exit command that triggers the application that needs to be run, Obtaining, by the operating system, running information of the application that needs to be run, and storing, by using the operating system, running information of the application that needs to be run;
  • the hibernation module is configured to hibernate the application and the operating system that need to be run through the process group management interface, so that the terminal enters a standby state.
  • a third aspect is an apparatus for running an application, the apparatus comprising an inductive device and a processor;
  • the sensing device is configured to receive application entry information input by a user in a standby state
  • the processor is configured to obtain an identifier of an application that needs to be run according to the application portal information, wake up the operating system, and keep the sleepy application in the application other than the application that needs to be running still in a sleep state. And running, according to the identifier of the application that needs to run, the application that needs to be run by using the operating system.
  • the processor is configured to obtain, according to the application portal information, a correspondence between the application portal information and the identifier of the application An identifier of the application that determines the identity of the obtained application as an identifier of the application that needs to be run.
  • the device further includes a memory
  • the processor is further configured to set application entry information corresponding to each application
  • the memory is configured to store the application entry information corresponding to each application and the identifier of each application in a corresponding relationship between the application portal information and the identifier of the application.
  • the processor is configured to wake up a system device, a bus, and an external device by using a wake-up process to implement wake-up of the operating system; Obtaining, by the system, an identifier of the application that is hibernated in the application other than the application that needs to be run; and maintaining, according to the identifier of the acquired application, the process group management interface in the operating system Applications that are dormant in applications other than those that need to run are still dormant.
  • the processor is configured to perform, by the operating system, the required operation according to the identifier of the application that needs to run
  • the application allocates system resources; and according to the identifier of the application that needs to be run and the allocated system resource, the application that needs to be run is started by the process group management interface in the process defrosion layer of the operating system to implement Run the application that needs to be run.
  • the processor is further configured to acquire, according to the identifier of the application that needs to run, the application that is required to be run An identifier of the application; the operating system allocates system resources to the dependent application according to the identifier of the dependent application; according to the identifier of the dependent application and the allocated system resource, The dependent application is started by the process group management interface in the process thawing layer of the operating system.
  • the processor is further configured to: when detecting an exit command that triggers the application that needs to be run, by using the operating system Obtaining running information of the application that needs to be run, and storing, by using the operating system, running information of the application that needs to be run, and sleeping, by the process group management interface, the application and operating system that need to be run, so that the terminal Enter the standby state.
  • the sensing device includes at least a touch sensing device, a voice sensing device, and/or a motion sensing device.
  • the standby state receiving application entry information input by the user; obtaining an identifier of the application to be run according to the application entry information; waking up the operating system and maintaining an application other than the application to be run
  • the application that is being hibernated is still in hibernation; the application that needs to run is run through the operating system, depending on the identity of the application that needs to be run. Because the application that needs to run is running while keeping the application that is hibernated in the application other than the application that needs to run, it only runs the application that needs to run, thus saving system resources. Reduced system power consumption.
  • FIG. 1 is a flowchart of a method for running an application according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for running an application according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for running an application program according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for running an application according to Embodiment 4 of the present invention.
  • an embodiment of the present invention provides a method for running an application, including:
  • Step 101 Receive, in a standby state, application entry information input by a user
  • the touch sensing device is installed on the screen of the terminal, and the voice sensing device and/or the motion sensing device may also be installed on the terminal.
  • the touch sensing device may be a touch pressure sensor or the like for sensing a trajectory of characters input by the user on the screen of the terminal;
  • the voice sensing device may be a voice sensor or a recording device, etc., for receiving voice data input by the user;
  • the motion sensing device may It is a motion sensor or the like for sensing the movement trajectory of the user's mobile terminal.
  • the technician can set the touch sensing device, the voice sensing device, and the motion sensing device to still work normally when the terminal is in the standby state. Therefore, in the standby state, the terminal can receive the application entry information input by the user through the touch sensing device, the voice sensing device, and the motion sensing device.
  • the step is specifically: in the standby state, the trajectory of the character input by the user on the screen of the terminal is sensed by the touch sensing device, and the trajectory is used as the application entry information input by the user.
  • the voice data input by the user is received by the voice sensing device, and the voice data is used as application entry information input by the user.
  • the movement trajectory of the user mobile terminal is sensed by the motion sensing device, and the movement trajectory is used as application entry information input by the user.
  • Step 102 Obtain an identifier of an application that needs to be run according to the application entry information.
  • Step 103 Wake up the operating system and keep the hibernated application in the application other than the application that needs to run still in the sleep state;
  • Step 104 Run the application that needs to run through the operating system according to the identifier of the application that needs to be run.
  • obtaining an identifier of the application that needs to run including:
  • the application entry information is a trajectory of characters input by the user on the screen of the terminal, voice data input by the user to the terminal, or a movement trajectory of the user mobile terminal.
  • the application portal information of the application game may be a trajectory of the character g input by the user on the screen of the terminal, a voice data "game” input by the user to the terminal, or a movement trajectory g of the user mobile terminal.
  • the method further includes:
  • the application entry information corresponding to each application and the identifier of each application are respectively stored in the correspondence relationship between the application portal information and the identifier of the application. Specifically, it can be stored in a memory.
  • the application that wakes up the operating system and keeps the hibernated application in an application other than the application that needs to be running is still in a dormant state, including:
  • the sleepy application in the application other than the application to be run is still in the sleep state through the process group management interface in the operating system.
  • the system device may be a CPU (Central Processing Unit), a BIOS (Basic Input Output System), a motherboard, and a memory.
  • the external device may be an input device, a display device, or the like, and the input device may be a keyboard, a mouse, a voice input device, or the like, and the display device may be a display, a screen, or the like.
  • the process group management interface is a process management interface provided by the operating system, and is used to manage all processes running on the terminal.
  • the application that needs to run is run through the operating system, including:
  • the application that needs to be run is started in the process thawing layer of the operating system through the process group management interface to implement the application that needs to run.
  • the process defrosting layer is a module provided by the operating system for unfreezing the process that is sleeping.
  • the method further includes:
  • the thawing layer of the operating system process based on the identity of the dependent application and the allocated system resources Start dependent applications through the process group management interface.
  • the so-called dependent application is the application that the application that needs to run is called at runtime.
  • An application includes multiple functions, and sometimes the implementation of one function requires calling other applications.
  • the alarm clock has a reminder function, and when the reminder function is implemented, the player is called to play music for reminding, and the player is an application that the alarm clock depends on. So if you want to make the application you need to run up, run the application that the application you want to run depends on.
  • the method further includes:
  • the operating information of the application that needs to be run is obtained by the operating system, and the running information of the application that needs to be run is stored by the operating system;
  • the standby state receiving application entry information input by the user; obtaining an identifier of the application to be run according to the application entry information; waking up the operating system and maintaining an application other than the application to be run
  • the application that is being hibernated is still in hibernation; the application that needs to run is run through the operating system, depending on the identity of the application that needs to be run. Because the application that needs to run is running while keeping the application that is hibernated in the application other than the application that needs to run, it only runs the application that needs to run, thus saving system resources. Reduced system power consumption.
  • an embodiment of the present invention provides a method for running an application.
  • the terminal can run the application that needs to be run by using the method provided by the embodiment of the present invention.
  • the method specifically includes:
  • Step 201 Set application entry information corresponding to each application
  • the application entry information corresponding to the application may be a preset track or a preset voice corresponding to the application.
  • the shape of the preset track may be the first letter of the name of the application, etc.
  • the preset voice may be the voice of the name of the application or the like.
  • the terminal provides a setting interface for setting application entry information for each application. Before the terminal goes on the market, the technician can input the application pair through the setting interface corresponding to the application.
  • the preset trajectory or preset voice should be input, or the preset trajectory or preset voice corresponding to the application is input by the user through the setting interface corresponding to the application after the terminal is listed.
  • the preset trajectory or preset voice corresponding to the application input by the user is received through the setting interface corresponding to the application, and the preset trajectory or preset voice received will be received.
  • the application entry information corresponding to the application As the application entry information corresponding to the application.
  • the application entry information corresponding to each of the other applications may be set in the manner described above.
  • the names of applications 1, 2, and 3 are message, game, and clock, respectively, and the first letters of the names of applications 1, 2, and 3 are m, g, and c.
  • the preset track corresponding to the application 1 input by the user is received by the setting interface corresponding to the application 1 as m and/or the preset voice is “message”, and the received preset track m and/or the preset voice “message” is taken as Application entry information corresponding to application 1.
  • the preset trajectory corresponding to the application 2 input by the user is g and/or the preset voice is “game”, and the received preset trajectory g and/or the preset voice “game” are taken as Application entry information corresponding to application 2.
  • the preset trajectory corresponding to the application 3 input by the user is c and/or the preset voice is “clock”, and the received preset trajectory c and/or the preset voice “clock” are taken as Application entry information corresponding to application 3.
  • Step 202 Store application entry information corresponding to each application and an identifier of each application in a corresponding relationship between the application portal information and the identifier of the application;
  • the identifier of the application may be the name of the application or the number assigned by the terminal to the application.
  • the step is specifically: for each application installed on the terminal, when the application entry corresponding to the application is set through the setting interface corresponding to the application, the identifier of the application is obtained, and the application entry information corresponding to the application is obtained. And the identity of the application is stored in the correspondence between the application portal information and the identity of the application. Specifically, it can be stored in a memory.
  • the application entry information corresponding to each of the other applications and the identifier of each of the other applications may be stored in the same manner as described above. In the correspondence between the application portal information and the identity of the application.
  • the identifiers of applications 1, 2, and 3 are 001, 002, and 003, respectively.
  • the identifier 001 of 1 stores the application entry information (preset track m or preset voice "message") corresponding to the application 1 and the identifier 001 of the application 1 in the application entry information and the identifier of the application as shown in Table 1. In the correspondence.
  • Application portal information Application identifier (preset track m or preset voice “message”) 001 (preset track g or preset voice "game”) 002 (preset track c or preset voice "clock”) 003
  • the identifier 002 of the application 2 is acquired, and the application portal information corresponding to the application 2 (the preset track g or the preset voice "game" is acquired.
  • the identifier 002 of the application 2 and the application 2 are stored in the correspondence relationship between the application entry information and the identifier of the application as shown in Table 1.
  • the identifier 003 of the application 3 is acquired, and the application portal information corresponding to the application 3 (the preset track c or the preset voice “clock” is acquired.
  • the identifier 003 of the application 3 and the application 3 are stored in the correspondence relationship between the application entry information and the identifier of the application as shown in Table 1.
  • the application entry information corresponding to each application is set by the operation of the foregoing step 201, and after the corresponding relationship between the application entry information corresponding to each application and the identifier of each application is stored by the operation of step 202, when the terminal When the user wants to run an application, the application can be run according to the application entry information corresponding to the application by the operations of the following steps 203-206.
  • Step 203 Receive, in a standby state, application entry information input by a user
  • the touch sensing device is installed on the screen of the terminal, and the voice sensing device and/or the motion sensing device may also be installed on the terminal.
  • the touch sensing device may be a touch pressure sensor or the like for sensing a trajectory of characters input by the user on the screen of the terminal;
  • the voice sensing device may be a voice sensor or a recording device, etc., for receiving voice data input by the user;
  • the motion sensing device may It is a motion sensor or the like for sensing the movement trajectory of the user's mobile terminal.
  • the technician can set the touch sensing device, the voice sensing device, and the motion sensing device to still work normally when the terminal is in the standby state.
  • the screen of the terminal is not required to be illuminated, and the application entry information input by the user can be received by the touch sensing device, the voice sensing device, and the motion sensing device.
  • the terminal sleeps the running application and the operating system, so that the terminal enters the standby state.
  • the touch sensing device on the touch screen of the terminal is still in an open state, and the user can move on the touch screen with a finger or a touch screen pen, so that the touch sensing device recognizes the moving track of the finger or the touch screen pen, etc., thereby Enter information.
  • the terminal when the terminal is in the standby state, the user can move the position of the terminal in the space, so that the motion sensing device on the terminal senses the trajectory of the terminal movement, thereby inputting information to the terminal.
  • the user can also speak to the terminal, so that the voice sensing device on the terminal records the voice of the user to obtain a piece of voice data, thereby inputting information to the terminal.
  • the user when the terminal is in the standby state, the user inputs the application portal information to the terminal through the touch sensing device, the voice sensing device or the motion sensing device that can still work normally, and confirms that the application portal information is an application portal corresponding to an application.
  • the information is triggered, an instruction to wake up the terminal is triggered to wake up the terminal.
  • the step is specifically: receiving, in the standby state, the first movement track input by the user through the touch sensing device, using the first movement track as the application entry information input by the user; or identifying the second movement of the user mobile terminal by the motion sensing device.
  • the track, the second moving track is used as the application entry information input by the user; or the voice sent by the user is recorded by the voice sensing device to obtain a piece of voice data, and the voice data is used as the application interface information input by the user.
  • the first movement trajectory m input by the user is received by the touch sensing device, and the first movement trajectory m is used as the application entry information R1 input by the user.
  • the movement trajectory of the terminal is the shape of the character m.
  • the second movement trajectory m of the user mobile terminal is identified by the motion sensing device, and the second movement trajectory m is used as the application entry information R1 input by the user.
  • the voice "message” sent by the user is recorded by the voice sensing device to obtain a piece of voice data "message”, and the voice data "message” is used as the application interface information R1 input by the user.
  • Step 204 Obtain an identifier of an application that needs to be run according to the received application portal information.
  • the application portal information most similar to the received application portal information is matched from the correspondence between the application portal information and the identifier of the application.
  • the identifier of the corresponding application is obtained from the correspondence between the application portal information and the identifier of the application. Determine the identity of the acquired application as the identity of the application that needs to be run.
  • the application entry information that is most similar to the received application entry information may be matched from the correspondence between the application portal information and the identifier of the application by using the following method:
  • each application entry information included in the correspondence between the application portal information and the identifier of the application is the first movement trajectory received by the touch sensing device or the second movement trajectory recognized by the motion sensing device, respectively acquiring the preset trajectory included in each application entry information, respectively calculating the received first trajectory or the first
  • the similarity between the two tracks and each preset track determines the application entry information corresponding to the preset track with the largest similarity as the matched application entry information. If the received application entry information is a piece of voice data, the preset voices included in each application entry information are respectively obtained, and the similarity between the received voice data and each preset voice is respectively calculated, and the preset voice with the highest similarity is correspondingly corresponding.
  • the application entry information is determined as the matched application entry information.
  • the received application entry information R1 is the first movement trajectory m received by the touch sensing device or the second movement trajectory m recognized by the motion sensing device.
  • the application identifier 001 corresponding to the application portal information R1 is obtained from the mapping relationship between the application portal information and the identifier of the application, as shown in the following example.
  • Obtaining preset trajectories included in each application entry information that is, acquiring preset trajectories m, g, and c, respectively calculating similarities between the received first trajectory m or the second trajectory m and each of the preset trajectories m, g, and c It is assumed that the similarities with the preset trajectories m, g, and c are calculated to be 1, 0, and 0, respectively.
  • the application entry information (the preset track m or the preset voice “message”) corresponding to the preset track m having the largest similarity is determined as the matched application entry information.
  • the identifier of the corresponding application is obtained from the correspondence between the application portal information and the identifier of the application shown in Table 1.
  • the identifier 001 of the obtained application is determined as the identifier of the application that needs to be run.
  • the received application entry information R1 is a piece of voice data "message”.
  • each application portal information that is, acquiring preset voices “message”, “game”, and “clock”, respectively calculating received voice data “message” and each preset voice “message” and “game” “and “clock”
  • the similarity is assumed to be 1, 2, and 0 similar to the preset voices “message”, "game”, and “clock”, respectively.
  • the application entry information preset track m or preset voice "message" corresponding to the preset voice "message” with the highest similarity is determined as the matched application entry information.
  • the identifier of the corresponding application is obtained from the correspondence between the application portal information and the identifier of the application shown in Table 1.
  • the identifier 001 of the obtained application is determined as the identifier of the application that needs to be run.
  • the terminal After the identifiers of the applications that need to be run are obtained through the operations of the foregoing steps 203 and 204, the terminal needs to be brought into the awake state from the standby state by the operation of the following step 205.
  • Step 205 Wake up the operating system and keep the hibernated application in the application other than the application that needs to run still in the sleep state;
  • System devices can be CPU, BIOS, motherboard, and memory.
  • the external device may be an input device, a display device, or the like, and the input device may be a keyboard, a mouse, a voice input device, or the like, and the display device may be a display, a screen, or the like.
  • the step is to wake up the system device, the bus, and the external device by the wake-up process to wake up the operating system.
  • the operating system obtains the identity of the hibernated application in the application other than the application that needs to be run. Depending on the identity of the acquired application, the application that is hibernated in the application other than the application that needs to be running is still in the sleep state through the process group management interface.
  • the application that is in the dormant state does not occupy system resources.
  • the application 001 is an application that needs to be run, and when the standby state is previously entered, the application 002 is hibernated.
  • the system device, the bus, and the external device are woken up by the wake-up process to wake up the operating system.
  • the identification 002 of the application that is dormant in the application other than the application 001 that needs to be run is obtained by the operating system.
  • the application group 002 that is hibernated in the application other than the application 001 that needs to be running is kept in the sleep state by the process group management interface.
  • pm_enter () function is a power management function, used to start various devices when waking up the terminal.
  • the cpu_init() function in the pm_enter() function is used to start the CPU.
  • the suspend_enter() function is a function that enters hibernation. When the terminal enters hibernation, it executes the suspend_enter() function until hibernation is completed. When the terminal needs to wake up, it starts execution from the position where the suspend_enter() function stopped.
  • the sysdev_resume() function is a system wakeup function that wakes up system devices and buses.
  • the suspend_devices_and_enter() function is a sleep/wake device function that is used to sleep external devices when sleeping in a terminal and to wake up external devices when waking up a terminal.
  • Step 206 Run an application that needs to be run by using an operating system according to an identifier of an application that needs to be run;
  • system resources are allocated by the operating system for applications that need to be run according to the identifier of the application that needs to be run.
  • the application that needs to be run is started in the process thawing layer of the operating system through the process group management interface to implement the application that needs to run.
  • the allocated system resources include CPU, memory and network bandwidth.
  • the operating system allocates system resources for the application 001 that needs to be run.
  • the application 001 that needs to be run is started in the process thawing layer of the operating system through the process group management interface to implement the application 001 that needs to run.
  • the Kernel (operating system kernel) layer interface is called by JNI (Java Native Interface)
  • the identifier of the application to be run is passed to the process freeze/defist layer
  • the process group is called in the process freeze/defist layer.
  • the management interface allocates system resources for applications that need to be run to unfreeze applications that need to be run. For applications other than the application that needs to be run, it is still frozen.
  • step 207 is to run an application that the application that needs to run depends on.
  • Step 207 Run, according to the identifier of the application that needs to run, an application that depends on the application that needs to run through the operating system;
  • the so-called dependent application is the application that the application that needs to run is called at runtime.
  • An application includes multiple functions, and sometimes the implementation of one function requires calling other applications.
  • the alarm has a reminder function, and the player is called to play the music for reminding when the reminder function is implemented. So if you want to make the application you need to run up, run the application that the application you want to run depends on.
  • the application's installation file includes the identity of the application that the application depends on.
  • This step is specifically to obtain an installation file of an application to be run according to the identifier of the application to be run. Get the identity of the application that the application you want to run depends on from the installation file of the application you need to run.
  • System resources are allocated to dependent applications by the operating system based on the identity of the dependent application. Depending on the identity of the dependent application and the assigned system resources, the dependent application is launched through the process group management interface in the process thawing layer of the operating system.
  • the system resources are allocated to the dependent application 003 by the operating system according to the identity 003 of the dependent application.
  • the dependent application 003 is launched by the process group management interface in the process defrosting layer of the operating system according to the identity 003 of the dependent application and the allocated system resources.
  • the user can only access the application that needs to run.
  • the application that needs to be run can be exited by the following steps 208 and 209.
  • Step 208 When detecting an exit command that triggers an application that needs to be run, obtain, by using an operating system, operation information of an application that needs to be run, and store operation information of the application that needs to be run by using an operating system;
  • the exit command of the application to be run can be triggered.
  • the running information of the application that needs to run at least includes the page information and process identifier displayed by the application currently running.
  • the operating system obtains the currently displayed page information and the process identifier of the application that needs to be run, and uses the obtained page information and the process identifier as the application to be run.
  • the running information is stored in the correspondence between the identifier of the application and the running information by the operating system, the identifier of the application that needs to run, and the running information of the application that needs to be run. Specifically, it can be stored in the memory.
  • the application program 001 that needs to be run is obtained by the operating system, and the page information page1 and the process identifier Pr1 are currently displayed, and the acquired page information page1 and the process identifier Pr1 are required to run.
  • the running information M1 of the application is stored in the correspondence between the identifier of the application that needs to be run and the running information M1 of the application 001 that needs to be run by the operating system in the correspondence between the identifier of the application and the running information as shown in Table 2. .
  • Step 209 Sleep the application and the operating system that need to be run through the process group management interface, so that the terminal enters the standby state.
  • the process group management interface releases the system resources occupied by the application that needs to be run, and the application and the operating system that need to run are hibernated, so that the terminal enters the standby state.
  • the process group management interface releases the system resources occupied by the application 001 that needs to be run, and the application 001 and the operating system that need to run are hibernated, so that the terminal enters the standby state.
  • the application dependent application that needs to run is released through the process group management interface, and the application depends on the hibernation.
  • the JNE layer interface is called by JNI, and the identifier of the application to be run is passed to the process freeze/defist layer, and the application running and the application that depends on it are released by calling the process group management interface in the process freeze/defist layer. Occupied system resources, hibernate applications that need to run The program and its dependent application then sleep the operating system, putting the terminal into standby.
  • each of the other applications may be run in accordance with the method of the embodiment of the present invention.
  • the user runs the application that needs to run through the application entry information corresponding to the application that needs to be run, so that the user can only access the application that needs to run but cannot access other applications.
  • a scene that can access an application is called a single-task scene, and a scene that can access multiple applications at the same time is called a multi-tasking scene.
  • a user can click the application's icon to run the application.
  • the operations of the above-mentioned steps 208 and 209 can be used to exit the application to be run, and then the single-task scenario is exited, the terminal enters the standby state, and then if necessary,
  • the terminal displays an unlocking interface, so that the user can unlock the screen of the terminal in the unlocking interface to enter the multi-tasking scenario.
  • the terminal passes the above steps 208 and 209.
  • the operation of hibernation requires the running application and its dependent applications to put the terminal into standby.
  • the method provided by the embodiment of the present invention enters the single task scenario to use other applications. If the user wants to enter the multitasking scene at the same time to use multiple applications at the same time, the user can click the power button, the Home button or the lock screen button on the terminal to enable the terminal to display the unlock interface, and the user is unlocking the interface. Enter the correct unlock password in the middle. After the terminal verifies that the unlock password entered by the user is correct, the lock on the screen is released, and the multi-tasking scene can be entered.
  • the terminal sleeps the application that needs to run and the application that it depends on by the operations of steps 208 and 209 above, and then displays the unlocking interface to the user, where the user can Enter the correct unlock password in the unlock interface. After the terminal verifies that the unlock password entered by the user is correct, the terminal unlocks the screen. At this time, the terminal enters the multi-tasking scenario, and the user can simultaneously use multiple applications in the multi-tasking scenario.
  • the terminal when the terminal enters the standby state, the terminal locks the screen, and the terminal unlocks the screen only when the user inputs the correct unlock password.
  • the screen In the case that the screen is locked, according to the application entry information of the application that needs to run, enter a single task scenario to run the application that needs to run, so that the user can only access the application that needs to run, and cannot access other applications.
  • the terminal of the single-core CPU, the terminal of the dual-core CPU, and the terminal of the multi-core CPU can run the single task scenario and the multi-tasking scenario in the embodiment of the present invention. Because in a single-core CPU terminal, a single-core CPU can serially process each process of an application that needs to run. In the terminal of the dual-core CPU and the multi-core CPU, the process of the application that needs to run can be allocated to multiple CPUs for parallel processing, which can improve the processing speed. Therefore, the terminal of the single-core CPU and the terminal of the multi-core CPU can run the single task scenario and the multi-tasking scenario provided by the embodiment of the present invention, and the running speed of the multi-core CPU is faster than that of the single-core CPU.
  • the standby state receiving application entry information input by the user; obtaining an identifier of the application to be run according to the application entry information; waking up the operating system and maintaining an application other than the application to be run
  • the application that is being hibernated is still in hibernation; the application that needs to run is run through the operating system, depending on the identity of the application that needs to be run. Because the application that needs to run is running while keeping the application that is hibernated in the application other than the application that needs to run, it only runs the application that needs to run, thus saving system resources. Reduced system power consumption.
  • an embodiment of the present invention provides an apparatus for running an application, including:
  • the receiving module 301 is configured to receive application entry information input by the user in a standby state
  • the obtaining module 302 is configured to obtain, according to the application portal information, an identifier of an application that needs to be run;
  • the wake-up module 303 is configured to wake up the operating system and keep the sleepy application in the application other than the application that needs to be running still in a sleep state;
  • the running module 304 is configured to run an application that needs to be run through the operating system according to the identifier of the application that needs to run.
  • the obtaining module 302 includes:
  • a first acquiring unit configured to acquire, according to the application entry information, an identifier of the corresponding application from a correspondence between the application portal information and the identifier of the application;
  • a determining unit configured to determine an identifier of the obtained application as an identifier of an application that needs to be run.
  • the device further includes:
  • a setting module configured to set application entry information corresponding to each application
  • the storage module is configured to store the application entry information corresponding to each application and the identifier of each application in a correspondence between the application portal information and the identifier of the application.
  • the wake-up module 303 includes:
  • a wake-up unit configured to wake up the system device, the bus, and the external device by the wake-up process to implement wake-up of the operating system
  • a second obtaining unit configured to acquire, by using an operating system, an identifier of the application that is hibernated in an application other than the application that needs to be run;
  • the holding unit is configured to keep the hibernated application in the application other than the application to be run still in a sleep state by the process group management interface in the operating system according to the identifier of the acquired application.
  • the running module 304 includes:
  • a first allocation unit configured to allocate system resources to an application that needs to be run by using an operating system according to an identifier of an application that needs to run;
  • the first startup unit is configured to start, according to the identifier of the application to be run and the allocated system resource, the application that needs to be run through the process group management interface in the process thawing layer of the operating system, so as to implement an application that needs to run.
  • running module 304 further includes:
  • a third obtaining unit configured to acquire, according to an identifier of an application that needs to run, an identifier of an application that the application that needs to run depends on;
  • a second allocation unit configured to allocate system resources to the dependent application by the operating system according to the identifier of the dependent application
  • the second initiating unit is configured to start the dependent application by using the process group management interface in the process thawing layer of the operating system according to the identifier of the dependent application and the allocated system resource.
  • the device further includes:
  • Obtaining a storage module when detecting an exit command that triggers an application that needs to be run, obtaining, by the operating system, running information of the application that needs to run, and storing, by the operating system, running information of the application that needs to be run;
  • the hibernation module is used to hibernate the application and the operating system that need to be run through the process group management interface, so that the terminal enters the standby state.
  • the standby state receiving application entry information input by the user; obtaining an identifier of the application to be run according to the application entry information; waking up the operating system and maintaining the need
  • the hibernated application in an application other than the application to be run is still dormant; run the application that needs to run through the operating system, depending on the identity of the application that needs to be run. Because the application that needs to run is running while keeping the application that is hibernated in the application other than the application that needs to run, it only runs the application that needs to run, thus saving system resources. Reduced system power consumption.
  • an embodiment of the present invention provides an apparatus for running an application, where the apparatus includes a sensing apparatus 401 and a processor 402;
  • the sensing device 401 is configured to receive application entry information input by the user in a standby state
  • the sensing device 401 can be a touch sensing device, a voice sensing device, and/or a motion sensing device.
  • a touch sensing device is mounted on the screen of the terminal, and a voice sensing device and/or a motion sensing device may be mounted on the terminal.
  • the touch sensing device may be a touch pressure sensor or the like for sensing a trajectory of characters input by the user on the screen of the terminal;
  • the voice sensing device may be a voice sensor or a recording device, etc., for receiving voice data input by the user;
  • the motion sensing device may It is a motion sensor or the like for sensing the movement trajectory of the user's mobile terminal.
  • the technician When developing the terminal, the technician can set the touch sensing device, the voice sensing device, and the motion sensing device to still work normally when the terminal is in the standby state. Therefore, in the standby state, the terminal can receive the application entry information input by the user through the touch sensing device, the voice sensing device, and the motion sensing device.
  • the step is specifically: in the standby state, the trajectory of the character input by the user on the screen of the terminal is sensed by the touch sensing device, and the trajectory is used as the application entry information input by the user.
  • the voice data input by the user is received by the voice sensing device, and the voice data is used as application entry information input by the user.
  • the movement trajectory of the user mobile terminal is sensed by the motion sensing device, and the movement trajectory is used as application entry information input by the user.
  • the processor 402 is configured to obtain an identifier of an application that needs to run according to the application portal information, wake up the operating system, and keep the application that is hibernated in an application other than the application that needs to be running still in a dormant state; The identity of the application that runs through the operating system needs to run the application.
  • the processor 402 is configured to obtain, according to the application entry information, the identifier of the corresponding application from the correspondence between the application portal information and the identifier of the application; and determine the identifier of the obtained application as the application that needs to be run. logo.
  • the application entry information is a trajectory of characters input by the user on the screen of the terminal, voice data input by the user to the terminal, or a movement trajectory of the user mobile terminal.
  • the application portal information of the application game may be a trajectory of the character g input by the user on the screen of the terminal, a voice data "game” input by the user to the terminal, or a movement trajectory g of the user mobile terminal.
  • the device further includes a memory 403;
  • the processor 402 is configured to further set application entry information corresponding to each application
  • the storage 403 is configured to store the application entry information corresponding to each application and the identifier of each application in a corresponding relationship between the application portal information and the identifier of the application. Specifically, it can be stored in a memory.
  • the processor 402 is configured to wake up the system device, the bus, and the external device by the wake-up process to implement the wake-up of the operating system, and obtain, by the operating system, the identifier of the application that is hibernated in the application other than the application to be run; The obtained application's identity is maintained by the process group management interface in the operating system. The application that is hibernated in the application other than the application that needs to run is still in a dormant state.
  • the system device may be a CPU (Central Processing Unit), a BIOS (Basic Input Output System), a motherboard, and a memory.
  • the external device may be an input device, a display device, or the like, and the input device may be a keyboard, a mouse, a voice input device, or the like, and the display device may be a display, a screen, or the like.
  • the process group management interface is a process management interface provided by the operating system, and is used to manage all processes running on the terminal.
  • the processor 402 is configured to allocate system resources to the applications that need to be run through the operating system according to the identifier of the application that needs to be run; and to unfreeze the process in the operating system according to the identifier of the application running and the allocated system resources.
  • the application that needs to be run is started through the process group management interface to implement the application that needs to run.
  • the process defrosting layer is a module provided by the operating system for unfreezing the process that is sleeping.
  • the processor 402 is further configured to: obtain an identifier of the application that the application that needs to run depends on the identifier of the application that needs to run; and allocate the system to the dependent application by using the operating system according to the identifier of the dependent application. Resources; based on the identity of the dependent application and the allocated system resources, the dependent application is launched through the process group management interface in the process thawing layer of the operating system.
  • the so-called dependent application is the application that needs to be run when the application needs to be run at runtime. program.
  • An application includes multiple functions, and sometimes the implementation of one function requires calling other applications.
  • the alarm clock has a reminder function, and when the reminder function is implemented, the player is called to play music for reminding, and the player is an application that the alarm clock depends on. So if you want to make the application you need to run up, run the application that the application you want to run depends on.
  • the processor 402 is further configured to: when detecting an exit command that triggers an application that needs to be run, obtain operation information of the application that needs to be run through the operating system, and store operation information of the application that needs to be run through the operating system.
  • the standby state receiving application entry information input by the user; obtaining an identifier of the application to be run according to the application entry information; waking up the operating system and maintaining an application other than the application to be run
  • the application that is being hibernated is still in hibernation; the application that needs to run is run through the operating system, depending on the identity of the application that needs to be run. Because the application that needs to run is running while keeping the application that is hibernated in the application other than the application that needs to run, it only runs the application that needs to run, thus saving system resources. Reduced system power consumption.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种运行应用程序的方法及装置,属于计算机技术领域。所述方法包括:在待机状态下,接收用户输入的应用入口信息;根据所述应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。所述装置包括:接收模块、获取模块、唤醒模块和运行模块。本发明能够仅运行需要运行的应用程序而保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,从而节省系统资源,以及降低系统功耗。

Description

一种运行应用程序的方法及装置 技术领域
本发明涉及计算机技术领域,特别涉及一种运行应用程序的方法及装置。
背景技术
目前,为了节省系统资源,降低系统功耗,在用户长时间不使用终端或者用户使用完终端之后点击电源键或锁屏按钮时,终端休眠正在运行的应用程序和操作系统,使终端进入待机状态,以此来节省系统资源并降低系统功耗。
其中,当终端处于待机状态时,如果用户想要运行某个应用程序,用户需要向终端提交唤醒请求。终端接收用户提交的唤醒请求,唤醒操作系统,并通过操作系统运行被休眠的应用程序,使终端进入唤醒状态。然后,用户可以通过点击需要运行的应用程序对应的运行接口来向终端提交运行请求,终端接收用户提交的运行请求,获取需要运行的应用程序的标识。根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。
在运行应用程序的过程中,终端不仅运行了需要运行的应用程序,还运行了被休眠的应用程序,而被休眠的应用程序并不是用户当前需要运行的应用程序,运行被休眠的应用程序占用了系统资源,如此造成了系统资源的浪费,且增加了系统功耗。
发明内容
为了节省系统资源,降低系统功耗,本发明提供了一种运行应用程序的方法及装置。所述技术方案如下:
第一方面,一种运行应用程序的方法,所述方法包括:
在待机状态下,接收用户输入的应用入口信息;
根据所述应用入口信息,获取需要运行的应用程序的标识;
唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
结合上述第一方面,在上述第一方面的第一种可能的实现方式中,所述根据所述应用入口信息,获取需要运行的应用程序的标识,包括:
根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
结合上述第一方面,在上述第一方面的第二种可能的实现方式中,所述接收用户输入的应用入口信息之前,还包括:
设置每个应用程序对应的应用入口信息;
将所述每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
结合上述第一方面,在上述第一方面的第三种可能的实现方式中,所述唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,包括:
通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
结合上述第一方面,在上述第一方面的第四种可能的实现方式中,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序,包括:
根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;
根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
结合上述第一方面,在上述第一方面的第五种可能的实现方式中,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应 用程序之后,还包括:
根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;
根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;
根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
结合上述第一方面,在上述第一方面的第六种可能的实现方式中,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序之后,还包括:
当检测到触发所述需要运行的应用程序的退出命令时,通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息;
通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
第二方面,一种运行应用程序的装置,所述装置包括:
接收模块,用于在待机状态下,接收用户输入的应用入口信息;
获取模块,用于根据所述应用入口信息,获取需要运行的应用程序的标识;
唤醒模块,用于唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
运行模块,用于根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
结合上述第二方面,在上述第二方面的第一种可能的实现方式中,所述获取模块包括:
第一获取单元,用于根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
确定单元,用于将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
结合上述第二方面,在上述第二方面的第二种可能的实现方式中,所述装置还包括:
设置模块,用于设置每个应用程序对应的应用入口信息;
存储模块,用于将所述每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
结合上述第二方面,在上述第二方面的第三种可能的实现方式中,所述唤醒模块包括:
唤醒单元,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
第二获取单元,用于通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
保持单元,用于根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
结合上述第二方面,在上述第二方面的第四种可能的实现方式中,所述运行模块包括:
第一分配单元,用于根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;
第一启动单元,用于根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
结合上述第二方面,在上述第二方面的第五种可能的实现方式中,所述运行模块还包括:
第三获取单元,用于根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;
第二分配单元,用于根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;
第二启动单元,用于根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
结合上述第二方面,在上述第二方面的第六种可能的实现方式中,所述装置还包括:
获取存储模块,用于当检测到触发所述需要运行的应用程序的退出命令时, 通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息;
休眠模块,用于通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
第三方面,一种运行应用程序的装置,所述装置包括感应装置和处理器;
所述感应装置,用于在待机状态下,接收用户输入的应用入口信息;
所述处理器,用于根据所述应用入口信息,获取需要运行的应用程序的标识,唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
结合上述第三方面,在上述第三方面的第一种可能的实现方式中,所述处理器,用于根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识,将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
结合上述第三方面,在上述第三方面的第二种可能的实现方式中,所述装置还包括存储器;
所述处理器,还用于设置每个应用程序对应的应用入口信息;
所述存储器,用于将所述每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
结合上述第三方面,在上述第三方面的第三种可能的实现方式中,所述处理器,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
结合上述第三方面,在上述第三方面的第四种可能的实现方式中,所述处理器,用于根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
结合上述第三方面,在上述第三方面的第五种可能的实现方式中,所述处理器,还用于根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
结合上述第三方面,在上述第三方面的第六种可能的实现方式中,所述处理器,还用于当检测到触发所述需要运行的应用程序的退出命令时,通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息,通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
结合上述第三方面,在上述第三方面的第七种可能的实现方式中,所述感应装置至少包括触摸感应装置、语音感应装置和/或运动感应装置。
在本发明实施例中,在待机状态下,接收用户输入的应用入口信息;根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。由于在运行需要运行的应用程序的同时,保持了除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,所以仅运行了需要运行的应用程序,如此节省了系统资源,降低了系统功耗。
附图说明
图1是本发明实施例1提供的一种运行应用程序的方法流程图;
图2是本发明实施例2提供的一种运行应用程序的方法流程图;
图3是本发明实施例3提供的一种运行应用程序的装置结构示意图;
图4是本发明实施例4提供的一种运行应用程序的装置结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
实施例1
参见图1,本发明实施例提供了一种运行应用程序的方法,包括:
步骤101:在待机状态下,接收用户输入的应用入口信息;
其中,终端的屏幕上安装有触摸感应装置,终端上还可以安装有语音感应装置和/或运动感应装置。触摸感应装置可以为触压传感器等,用于感应用户在终端的屏幕上输入的字符的轨迹;语音感应装置可以为语音传感器或录音设备等,用于接收用户输入的语音数据;运动感应装置可以为运动传感器等,用于感应用户移动终端的移动轨迹。在开发终端时,技术人员可以设置在终端处于待机状态时触摸感应装置、语音感应装置和运动感应装置仍能正常工作。因此在待机状态下,终端可以通过触摸感应装置、语音感应装置和运动感应装置来接收用户输入的应用入口信息。
本步骤具体为,在待机状态下,通过触摸感应装置感应用户在终端的屏幕上输入的字符的轨迹,将该轨迹作为用户输入的应用入口信息。或者,在待机状态下,通过语音感应装置接收用户输入的语音数据,将该语音数据作为用户输入的应用入口信息。或者,在待机状态下,通过运动感应装置感应用户移动终端的移动轨迹,将该移动轨迹作为用户输入的应用入口信息。
步骤102:根据该应用入口信息,获取需要运行的应用程序的标识;
步骤103:唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
步骤104:根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。
优选地,根据该应用入口信息,获取需要运行的应用程序的标识,包括:
根据该应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
将获取的应用程序的标识确定为需要运行的应用程序的标识。
其中,应用入口信息为用户在终端的屏幕上输入的字符的轨迹、用户向终端输入的语音数据或用户移动终端的移动轨迹。例如,应用程序game的应用入口信息可以为用户在终端的屏幕上输入的字符g的轨迹、用户向终端输入的语音数据“game”或用户移动终端的移动轨迹g。
进一步地,接收用户输入的应用入口信息之前,还包括:
设置每个应用程序对应的应用入口信息;
将每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。具体的,可以存储在存储器中。
优选地,唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,包括:
通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
通过操作系统获取除需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
根据获取的应用程序的标识,通过操作系统中的进程组管理接口保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
其中,系统设备可以为CPU(Central Processing Unit,中央处理器)、BIOS(Basic Input Output System,基本输入输出系统)、主板和内存等。外部设备可以为输入设备和显示设备等,输入设备可以为键盘、鼠标和语音输入装置等,显示设备可以为显示器和屏幕等。
其中,进程组管理接口是操作系统提供的进程管理接口,用于管理终端上运行的所有进程。
优选地,根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序,包括:
根据需要运行的应用程序的标识,通过操作系统为需要运行的应用程序分配系统资源;
根据需要运行的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动需要运行的应用程序,以实现运行需要运行的应用程序。
其中,进程解冻层是操作系统提供的一个模块,用于解冻被休眠的进程。
进一步地,根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序之后,还包括:
根据需要运行的应用程序的标识,获取需要运行的应用程序依赖的应用程序的标识;
根据依赖的应用程序的标识,通过操作系统为依赖的应用程序分配系统资源;
根据依赖的应用程序的标识和分配的系统资源,在操作系统的进程解冻层 中通过进程组管理接口启动依赖的应用程序。
其中,所谓依赖的应用程序即为需要运行的应用程序在运行时调用的应用程序。一个应用程序包括多种功能,有时一种功能的实现需要调用其他应用程序。例如,闹钟具有提醒功能,在实现提醒功能时要调用播放器来播放用于提醒的音乐,播放器就是闹钟依赖的应用程序。因此如果想要使需要运行的应用程序正常运行,则还要运行需要运行的应用程序依赖的应用程序。
进一步地,根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序之后,还包括:
当检测到触发需要运行的应用程序的退出命令时,通过操作系统获取需要运行的应用程序的运行信息,以及通过操作系统存储需要运行的应用程序的运行信息;
通过进程组管理接口休眠需要运行的应用程序和操作系统,以使终端进入待机状态。
在本发明实施例中,在待机状态下,接收用户输入的应用入口信息;根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。由于在运行需要运行的应用程序的同时,保持了除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,所以仅运行了需要运行的应用程序,如此节省了系统资源,降低了系统功耗。
实施例2
参见图2,本发明实施例提供了一种运行应用程序的方法。当用户想运行需要运行的应用程序而不想运行其他应用程序时,终端可以通过本发明实施例提供的方法来运行需要运行的应用程序,该方法具体包括:
步骤201:设置每个应用程序对应的应用入口信息;
其中,应用程序对应的应用入口信息可以为该应用程序对应的预设轨迹或预设语音。预设轨迹的形状可以为该应用程序的名称的首字母等,预设语音可以为该应用程序的名称的语音等。
其中,终端为每个应用程序提供了用于设置应用入口信息的设置接口。在终端上市之前技术人员可以通过应用程序对应的设置接口输入该应用程序对 应的预设轨迹或预设语音,或者在终端上市之后由用户通过应用程序对应的设置接口输入该应用程序对应的预设轨迹或预设语音。
本步骤具体为,对于终端上安装的每个应用程序,通过该应用程序对应的设置接口接收用户输入的该应用程序对应的预设轨迹或预设语音,将接收的预设轨迹或预设语音作为该应用程序对应的应用入口信息。
其中,对于终端上安装的除该应用程序以外的其他每个应用程序,都可以同该应用程序按照上述方式设置其他每个应用程序对应的应用入口信息。
例如,假设终端上安装有应用程序1、2和3,应用程序1、2和3的名称分别为message、game和clock,应用程序1、2和3的名称的首字母分别为m、g和c。通过应用程序1对应的设置接口接收用户输入的应用程序1对应的预设轨迹为m和/或预设语音为“message”,将接收的预设轨迹m和/或预设语音“message”作为应用程序1对应的应用入口信息。通过应用程序2对应的设置接口接收用户输入的应用程序2对应的预设轨迹为g和/或预设语音为“game”,将接收的预设轨迹g和/或预设语音“game”作为应用程序2对应的应用入口信息。通过应用程序3对应的设置接口接收用户输入的应用程序3对应的预设轨迹为c和/或预设语音为“clock”,将接收的预设轨迹c和/或预设语音“clock”作为应用程序3对应的应用入口信息。
步骤202:将每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中;
其中,应用程序的标识可以为应用程序的名称或终端为应用程序分配的编号等。
本步骤具体为,对于终端上安装的每个应用程序,通过该应用程序对应的设置接口设置该应用程序对应的应用入口信息时,获取该应用程序的标识,将该应用程序对应的应用入口信息和该应用程序的标识存储在应用入口信息与应用程序的标识的对应关系中。具体的,可以存储在存储器中。
其中,对于终端上安装的除该应用程序以外的其他每个应用程序,都可以同该应用程序,按照上述方式分别将其他每个应用程序对应的应用入口信息和其他每个应用程序的标识存储在应用入口信息与应用程序的标识的对应关系中。
例如,假设应用程序1、2和3的标识分别为001、002和003。通过应用程序1对应的设置接口设置应用程序1对应的应用入口信息时,获取应用程序 1的标识001,将应用程序1对应的应用入口信息(预设轨迹m或预设语音“message”)和应用程序1的标识001存储在如表1所示的应用入口信息与应用程序的标识的对应关系中。
表1
应用入口信息 应用程序的标识
(预设轨迹m或预设语音“message”) 001
(预设轨迹g或预设语音“game”) 002
(预设轨迹c或预设语音“clock”) 003
再如,通过应用程序2对应的设置接口设置应用程序2对应的应用入口信息时,获取应用程序2的标识002,将应用程序2对应的应用入口信息(预设轨迹g或预设语音“game”)和应用程序2的标识002存储在如表1所示的应用入口信息与应用程序的标识的对应关系中。
又如,通过应用程序3对应的设置接口设置应用程序3对应的应用入口信息时,获取应用程序3的标识003,将应用程序3对应的应用入口信息(预设轨迹c或预设语音“clock”)和应用程序3的标识003存储在如表1所示的应用入口信息与应用程序的标识的对应关系中。
其中,通过上述步骤201的操作设置每个应用程序对应的应用入口信息,并通过步骤202的操作存储了每个应用程序对应的应用入口信息与每个应用程序的标识的对应关系之后,当终端处于待机状态而用户想要运行某个应用程序时,可以通过如下步骤203-206的操作根据该应用程序对应的应用入口信息来运行该应用程序。
步骤203:在待机状态下,接收用户输入的应用入口信息;
其中,终端的屏幕上安装有触摸感应装置,终端上还可以安装有语音感应装置和/或运动感应装置。触摸感应装置可以为触压传感器等,用于感应用户在终端的屏幕上输入的字符的轨迹;语音感应装置可以为语音传感器或录音设备等,用于接收用户输入的语音数据;运动感应装置可以为运动传感器等,用于感应用户移动终端的移动轨迹。在开发终端时,技术人员可以设置在终端处于待机状态时触摸感应装置、语音感应装置和运动感应装置仍能正常工作。因此在待机状态下,即在终端屏幕黑屏时不需要点亮终端的屏幕就可以通过触摸感应装置、语音感应装置和运动感应装置来接收用户输入的应用入口信息。
其中,当用户长时间不使用终端或者用户使用完终端之后点击电源键或锁屏按钮时,终端休眠正在运行的应用程序和操作系统,使终端进入待机状态。此时终端的触摸屏上的触摸感应装置仍处于开启状态,用户可以用手指或触屏笔等在触摸屏上移动,以使触摸感应装置识别手指或触屏笔等的移动轨迹,以此来向终端输入信息。另外,在终端处于待机状态时,用户可以移动终端在空间中的位置,以使终端上的运动感应装置感应终端移动的轨迹,以此来向终端输入信息。或者,用户也可以对着终端说话,以使终端上的语音感应装置对用户所说的话进行录音得到一段语音数据,以此来向终端输入信息。
其中,在终端处于待机状态下时,用户通过仍能正常工作的触摸感应装置、语音感应装置或运动感应装置来向终端输入应用入口信息,当确认该应用入口信息为某应用程序对应的应用入口信息时,会触发唤醒终端的指令,来唤醒终端。
本步骤具体为,在待机状态下,通过触摸感应装置接收用户输入的第一移动轨迹,将第一移动轨迹作为用户输入的应用入口信息;或者,通过运动感应装置识别用户移动终端的第二移动轨迹,将第二移动轨迹作为用户输入的应用入口信息;或者,通过语音感应装置对用户发出的语音进行录音得到一段语音数据,将该语音数据作为用户输入的应用接口信息。
例如,假设用户用手指在触摸感应装置上书写了字符m。在待机状态下,通过触摸感应装置接收用户输入的第一移动轨迹m,将第一移动轨迹m作为用户输入的应用入口信息R1。
再如,假设用户移动终端在空间中的位置时,终端的移动轨迹为字符m的形状。在待机状态下,通过运动感应装置识别用户移动终端的第二移动轨迹m,将第二移动轨迹m作为用户输入的应用入口信息R1。
又如,假设用户对着手机发出“message”的语音。在待机状态下,通过语音感应装置对用户发出的语音“message”进行录音得到一段语音数据“message”,将该语音数据“message”作为用户输入的应用接口信息R1。
步骤204:根据接收的应用入口信息,获取需要运行的应用程序的标识;
具体地,根据接收的应用入口信息,从应用入口信息与应用程序的标识的对应关系中匹配出与接收的应用入口信息最相似的应用入口信息。从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识。将获取的应用程序的标识确定为需要运行的应用程序的标识。
其中,可以通过如下方法从应用入口信息与应用程序的标识的对应关系中匹配出与接收的应用入口信息最相似的应用入口信息,具体为:
获取应用入口信息与应用程序的标识的对应关系中包括的每个应用入口信息。如果接收的应用入口信息为触摸感应装置接收的第一移动轨迹或者运动感应装置识别的第二移动轨迹,则分别获取每个应用入口信息包括的预设轨迹,分别计算接收的第一轨迹或第二轨迹与每个预设轨迹的相似度,将相似度最大的预设轨迹对应的应用入口信息确定为匹配出的应用入口信息。如果接收的应用入口信息为一段语音数据,则分别获取每个应用入口信息包括的预设语音,分别计算接收的语音数据与每个预设语音的相似度,将相似度最大的预设语音对应的应用入口信息确定为匹配出的应用入口信息。
例如,假设接收的应用入口信息R1为触摸感应装置接收的第一移动轨迹m或者运动感应装置识别的第二移动轨迹m。根据应用入口信息R1从如表1所示的应用入口信息与应用程序的标识的对应关系中获取应用入口信息R1对应的应用程序的标识001,具体获取过程如下:
获取表1所示的应用入口信息与应用程序的标识的对应关系中包括的每个应用入口信息,即获取应用入口信息(预设轨迹m或预设语音“message”)、(预设轨迹g或预设语音“game”)和(预设轨迹c或预设语音“clock”)。获取每个应用入口信息包括的预设轨迹,即获取预设轨迹m、g和c,分别计算接收的第一轨迹m或第二轨迹m与每个预设轨迹m、g和c的相似度,假设计算出与预设轨迹m、g和c的相似度分别为1、0和0。将相似度最大的预设轨迹m对应的应用入口信息(预设轨迹m或预设语音“message”)确定为匹配出的应用入口信息。根据匹配出的应用入口信息(预设轨迹m或预设语音“message”),从表1所示的应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识为001。将获取的应用程序的标识001确定为需要运行的应用程序的标识。
再如,假设接收的应用入口信息R1为一段语音数据“message”。获取表1所示的应用入口信息与应用程序的标识的对应关系中包括的每个应用入口信息,即获取应用入口信息(预设轨迹m或预设语音“message”)、(预设轨迹g或预设语音“game”)和(预设轨迹c或预设语音“clock”)。获取每个应用入口信息包括的预设语音,即获取预设语音“message”、“game”和“clock”,分别计算接收的语音数据“message”与每个预设语音“message”、“game”和“clock” 的相似度,假设计算出与预设语音“message”、“game”和“clock”的相似度分别为1、0和0。将相似度最大的预设语音“message”对应的应用入口信息(预设轨迹m或预设语音“message”)确定为匹配出的应用入口信息。根据匹配出的应用入口信息(预设轨迹m或预设语音“message”),从表1所示的应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识为001。将获取的应用程序的标识001确定为需要运行的应用程序的标识。
其中,通过上述步骤203和204的操作获取需要运行的应用程序的标识之后,还需要通过如下步骤205的操作使终端从待机状态进入唤醒状态。
步骤205:唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
其中,当终端处于待机状态时,如果用户想要运行应用程序,则首先需要唤醒终端的操作系统,使终端从待机状态进入唤醒状态。由于终端进入待机状态时系统设备、总线和外部设备均被休眠,所以唤醒终端时需要唤醒系统设备、总线和外部设备。系统设备可以为CPU、BIOS、主板和内存等。外部设备可以为输入设备和显示设备等,输入设备可以为键盘、鼠标和语音输入装置等,显示设备可以为显示器和屏幕等。
本步骤具体为,通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统。通过操作系统获取除需要运行的应用程序以外的应用程序中被休眠的应用程序的标识。根据获取的应用程序的标识,通过进程组管理接口保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
其中,处于休眠状态的应用程序不占用系统资源。
例如,假设终端上有应用程序001、002和003,应用程序001为需要运行的应用程序,且之前进入待机状态时,应用程序002被休眠了。通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统。通过操作系统获取除需要运行的应用程序001以外的应用程序中被休眠的应用程序的标识002。根据获取的应用程序的标识002,通过进程组管理接口保持除需要运行的应用程序001以外的应用程序中被休眠的应用程序002仍处于休眠状态。
其中,pm_enter()函数为电源管理函数,在唤醒终端时用于启动各种设备。pm_enter()函数中的cpu_init()函数用于启动CPU。suspend_enter()函数为进入休眠的函数,在终端进入休眠时执行suspend_enter()函数直到休眠完成,当需要唤醒终端时再从上次suspend_enter()函数停止的位置处开始执行。 sysdev_resume()函数为系统唤醒函数,用于唤醒系统设备和总线。suspend_devices_and_enter()函数为休眠/唤醒设备函数,在休眠终端时用于休眠外部设备,在唤醒终端时用于唤醒外部设备。
其中,当从待机状态唤醒终端时,执行pm_enter()中的cpu_init()函数,然后执行suspend_enter()的sysdev_resume()函数,唤醒系统设备和总线,使能系统中断。然后返回到suspend_devices_and_enter()函数中,使能休眠时停止掉的非启动CPU(Central Processing Unit,中央处理器),继续唤醒外部设备,使能终端。当suspend_devices_and_enter()执行完成后,系统设备和外部设备已经唤醒,使能用户间helper进程广播一个系统从待机状态退出的通知,唤醒终端。但是其他所有的任务都没有收到该通知,因此CPU的利用率非常低,与休眠状态下CPU的利用率相近,因此虽然终端由待机状态进入唤醒状态,但此时终端上被休眠的应用程序仍处于冻结状态。
其中,在唤醒系统设备时,CPU、BIOS、主板和内存等均被唤醒了。在唤醒外部设备时,输入设备和显示设备等均被唤醒了。
步骤206:根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序;
具体地,根据需要运行的应用程序的标识,通过操作系统为需要运行的应用程序分配系统资源。根据需要运行的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动需要运行的应用程序,以实现运行需要运行的应用程序。
其中,分配的系统资源包括CPU、内存和网络带宽等。
例如,根据需要运行的应用程序的标识001,通过操作系统为需要运行的应用程序001分配系统资源。根据需要运行的应用程序的标识001和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动需要运行的应用程序001,以实现运行需要运行的应用程序001。
其中,通过JNI(Java Native Interface,脚本本地调用)调用Kernel(操作系统内核)层接口,将需要运行的应用程序的标识传递给进程冻结/解冻层,在进程冻结/解冻层中通过调用进程组管理接口为需要运行的应用程序分配系统资源,以对需要运行的应用程序进行解冻。而对于除需要运行的应用程序以外的其他应用程序,仍进行冷冻。
其中,通过上述步骤206运行需要运行的应用程序之后,还需要通过如下 步骤207的操作来运行需要运行的应用程序依赖的应用程序。
步骤207:根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序依赖的应用程序;
其中,所谓依赖的应用程序即为需要运行的应用程序在运行时调用的应用程序。一个应用程序包括多种功能,有时一种功能的实现需要调用其他应用程序。例如,闹钟具有提醒功能,在实现提醒功能时要调用播放器来播放用于提醒的音乐。因此如果想要使需要运行的应用程序正常运行,则还要运行需要运行的应用程序依赖的应用程序。
其中,应用程序的安装文件中包括该应用程序依赖的应用程序的标识。
本步骤具体为,根据需要运行的应用程序的标识,获取需要运行的应用程序的安装文件。从需要运行的应用程序的安装文件中获取需要运行的应用程序依赖的应用程序的标识。根据依赖的应用程序的标识,通过操作系统为依赖的应用程序分配系统资源。根据依赖的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动依赖的应用程序。
例如,假设需要运行的应用程序001依赖的应用程序003。根据需要运行的应用程序的标识001,获取需要运行的应用程序001的安装文件setup1。从需要运行的应用程序001的安装文件setup1中获取需要运行的应用程序001依赖的应用程序的标识003。根据依赖的应用程序的标识003,通过操作系统为依赖的应用程序003分配系统资源。根据依赖的应用程序的标识003和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动依赖的应用程序003。
其中,在依赖的应用程序中,仅运行了需要运行的应用程序所依赖的功能,对于依赖的应用程序包括的其他功能仍可以处于冻结状态。
其中,通过上述步骤206和207的操作运行需要运行的应用程序以及依赖的应用程序之后,用户只能访问需要运行的应用程序。当用户长时间不使用需要运行的应用程序或者用户想要访问其他应用程序时,可以通过如下步骤208和209的操作退出需要运行的应用程序。
步骤208:当检测到触发需要运行的应用程序的退出命令时,通过操作系统获取需要运行的应用程序的运行信息,以及通过操作系统存储需要运行的应用程序的运行信息;
其中,当用户长时间不使用需要运行的应用程序时,或者用户点击需要运 行的应用程序的退出按钮时,或者用户点击终端上的电源键或锁屏按钮时,或者用户点击终端上的Home(主键)键时,都可以触发需要运行的应用程序的退出命令。需要运行的应用程序的运行信息至少包括当前需要运行的应用程序显示的页面信息和进程标识。
本步骤具体为,当检测到触发需要运行的应用程序的退出命令时,通过操作系统获取需要运行的应用程序当前显示页面信息和进程标识,将获取的页面信息和进程标识作为需要运行的应用程序的运行信息,通过操作系统将需要运行的应用程序的标识和需要运行的应用程序的运行信息存储在应用程序的标识与运行信息的对应关系中。具体可以存储在存储器中。
例如,当检测到触发需要运行的应用程序001的退出命令时,通过操作系统获取需要运行的应用程序001当前显示页面信息page1和进程标识Pr1,将获取的页面信息page1和进程标识Pr1作为需要运行的应用程序的运行信息M1,通过操作系统将需要运行的应用程序的标识001和需要运行的应用程序001的运行信息M1存储在如表2所示的应用程序的标识与运行信息的对应关系中。
表2
应用程序的标识 运行信息
001 M1
…… ……
步骤209:通过进程组管理接口休眠需要运行的应用程序和操作系统,以使终端进入待机状态。
具体地,通过进程组管理接口释放需要运行的应用程序所占用的系统资源,休眠需要运行的应用程序和操作系统,使终端进入待机状态。
例如,通过进程组管理接口释放需要运行的应用程序001所占用的系统资源,休眠需要运行的应用程序001和操作系统,使终端进入待机状态。
进一步地,还通过进程组管理接口释放需要运行的应用程序依赖的应用程序,休眠依赖的应用程序。
其中,通过JNI调用Kernel层接口,将需要运行的应用程序的标识传递给进程冻结/解冻层,在进程冻结/解冻层中通过调用进程组管理接口释放需要运行的应用程序和其依赖的应用程序所占用的系统资源,休眠需要运行的应用程 序和其依赖的应用程序,然后休眠操作系统,使终端进入待机状态。
其中,对于终端上安装的其他每个应用程序,都可以同该需要运行的应用程序按照本发明实施例的方法来运行其他每个应用程序。
其中,在本发明实施例中,用户通过需要运行的应用程序对应的应用入口信息来运行需要运行的应用程序,如此用户只能访问需要运行的应用程序而不能访问其他应用程序,将这种只能访问一个应用程序的场景称为单任务场景,而将可以同时访问多个应用程序的场景称为多任务场景,在多任务场景中用户可以通过点击应用程序的图标来运行该应用程序。当终端处于单任务场景且用户想要访问多个应用程序时,可以通过上述步骤208和209的操作来退出需要运行的应用程序,进而退出单任务场景,使终端进入待机状态,然后如果需要进入多任务场景,则终端显示解锁界面,使用户在解锁界面对终端的屏幕进行解锁即可进入多任务场景。
其中,当用户通过长时间不使用需要运行的应用程序,或者通过点击需要运行的应用程序的退出按钮、终端上的电源键或锁屏按钮来退出单任务场景时,终端通过上述步骤208和209的操作休眠需要运行的应用程序及其依赖的应用程序,使终端进入待机状态。此时如果用户想要在单任务场景下使用其他的应用程序,则再通过本发明实施例提供的方法进入单任务场景来使用其他的应用程序。如果此时用户想要进入多任务场景以同时使用多个应用程序,则用户可以通过点击终端上的电源键、Home(主键)键或锁屏键,以使终端显示解锁界面,用户在解锁界面中输入正确的解锁密码,终端验证用户输入的解锁密码正确后解除对屏幕的锁定,即可进入多任务场景。
其中,当用户通过点击终端上的Home键来退出单任务场景时,终端通过上述步骤208和209的操作休眠需要运行的应用程序及其依赖的应用程序,然后显示解锁界面给用户,用户可以在解锁界面中输入正确的解锁密码,终端验证用户输入的解锁密码正确后解除对屏幕的锁定,此时终端进入了多任务场景,用户可以在多任务场景下同时使用多个应用程序。
其中,在本发明实施例中,当终端进入待机状态时,终端都对屏幕进行了锁定,只有当用户输入正确的解锁密码时,终端才解除对屏幕的锁定。在屏幕被锁定的情况下,根据需要运行的应用程序的应用入口信息,进入单任务场景来运行需要运行的应用程序,如此用户只能访问需要运行的应用程序,不能访问其他应用程序。
其中,单核CPU的终端、双核CPU的终端和多核CPU的终端都可以运行本发明实施例中所说的单任务场景和多任务场景。因为在单核CPU的终端中,单核CPU可以串行处理需要运行的应用程序的每个进程。而在双核CPU和多核CPU的终端中,需要运行的应用程序的进程可以分配到多个CPU中进行并行处理,如此可以提高处理速度。所以单核CPU的终端和多核CPU的终端都可以运行本发明实施例提供的单任务场景和多任务场景,且多核CPU的运行速度比单核CPU的运行速度快。
在本发明实施例中,在待机状态下,接收用户输入的应用入口信息;根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。由于在运行需要运行的应用程序的同时,保持了除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,所以仅运行了需要运行的应用程序,如此节省了系统资源,降低了系统功耗。
实施例3
参见图3,本发明实施例提供了一种运行应用程序的装置,包括:
接收模块301,用于在待机状态下,接收用户输入的应用入口信息;
获取模块302,用于根据该应用入口信息,获取需要运行的应用程序的标识;
唤醒模块303,用于唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
运行模块304,用于根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。
其中,获取模块302包括:
第一获取单元,用于根据该应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
确定单元,用于将获取的应用程序的标识确定为需要运行的应用程序的标识。
进一步地,该装置还包括:
设置模块,用于设置每个应用程序对应的应用入口信息;
存储模块,用于将每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
其中,唤醒模块303包括:
唤醒单元,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
第二获取单元,用于通过操作系统获取除需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
保持单元,用于根据获取的应用程序的标识,通过操作系统中的进程组管理接口保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
其中,运行模块304包括:
第一分配单元,用于根据需要运行的应用程序的标识,通过操作系统为需要运行的应用程序分配系统资源;
第一启动单元,用于根据需要运行的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动需要运行的应用程序,以实现运行需要运行的应用程序。
进一步地,运行模块304还包括:
第三获取单元,用于根据需要运行的应用程序的标识,获取需要运行的应用程序依赖的应用程序的标识;
第二分配单元,用于根据依赖的应用程序的标识,通过操作系统为依赖的应用程序分配系统资源;
第二启动单元,用于根据依赖的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动依赖的应用程序。
进一步地,该装置还包括:
获取存储模块,用于当检测到触发需要运行的应用程序的退出命令时,通过操作系统获取需要运行的应用程序的运行信息,以及通过操作系统存储需要运行的应用程序的运行信息;
休眠模块,用于通过进程组管理接口休眠需要运行的应用程序和操作系统,以使终端进入待机状态。
在本发明实施例中,在待机状态下,接收用户输入的应用入口信息;根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需 要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。由于在运行需要运行的应用程序的同时,保持了除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,所以仅运行了需要运行的应用程序,如此节省了系统资源,降低了系统功耗。
实施例4
参见图4,本发明实施例提供了一种运行应用程序的装置,该装置包括感应装置401和处理器402;
感应装置401,用于在待机状态下,接收用户输入的应用入口信息;
其中,感应装置401可以为触摸感应装置、语音感应装置和/或运动感应装置等。终端的屏幕上安装有触摸感应装置,终端上还可以安装有语音感应装置和/或运动感应装置。触摸感应装置可以为触压传感器等,用于感应用户在终端的屏幕上输入的字符的轨迹;语音感应装置可以为语音传感器或录音设备等,用于接收用户输入的语音数据;运动感应装置可以为运动传感器等,用于感应用户移动终端的移动轨迹。在开发终端时,技术人员可以设置在终端处于待机状态时触摸感应装置、语音感应装置和运动感应装置仍能正常工作。因此在待机状态下,终端可以通过触摸感应装置、语音感应装置和运动感应装置来接收用户输入的应用入口信息。
本步骤具体为,在待机状态下,通过触摸感应装置感应用户在终端的屏幕上输入的字符的轨迹,将该轨迹作为用户输入的应用入口信息。或者,在待机状态下,通过语音感应装置接收用户输入的语音数据,将该语音数据作为用户输入的应用入口信息。或者,在待机状态下,通过运动感应装置感应用户移动终端的移动轨迹,将该移动轨迹作为用户输入的应用入口信息。
处理器402,用于根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。
其中,该处理器402,用于根据该应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;将获取的应用程序的标识确定为需要运行的应用程序的标识。
其中,应用入口信息为用户在终端的屏幕上输入的字符的轨迹、用户向终端输入的语音数据或用户移动终端的移动轨迹。例如,应用程序game的应用入口信息可以为用户在终端的屏幕上输入的字符g的轨迹、用户向终端输入的语音数据“game”或用户移动终端的移动轨迹g。
进一步地,该装置还包括存储器403;
处理器402,用于还设置每个应用程序对应的应用入口信息;
存储器403,用于将每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。具体的,可以存储在存储器中。
其中,处理器402,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;通过操作系统获取除需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;根据获取的应用程序的标识,通过操作系统中的进程组管理接口保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
其中,系统设备可以为CPU(Central Processing Unit,中央处理器)、BIOS(Basic Input Output System,基本输入输出系统)、主板和内存等。外部设备可以为输入设备和显示设备等,输入设备可以为键盘、鼠标和语音输入装置等,显示设备可以为显示器和屏幕等。
其中,进程组管理接口是操作系统提供的进程管理接口,用于管理终端上运行的所有进程。
其中,处理器402,用于根据需要运行的应用程序的标识,通过操作系统为需要运行的应用程序分配系统资源;根据需要运行的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动需要运行的应用程序,以实现运行需要运行的应用程序。
其中,进程解冻层是操作系统提供的一个模块,用于解冻被休眠的进程。
进一步地,处理器402,还用于根据需要运行的应用程序的标识,获取需要运行的应用程序依赖的应用程序的标识;根据依赖的应用程序的标识,通过操作系统为依赖的应用程序分配系统资源;根据依赖的应用程序的标识和分配的系统资源,在操作系统的进程解冻层中通过进程组管理接口启动依赖的应用程序。
其中,所谓依赖的应用程序即为需要运行的应用程序在运行时调用的应用 程序。一个应用程序包括多种功能,有时一种功能的实现需要调用其他应用程序。例如,闹钟具有提醒功能,在实现提醒功能时要调用播放器来播放用于提醒的音乐,播放器就是闹钟依赖的应用程序。因此如果想要使需要运行的应用程序正常运行,则还要运行需要运行的应用程序依赖的应用程序。
进一步地,处理器402,还用于当检测到触发需要运行的应用程序的退出命令时,通过操作系统获取需要运行的应用程序的运行信息,以及通过操作系统存储需要运行的应用程序的运行信息;通过进程组管理接口休眠需要运行的应用程序和操作系统,以使终端进入待机状态。
在本发明实施例中,在待机状态下,接收用户输入的应用入口信息;根据该应用入口信息,获取需要运行的应用程序的标识;唤醒操作系统且保持除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;根据需要运行的应用程序的标识,通过操作系统运行需要运行的应用程序。由于在运行需要运行的应用程序的同时,保持了除需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,所以仅运行了需要运行的应用程序,如此节省了系统资源,降低了系统功耗。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (22)

  1. 一种运行应用程序的方法,其特征在于,所述方法包括:
    在待机状态下,接收用户输入的应用入口信息;
    根据所述应用入口信息,获取需要运行的应用程序的标识;
    唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
    根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
  2. 如权利要求1所述的方法,其特征在于,所述根据所述应用入口信息,获取需要运行的应用程序的标识,包括:
    根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
    将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
  3. 如权利要求1所述的方法,其特征在于,所述接收用户输入的应用入口信息之前,还包括:
    设置每个应用程序对应的应用入口信息;
    将所述每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
  4. 如权利要求1所述的方法,其特征在于,所述唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,包括:
    通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
    通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
    根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
  5. 如权利要求1所述的方法,其特征在于,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序,包括:
    根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;
    根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
  6. 如权利要求1所述的方法,其特征在于,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序之后,还包括:
    根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;
    根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;
    根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
  7. 如权利要求1所述的方法,其特征在于,所述根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序之后,还包括:
    当检测到触发所述需要运行的应用程序的退出命令时,通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息;
    通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
  8. 一种运行应用程序的装置,其特征在于,所述装置包括:
    接收模块,用于在待机状态下,接收用户输入的应用入口信息;
    获取模块,用于根据所述应用入口信息,获取需要运行的应用程序的标识;
    唤醒模块,用于唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态;
    运行模块,用于根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
  9. 如权利要求8所述的装置,其特征在于,所述获取模块包括:
    第一获取单元,用于根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识;
    确定单元,用于将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
  10. 如权利要求8所述的装置,其特征在于,所述装置还包括:
    设置模块,用于设置每个应用程序对应的应用入口信息;
    存储模块,用于将所述每个应用程序对应的应用入口信息以及每个应用程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
  11. 如权利要求8所述的装置,其特征在于,所述唤醒模块包括:
    唤醒单元,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;
    第二获取单元,用于通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;
    保持单元,用于根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
  12. 如权利要求8所述的装置,其特征在于,所述运行模块包括:
    第一分配单元,用于根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;
    第一启动单元,用于根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
  13. 如权利要求8所述的装置,其特征在于,所述运行模块还包括:
    第三获取单元,用于根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;
    第二分配单元,用于根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;
    第二启动单元,用于根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
  14. 如权利要求8所述的装置,其特征在于,所述装置还包括:
    获取存储模块,用于当检测到触发所述需要运行的应用程序的退出命令时,通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息;
    休眠模块,用于通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
  15. 一种运行应用程序的装置,其特征在于,所述装置包括感应装置和处理器;
    所述感应装置,用于在待机状态下,接收用户输入的应用入口信息;
    所述处理器,用于根据所述应用入口信息,获取需要运行的应用程序的标识,唤醒操作系统且保持除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态,根据所述需要运行的应用程序的标识,通过所述操作系统运行所述需要运行的应用程序。
  16. 如权利要求15所述的装置,其特征在于,所述处理器,用于根据所述应用入口信息,从应用入口信息与应用程序的标识的对应关系中获取对应的应用程序的标识,将所述获取的应用程序的标识确定为需要运行的应用程序的标识。
  17. 如权利要求15所述的装置,其特征在于,所述装置还包括存储器;
    所述处理器,还用于设置每个应用程序对应的应用入口信息;
    所述存储器,用于将所述每个应用程序对应的应用入口信息以及每个应用 程序的标识分别存储在应用入口信息与应用程序的标识的对应关系中。
  18. 如权利要求15所述的装置,其特征在于,所述处理器,用于通过唤醒进程唤醒系统设备、总线和外部设备,以实现唤醒操作系统;通过所述操作系统获取除所述需要运行的应用程序以外的应用程序中被休眠的应用程序的标识;根据所述获取的应用程序的标识,通过所述操作系统中的进程组管理接口保持所述除所述需要运行的应用程序以外的应用程序中被休眠的应用程序仍处于休眠状态。
  19. 如权利要求15所述的装置,其特征在于,所述处理器,用于根据所述需要运行的应用程序的标识,通过所述操作系统为所述需要运行的应用程序分配系统资源;根据所述需要运行的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述需要运行的应用程序,以实现运行所述需要运行的应用程序。
  20. 如权利要求15所述的装置,其特征在于,所述处理器,还用于根据所述需要运行的应用程序的标识,获取所述需要运行的应用程序依赖的应用程序的标识;根据所述依赖的应用程序的标识,通过所述操作系统为所述依赖的应用程序分配系统资源;根据所述依赖的应用程序的标识和所述分配的系统资源,在所述操作系统的进程解冻层中通过进程组管理接口启动所述依赖的应用程序。
  21. 如权利要求15所述的装置,其特征在于,所述处理器,还用于当检测到触发所述需要运行的应用程序的退出命令时,通过所述操作系统获取所述需要运行的应用程序的运行信息,以及通过所述操作系统存储所述需要运行的应用程序的运行信息,通过进程组管理接口休眠所述需要运行的应用程序和操作系统,以使终端进入待机状态。
  22. 如权利要求15所述的装置,其特征在于,所述感应装置至少包括触摸感应装置、语音感应装置和/或运动感应装置。
PCT/CN2014/086909 2014-09-19 2014-09-19 一种运行应用程序的方法及装置 WO2016041190A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2017515146A JP6491326B2 (ja) 2014-09-19 2014-09-19 アプリケーションプログラムを実行するための方法および装置
PCT/CN2014/086909 WO2016041190A1 (zh) 2014-09-19 2014-09-19 一种运行应用程序的方法及装置
US15/512,454 US10386914B2 (en) 2014-09-19 2014-09-19 Method and apparatus for running application program
EP14901998.6A EP3187995A4 (en) 2014-09-19 2014-09-19 Method and apparatus for running application program
KR1020177010210A KR102048329B1 (ko) 2014-09-19 2014-09-19 애플리케이션 프로그램 실행 방법 및 장치
CN201480046579.3A CN105612485B (zh) 2014-09-19 2014-09-19 一种运行应用程序的方法及装置
CN201811039304.3A CN109324833B (zh) 2014-09-19 2014-09-19 一种运行应用程序的方法及装置
US16/509,190 US11181968B2 (en) 2014-09-19 2019-07-11 Method and apparatus for running application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/086909 WO2016041190A1 (zh) 2014-09-19 2014-09-19 一种运行应用程序的方法及装置

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US15/512,454 A-371-Of-International US10386914B2 (en) 2014-09-19 2014-09-19 Method and apparatus for running application program
US16/509,190 Continuation US11181968B2 (en) 2014-09-19 2019-07-11 Method and apparatus for running application program

Publications (1)

Publication Number Publication Date
WO2016041190A1 true WO2016041190A1 (zh) 2016-03-24

Family

ID=55532471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086909 WO2016041190A1 (zh) 2014-09-19 2014-09-19 一种运行应用程序的方法及装置

Country Status (6)

Country Link
US (2) US10386914B2 (zh)
EP (1) EP3187995A4 (zh)
JP (1) JP6491326B2 (zh)
KR (1) KR102048329B1 (zh)
CN (2) CN109324833B (zh)
WO (1) WO2016041190A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037999A (zh) * 2017-12-06 2018-05-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN110032398A (zh) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 应用处理方法和装置、电子设备、计算机可读存储介质
CN110209428A (zh) * 2018-12-28 2019-09-06 深圳市泰衡诺科技有限公司 一种终端屏幕唤醒方法、装置、终端及存储介质
CN110704271A (zh) * 2019-08-26 2020-01-17 上海商米科技集团股份有限公司 移动手持终端的外接设备模块功耗管控方法和装置
CN112207811A (zh) * 2019-07-11 2021-01-12 杭州海康威视数字技术股份有限公司 一种机器人控制方法、装置、机器人及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6491326B2 (ja) * 2014-09-19 2019-03-27 華為技術有限公司Huawei Technologies Co.,Ltd. アプリケーションプログラムを実行するための方法および装置
JP2018117311A (ja) * 2017-01-20 2018-07-26 ソニー株式会社 制御方法、プログラム、および制御装置
WO2019109090A1 (en) * 2017-12-03 2019-06-06 Munro Design & Technologies, Llc Signal generating systems for three-dimensional imaging systems and methods thereof
CN110018905B (zh) * 2018-01-10 2023-05-05 Oppo广东移动通信有限公司 信息处理方法、装置、计算机设备和计算机可读存储介质
KR102640922B1 (ko) * 2018-03-05 2024-02-27 삼성전자주식회사 동작 상태에 따라 기능 모듈들을 저전력 상태로 제어하는 집적 회로, 전자 장치 및 그 제어 방법
KR20200100492A (ko) 2019-02-18 2020-08-26 삼성전자주식회사 전자 장치 및 전자 장치의 어플리케이션 관리 방법
KR20200125258A (ko) 2019-04-26 2020-11-04 삼성전자주식회사 어플리케이션 실행을 제어하기 위한 방법, 이를 위한 전자 장치 및 저장 매체
JP7005577B2 (ja) * 2019-11-20 2022-01-21 Necパーソナルコンピュータ株式会社 情報処理装置、及び情報処理方法
CN111045738B (zh) * 2019-11-29 2023-12-29 RealMe重庆移动通信有限公司 电子设备控制方法、装置、电子设备及存储介质
US11874722B2 (en) * 2021-08-02 2024-01-16 Dell Products L.P. Applying modern standby configurations on a per-application basis
CN117008980A (zh) * 2022-04-29 2023-11-07 华为技术有限公司 系统休眠方法及装置、系统唤醒方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968174A (zh) * 2012-11-06 2013-03-13 珠海全志科技股份有限公司 安卓设备深层睡眠唤醒方法
CN102999291A (zh) * 2012-09-25 2013-03-27 广东欧珀移动通信有限公司 待机状态下触摸唤醒移动终端的方法
CN103345360A (zh) * 2013-06-21 2013-10-09 广东欧珀移动通信有限公司 一种智能终端触摸屏手势识别方法
CN103631356A (zh) * 2012-08-20 2014-03-12 联想(北京)有限公司 一种节电的方法及电子设备
CN103677267A (zh) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 移动终端及其唤醒方法、装置

Family Cites Families (80)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003520365A (ja) * 1999-08-24 2003-07-02 オーツー・マイクロ・インターナショナル・リミテッド ポータブルコンピュータ用の起動キー及び低電力cd−romプレーヤ
JP2004111822A (ja) * 2002-09-20 2004-04-08 Sumitomo Rubber Ind Ltd 透光性電磁波シールド部材の製造方法
US20060053113A1 (en) * 2002-09-20 2006-03-09 Koninklijke Philips Electronics N.V. Method and system for allocating shared resources between applications
US7073052B2 (en) * 2003-05-22 2006-07-04 International Business Machines Corporation Method and system for storing active files and programs in a hibernation mode
JP4027389B2 (ja) 2003-06-13 2007-12-26 富士通株式会社 情報処理装置
US20070067445A1 (en) * 2005-09-16 2007-03-22 Smart Link Ltd. Remote computer wake-up for network applications
JP2008107914A (ja) 2006-10-23 2008-05-08 Denso Corp マイクロコンピュータ、プログラム及び車両用電子制御装置
US8061064B2 (en) * 2007-05-10 2011-11-22 Esco Corporation Wear assembly for excavating equipment
US8521966B2 (en) * 2007-11-16 2013-08-27 Vmware, Inc. VM inter-process communications
US8151100B2 (en) * 2008-02-06 2012-04-03 Broadcom Corporation Operating system for a computing device with handheld and extended computing units
CN102150103A (zh) * 2008-07-14 2011-08-10 加利福尼亚大学董事会 能够在联网计算机中节能的架构
US9501694B2 (en) 2008-11-24 2016-11-22 Qualcomm Incorporated Pictorial methods for application selection and activation
US20110055299A1 (en) * 2008-12-18 2011-03-03 Virtual Computer, Inc. Managing User Data in a Layered Virtual Workspace
KR101565768B1 (ko) * 2008-12-23 2015-11-06 삼성전자주식회사 휴대단말의 잠금 모드 해제 방법 및 장치
CN101819564B (zh) * 2009-02-26 2013-04-17 国际商业机器公司 协助在虚拟机之间进行通信的方法和装置
KR101593598B1 (ko) 2009-04-03 2016-02-12 삼성전자주식회사 휴대단말에서 제스처를 이용한 기능 실행 방법
JP5289153B2 (ja) * 2009-04-14 2013-09-11 キヤノン株式会社 情報処理装置及びその制御方法、並びにコンピュータプログラム
KR101537706B1 (ko) * 2009-04-16 2015-07-20 엘지전자 주식회사 이동 단말기 및 그 제어 방법
US20100306705A1 (en) * 2009-05-27 2010-12-02 Sony Ericsson Mobile Communications Ab Lockscreen display
US8434153B2 (en) * 2009-08-24 2013-04-30 Microsoft Corporation Application display on a locked device
KR20110031797A (ko) * 2009-09-21 2011-03-29 삼성전자주식회사 휴대 단말기의 입력 장치 및 방법
US8286011B2 (en) * 2010-02-28 2012-10-09 Freescale Semiconductor, Inc. Method of waking processor from sleep mode
KR101685991B1 (ko) * 2010-09-30 2016-12-13 엘지전자 주식회사 이동 단말기 및 이동 단말기의 제어 방법
US8539278B2 (en) * 2010-10-29 2013-09-17 Infineon Technologies Ag Methods and systems for measuring I/O signals
CN101996111A (zh) * 2010-11-30 2011-03-30 华为技术有限公司 一种倒换方法、装置及分布式刀片服务器系统
CN102541574A (zh) 2010-12-13 2012-07-04 鸿富锦精密工业(深圳)有限公司 应用程序开启系统及方法
GB2486707A (en) 2010-12-21 2012-06-27 Sharp Kk A touch screen handset with a combined application launcher and touch screen unlock mechanism.
KR101678271B1 (ko) * 2011-06-05 2016-11-21 애플 인크. 다수의 애플리케이션들로부터 수신된 통지들을 디스플레이하기 위한 시스템들 및 방법들
US9841822B2 (en) * 2011-06-28 2017-12-12 Guangzhou Ucweb Computer Technology Co., Ltd. Method for operating mobile device using vibration sensor
KR101863926B1 (ko) 2011-07-19 2018-06-01 엘지전자 주식회사 이동 단말기 및 그 제어방법
KR101262700B1 (ko) 2011-08-05 2013-05-08 삼성전자주식회사 음성 인식 및 모션 인식을 이용하는 전자 장치의 제어 방법 및 이를 적용한 전자 장치
US9703382B2 (en) * 2011-08-29 2017-07-11 Kyocera Corporation Device, method, and storage medium storing program with control for terminating a program
US8621494B2 (en) * 2011-09-12 2013-12-31 Microsoft Corporation Managing processes within suspend states and execution states
JP2013093698A (ja) * 2011-10-25 2013-05-16 Kyocera Corp 携帯端末、ロック制御プログラムおよびロック制御方法
US9031847B2 (en) * 2011-11-15 2015-05-12 Microsoft Technology Licensing, Llc Voice-controlled camera operations
US20130125916A1 (en) 2011-11-23 2013-05-23 Bacoustics, Llc Ultrasound Hair Dyeing Method
US9213822B2 (en) * 2012-01-20 2015-12-15 Apple Inc. Device, method, and graphical user interface for accessing an application in a locked device
KR101889836B1 (ko) * 2012-02-24 2018-08-20 삼성전자주식회사 음성인식을 통한 단말기의 잠금 상태 해제 및 조작 방법 및 장치
KR101356368B1 (ko) * 2012-02-24 2014-01-29 주식회사 팬택 어플리케이션 전환 장치 및 방법
CN102622079B (zh) 2012-02-25 2015-02-04 华为终端有限公司 一种休眠方法、唤醒方法和移动终端设备
JP2013182381A (ja) 2012-03-01 2013-09-12 Nec Casio Mobile Communications Ltd 端末装置、端末装置制御方法およびプログラム
US8504842B1 (en) * 2012-03-23 2013-08-06 Google Inc. Alternative unlocking patterns
CN103377067B (zh) * 2012-04-13 2019-01-25 富泰华工业(深圳)有限公司 应用程序加载系统及方法
US20130283199A1 (en) 2012-04-24 2013-10-24 Microsoft Corporation Access to an Application Directly from a Lock Screen
KR101946364B1 (ko) * 2012-05-01 2019-02-11 엘지전자 주식회사 적어도 하나의 마이크 센서를 갖는 모바일 디바이스 및 그 제어방법
KR20130133629A (ko) * 2012-05-29 2013-12-09 삼성전자주식회사 전자장치에서 음성명령을 실행시키기 위한 장치 및 방법
JP6045975B2 (ja) * 2012-07-09 2016-12-14 東京エレクトロン株式会社 カーボン膜の成膜方法および成膜装置
CN102929502A (zh) * 2012-10-15 2013-02-13 上海华勤通讯技术有限公司 移动终端及其应用程序的运行方法
CN102929390A (zh) * 2012-10-16 2013-02-13 广东欧珀移动通信有限公司 一种在待机状态下应用程序的启动方法及装置
WO2014088470A2 (en) * 2012-12-07 2014-06-12 Yota Devices Ipr Limited Haptic message
WO2014089763A1 (en) * 2012-12-12 2014-06-19 Intel Corporation Single- gesture device unlock and application launch
CN103886232B (zh) * 2012-12-20 2017-11-24 联想(北京)有限公司 一种终端的安全使用方法及终端
US9710628B2 (en) * 2012-12-21 2017-07-18 Nokia Technologies Oy Unlocking an apparatus
KR102049977B1 (ko) * 2012-12-31 2019-11-28 엘지전자 주식회사 이동 단말기
CN103915095B (zh) * 2013-01-06 2017-05-31 华为技术有限公司 语音识别的方法、交互设备、服务器和系统
US9122389B2 (en) * 2013-01-11 2015-09-01 Blackberry Limited Apparatus and method pertaining to the stylus-initiated opening of an application
EP2755122B1 (en) * 2013-01-11 2020-03-04 BlackBerry Limited Apparatus and method pertaining to a stylus-initiated opening of an application
CN103927106A (zh) 2013-01-14 2014-07-16 富泰华工业(深圳)有限公司 应用程序启动系统及方法
JP2014157490A (ja) * 2013-02-15 2014-08-28 Sony Corp 情報処理装置、情報処理方法、およびプログラム
CN104049722B (zh) 2013-03-11 2017-07-25 联想(北京)有限公司 一种信息处理方法以及电子设备
KR102135346B1 (ko) * 2013-03-15 2020-07-17 엘지전자 주식회사 이동 단말기
CN105229989B (zh) * 2013-04-12 2019-01-22 微软技术许可有限责任公司 针对移动设备的节能数据处理方法、存储介质和系统
CN105324979A (zh) * 2013-05-08 2016-02-10 诺基亚技术有限公司 一种装置和相关联的方法
US9300720B1 (en) * 2013-05-21 2016-03-29 Trend Micro Incorporated Systems and methods for providing user inputs to remote mobile operating systems
US9491032B2 (en) * 2013-05-29 2016-11-08 Microsoft Technology Licensing, Llc Pattern coalescing for remote wake-enabled applications
US9477673B2 (en) * 2013-09-24 2016-10-25 Dropbox, Inc. Heuristics for selecting and saving content to a synced online content management system
CN103760969A (zh) * 2013-12-12 2014-04-30 宇龙计算机通信科技(深圳)有限公司 移动终端及语音控制应用程序的方法
CN103729224B (zh) * 2013-12-30 2017-06-16 广州华多网络科技有限公司 基于开放平台的应用加载方法及装置
EP3093748A4 (en) * 2014-01-06 2017-01-11 Huawei Device Co., Ltd. Application program display method and terminal
KR101412448B1 (ko) * 2014-01-14 2014-06-26 (주)세미센스 디스플레이가 꺼져 있는 저전력 모드에서의 터치입력을 통한 디바이스 구동시스템
US10488909B2 (en) * 2014-02-14 2019-11-26 Hewlett-Packard Development Company, L.P. Communicating commands to an embedded controller of a system
WO2015024674A1 (en) * 2014-03-06 2015-02-26 Polar Electro Oy Device power saving during exercise
US9754552B2 (en) * 2014-06-17 2017-09-05 Amazon Technologies, Inc. Architectures for processing of head tracking on a mobile device
KR102343657B1 (ko) * 2014-08-28 2021-12-24 삼성전자주식회사 손목 근육들의 움직임들에 상응하는 사용자 입력을 처리할 수 있는 애플리케이션 프로세서와 이를 포함하는 장치들
US10671275B2 (en) * 2014-09-04 2020-06-02 Apple Inc. User interfaces for improving single-handed operation of devices
JP6491326B2 (ja) * 2014-09-19 2019-03-27 華為技術有限公司Huawei Technologies Co.,Ltd. アプリケーションプログラムを実行するための方法および装置
EP3282773B1 (en) * 2015-04-29 2019-09-25 Huawei Technologies Co., Ltd. Terminal control method and apparatus, and terminal device
US10341412B1 (en) * 2015-06-19 2019-07-02 Amazon Technologies, Inc. Multiple application remoting
KR20170105262A (ko) * 2016-03-09 2017-09-19 삼성전자주식회사 전자장치 및 그의 생체 정보 획득 방법
JP2018092353A (ja) * 2016-12-02 2018-06-14 富士通株式会社 起動制御装置、情報処理システムおよびプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631356A (zh) * 2012-08-20 2014-03-12 联想(北京)有限公司 一种节电的方法及电子设备
CN102999291A (zh) * 2012-09-25 2013-03-27 广东欧珀移动通信有限公司 待机状态下触摸唤醒移动终端的方法
CN102968174A (zh) * 2012-11-06 2013-03-13 珠海全志科技股份有限公司 安卓设备深层睡眠唤醒方法
CN103345360A (zh) * 2013-06-21 2013-10-09 广东欧珀移动通信有限公司 一种智能终端触摸屏手势识别方法
CN103677267A (zh) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 移动终端及其唤醒方法、装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3187995A4 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037999A (zh) * 2017-12-06 2018-05-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
US11698815B2 (en) 2017-12-06 2023-07-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and related products
CN110032398A (zh) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 应用处理方法和装置、电子设备、计算机可读存储介质
CN110032398B (zh) * 2018-01-12 2022-04-12 Oppo广东移动通信有限公司 应用处理方法和装置、电子设备、计算机可读存储介质
CN110209428A (zh) * 2018-12-28 2019-09-06 深圳市泰衡诺科技有限公司 一种终端屏幕唤醒方法、装置、终端及存储介质
CN110209428B (zh) * 2018-12-28 2023-08-29 深圳市泰衡诺科技有限公司 一种终端屏幕唤醒方法、装置、终端及存储介质
CN112207811A (zh) * 2019-07-11 2021-01-12 杭州海康威视数字技术股份有限公司 一种机器人控制方法、装置、机器人及存储介质
CN112207811B (zh) * 2019-07-11 2022-05-17 杭州海康威视数字技术股份有限公司 一种机器人控制方法、装置、机器人及存储介质
CN110704271A (zh) * 2019-08-26 2020-01-17 上海商米科技集团股份有限公司 移动手持终端的外接设备模块功耗管控方法和装置
CN110704271B (zh) * 2019-08-26 2023-07-07 上海商魁信息科技有限公司 移动手持终端的外接设备模块功耗管控方法和装置

Also Published As

Publication number Publication date
US20190332159A1 (en) 2019-10-31
EP3187995A1 (en) 2017-07-05
JP2017532669A (ja) 2017-11-02
CN109324833B (zh) 2020-07-07
JP6491326B2 (ja) 2019-03-27
KR102048329B1 (ko) 2019-11-25
CN109324833A (zh) 2019-02-12
US10386914B2 (en) 2019-08-20
EP3187995A4 (en) 2017-08-23
US20170300103A1 (en) 2017-10-19
KR20170056646A (ko) 2017-05-23
CN105612485A (zh) 2016-05-25
US11181968B2 (en) 2021-11-23
CN105612485B (zh) 2019-11-29

Similar Documents

Publication Publication Date Title
WO2016041190A1 (zh) 一种运行应用程序的方法及装置
US10684641B2 (en) Suspension and/or throttling of processes for connected standby
US8935697B2 (en) Suspension and/or throttling of processes for connected standby
US20100153765A1 (en) Power state dependent wake-up alarm
WO2019028854A1 (zh) 一种虚拟机的状态管理方法、装置和智能终端
JP2014197408A (ja) ロックインジケータを有するマルチスレッドプロセッサ
CN111562836B (zh) 一种应用于电子设备的省电方法、装置、设备及存储介质
US8677158B2 (en) System and method for assigning a power management classification including exempt, suspend, and throttling to an process based upon various factors of the process
CN111225434B (zh) 一种应用程序响应方法、系统、存储介质及通信模块
JP6752913B2 (ja) アプリケーションプログラムを実行するための方法および装置
CN113835760A (zh) 系统启动方法、电子设备及存储介质
CN113703799B (zh) 计算设备及其bios更新方法和介质
WO2021233363A1 (zh) 计算设备及其bios更新方法和介质
CN117093422A (zh) 固态硬盘恢复方法、系统、计算机设备及可读存储介质

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: 14901998

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017515146

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15512454

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014901998

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014901998

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20177010210

Country of ref document: KR

Kind code of ref document: A