CN106354242A - Mode switching method and device - Google Patents

Mode switching method and device Download PDF

Info

Publication number
CN106354242A
CN106354242A CN201610704064.9A CN201610704064A CN106354242A CN 106354242 A CN106354242 A CN 106354242A CN 201610704064 A CN201610704064 A CN 201610704064A CN 106354242 A CN106354242 A CN 106354242A
Authority
CN
China
Prior art keywords
mode
electronic equipment
task
preset duration
carrying
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.)
Pending
Application number
CN201610704064.9A
Other languages
Chinese (zh)
Inventor
杨冬东
顾凌华
薛敬浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610704064.9A priority Critical patent/CN106354242A/en
Publication of CN106354242A publication Critical patent/CN106354242A/en
Pending legal-status Critical Current

Links

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/3231Monitoring the presence, absence or movement of users
    • 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

Abstract

The invention relates to a mode switching method and device. The method comprises the steps that when electronic equipment is in a first mode, whether the electronic equipment is executing a first task is detected, and when the electronic equipment does not detect interactive operation within a first preset duration in the first mode, a working state is switched into a low-power-consumption state; when it is detected that the electronic equipment is executing the first task, the electronic equipment is set to be in a second mode, wherein the electronic equipment continues to be in the working state in the second mode. Thus, the technical effect that interruption of the task in execution due to switching of the state of the electronic equipment into the low-power-consumption state is avoided can be achieved.

Description

