CN106200869A - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN106200869A
CN106200869A CN201610500507.2A CN201610500507A CN106200869A CN 106200869 A CN106200869 A CN 106200869A CN 201610500507 A CN201610500507 A CN 201610500507A CN 106200869 A CN106200869 A CN 106200869A
Authority
CN
China
Prior art keywords
electronic equipment
state
acceleration information
acceleration
information
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
CN201610500507.2A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610500507.2A priority Critical patent/CN106200869A/en
Publication of CN106200869A publication Critical patent/CN106200869A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Abstract

The invention discloses a kind of control method and electronic equipment.Wherein, method includes: detected the first kinestate of described electronic equipment by the detector unit of described electronic equipment;Judge whether described electronic equipment is in the first state according to described first kinestate;Electronic equipment described in described first state representation is in use state;When described electronic equipment is not in the first state, generate the first control instruction;According to described first control instruction, control described electronic equipment and be in the second state;In said second condition, other assembly of the described electronic equipment in addition to described detector unit enters the second power consumption state from the first power consumption state;Power consumption under described first power consumption state is higher than the power consumption of described second power consumption state.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to information control field, particularly relate to a kind of control method and electronic equipment.
Background technology
Along with the development of science and technology, the use of electronic equipment is required more and more higher, such as wishes by wireless side by people Formula can operate electronic equipment, and under such a use demand, wireless mouse arises at the historic moment.Wireless mouse uses wireless technology With compunication, thus eliminate the constraint of electric wire.
But, power dissipation ratio when current wireless mouse is standby is higher.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides a kind of control method and electronic equipment.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments providing a kind of control method, be applied to electronic equipment, described electronic equipment includes that detection is single Unit;Described method includes:
The first kinestate of described electronic equipment is detected by described detector unit;
Judge whether described electronic equipment is in the first state according to described first kinestate;Described first state representation Described electronic equipment is in use state;
When described electronic equipment is not in the first state,
Generate the first control instruction;
According to described first control instruction, control described electronic equipment and be in the second state;In said second condition, remove Other assembly of described electronic equipment outside described detector unit enters the second power consumption state from the first power consumption state;Described first Power consumption under power consumption state is higher than the power consumption of described second power consumption state.
In such scheme, when described electronic equipment is in the second state, described method also includes:
The second kinestate of described electronic equipment is detected by described detector unit;
Judge that described electronic equipment is the need of entering the first state according to described second kinestate;
When described electronic equipment needs to enter the first state, generate the second control instruction;
According to described second control instruction, control described electronic equipment and enter the first state.
In such scheme, described detector unit is acceleration transducer;First kinestate of described detection electronic equipment, Including:
The acceleration information of described electronic equipment is detected by acceleration transducer;
Correspondingly, judge whether described electronic equipment is in the first state according to the first kinestate, including:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
In such scheme, described acceleration transducer detects the first acceleration information, the second acceleration information and the 3rd Acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration information is the acceleration of Y-axis Degree information;Described 3rd acceleration information is the acceleration information of Z axis;Described 3rd acceleration information is zero;
Judge whether described acceleration information is more than or equal to predetermined acceleration threshold value, including:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge the second acceleration letter Whether breath is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
In such scheme, described detector unit is acceleration transducer;Described acceleration transducer is that 3-axis acceleration passes Sensor;The first acceleration information, the second acceleration information and the 3rd acceleration information detected;Described first acceleration information is The acceleration information of X-axis;Described second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is Z axis Acceleration information;
Correspondingly, when described 3rd acceleration information is more than or equal to the 3rd predetermined acceleration threshold value, described electricity is determined Subset is in described second state.
The embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment includes:
Detector, for detecting the first kinestate of described electronic equipment;
According to described first kinestate, controller, for judging whether described electronic equipment is in the first state;Described Electronic equipment described in first state representation is in use state;When described electronic equipment is not in the first state, generate first Control instruction;And according to described first control instruction, control described electronic equipment and be in the second state;In described second state Under, other assembly of the described electronic equipment in addition to described detector unit enters the second power consumption state from the first power consumption state;Institute State the power consumption higher than described second power consumption state of the power consumption under the first power consumption state.
In such scheme, described detector, it is additionally operable to detect the second kinestate of described electronic equipment;
Described controller, is additionally operable to judge that described electronic equipment is the need of entering first according to described second kinestate State;When described electronic equipment needs to enter the first state, generate the second control instruction;And
According to described second control instruction, control described electronic equipment and enter the first state.
In such scheme, described detector is acceleration transducer;
Described detector, specifically for: detect the acceleration information of described electronic equipment;
Correspondingly, described controller, specifically for:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
In such scheme, described acceleration transducer detects the first acceleration information, the second acceleration information and the 3rd Acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration information is the acceleration of Y-axis Degree information;Described 3rd acceleration information is the acceleration information of Z;Described 3rd acceleration information is zero;
Described controller, specifically for:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge the second acceleration letter Whether breath is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, determine that described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
In such scheme, described detector is acceleration transducer;Described acceleration transducer is 3-axis acceleration sensing Device;The first acceleration information, the second acceleration information and the 3rd acceleration information detected;Described first acceleration information is X The acceleration information of axle;Described second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is Z axis Acceleration information;
Correspondingly, described controller, it is used for: when described 3rd acceleration information is more than or equal to the 3rd predetermined acceleration thresholding During value, determine that described electronic equipment is in described second state.
The control method of embodiment of the present invention offer and electronic equipment, detect institute by the detector unit of described electronic equipment State the first kinestate of electronic equipment;Judge whether described electronic equipment is in the first shape according to described first kinestate State;Electronic equipment described in described first state representation is in use state;When described electronic equipment is not in the first state, raw Become the first control instruction;According to described first control instruction, control described electronic equipment and be in the second state;At described second shape Under state, other assembly of the described electronic equipment in addition to described detector unit enters the second power consumption state from the first power consumption state; Power consumption under described first power consumption state, higher than the power consumption of described second power consumption state, when not using described electronic equipment, is only stayed Described detector unit works, and so, can be substantially reduced the operating current of described electronic equipment, thus greatly reduce described electronics The power consumption of equipment, and then substantially increase the standby time of described electronic equipment.
Accompanying drawing explanation
In accompanying drawing (it is not necessarily drawn to scale), similar reference can be in phase described in different views As parts.The similar reference numerals with different letter suffix can represent the different examples of similar component.Accompanying drawing is with example Unrestriced mode generally shows each embodiment discussed herein.
Fig. 1 is the embodiment of the present invention one control method structural representation;
Fig. 2 is embodiment of the present invention two control method structural representation;
Fig. 3 is the embodiment of the present invention three electronic devices structure schematic diagram.
Detailed description of the invention
In order to more fully hereinafter understand feature and the technology contents of the embodiment of the present invention, below in conjunction with the accompanying drawings to this The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the present invention and implements Example.
In various embodiments of the present invention: detected the first fortune of described electronic equipment by the detector unit of electronic equipment Dynamic state;Judge whether described electronic equipment is in the first state according to described first kinestate;Described first state representation Described electronic equipment is in use state;When described electronic equipment is not in the first state, generate the first control instruction;According to Described first control instruction, controls described electronic equipment and is in the second state;In said second condition, except described detector unit Other assembly of outer described electronic equipment enters the second power consumption state from the first power consumption state;Under described first power consumption state Power consumption is higher than the power consumption of described second power consumption state.
Embodiment one
The embodiment of the present invention provides a kind of control method, and described method is applied in electronic equipment.Described electronic equipment bag Include detector unit.
Fig. 1 be the embodiment of the present invention one control method realize schematic flow sheet, as it is shown in figure 1, the method includes following Step:
Step 101: detected the first kinestate of described electronic equipment by described detector unit;
Here, in one embodiment, described detector unit can be acceleration transducer;
In this case, the first kinestate of described detection electronic equipment, can specifically include:
The acceleration information of described electronic equipment is detected by acceleration transducer.
Step 102: judge whether described electronic equipment is in the first state according to described first kinestate;
Here, electronic equipment described in described first state representation is in use state.
When described detector unit is acceleration transducer, judge whether described electronic equipment is located according to the first kinestate In the first state, can specifically include:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
Here, during actual application, described acceleration transducer is typically chosen 3-axis acceleration sensor, so, and can be accurately The kinestate of detection electronic equipment.
Wherein, during actual application, described electronic equipment can be wireless mouse, can be not in first under following scene State:
The first scene: wireless mouse is placed on the table, user's mobile wireless mouse on the table, thus to another Individual electronic equipment operates, such as: the dragging of the page, the selection etc. of content.In such a scenario, another is not used as user When individual electronic equipment or extended break, wireless mouse is not in the first state, is i.e. not used by.Now, acceleration sensing Device detects the first acceleration information, the second acceleration information and the 3rd acceleration information;Described first acceleration information is X-axis Acceleration information;Described second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is adding of Z axis Velocity information;Described 3rd acceleration information is zero.
Correspondingly, it is judged that whether described acceleration information, more than or equal to predetermined acceleration threshold value, specifically includes:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge the second acceleration letter Whether breath is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
Wherein, when wireless mouse is placed on the table, when using wireless mouse, owing to being to move nothing on the table Line Mouse, to realize another electronic equipment is operated, say, that be movement in one plane, so now In the acceleration information detected, the acceleration information of Z axis is zero, then, when user does not uses wireless mouse, as long as Detect when the acceleration information of X-axis and Y-axis is respectively less than corresponding acceleration threshold value, i.e. would know that and do not use wireless mouse.
The second scene: wireless mouse has been set up being connected with another electronic equipment operated, and user is at table Mobile wireless mouse on face, thus another electronic equipment is operated, such as: the dragging of the page, the selection etc. of content.When Due to job demand, need wireless mouse and another electronic equipment are placed in school bag the movement carrying out distance, now, Wireless mouse is not in the first state, is i.e. not used by.Now, acceleration transducer detect the first acceleration information, second Acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration Information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis.So in moving process, Wireless mouse is still in unused state, and this movement is three-dimensional movement, then in this case when described Acanthopanan trifoliatus (L.) Merr. When velocity information is more than or equal to the 3rd predetermined acceleration threshold value, determine that wireless mouse is in described second state.
Wherein, during actual application, under the scene that three-dimensional moves, the described 3rd presets the comparison that acceleration threshold value can be arranged Little, in order to wireless mouse to be accurately identified and be in described second state.
Step 103: when described electronic equipment is not in the first state, generate the first control instruction;
Here, when described electronic equipment is in the first state, the most do not carry out any operation, the most do not perform step 103~ 104。
Step 104: according to described first control instruction, controls described electronic equipment and is in the second state.
Here, in said second condition, other assembly of the described electronic equipment in addition to described detector unit is from first Power consumption state enters the second power consumption state;Power consumption under described first power consumption state is higher than the power consumption of described second power consumption state.
In other words, only staying detector unit (acceleration transducer) to be operated, other assembly is in holding state.
It addition, during actual application, in order to reduce the purpose of power consumption, the acceleration sensing that power consumption is smaller can be selected Device, such as selects the acceleration transducer that operating power consumption is 0.5~2 μ A during work.
Below by the use time of the bluetooth mouse after existing a bluetooth mouse and employing embodiment of the present invention scheme Compare.
State Operating current (mA)
Work (Active) 9.10
Idle 1 (Idle1) 2.10
Idle 2 (Idle2) 0.12
Sleep (Sleep) 0.05
Shutdown (Power Down) 0.05
Table 1
Table 2
Table 1 is the operating current table of current existing a bluetooth mouse.The side that table 2 provides for using the embodiment of the present invention The operating current table of the bluetooth mouse (being additionally arranged detector unit on the bluetooth mouse that employing table 1 is used) after case.
In Table 1, when mouse is in running order, operating current is 9.10mA, now (the sensing of the sensor in mouse The operation of user), bluetooth-communication unit and microprocessor (MCU) all consume the electricity of mouse.And when off position, comprise Free time 1 and idle condition, although sensor enters holding state, but bluetooth-communication unit is still that in running order , so its operating current is the biggest.In table 2, when mouse is in running order, operating current is 9.10mA, now Sensor, bluetooth-communication unit and MCU in mouse all consumes the electricity of mouse.And when off position, comprise idle 1 He Idle condition, sensor enters holding state, and bluetooth-communication unit is also into holding state simultaneously, only stays detection power consumption non- The least detector unit is operated, so operating current is substantially reduced, thus is greatly saved power consumption.
Through using test, being provided without the bluetooth mouse of the embodiment of the present invention, its stand-by time is only about 4 months, and adopts With the bluetooth mouse of embodiment of the present invention scheme, its stand-by time can extend to 5 months, substantially increase stand-by time.
The control method that the embodiment of the present invention provides, detects described electronic equipment by the detector unit of described electronic equipment The first kinestate;Judge whether described electronic equipment is in the first state according to described first kinestate;Described first Electronic equipment described in state representation is in use state;When described electronic equipment is not in the first state, generate the first control Instruction;According to described first control instruction, control described electronic equipment and be in the second state;In said second condition, except institute Other assembly stating the described electronic equipment outside detector unit enters the second power consumption state from the first power consumption state;Described first merit Power consumption under consumption state, higher than the power consumption of described second power consumption state, when not using described electronic equipment, only stays described detection Cell operation, so, can be substantially reduced the operating current of described electronic equipment, thus greatly reduce the merit of described electronic equipment Consumption, and then substantially increase the standby time of described electronic equipment.
Embodiment two
Fig. 2 be the embodiment of the present invention one control method realize schematic flow sheet, as in figure 2 it is shown, the method includes following Step:
Step 201: detected the first kinestate of described electronic equipment by described detector unit;
Here, in one embodiment, described detector unit can be acceleration transducer;
In this case, the first kinestate of described detection electronic equipment, can specifically include:
The acceleration information of described electronic equipment is detected by acceleration transducer.
Step 202: judge whether described electronic equipment is in the first state according to described first kinestate;
Here, electronic equipment described in described first state representation is in use state.
When described detector unit is acceleration transducer, judge whether described electronic equipment is located according to the first kinestate In the first state, can specifically include:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
Here, during actual application, described acceleration transducer is typically chosen 3-axis acceleration sensor, so, and can be accurately The kinestate of detection electronic equipment.
Wherein, during actual application, described electronic equipment can be wireless mouse, can be not in first under following scene State:
The first scene: wireless mouse is placed on the table, user's mobile wireless mouse on the table, thus to another Individual electronic equipment operates, such as: the dragging of the page, the selection etc. of content.In such a scenario, another is not used as user When individual electronic equipment or extended break, wireless mouse is not in the first state, is i.e. not used by.Now, acceleration sensing Device detects the first acceleration information, the second acceleration information and the 3rd acceleration information;Described first acceleration information is X-axis Acceleration information;Described second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is adding of Z axis Velocity information;Described 3rd acceleration information is zero.
Correspondingly, it is judged that whether described acceleration information, more than or equal to predetermined acceleration threshold value, specifically includes:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge the second acceleration letter Whether breath is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
Wherein, when wireless mouse is placed on the table, when using wireless mouse, owing to being to move nothing on the table Line Mouse, to realize another electronic equipment is operated, say, that be movement in one plane, so now In the acceleration information detected, the acceleration information of Z axis is zero, then, when user does not uses wireless mouse, as long as Detect when the acceleration information of X-axis and Y-axis is respectively less than corresponding acceleration threshold value, i.e. would know that and do not use wireless mouse.
The second scene: wireless mouse has been set up being connected with another electronic equipment operated, and user is at table Mobile wireless mouse on face, thus another electronic equipment is operated, such as: the dragging of the page, the selection etc. of content.When Due to job demand, need wireless mouse and another electronic equipment are placed in school bag the movement carrying out distance, now, Wireless mouse is not in the first state, is i.e. not used by.Now, acceleration transducer detect the first acceleration information, second Acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration Information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis.So in moving process, nothing Line Mouse is still in unused state, and this movement is three-dimensional movement, then accelerate when the described 3rd in this case When degree information is more than or equal to the 3rd predetermined acceleration threshold value, determine that wireless mouse is in described second state.
Wherein, during actual application, under the scene that three-dimensional moves, the described 3rd presets the comparison that acceleration threshold value can be arranged Little, in order to wireless mouse to be accurately identified and be in described second state.
Step 203: when described electronic equipment is not in the first state, generate the first control instruction;
Here, when described electronic equipment is in the first state, the most do not carry out any operation, the most do not perform step 203~ 204。
Step 204: according to described first control instruction, controls described electronic equipment and is in the second state;
Here, in said second condition, other assembly of the described electronic equipment in addition to described detector unit is from first Power consumption state enters the second power consumption state;Power consumption under described first power consumption state is higher than the power consumption of described second power consumption state.
In other words, only staying detector unit (acceleration transducer) to be operated, other assembly is in holding state.
Step 205: when described electronic equipment is in the second state, detects described electronic equipment by described detector unit Second kinestate;
Here, during actual application, when user needs to use described electronic equipment, described electronic equipment can be grasped Make, so that described electronic equipment is in the second kinestate, such as: when user needs to use described electronic equipment, can rock Described electronic equipment, so that described electronic equipment moves, thus produces movement locus, and then makes described electronic equipment be in Second kinestate.In other words, the first kinestate and the second kinestate are two diverse kinestates.
Likewise it is possible to detect, by acceleration transducer, the acceleration information that described second kinestate is corresponding.
Step 206: judge that described electronic equipment is the need of entering the first state according to described second kinestate;
Here, when to use described electronic equipment, for wireless mouse, now wireless mouse has been placed on desktop On, now, it is judged that whether the acceleration information that the second kinestate of detection is corresponding is more than or equal to predetermined acceleration threshold value;
When described acceleration information is more than or equal to predetermined acceleration threshold value, described electronic equipment needs to enter the first shape State.
When described acceleration transducer is three-axis sensor, acceleration transducer can detect the first acceleration information, Second acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second adds Velocity information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis;Described 3rd accelerates letter Breath is zero.
When meeting at least one of condition, when described electronic equipment needs to enter the first state:
Described first acceleration information is more than or equal to the first predetermined acceleration threshold value;
Described second acceleration information is more than or equal to the second predetermined acceleration threshold value.
It addition, during actual application, in order to reduce the purpose of power consumption, the acceleration sensing that power consumption is smaller can be selected Device, such as selects the acceleration transducer that operating power consumption is 0.5~2 μ A during work.
Step 207: when described electronic equipment needs to enter the first state, generate the second control instruction;
Step 208: according to described second control instruction, controls described electronic equipment and enters the first state.
Below by the use time of the bluetooth mouse after existing a bluetooth mouse and employing embodiment of the present invention scheme Compare.
Table 1 is the operating current table of current existing a bluetooth mouse.The side that table 2 provides for using the embodiment of the present invention The operating current table of the bluetooth mouse (being additionally arranged detector unit on the bluetooth mouse that employing table 1 is used) after case.
In Table 1, when mouse is in running order, operating current is 9.10mA, now (the sensing of the sensor in mouse The operation of user), bluetooth-communication unit and MCU all consume the electricity of mouse.And when off position, comprise free time 1 and sky Not busy state, although sensor enters holding state, but bluetooth-communication unit is still that in running order, so its work Make electric current the biggest.In table 2, when mouse is in running order, operating current is 9.10mA, now the sensing in mouse Device, bluetooth-communication unit and MCU all consume the electricity of mouse.And when off position, comprise free time 1 and idle condition, pass Sensor enters holding state, and bluetooth-communication unit is also into holding state simultaneously, only stays the detection that detection power consumption is the least Unit is operated, so operating current is substantially reduced, thus is greatly saved power consumption.
Through using test, being provided without the bluetooth mouse of the embodiment of the present invention, its stand-by time is only about 4 months, and adopts With the bluetooth mouse of embodiment of the present invention scheme, its stand-by time can extend to 5 months, substantially increase stand-by time.
The control method that the embodiment of the present invention provides, detects described electronic equipment by the detector unit of described electronic equipment The first kinestate;Judge whether described electronic equipment is in the first state according to described first kinestate;Described first Electronic equipment described in state representation is in use state;When described electronic equipment is not in the first state, generate the first control Instruction;According to described first control instruction, control described electronic equipment and be in the second state;In said second condition, except institute Other assembly stating the described electronic equipment outside detector unit enters the second power consumption state from the first power consumption state;Described first merit Power consumption under consumption state, higher than the power consumption of described second power consumption state, when not using described electronic equipment, only stays described detection Cell operation, so, can be substantially reduced the operating current of described electronic equipment, thus greatly reduce the merit of described electronic equipment Consumption, and then substantially increase the standby time of described electronic equipment.
It addition, when described electronic equipment is in the second state, detect described electronic equipment by described detector unit Second kinestate;Judge that described electronic equipment is the need of entering the first state according to described second kinestate;When described When electronic equipment needs to enter the first state, generate the second control instruction;According to described second control instruction, control described electronics Equipment enters the first state, to use described electronic equipment once detect, controls described electronic equipment entrance work at once State, so, can allow when needs use electronic equipment electronic equipment enter duty rapidly, be greatly improved user's body Test.
Embodiment three
For the method realizing the embodiment of the present invention, the present embodiment provides a kind of electronic equipment 30, as it is shown on figure 3, this electronics Equipment 30 includes:
Detector 31, for detecting the first kinestate of described electronic equipment 30;
According to described first kinestate, controller 32, for judging whether described electronic equipment 30 is in the first state; Electronic equipment 30 described in described first state representation is in use state;When described electronic equipment 30 is not in the first state, Generate the first control instruction;And according to described first control instruction, control described electronic equipment 30 and be in the second state.
Wherein, in said second condition, other assembly of the described electronic equipment 30 in addition to described detector unit is from One power consumption state enters the second power consumption state;Power consumption under described first power consumption state is higher than the merit of described second power consumption state Consumption.
In one embodiment, described detector 31 is acceleration transducer;
In this case, described detector 31, specifically for: detect the acceleration information of described electronic equipment 30;
Correspondingly, described controller 32, specifically for:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment 30 is not in the first state.
Here, during actual application, described acceleration transducer is typically chosen 3-axis acceleration sensor, so, and can be accurately The kinestate of detection electronic equipment.
Wherein, during actual application, described electronic equipment can be wireless mouse, can be not in first under following scene State:
The first scene: wireless mouse is placed on the table, user's mobile wireless mouse on the table, thus to another Individual electronic equipment operates, such as: the dragging of the page, the selection etc. of content.In such a scenario, another is not used as user When individual electronic equipment or extended break, wireless mouse is not in the first state, is i.e. not used by.Now, acceleration sensing Device detects the first acceleration information, the second acceleration information and the 3rd acceleration information;Described first acceleration information is X-axis Acceleration information;Described second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is adding of Z axis Velocity information;Described 3rd acceleration information is zero.
Correspondingly, it is judged that whether described acceleration information, more than or equal to predetermined acceleration threshold value, specifically includes:
Described controller 32 judges that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge Whether the second acceleration information is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, described electronic equipment 30 is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
Wherein, when wireless mouse is placed on the table, when using wireless mouse, owing to being to move nothing on the table Line Mouse, to realize another electronic equipment is operated, say, that be movement in one plane, so now In the acceleration information detected, the acceleration information of Z axis is zero, then, when user does not uses wireless mouse, as long as Detect when the acceleration information of X-axis and Y-axis is respectively less than corresponding acceleration threshold value, i.e. would know that and do not use wireless mouse.
The second scene: wireless mouse has been set up being connected with another electronic equipment operated, and user is at table Mobile wireless mouse on face, thus another electronic equipment is operated, such as: the dragging of the page, the selection etc. of content. When due to job demand, needing wireless mouse and another electronic equipment are placed in school bag the movement carrying out distance, this Time, wireless mouse is not in the first state, is i.e. not used by.Now, acceleration transducer detect the first acceleration information, Two acceleration informations and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second accelerates Degree information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis.So in moving process, Wireless mouse is still in unused state, and this movement is three-dimensional movement, then in this case when described Acanthopanan trifoliatus (L.) Merr. When velocity information is more than or equal to the 3rd predetermined acceleration threshold value, described controller 32 determines that wireless mouse is in described second shape State.
Wherein, during actual application, under the scene that three-dimensional moves, the described 3rd presets the comparison that acceleration threshold value can be arranged Little, in order to wireless mouse to be accurately identified and be in described second state.
When described electronic equipment 30 is in the first state, the most described controller 32 does not carry out any operation.
In other words, in said second condition, detector 31 (acceleration transducer) is only stayed to be operated, other assembly It is in holding state.
It addition, during actual application, in order to reduce the purpose of power consumption, the acceleration sensing that power consumption is smaller can be selected Device, such as selects the acceleration transducer that operating power consumption is 0.5~2 μ A during work.
In one embodiment, after described electronic equipment 30 is in the second state, described detector 31, it is additionally operable to detect institute State the second kinestate of electronic equipment 30;
Described controller 32, is additionally operable to judge that described electronic equipment 30 is the need of entrance according to described second kinestate First state;When described electronic equipment 30 needs to enter the first state, generate the second control instruction;And
According to described second control instruction, control described electronic equipment 30 and enter the first state.
Here, during actual application, when user needs to use described electronic equipment 30, described electronic equipment 30 can be entered Row operation, so that described electronic equipment 30 is in the second kinestate, such as: when user needs to use described electronic equipment 30, Electronic equipment described in 30 can be rocked, so that described electronic equipment 30 moves, thus produce movement locus, and then make described Electronic equipment 30 is in the second kinestate.In other words, the first kinestate and the second kinestate be two entirely different Kinestate.
Likewise it is possible to detect, by acceleration transducer, the acceleration information that described second kinestate is corresponding.
Wherein, when to use described electronic equipment 30, for wireless mouse, now wireless mouse has been placed on table On face, now, described controller 31 judges whether the acceleration information that the second kinestate detected is corresponding is more than or equal to preset Acceleration threshold value;And
When described acceleration information is more than or equal to predetermined acceleration threshold value, determine that described electronic equipment 30 needs to enter First state.
When described acceleration transducer is three-axis sensor, acceleration transducer can detect the first acceleration information, Second acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described second adds Velocity information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis;Described 3rd accelerates letter Breath is zero.
When meeting at least one of condition, when described electronic equipment 30 needs to enter the first state:
Described first acceleration information is more than or equal to the first predetermined acceleration threshold value;
Described second acceleration information is more than or equal to the second predetermined acceleration threshold value.
It addition, during actual application, in order to reduce the purpose of power consumption, the acceleration sensing that power consumption is smaller can be selected Device, such as selects the acceleration transducer that operating power consumption is 0.5~2 μ A during work.
Below by the use time of the bluetooth mouse after existing a bluetooth mouse and employing embodiment of the present invention scheme Compare.
Table 1 is the operating current table of current existing a bluetooth mouse.The side that table 2 provides for using the embodiment of the present invention The operating current table of the bluetooth mouse (being additionally arranged detector unit on the bluetooth mouse that employing table 1 is used) after case.
In Table 1, when mouse is in running order, operating current is 9.10mA, now (the sensing of the sensor in mouse The operation of user), bluetooth-communication unit and MCU all consume the electricity of mouse.And when off position, comprise free time 1 and sky Not busy state, although sensor enters holding state, but bluetooth-communication unit is still that in running order, so its work Make electric current the biggest.In table 2, when mouse is in running order, operating current is 9.10mA, now the sensing in mouse Device, bluetooth-communication unit and MCU all consume the electricity of mouse.And when off position, comprise free time 1 and idle condition, pass Sensor enters holding state, and bluetooth-communication unit is also into holding state simultaneously, only stays the detection that detection power consumption is the least Unit is operated, so operating current is substantially reduced, thus is greatly saved power consumption.
Through using test, being provided without the bluetooth mouse of the embodiment of the present invention, its stand-by time is only about 4 months, and adopts With the bluetooth mouse of embodiment of the present invention scheme, its stand-by time can extend to 5 months, substantially increase stand-by time.
The scheme that the embodiment of the present invention provides, detects the first kinestate of described electronic equipment;According to described first fortune Whether electronic equipment described in dynamic condition adjudgement is in the first state;Electronic equipment described in described first state representation is in use shape State;When described electronic equipment is not in the first state, generate the first control instruction;According to described first control instruction, control Described electronic equipment is in the second state;In said second condition, its of the described electronic equipment in addition to described detector unit Its assembly enters the second power consumption state from the first power consumption state;Power consumption under described first power consumption state is higher than described second power consumption The power consumption of state, when not using described electronic equipment, only stays described detector unit to work, so, can be substantially reduced described electricity The operating current of subset, thus greatly reduce the power consumption of described electronic equipment, and then substantially increase described electronic equipment Standby time.
It addition, when described electronic equipment is in the second state, detect the second kinestate of described electronic equipment;According to Described second kinestate judges that described electronic equipment is the need of entering the first state;When described electronic equipment needs to enter During one state, generate the second control instruction;According to described second control instruction, control described electronic equipment and enter the first state, To use described electronic equipment once detect, control described electronic equipment at once and enter duty, so, when needs make With electronic equipment can be allowed during electronic equipment rapidly to enter duty, it is greatly improved Consumer's Experience.
Should be understood that during description is in the whole text that " embodiment " or " embodiment " mentioned means relevant with embodiment Special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " not necessarily refers to identical embodiment.Additionally, these specific feature, knots Structure or characteristic can combine in one or more embodiments in any suitable manner.Should be understood that the various enforcements in the present invention In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its merit Can determine with internal logic, and the implementation process of the embodiment of the present invention should not constituted any restriction.The invention described above embodiment Sequence number, just to describing, does not represent the quality of embodiment.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can be passed through it Its mode realizes.Apparatus embodiments described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, and actual can have other dividing mode, such as when realizing: multiple unit or assembly can be in conjunction with, or It is desirably integrated into another system, or some features can be ignored, or do not perform.It addition, shown or discussed each composition portion Dividing coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit Or communication connection, can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location;Both may be located at a place, it is also possible to be distributed to multiple network list In unit;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is possible to Being that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned Integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in computer read/write memory medium, and this program exists During execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read-only deposit The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic disc or CD.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent product When product are sold or use, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the present invention is real Execute the part that prior art contributes by the technical scheme of example the most in other words to embody with the form of software product Coming, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can To be personal computer, server or the network equipment etc.) perform the whole or portion of method described in each embodiment of the present invention Point.And aforesaid storage medium includes: movable storage device, ROM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. a control method, it is characterised in that be applied to electronic equipment, described electronic equipment includes detector unit;Described side Method includes:
The first kinestate of described electronic equipment is detected by described detector unit;
Judge whether described electronic equipment is in the first state according to described first kinestate;Described in described first state representation Electronic equipment is in use state;
When described electronic equipment is not in the first state,
Generate the first control instruction;
According to described first control instruction, control described electronic equipment and be in the second state;In said second condition, except described Other assembly of described electronic equipment outside detector unit enters the second power consumption state from the first power consumption state;Described first power consumption Power consumption under state is higher than the power consumption of described second power consumption state.
Method the most according to claim 1, it is characterised in that when described electronic equipment is in the second state, described method Also include:
The second kinestate of described electronic equipment is detected by described detector unit;
Judge that described electronic equipment is the need of entering the first state according to described second kinestate;
When described electronic equipment needs to enter the first state, generate the second control instruction;
According to described second control instruction, control described electronic equipment and enter the first state.
Method the most according to claim 1 and 2, it is characterised in that described detector unit is acceleration transducer;Described inspection Survey the first kinestate of electronic equipment, including:
The acceleration information of described electronic equipment is detected by acceleration transducer;
Correspondingly, judge whether described electronic equipment is in the first state according to the first kinestate, including:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
Method the most according to claim 3, it is characterised in that described acceleration transducer detects the first acceleration letter Breath, the second acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described Two acceleration informations are the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis;Described Acanthopanan trifoliatus (L.) Merr. Speed information is zero;
Judge whether described acceleration information is more than or equal to predetermined acceleration threshold value, including:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge that the second acceleration information is No it is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
Method the most according to claim 1 and 2, it is characterised in that described detector unit is acceleration transducer;Described add Velocity sensor is 3-axis acceleration sensor;The first acceleration information, the second acceleration information and the 3rd acceleration detected Information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration information is the acceleration information of Y-axis; Described 3rd acceleration information is the acceleration information of Z axis;
Correspondingly, when described 3rd acceleration information is more than or equal to the 3rd predetermined acceleration threshold value, determine that described electronics sets For being in described second state.
6. an electronic equipment, it is characterised in that described electronic equipment includes:
Detector, for detecting the first kinestate of described electronic equipment;
According to described first kinestate, controller, for judging whether described electronic equipment is in the first state;Described first Electronic equipment described in state representation is in use state;When described electronic equipment is not in the first state, generate the first control Instruction;And according to described first control instruction, control described electronic equipment and be in the second state;In said second condition, Other assembly of described electronic equipment in addition to described detector unit enters the second power consumption state from the first power consumption state;Described Power consumption under one power consumption state is higher than the power consumption of described second power consumption state.
Electronic equipment the most according to claim 6, it is characterised in that
Described detector, is additionally operable to detect the second kinestate of described electronic equipment;
Described controller, is additionally operable to judge that described electronic equipment is the need of entering the first shape according to described second kinestate State;When described electronic equipment needs to enter the first state, generate the second control instruction;And control to refer to according to described second Order, controls described electronic equipment and enters the first state.
8. according to the electronic equipment described in claim 6 or 7, it is characterised in that described detector is acceleration transducer;
Described detector, specifically for: detect the acceleration information of described electronic equipment;
Correspondingly, described controller, specifically for:
Judge that whether described acceleration information is more than or equal to predetermined acceleration threshold value;
When described acceleration information is less than predetermined acceleration threshold value, described electronic equipment is not in the first state.
Electronic equipment the most according to claim 8, it is characterised in that described acceleration transducer detects the first acceleration Information, the second acceleration information and the 3rd acceleration information;Described first acceleration information is the acceleration information of X-axis;Described Second acceleration information is the acceleration information of Y-axis;Described 3rd acceleration information is the acceleration information of Z axis;Described 3rd Acceleration information is zero;
Described controller, specifically for:
Judge that whether the first acceleration information is more than or equal to the first predetermined acceleration threshold value;And judge that the second acceleration information is No it is more than or equal to the second predetermined acceleration threshold value;
Correspondingly, when meeting following condition, determine that described electronic equipment is not in the first state:
Described first acceleration information is less than the first predetermined acceleration threshold value;And
Described second acceleration information is less than the second predetermined acceleration threshold value.
10. according to the electronic equipment described in claim 6 or 7, it is characterised in that described detector is acceleration transducer;Institute Stating acceleration transducer is 3-axis acceleration sensor;The first acceleration information, the second acceleration information and Acanthopanan trifoliatus (L.) Merr. detected Velocity information;Described first acceleration information is the acceleration information of X-axis;Described second acceleration information is the acceleration of Y-axis Information;Described 3rd acceleration information is the acceleration information of Z axis;
Correspondingly, described controller, it is used for: when described 3rd acceleration information is more than or equal to the 3rd predetermined acceleration threshold value Time, determine that described electronic equipment is in described second state.
CN201610500507.2A 2016-06-29 2016-06-29 A kind of control method and electronic equipment Pending CN106200869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610500507.2A CN106200869A (en) 2016-06-29 2016-06-29 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610500507.2A CN106200869A (en) 2016-06-29 2016-06-29 A kind of control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106200869A true CN106200869A (en) 2016-12-07

