CN106249843B - A kind of course control method, device and mobile device - Google Patents
A kind of course control method, device and mobile device Download PDFInfo
- Publication number
- CN106249843B CN106249843B CN201610592798.2A CN201610592798A CN106249843B CN 106249843 B CN106249843 B CN 106249843B CN 201610592798 A CN201610592798 A CN 201610592798A CN 106249843 B CN106249843 B CN 106249843B
- Authority
- CN
- China
- Prior art keywords
- freeze
- formula
- corresponding process
- dormant state
- mobile device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
This application involves a kind of course control method, device and mobile devices.Wherein, course control method includes: that process instruction is freezed in reception, and the process of freezing instigates process entrance that can not interrupt formula dormant state;Receive it is described freeze process instruction after, judge whether corresponding process allows to freeze;Formula dormant state can not be interrupted according to the judging result control corresponding process entrance.The embodiment of the present invention can effectively freeze the process for allowing to freeze He not allowing to freeze, so as to reduce the electric quantity consumption of mobile device to the maximum extent, electricity is saved, and then can be improved the cruising ability of mobile device, improves the satisfaction of user.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of course control methods, device and mobile device.
Background technique
Currently, mobile device has been used widely.As mobile device is more and more intelligent, the power consumption of mobile device
Speed is also accelerated therewith.This is because the intelligence of mobile device, dependent on the application program in mobile device, application program is got over
More, intelligence degree is higher.And each application program is made of one or more processes, the operation of each process requires to disappear
Consume certain electricity.
Process is typically in following three kinds of states:
Operating status: it only is likely to run on CPU in the process of operating status.And synchronization may have it is multiple into
Journey is in executable state, and process control block (PCB) is placed into the executable queue of corresponding CPU and executes.
Formula dormant state can be interrupted: this is a kind of interruptable sleep state.Process in this state is because wait
The generation (for example waiting socket connection, waiting signal amount) of so-and-so event, and be suspended.These processes are placed into corresponding event
Waiting list in.It (is triggered by external interrupt or by other process triggers) when these events occur, corresponding waiting list
In one or more processes will be waken up.
Formula dormant state can not be interrupted: the process in this state is in sleep state, but the sleep shape of process this moment
State be it is not interruptable, except nonsystematic actively wakes up the process.
After even if the system of mobile device enters suspend mode, due to still there is the operation of the process of application program from the background,
Consume the electricity of mobile device.This is very unfavorable for the cruising ability of mobile device.
Summary of the invention
The purpose of the present invention is to provide a kind of course control method, device and mobile devices, can effectively make process
Into formula dormant state can not be interrupted, electric quantity consumption is reduced, the cruising ability of mobile device is improved.
To achieve the above object, the invention proposes a kind of course control methods, comprising:
Process instruction is freezed in reception, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Receive it is described freeze process instruction after, judge whether corresponding process allows to freeze;
Formula dormant state can not be interrupted according to the judging result control corresponding process entrance.
Further, the above method can also have the characteristics that, it is described according to judging result control the corresponding process into
Formula dormant state can not be interrupted by entering, comprising:
In the case where the corresponding process allows to freeze, formula suspend mode can not be interrupted by directly controlling the corresponding process entrance
State.
Further, the above method can also have the characteristics that, it is described according to judging result control the corresponding process into
Formula dormant state can not be interrupted by entering, comprising:
In the case where the corresponding process does not allow to freeze, operation suspension instruction is sent so that institute to the corresponding process
State corresponding process suspension operation;
In the case where corresponding process suspension operation, formula suspend mode shape can not be interrupted by controlling the corresponding process entrance
State.
Further, the above method can also have the characteristics that, further includes:
Instruction is continued to execute to the process transmission freezed, so that the process freezed, which exits, can not interrupt formula dormant state, institute
The process freezed is stated to refer in the process that can not interrupt formula dormant state.
The course control method of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
To achieve the above object, the invention also provides a kind of progress control units, comprising:
Receiving module freezes process instruction for receiving, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Judgment module, for the receiving module receive it is described freeze process instruction after, whether judge corresponding process
Allow to freeze;
Control module, for formula can not to be interrupted according to the judging result of the judgment module control corresponding process entrance
Dormant state.
Further, above-mentioned apparatus can also have the characteristics that, the control module includes:
First control unit, for directly controlling the corresponding process in the case where the corresponding process allows to freeze
Into formula dormant state can not be interrupted.
Further, above-mentioned apparatus can also have the characteristics that, the control module includes:
Transmission unit, for sending pause to the corresponding process in the case where the corresponding process does not allow to freeze
Operating instruction is so that the corresponding process suspension operation;
Second control unit enters in the case where corresponding process suspension operation, controlling the corresponding process
Formula dormant state can not be interrupted.
Further, above-mentioned apparatus can also have the characteristics that, further includes:
Wake-up module, for continuing to execute instruction to the process transmission freezed, so that the process freezed, which exits, to be interrupted
Formula dormant state, the process freezed refer in the process that can not interrupt formula dormant state.
The progress control unit of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
To achieve the above object, the invention also provides a kind of mobile devices, including aforementioned described in any item process controls
Device processed.
Further, above-mentioned mobile device can also have the characteristics that, the mobile device is smart phone or plate electricity
Brain.
In the mobile device of the embodiment of the present invention include progress control unit, for allow to freeze and do not allow to freeze into
Journey can effectively be freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, save electricity, in turn
The cruising ability that can be improved mobile device improves the satisfaction of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of course control method in the embodiment of the present invention one.
Fig. 2 is the flow chart of course control method in the embodiment of the present invention two.
Fig. 3 is the flow chart of course control method in the embodiment of the present invention three.
Fig. 4 is one of the structural block diagram of progress control unit in the embodiment of the present invention.
Fig. 5 is two of the structural block diagram of progress control unit in the embodiment of the present invention.
Fig. 6 is the structural block diagram of mobile device in the embodiment of the present invention.
Fig. 7 is a kind of structural schematic diagram of mobile device 600 provided by the embodiment of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and illustrated embodiment is served only for explaining the present invention,
It is not intended to limit the scope of the present invention.For those of ordinary skill in the art, in the premise not made the creative labor
Under, spiritual all embodiments obtained, belong to protection scope of the present invention according to the present invention.
Embodiment one
Course control method in the present embodiment can be applied to mobile device, such as mobile phone, tablet computer etc..
Fig. 1 is the flow chart of course control method in the embodiment of the present invention one.As shown in Figure 1, in the present embodiment, process control
Method processed may include steps of:
Process instruction is freezed in step S101, reception;
Herein, freezing process instigates process entrance that can not interrupt formula dormant state.
In embodiments of the present invention, can be added to course control method of the embodiment of the present invention as an application program
In mobile device, when the user clicks when the application icon, so that it may think user had issued to the application program freeze into
Cheng Zhiling, which, which receives user, can think that application has received to the click action of application
Freeze process instruction.
It in embodiments of the present invention, can also be using course control method of the embodiment of the present invention as the system in mobile device
A software switch in setting can be thought to execute Process flowchart of the embodiment of the present invention when the user setting switch is opened
The application program of method, which has received, freezes process instruction.
It certainly, in other embodiments of the present invention, can be according to specific using the tool for needing setting to freeze process instruction
Body mode freezes process instruction and is not limited to mode listed above.
For example, when the system of mobile device enters dormant state, so that it may think to execute the present invention in mobile device in fact
The application program for applying a course control method, which has received, freezes process instruction.
Step S102 judges whether corresponding process allows to freeze after receiving and freezing process instruction;
Wherein, corresponding process can refer to the process that needs freeze.
In the process of mobile device, some processes allow to freeze, but most of processes do not allow to freeze.
For the process for allowing to freeze He not allowing to freeze, the embodiment of the present invention is freezed using different freezing methods.In this way may be used
Effective protection is carried out with the scene to the process freezed, after the process freezed is waken up defrosting, which can still continue to hold
Row, does not need to reopen and load (to reopen and load and restart process, such starting speed is slow, and user can be straight
Connect and observe), the response speed of process is had substantially no effect on, user is not felt by what variation the application oneself used has substantially.
And the method by killing or stopping process roughly cannot protect the scene for the process freezed, when what is freezed
When process needs to be waken up, user needs to restart the relevant application of process.
Step S103, formula dormant state can not be interrupted by controlling corresponding process entrance according to judging result.
For the process for allowing to freeze He not allowing to freeze, the embodiment of the present invention is frozen using different freezing methods
Knot to both processes freezes that the live progress effective protection for the process freezed can be freezed to wake up in needs
Process when, process can timely respond to, and not influence the use of user.
Specific freezing method for the process that allows to freeze and not allow to freeze, the embodiment that the present invention will address below
Two will be specifically described.
The course control method of the embodiment of the present invention can make in operating status or can interrupt formula dormant state and all enter
Formula dormant state (formula dormant state can be interrupted herein and be known as frozen state) can be interrupted, since process can interrupt formula suspend mode
Power consumption is very low under state or even does not consume electricity substantially, therefore can greatly reduce the electric quantity consumption of mobile device, Jin Erti
The cruising ability of high mobile device.
The process freezed can keep suspend mode, until system actively goes to wake up it, and instruct the execution of continuation process, can just move back
Suspend mode out.
The course control method of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
Embodiment two
Course control method in the present embodiment can be applied to mobile device, such as mobile phone, tablet computer etc..
Fig. 2 is the flow chart of course control method in the embodiment of the present invention two.As shown in Fig. 2, in the present embodiment, process control
Method processed may include steps of:
Process instruction is freezed in step S201, reception, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Step S202 judges whether corresponding process allows to freeze after receiving and freezing process instruction, if corresponding process permits
Permitted to freeze to then follow the steps S203, otherwise, if corresponding process does not allow to freeze to then follow the steps S204;
Step S203 directly controls corresponding process into that can not interrupt formula dormant state, terminates;
Since process allows to be frozen, freeze operation can be directly executed, setting process entrance can not interrupt formula and stop
Dormancy state.
Step S204, Xiang Xiangying process sends operation suspension and instructs so that the corresponding process suspension operation;
Sending operation suspension and instructing the purpose to process is that the process is made to enter operation suspension state, and getting can freeze to mark
Show, the process under operation suspension state can be freezed, and while freezing can protect the field data of process, so as to
Make process resumption to original state by these field datas when wakeup process.
As it can be seen that the embodiment of the present invention converts process by way of operation suspension the process that can not freeze
For can frozen state.
Step S205, in the case where corresponding process suspension operation, formula suspend mode can not be interrupted by controlling corresponding process entrance
State terminates.
The course control method of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
Embodiment three
Course control method in the present embodiment can be applied to mobile device, such as mobile phone, tablet computer etc..
Fig. 3 is the flow chart of course control method in the embodiment of the present invention three.As shown in figure 3, in the present embodiment, process control
Method processed may include steps of:
Process instruction is freezed in step S301, reception, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Step S302 judges whether corresponding process allows to freeze after receiving and freezing process instruction;
Step S303, formula dormant state can not be interrupted by controlling corresponding process entrance according to judging result;
Step S301 to step S303 is respectively corresponded with the step S101 to step S103 in previous embodiment one, related former
Reason refers to the explanation to step S101 to step S103, and details are not described herein again.
Step S304 continues to execute instruction to the process transmission freezed, so that the process freezed exits and can not interrupt formula and stop
Dormancy state, wherein the process freezed refers in the process that can not interrupt formula dormant state.
The process freezed can not voluntarily thaw, and only system active wake-up, which can just be such that the process freezed exits, can interrupt formula
Dormant state.
The course control method of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
In order to realize each step and method in aforementioned process control method embodiment, the embodiment of the invention also provides processes
Control device embodiment.
Fig. 4 is one of the structural block diagram of progress control unit in the embodiment of the present invention.As shown in figure 4, in the present embodiment, into
Process control device 400 may include receiving module 410, judgment module 420 and control module 430.
Wherein, receiving module 410 freezes process instruction for receiving, and the process of freezing instigates process to be stopped into can not interrupt formula
Dormancy state.Judgment module 420 is used for after receiving module 410 receives and freezes process instruction, judges whether corresponding process allows
Freeze.Control module 430, which is used to control corresponding process entrance according to the judging result of judgment module 420, can not interrupt formula suspend mode shape
State.
In embodiments of the present invention, control module 430 may include first control unit.First control unit is used in phase
In the case where answering process to allow to freeze, formula dormant state can not be interrupted by directly controlling corresponding process entrance.
In embodiments of the present invention, control module 430 may include transmission unit and the second control unit.Transmission unit is used
In in the case where corresponding process does not allow to freeze, Xiang Xiangying process sends operation suspension and instructs so that the corresponding process suspension fortune
Row.Second control unit is used in the case where corresponding process suspension operation, and formula suspend mode can not be interrupted by controlling corresponding process entrance
State.
Present invention one and previous embodiment two are able to carry out by progress control unit in this present embodiment
Described in course control method, the part that the present embodiment is not described in detail, can refer to present invention one and before
State the related description of course control method embodiment in embodiment two.
The progress control unit of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
Fig. 5 is two of the structural block diagram of progress control unit in the embodiment of the present invention.As shown in figure 5, in the present embodiment, into
Process control device 400 may include receiving module 410, judgment module 420, control module 430 and wake-up module 440.
Wherein, receiving module 410 freezes process instruction for receiving, and the process of freezing instigates process to be stopped into can not interrupt formula
Dormancy state.Judgment module 420 is used for after receiving module 410 receives and freezes process instruction, judges whether corresponding process allows
Freeze.Control module 430, which is used to control corresponding process entrance according to the judging result of judgment module 420, can not interrupt formula suspend mode shape
State.Wake-up module 440 is used to continue to execute instruction to the process transmission freezed, so that the process freezed exits and can not interrupt formula and stop
Dormancy state, wherein the process freezed refers in the process that can not interrupt formula dormant state.
Process control described in present invention three is able to carry out as progress control unit in this present embodiment
Method processed, the part that the present embodiment is not described in detail can refer to and implement to course control method in present invention three
The related description of example.
The progress control unit of the embodiment of the present invention can have the process for allowing to freeze He not allowing to freeze
Effect is freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, saves electricity, and then can be improved movement and set
Standby cruising ability improves the satisfaction of user.
The embodiment of the present invention also proposed a kind of mobile device.
Fig. 6 is the structural block diagram of mobile device in the embodiment of the present invention.As shown in fig. 6, movement is set in the embodiment of the present invention
Standby 600 may include progress control unit 400.Wherein, progress control unit 400 can be appointing in present invention
A kind of progress control unit.
Wherein, mobile device can be mobile phone, tablet computer etc..
Fig. 7 is referred to, is a kind of structural schematic diagram of mobile device 600 provided by the embodiment of the present invention.Such as Fig. 7 institute
Show, mobile device 600 may include following one or more components: processing component 602, memory 604, power supply module 606 are more
Media component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614 and communication component
616。
The integrated operation of the usually control mobile device 600 of processing component 602, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing component 602 may include one or more processors 620 to hold
Row instruction, to complete all or part of the steps of course control method above-mentioned, specifically includes: process instruction is freezed in reception, freezes
Knot process instigates process entrance that can not interrupt formula dormant state;Receive it is described freeze process instruction after, judge corresponding process
Whether allow to freeze;Formula dormant state can not be interrupted according to the judging result control corresponding process entrance.In addition, processing component
602 may include one or more modules, convenient for the interaction between processing component 602 and other assemblies.For example, processing component
602 may include multi-media module, to facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in mobile device 600.These data
Example include any application or method for operating on the mobile device 600 instruction, contact data, telephone directory
Data, message, picture, video etc..Memory 604 can by any kind of volatibility or non-volatile memory device or it
Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable
Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly
Flash memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of mobile device 600.Power supply module 606 may include power supply pipe
Reason system, one or more power supplys and other with for mobile device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between the mobile device 600 and user.
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 608 includes a front camera and/or rear camera.When mobile device 600 is in operation mode, as clapped
When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition
Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike
Wind (MIC), when mobile device 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical
Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 614 includes one or more sensors, for providing the state of various aspects for mobile device 600
Assessment.For example, sensor module 614 can detecte the state that opens/closes of mobile device 600, the relative positioning of component, example
As the component be mobile device 600 display and keypad, sensor module 614 can also detect mobile device 600 or
The position change of 600 1 components of mobile device, the existence or non-existence that user contacts with mobile device 600, mobile device 600
The temperature change in orientation or acceleration/deceleration and mobile device 600.Sensor module 614 may include proximity sensor, be configured
For detecting the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor,
Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also
To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between mobile device 600 and other equipment.
Mobile device 600 can access the wireless network based on communication standard, such as WiFi, 2G, 3G or 4G or their combination.At one
In exemplary embodiment, broadcast singal or wide of the communication component 616 via broadcast channel reception from external broadcasting management system
Broadcast relevant information.In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote
Short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, mobile device 600 can be by one or more application specific integrated circuit (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
The mobile device of the embodiment of the present invention, including progress control unit, for allow to freeze and do not allow to freeze into
Journey can effectively be freezed, and so as to reduce the electric quantity consumption of mobile device to the maximum extent, save electricity, in turn
The cruising ability that can be improved mobile device improves the satisfaction of user.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple modules or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or module it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit
It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (6)
1. a kind of course control method characterized by comprising
Process instruction is freezed in reception, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Receive it is described freeze process instruction after, judge whether corresponding process allows to freeze;
Formula dormant state can not be interrupted according to the judging result control corresponding process entrance;
It is described that formula dormant state can not be interrupted according to the judging result control corresponding process entrance, comprising:
In the case where the corresponding process allows to freeze, formula suspend mode shape can not be interrupted by directly controlling the corresponding process entrance
State;
In the case where the corresponding process does not allow to freeze, operation suspension instruction is sent so that the phase to the corresponding process
Process suspension is answered to run;
In the case where corresponding process suspension operation, formula dormant state can not be interrupted by controlling the corresponding process entrance.
2. course control method according to claim 1, which is characterized in that further include:
Instruction is continued to execute to the process transmission freezed, so that the process freezed, which exits, can not interrupt formula dormant state, the jelly
The process of knot refers in the process that can not interrupt formula dormant state.
3. a kind of progress control unit characterized by comprising
Receiving module freezes process instruction for receiving, and the process of freezing instigates process entrance that can not interrupt formula dormant state;
Judgment module, for the receiving module receive it is described freeze process instruction after, judge whether corresponding process allows
Freeze;
Control module, for formula suspend mode can not to be interrupted according to the judging result of the judgment module control corresponding process entrance
State;
The control module includes:
First control unit enters in the case where the corresponding process allows to freeze, directly controlling the corresponding process
Formula dormant state can not be interrupted;
Transmission unit, for sending operation suspension to the corresponding process in the case where the corresponding process does not allow to freeze
It instructs so that the corresponding process suspension operation;
Second control unit, in the case where corresponding process suspension operation, the control corresponding process enters can not
Interrupt formula dormant state.
4. progress control unit according to claim 3, which is characterized in that further include:
Wake-up module, for continuing to execute instruction to the process transmission freezed, so that the process freezed exits and can not interrupt formula and stop
Dormancy state, the process freezed refer in the process that can not interrupt formula dormant state.
5. a kind of mobile device, which is characterized in that including progress control unit described in claim 3 or 4.
6. mobile device according to claim 5, which is characterized in that the mobile device is mobile phone or tablet computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592798.2A CN106249843B (en) | 2016-07-25 | 2016-07-25 | A kind of course control method, device and mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592798.2A CN106249843B (en) | 2016-07-25 | 2016-07-25 | A kind of course control method, device and mobile device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106249843A CN106249843A (en) | 2016-12-21 |
CN106249843B true CN106249843B (en) | 2019-05-14 |
Family
ID=57604699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610592798.2A Active CN106249843B (en) | 2016-07-25 | 2016-07-25 | A kind of course control method, device and mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106249843B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021220A (en) * | 2017-10-25 | 2018-05-11 | 努比亚技术有限公司 | A kind of terminal applies control method, terminal and computer-readable recording medium |
CN110032266B (en) * | 2018-01-10 | 2022-09-09 | Oppo广东移动通信有限公司 | Information processing method, information processing device, computer equipment and computer readable storage medium |
CN111352732B (en) * | 2020-02-24 | 2023-04-11 | 湖南快乐阳光互动娱乐传媒有限公司 | Voice recognition process control method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744681A (en) * | 2014-01-16 | 2014-04-23 | 广州市久邦数码科技有限公司 | Method and system for freezing/thawing procedures |
CN105677460A (en) * | 2015-12-28 | 2016-06-15 | 小米科技有限责任公司 | Application processing method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8351989B2 (en) * | 2007-02-23 | 2013-01-08 | Lg Electronics Inc. | Method of displaying menu in a mobile communication terminal |
-
2016
- 2016-07-25 CN CN201610592798.2A patent/CN106249843B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744681A (en) * | 2014-01-16 | 2014-04-23 | 广州市久邦数码科技有限公司 | Method and system for freezing/thawing procedures |
CN105677460A (en) * | 2015-12-28 | 2016-06-15 | 小米科技有限责任公司 | Application processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106249843A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6343099B2 (en) | MCU chip wake-up method and apparatus | |
CN105430547B (en) | The dormancy method and device of bluetooth headset | |
EP3112980B1 (en) | Circuit, method and device for waking up master mcu | |
KR101811969B1 (en) | Electronic equipment, method and device for awaking the electronic equipment | |
CN108055693B (en) | Terminal application control method, terminal and computer readable storage medium | |
CN105677460A (en) | Application processing method and apparatus | |
CN105094968B (en) | Wake up the method and device of MCU | |
JP6251352B2 (en) | Method, apparatus, and system for processing busy line | |
CN111290563A (en) | Terminal control method and device and terminal | |
CN110018901B (en) | Memory recovery method and device, computer equipment and computer readable storage medium | |
CN105263182B (en) | Apparatus control method, device and terminal | |
CN104023129A (en) | Power saving method and device thereof | |
CN109413726B (en) | Power consumption control method and mobile terminal | |
CN110032266B (en) | Information processing method, information processing device, computer equipment and computer readable storage medium | |
CN105979088A (en) | Message pushing method and device | |
CN106162845A (en) | Data transmission method and device | |
CN106249843B (en) | A kind of course control method, device and mobile device | |
WO2015085501A1 (en) | Screen control method, screen control device and touch control terminal | |
CN106455002A (en) | Wireless search method and device, and terminal | |
CN111309392B (en) | Equipment control method and electronic equipment | |
CN108681467B (en) | System awakening method and terminal | |
CN110045812B (en) | Information processing method, information processing device, computer equipment and computer readable storage medium | |
CN111240590A (en) | Dirty data erasing method, dirty data erasing device and electronic equipment | |
JP7421639B2 (en) | PDCCH monitoring control method and related equipment | |
WO2022193257A1 (en) | Intelligent interaction method, terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190527 Address after: 644005 Suger Intelligent Industrial Base, 31 Gangyuan Road, Lingang District, Yibin City, Sichuan Province Co-patentee after: Yibin Chen'an Intelligent Manufacturing Co., Ltd. Patentee after: Sichuan sac Communication Technology Co., Ltd. Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong Patentee before: Shenzhen Tinno Wireless Technology Co., Ltd. |
|
TR01 | Transfer of patent right |