A kind of mode switching method and device
Technical field
It relates to field of computer technology, more particularly, to a kind of mode switching method and device.
Background technology
With scientific and technical continuous development, electronic technology is also developed rapidly, and various electronic equipments are Through becoming an indispensable part in people's entertainment life, such as, pc (personal computer, personal computer), Pad (personal digital assistant, panel computer), etc., these electronic equipments enrich the life of people.
At present, for power saving, electronic equipment can be arranged to the pattern of timing dormancy by people, in this mode, if In the duration setting, user does not interact operation to electronic equipment, then electronic equipment is by auto sleep.But in reality In application, user allows electronic equipment execute the task that some do not need to interact sometimes, such as, downloading task, killing disease Task etc. of poison, then during task is carried out, electronic equipment would be possible to because being not detected by interactive operation and oneself Dynamic entrance dormancy, and then task may be led to cannot to continue executing with.
Content of the invention
The asking of the tasks interrupt being carrying out for overcoming electronic equipment present in correlation technique to lead to because of auto sleep Topic, the disclosure provides a kind of mode switching method and device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of mode switching method, comprising:
When electronic equipment is in first mode, detect whether described electronic equipment is carrying out first task, wherein institute State electronic equipment in the first mode, will when described electronic equipment is not detected by interactive operation in the first preset duration Low power consumpting state is switched to by working condition;
When described electronic equipment is detected and being carrying out described first task, described electronic equipment is arranged to the second mould Formula, wherein said electronic equipment is continuously in working condition in the second mode.
Optionally, methods described also includes:
Obtain the first operation;
According to the described first operation, start, described in execution when electronic equipment is in first mode, to detect that described electronics sets The standby step whether being carrying out first task.
Optionally, methods described also includes:
After completing described first task, the mode of operation of described electronic equipment is switched to institute by described second mode State first mode.
Optionally, methods described also includes:
Detecting, described first task completes and the second preset duration is not timed out, by the mode of operation of described electronic equipment Described first mode is switched to by described second mode;Or,
When described second preset duration is detected and completing, by the mode of operation of described electronic equipment by described second mode Switch to described first mode.
Optionally, methods described also includes:
Obtain the second operation;
According to the described second operation, determine that described electronic equipment runs in the second mode described second default when Long.
Optionally, methods described also includes:
Obtain the 3rd operation;
According to the described 3rd operation, determine that described electronic equipment is in resource allocation situation during described second mode.
According to the second aspect of the embodiment of the present disclosure, provide a kind of mode-changeover device, comprising:
Detection module, is configured to, when electronic equipment is in first mode, detect whether described electronic equipment is held Row first task, wherein said electronic equipment in the first mode, when described electronic equipment in the first preset duration not Detect and low power consumpting state will be switched to by working condition during interactive operation;
Setup module, is configured to when described electronic equipment is detected and being carrying out described first task, by described electricity Sub- equipment is arranged to second mode, and wherein said electronic equipment is continuously in working condition in the second mode.
Optionally, described device also includes:
First acquisition module, is configured to obtain the first operation;
Performing module, is configured to, according to the described first operation, start to be in first mode in electronic equipment described in execution When, detect the step whether described electronic equipment is carrying out first task.
Optionally, described device also includes:
First handover module, is configured to after completing described first task, by the mode of operation of described electronic equipment Described first mode is switched to by described second mode.
Optionally, described device also includes:
Second handover module, is configured to detecting that described first task completes and the second preset duration is not timed out, will The mode of operation of described electronic equipment switches to described first mode by described second mode;Or, it is pre- detecting described second If duration completes, the mode of operation of described electronic equipment is switched to described first mode by described second mode.
Optionally, described device also includes:
Second acquisition module, is configured to obtain the second operation;
First determining module, is configured to, according to the described second operation, determine described electronic equipment in described second mode Described second preset duration of lower operation.
Optionally, described device also includes:
3rd acquisition module, is configured to obtain the 3rd operation;
Second determining module, is configured to according to described 3rd operation, determines that described electronic equipment is in described second mould Resource allocation situation during formula.
According to the third aspect of the embodiment of the present disclosure, provide a kind of mode-changeover device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When electronic equipment is in first mode, detect whether described electronic equipment is carrying out first task, wherein institute State electronic equipment in the first mode, will when described electronic equipment is not detected by interactive operation in the first preset duration Low power consumpting state is switched to by working condition;
When described electronic equipment is detected and being carrying out described first task, described electronic equipment is arranged to the second mould Formula, wherein said electronic equipment is continuously in working condition in the second mode.
According to the fourth aspect of the embodiment of the present disclosure, provide a kind of non-transitorycomputer readable storage medium, when described In storage medium instruction by mobile terminal computing device when so that mobile terminal is able to carry out a kind of pattern switching side Method, methods described includes:
When electronic equipment is in first mode, detect whether described electronic equipment is carrying out first task, wherein institute State electronic equipment in the first mode, will when described electronic equipment is not detected by interactive operation in the first preset duration Low power consumpting state is switched to by working condition;
When described electronic equipment is detected and being carrying out described first task, described electronic equipment is arranged to the second mould Formula, wherein said electronic equipment is continuously in working condition in the second mode.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
When electronic equipment is in first mode, if electronic equipment is not detected by user in the first preset duration entered The interactive operation of row, electronic equipment will switch to low power consumpting state by working condition, then can be in first in electronic equipment During pattern, whether detection electronic equipment is carrying out first task, if electronic equipment is detected to be carrying out first task, can So that electronic equipment is set to be continuously in the second mode of working condition, and then make electronic equipment when executing first task Low power consumpting state will not be switched to.By such mode, if electronic equipment is in execution task, then electronic equipment will not It is switched to low power consumpting state, and then avoid the tasks interrupt that electronic equipment leads to because of the switching of state.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the mode switching method according to an exemplary embodiment.
Fig. 2 is a kind of another flow chart of the mode switching method according to an exemplary embodiment.
Fig. 3 is a kind of another flow chart of the mode switching method according to an exemplary embodiment.
Fig. 4 is a kind of another flow chart of the mode switching method according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the mode-changeover device according to an exemplary embodiment.
Fig. 6 is a kind of another block diagram of the mode-changeover device according to an exemplary embodiment.
Fig. 7 is a kind of another block diagram of the mode-changeover device according to an exemplary embodiment.
Fig. 8 is a kind of another block diagram of the mode-changeover device according to an exemplary embodiment.
Fig. 9 is a kind of another block diagram of the mode-changeover device according to an exemplary embodiment.
Figure 10 is a kind of another block diagram of the mode-changeover device according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the mode-changeover device according to an exemplary embodiment.
Figure 12 is a kind of block diagram of the mode-changeover device according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Electronic equipment in the embodiment of the present disclosure can be for example the different electronic equipment of pc, pad, mobile phone etc., this public affairs Open embodiment this is not construed as limiting.
Fig. 1 is a kind of flow chart of the mode switching method according to an exemplary embodiment, as shown in figure 1, pattern Changing method is used in electronic equipment, comprises the following steps.
In step s11, when electronic equipment is in first mode, it is first whether detection electronic equipment is carrying out Business, wherein electronic equipment in the flrst mode, will be by when electronic equipment is not detected by interactive operation in the first preset duration Working condition switches to low power consumpting state.
In step s12, when electronic equipment is detected and being carrying out first task, electronic equipment is arranged to the second mould Formula, wherein electronic equipment are continuously in working condition under the second mode.
First task can be to need to expend the certain time task of can completing, and which kind of is for first task actually Task, the embodiment of the present disclosure is not construed as limiting, and for example, first task can be to download the task of the file, task of system update, standby The task of part or reduction, the task of checking and killing virus, the task of buffered video, etc., as long as needing certain time just can complete And do not need in implementation procedure user interact operation (such as input character, click on mouse, etc. some can be with electronics The operation that equipment interacts) task can be first task in the embodiment of the present disclosure.
It is which kind of state for working condition, the embodiment of the present disclosure is not construed as limiting, for example, working condition can be electricity actually The display unit of sub- equipment and processing unit etc. all with the state of rated power operation, or, working condition can also be electronics The display unit of equipment is closed and processing unit is with the state of rated power operation, etc., as long as electronic equipment The state that first task can normally be executed can be working condition in the embodiment of the present disclosure.
Low power consumpting state for example can include sleep state, resting state, off-mode, etc. the relatively low shape of some energy consumptions State, because energy consumption under low power consumpting state for the electronic equipment is lower compared to the energy consumption under normal operating conditions, therefore in order to save Save electric energy, electronic equipment can be set to first mode, that is, timing enters the pattern of low power consumpting state, in the first mould Formula, the first preset duration can electronic equipment set when dispatching from the factory, or can also be by user's sets itself and to set Can also modify after fixed, when the first preset duration completes and user is not directed to electronic equipment and enters in the first preset duration Row interactive operation, then electronic equipment will automatically switch to low power consumpting state.For example, low power consumpting state can include dormancy shape State, such as set the first preset duration as 10 minutes, then if electronic equipment detects 10 minutes does not receive user's Interactive operation, electronic equipment will automatically switch to resting state by working condition.
It is in first mode in electronic equipment, that is, user sets and makes electronic equipment not have in the first preset duration Detect under the pattern that interactive operation just enters low power consumpting state, can detect whether electronic equipment is carrying out first task, If electronic equipment is detected to be carrying out first task, then electronic equipment can be set to be continuously in working condition Second mode.
For example, first mode can be not detected by the pattern that interactive operation then enters resting state, in electronics for 10 minutes When equipment is under first mode, if electronic equipment is detected to be carrying out first task, such as downloading file, then The mode of operation of electronic equipment can be switched to second mode by original first mode, electronic equipment will under the second mode As long as being continuously in working condition that is to say, that electronic equipment is detected in the flrst mode to be carrying out first task, then It is not detected by interactive operation even more than 10 minutes, electronic equipment also will not enter resting state.By such mode, can So that electronic equipment will not enter low power consumpting state when executing first task, such that it is able to avoid the task of being carrying out because The change of state of electronic equipment and interrupt, electronic equipment is more intelligent.
Optionally, as shown in Fig. 2 step s10 can also be included before step s11: obtain the first operation, then permissible According to the first operation, start execution step s11: when electronic equipment is in first mode, whether detection electronic equipment is held The step of row first task.
It is which kind of operation for the first operation, the embodiment of the present disclosure is not construed as limiting, for example, the first operation can be handss actually Gesture operation, touch control operation, voice operating, button operation, etc..
That is, user can make electronic equipment start to execute above-mentioned steps s11 and step s12 by the first operation, That is, electronic equipment just can go to detect whether to be carrying out first task after receiving the first operation, is being not received by first During operation, electronic equipment and then does not switch electricity even at first mode it is also possible to not detect whether to be carrying out first task The mode of operation of sub- equipment.So, user can carry out open detection as needed to being carrying out switch mode during first task Function, the step of electronic equipment ability perform detection only when user needs, it is to avoid electronic equipment is not because stopping to execute Detecting step and continue occupying system resources phenomenon, improve the performance of electronic equipment.
Optionally, after completing first task, the mode of operation of electronic equipment can also be switched to by second mode First mode.
Judge whether first task executes the mode completing and for example can pass through electronic equipment direct detection first task Schedule, or first task can also be set generate when completing for indicating the completed information of task, electronics Based on this information, equipment can determine that first task has completed, etc., whether the embodiment of the present disclosure is for judging first task The mode having executed is not construed as limiting, as long as can determine that first task has completed.
That is, electronic equipment detect be carrying out first task when, electronic equipment will be in second mode, Namely be continuously in the pattern of working condition, at this moment can determine first task executed complete when, by electronic equipment Mode of operation first mode is switched back into again by second mode, then electronic equipment not will not receive in the first preset duration To entrance low power consumpting state during interactive operation.Certainly, electronic equipment can also be allowed to be directly entered after first task completes low Power consumption state, the embodiment of the present disclosure is not construed as limiting to this.
By way of above, can either ensure that electronic equipment is at working condition when executing first task, also The instruction that execution timing under first mode enters low power consumpting state, Jin Erda can be returned to after electronic equipment completes first task Arrive the purpose of the electric energy saving electronic equipment, electronic equipment is more intelligent.
Optionally, as shown in figure 3, after step s12, can also include:
Step s13: first task completes and the second preset duration is not timed out detecting, by the mode of operation of electronic equipment First mode is switched to by second mode.
Optionally, the second preset duration can be for example that user passes through the second operating and setting, or can also be electronics Set when equipment dispatches from the factory, etc., the embodiment of the present disclosure is not construed as limiting to this.
It is which kind of operation for the second operation, the embodiment of the present disclosure is equally not construed as limiting, for example, the second operation is permissible actually It is gesture operation, touch control operation, voice operating, button operation, etc..
In actual applications, user be it may be desirable to the duration of working condition can be continuously in sets itself electronic equipment, Therefore, user can be in the second preset duration under second mode by the second operating and setting electronic equipment, pre- for second If duration is how many actually, the embodiment of the present disclosure is not construed as limiting, and the second preset duration can be by user's sets itself, Yi Jishe Can also modify as needed after fixed.For example, user can set electronic equipment by touch control operation and be within 5 hours the Two modes, etc..
By way of above, user can as needed sets itself electronic device works under the second mode when Long, electronic equipment more hommization, better user experience.
If first task is detected to have completed, and the second preset duration does not reach it is also possible to allow electronic equipment Mode of operation switches back into first mode by second mode, and for example, user is little for 5 by second operating and setting the second preset duration When, complete first task execution after 2 hours, is detected, then the mode of operation of electronic equipment can also be made by the Two modes switch back into first mode.As such, it is possible to can either ensure that electronic equipment is at work when executing first task State is additionally it is possible to return to the finger that execution timing under first mode enters low power consumpting state after electronic equipment completes first task Order, and then reach the purpose of the electric energy saving electronic equipment, electronic equipment is more intelligent.
Optionally, as shown in figure 4, after step s12, can also include:
Step s14: when the second preset duration is detected and completing, the mode of operation of electronic equipment is switched by second mode For first mode.
That is, after the second preset duration that user sets completes, electronic equipment can be made to switch back into the by second mode One pattern, for example, user set electronic equipment be in second mode within 5 hours, then can be set with user the moment finishing as Initial time, 5 hours afterwards, and no matter whether first task executes completes, and can make the mode of operation of electronic equipment by second Pattern switching returns first mode, and then executes the instruction regularly entering low power consumpting state under first mode.Certainly, set in user The second preset duration after the completion of it is also possible to make electronic equipment be directly entered low power consumpting state, the embodiment of the present disclosure is not made to this Limit.
By way of above, electronic equipment can switch back into the first of more power saving after the completion of the duration that user sets Pattern, and then reach the purpose of the electric energy saving electronic equipment.
Optionally, the 3rd operation can also be obtained, then according to the 3rd operation, when determining that electronic equipment is in second mode Resource allocation situation.
It is which kind of operation for the 3rd operation, the embodiment of the present disclosure is equally not construed as limiting, for example, the 3rd operation is permissible actually It is gesture operation, touch control operation, voice operating, button operation, etc..
User can set the resource allocation situation under second mode as needed, and for example, first task is from network Download the task of file, therefore first task needs continuous access network, then such as user can pass through the 3rd operating and setting Under the second mode, other background tasks in addition to first task all can not access network, so can save flow and Guarantee to execute the efficiency of first task, or for example, first task can be to download the task of file, therefore can be not take up showing Show resource, then user can make processing unit with specified work(by closing display unit under the 3rd operating and setting second mode Rate operates to ensure that the task of downloading file can continuously carry out, etc..
By way of above, user can neatly Resources allocation, the utilization rate of lifting resource as needed, electronics sets Standby more intelligent, better user experience.
Fig. 5 is a kind of mode-changeover device block diagram according to an exemplary embodiment.With reference to Fig. 5, this device 100 wraps Include detection module 121, setup module 122.
This detection module 121 is configured to when electronic equipment is in first mode, and whether detection electronic equipment is held Row first task, wherein electronic equipment in the flrst mode, are grasped when electronic equipment is not detected by interaction in the first preset duration Low power consumpting state will be switched to by working condition when making;
This setup module 122 is configured to, when electronic equipment is detected and being carrying out first task, electronic equipment be set It is set to second mode, wherein electronic equipment is continuously in working condition under the second mode.
Optionally, as shown in fig. 6, this device 100, in addition to including acquisition module 121 and setup module 122, can also wrap Include:
First acquisition module 123, is configured to obtain the first operation;
Performing module 124, is configured to, according to the first operation, start execution when electronic equipment is in first mode, inspection Survey the step whether electronic equipment is carrying out first task.
Optionally, as shown in fig. 7, this device 100, in addition to including acquisition module 121 and setup module 122, can also wrap Include:
First handover module 125, is configured to after completing first task, by the mode of operation of electronic equipment by second Pattern switching is first mode.
Optionally, as shown in figure 8, this device 100, in addition to including acquisition module 121 and setup module 122, can also wrap Include:
Second handover module 128, is configured to detecting that described first task completes and the second preset duration is not timed out, The mode of operation of described electronic equipment is switched to described first mode by described second mode;Or, detecting described second When preset duration completes, the mode of operation of described electronic equipment is switched to described first mode by described second mode.
Optionally, as shown in figure 9, this device 100, in addition to including acquisition module 121 and setup module 122, can also wrap Include:
Second acquisition module 126, is configured to obtain the second operation;
First determining module 127, is configured to according to the second operation, determine that electronic equipment runs under the second mode the Two preset duration.
Optionally, as shown in Figure 10, this device 100, in addition to including acquisition module 121 and setup module 122, can also wrap Include:
3rd acquisition module 129, is configured to obtain the 3rd operation;
Second determining module 130, is configured to according to the 3rd operation, determines that electronic equipment is in resource during second mode Allocation situation.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram of the device 1100 for pattern switching according to an exemplary embodiment.For example, Device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 11, device 1100 can include following one or more assemblies: process assembly 1102, memorizer 1104, Electric power assembly 1106, multimedia groupware 1108, audio-frequency assembly 1010, the interface 1112 of input/output (i/o), sensor cluster 1114, and communication component 1116.
The integrated operation of the usual control device 1100 of process assembly 1102, such as with display, call, data communication, Camera operation and record operate associated operation.Process assembly 1102 can include one or more processors 1120 to execute Instruction, to complete all or part of step of mode switching method.Additionally, process assembly 1102 can include one or more moulds Block, is easy to the interaction between process assembly 1102 and other assemblies.For example, process assembly 1102 can include multi-media module, To facilitate the interaction between multimedia groupware 1108 and process assembly 1102.
Memorizer 1104 is configured to store various types of data to support the operation in device 1100.These data Example include on device 1100 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable can Program read-only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1106 provides electric power for the various assemblies of device 1100.Electric power assembly 1106 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1100, the assembly that electric power is associated.
Multimedia groupware 1108 includes the screen of one output interface of offer between described device 1100 and user.? In some embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch and passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or slip be dynamic The border made, but also the detection persistent period related to described touch or slide and pressure.In certain embodiments, many Media component 1108 includes a front-facing camera and/or post-positioned pick-up head.When device 1100 is in operator scheme, such as shoot mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting Head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.For example, audio-frequency assembly 1110 includes a wheat Gram wind (mic), when device 1100 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1104 or via communication Assembly 1116 sends.In certain embodiments, audio-frequency assembly 1110 also includes a speaker, for exports audio signal.
I/o interface 1112 is for providing interface, above-mentioned peripheral interface module between process assembly 1102 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1114 includes one or more sensors, for providing the state of various aspects to comment for device 1100 Estimate.For example, sensor cluster 1114 can detect/the closed mode of opening of device 1100, the relative localization of assembly, such as institute State the display that assembly is device 1100 and keypad, sensor cluster 1114 can be with detection means 1100 or device 1,100 1 The position change of individual assembly, user is presence or absence of with what device 1100 contacted, device 1100 orientation or acceleration/deceleration and dress Put 1100 temperature change.Sensor cluster 1114 can include proximity transducer, is configured to do not having any physics The presence of object nearby is detected during contact.Sensor cluster 1114 can also include optical sensor, such as cmos or ccd image sensing Device, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress Put 1100 and can access wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.Exemplary at one In embodiment, communication component 1116 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, described communication component 1116 also includes near-field communication (nfc) module, to promote short distance Communication.For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband can be based in nfc module (uwb) technology, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuits (asic), numeral Signal processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for execution pattern changing method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1104 instructing, above-mentioned instruction can be executed by the processor 1120 of device 1100 to complete pattern switching side Method.For example, described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, magnetic Band, floppy disk and optical data storage devices etc..
Figure 12 is a kind of block diagram of the device 1200 for pattern switching according to an exemplary embodiment.For example, Device 1200 may be provided in a server.With reference to Figure 12, device 1200 includes process assembly 1222, and it further includes one Individual or multiple processors, and the memory resource representated by memorizer 1232, can be by process assembly 1222 for storage The instruction of execution, such as application program.The application program storing in memorizer 1232 can include one or more every One module corresponding to one group of instruction.Additionally, process assembly 1222 is configured to execute instruction, to execute above-mentioned pattern switching Method.
Device 1200 can also include the power management that a power supply module 1226 is configured to performs device 1200, one Wired or wireless network interface 1250 is configured to for device 1200 to be connected to network, and input and output (i/o) interface 1258.Device 1200 can operate based on the operating system being stored in memorizer 1232, such as windows servertm, mac Os xtm, unixtm, linuxtm, freebsdtm or similar.
Those skilled in the art, after considering description and putting into practice the disclosure, will readily occur to other embodiment party of the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change is followed the general principle of the disclosure and is included the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by claim below Point out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (13)

1. a kind of mode switching method is it is characterised in that methods described includes:
When electronic equipment is in first mode, detect whether described electronic equipment is carrying out first task, wherein said electricity Sub- equipment in the first mode, will be by work when described electronic equipment is not detected by interactive operation in the first preset duration Switch to low power consumpting state as state;
When described electronic equipment is detected and being carrying out described first task, described electronic equipment is arranged to second mode, Wherein said electronic equipment is continuously in working condition under the second mode.
2. method according to claim 1 is it is characterised in that methods described also includes:
Obtain the first operation;
According to the described first operation, start, described in execution when electronic equipment is in first mode, to detect that described electronic equipment is The no step being carrying out first task.
3. method according to claim 1 is it is characterised in that methods described also includes:
After completing described first task, the mode of operation of described electronic equipment is switched to described by described second mode One pattern.
4. method according to claim 1 is it is characterised in that methods described also includes:
Detecting, described first task completes and the second preset duration is not timed out, by the mode of operation of described electronic equipment by institute State second mode and switch to described first mode;Or,
When described second preset duration is detected and completing, the mode of operation of described electronic equipment is switched by described second mode For described first mode.
5. method according to claim 4 is it is characterised in that methods described also includes:
Obtain the second operation;
According to the described second operation, determine described second preset duration that described electronic equipment runs in the second mode.
6. method according to claim 1 is it is characterised in that methods described also includes:
Obtain the 3rd operation;
According to the described 3rd operation, determine that described electronic equipment is in resource allocation situation during described second mode.
7. a kind of mode-changeover device is it is characterised in that include:
Detection module, is configured to when electronic equipment is in first mode, detects whether described electronic equipment is carrying out the One task, wherein said electronic equipment in the first mode, when described electronic equipment does not detect in the first preset duration Low power consumpting state will be switched to by working condition to during interactive operation;
Setup module, is configured to, when described electronic equipment is detected and being carrying out described first task, described electronics be set For being arranged to second mode, wherein said electronic equipment is continuously in working condition in the second mode.
8. device according to claim 7 is it is characterised in that described device also includes:
First acquisition module, is configured to obtain the first operation;
Performing module, is configured to, according to the described first operation, start described in execution when electronic equipment is in first mode, inspection Survey the step whether described electronic equipment is carrying out first task.
9. device according to claim 7 is it is characterised in that described device also includes:
First handover module, is configured to after completing described first task, by the mode of operation of described electronic equipment by institute State second mode and switch to described first mode.
10. device according to claim 7 is it is characterised in that described device also includes:
Second handover module, is configured to detecting that described first task completes and the second preset duration is not timed out, will be described The mode of operation of electronic equipment switches to described first mode by described second mode;Or, detect described second default when When length completes, the mode of operation of described electronic equipment is switched to described first mode by described second mode.
11. devices according to claim 10 are it is characterised in that described device also includes:
Second acquisition module, is configured to obtain the second operation;
First determining module, is configured to, according to the described second operation, determine that described electronic equipment is transported in the second mode Described second preset duration of row.
12. devices according to claim 7 are it is characterised in that described device also includes:
3rd acquisition module, is configured to obtain the 3rd operation;
Second determining module, is configured to according to described 3rd operation, when determining that described electronic equipment is in described second mode Resource allocation situation.
A kind of 13. mode-changeover devices are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When electronic equipment is in first mode, detect whether described electronic equipment is carrying out first task, wherein said electricity Sub- equipment in the first mode, will be by work when described electronic equipment is not detected by interactive operation in the first preset duration Switch to low power consumpting state as state;
When described electronic equipment is detected and being carrying out described first task, described electronic equipment is arranged to second mode, Wherein said electronic equipment is continuously in working condition in the second mode.
CN201610704064.9A 2016-08-22 2016-08-22 Mode switching method and device Pending CN106354242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610704064.9A CN106354242A (en) 2016-08-22 2016-08-22 Mode switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610704064.9A CN106354242A (en) 2016-08-22 2016-08-22 Mode switching method and device

Publications (1)

Publication Number Publication Date
CN106354242A true CN106354242A (en) 2017-01-25

Family

ID=57844910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610704064.9A Pending CN106354242A (en) 2016-08-22 2016-08-22 Mode switching method and device

Country Status (1)

Country Link
CN (1) CN106354242A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193522A (en) * 2017-06-19 2017-09-22 联想(北京)有限公司 A kind of switching method and the first electronic equipment
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device
CN107765833A (en) * 2017-10-18 2018-03-06 维沃移动通信有限公司 A kind of alarm clock prompting method and mobile terminal
CN107844248A (en) * 2017-11-23 2018-03-27 广州视源电子科技股份有限公司 A kind of control method of Intelligent flat, device, Intelligent flat and storage medium
CN107908274A (en) * 2017-11-24 2018-04-13 深圳市驿固科技有限公司 A kind of method for reducing electronic equipment electric energy loss
CN109445667A (en) * 2018-10-30 2019-03-08 维沃移动通信有限公司 A kind of screen pattern switching method and device
CN113032171A (en) * 2021-03-30 2021-06-25 联想(北京)有限公司 Control method and device
CN113630851A (en) * 2020-05-07 2021-11-09 深圳市万普拉斯科技有限公司 Communication mode state switching method and device, computer equipment and storage medium
CN113676596A (en) * 2021-08-20 2021-11-19 北京字节跳动网络技术有限公司 Electronic device control method, electronic device control device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076903A (en) * 2011-05-26 2014-10-01 谷歌公司 Postponing suspend
CN104679218A (en) * 2015-02-13 2015-06-03 小米科技有限责任公司 Method and device for controlling power consumption
CN105573467A (en) * 2015-12-11 2016-05-11 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076903A (en) * 2011-05-26 2014-10-01 谷歌公司 Postponing suspend
CN104679218A (en) * 2015-02-13 2015-06-03 小米科技有限责任公司 Method and device for controlling power consumption
CN105573467A (en) * 2015-12-11 2016-05-11 联想(北京)有限公司 Information processing method and electronic device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193522B (en) * 2017-06-19 2020-02-21 联想(北京)有限公司 Switching method and first electronic equipment
CN107193522A (en) * 2017-06-19 2017-09-22 联想(北京)有限公司 A kind of switching method and the first electronic equipment
CN107765833A (en) * 2017-10-18 2018-03-06 维沃移动通信有限公司 A kind of alarm clock prompting method and mobile terminal
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device
CN107608561B (en) * 2017-10-24 2020-03-17 北京小米移动软件有限公司 Touch screen control method and device
CN107844248A (en) * 2017-11-23 2018-03-27 广州视源电子科技股份有限公司 A kind of control method of Intelligent flat, device, Intelligent flat and storage medium
CN107908274A (en) * 2017-11-24 2018-04-13 深圳市驿固科技有限公司 A kind of method for reducing electronic equipment electric energy loss
CN109445667A (en) * 2018-10-30 2019-03-08 维沃移动通信有限公司 A kind of screen pattern switching method and device
CN113630851A (en) * 2020-05-07 2021-11-09 深圳市万普拉斯科技有限公司 Communication mode state switching method and device, computer equipment and storage medium
WO2021223687A1 (en) * 2020-05-07 2021-11-11 深圳市万普拉斯科技有限公司 Communication mode state switching method and apparatus, and computer device and storage medium
CN113032171A (en) * 2021-03-30 2021-06-25 联想(北京)有限公司 Control method and device
CN113032171B (en) * 2021-03-30 2023-12-22 联想(北京)有限公司 Control method and device
CN113676596A (en) * 2021-08-20 2021-11-19 北京字节跳动网络技术有限公司 Electronic device control method, electronic device control device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN106354242A (en) Mode switching method and device
CN105677460B (en) Applied program processing method and device
EP3136793B1 (en) Method and apparatus for awakening electronic device
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
US10216248B2 (en) Method and device for controlling power consumption
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN105955441B (en) Application management method and device
CN105848190A (en) OTA upgrading method and apparatus
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN105607834A (en) Screen control method and apparatus as well as terminal
CN106357910A (en) Terminal working mode switching method and device
EP3112979A1 (en) Method and device for waking up mcu
CN105652671A (en) Intelligent equipment operating mode setting method and device
RU2665300C2 (en) Method and device for processing point reporting of touch screen
CN106657645A (en) Call request processing method and device, calling method and device, and related terminal
CN106162845A (en) Data transmission method and device
CN105930213A (en) Application running method and apparatus
CN106991005A (en) The switching method and device of operating system
CN110262692A (en) A kind of touch screen scanning method, device and medium
CN104461358B (en) Light the method and device of screen
CN105912204A (en) Method and device for starting up application interface
CN105094966B (en) Control the method and device of PC
CN109034747A (en) Task reminders method and device
CN105159434A (en) Time display method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125

RJ01 Rejection of invention patent application after publication