Family

ID=57463599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610500507.2A Pending CN106200869A (en) 2016-06-29 2016-06-29 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106200869A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804757A (en) * 2005-01-13 2006-07-19 原相科技股份有限公司 Mouse relevant device and method capable of saving power consumption and improving signal response rate
CN202854702U (en) * 2012-08-03 2013-04-03 青岛海信信芯科技有限公司 Movable electronic device
US20140157031A1 (en) * 2012-12-04 2014-06-05 Canon Kabushiki Kaisha Image processing apparatus, electronic apparatus, detection device, method for controlling image processing apparatus, method for controlling electronic apparatus, and method for controlling detection device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804757A (en) * 2005-01-13 2006-07-19 原相科技股份有限公司 Mouse relevant device and method capable of saving power consumption and improving signal response rate
CN202854702U (en) * 2012-08-03 2013-04-03 青岛海信信芯科技有限公司 Movable electronic device
US20140157031A1 (en) * 2012-12-04 2014-06-05 Canon Kabushiki Kaisha Image processing apparatus, electronic apparatus, detection device, method for controlling image processing apparatus, method for controlling electronic apparatus, and method for controlling detection device

Similar Documents

Publication Publication Date Title
CN104380231B (en) Touch-screen including pressure sensor
US9740193B2 (en) Sensor-based safety features for robotic equipment
CN104423855B (en) A kind of information processing method and electronic equipment
CN108573247B (en) Method for detecting parking space parking state based on edge calculation
JP2017527906A5 (en)
CN104503889A (en) Information handling method and electronic device
US20210103345A1 (en) Double-tap event detection device, system and method
CN104915131B (en) A kind of electric document page-turning method and device
CN107077316A (en) Distributed sound input processing based on power and sensing
CN106201239A (en) The control method of a kind of application program, device and mobile terminal
CN109934080A (en) The method and device of countenance identification
US20130254575A1 (en) Electronic device having memories and method for managing memories thereof
CN105847532A (en) Method and device for replacing wallpaper by shaking mobile terminal
CN102789315B (en) A kind of method and electronic equipment controlling electronic equipment
CN106200869A (en) A kind of control method and electronic equipment
CN103164492A (en) File copying method between electronic devices and electronic devices
US20220191113A1 (en) Method and apparatus for monitoring abnormal iot device
US9158380B2 (en) Identifying a 3-D motion on 2-D planes
CN104898962A (en) Information processing method and electronic device
CN105573469B (en) Sensor control method and device
CN104598156B (en) A kind of touch control method and electronic equipment
CN107645599A (en) A kind of control method, terminal and computer-readable recording medium
KR101582983B1 (en) Apparatus and method for fast object detection using scale invariant feature vector
CN204759368U (en) Portable intelligence pen with extend function
CN104345877A (en) Information processing method and electronic equipment

Legal Events

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

Application publication date: 20161207