Summary of the invention
The technical matters that the present invention solves is: make up sleep mode automatically and awakening method and the system of a kind of empty mouse, overcome the empty mouse switch of prior art and use inconvenience and the large technical matters of power consumption.
Technical scheme of the present invention is: sleep mode automatically and the awakening method of a kind of empty mouse are provided, comprise acceleration transducer, sleep mode automatically and awakening method comprise the steps
Initialization acceleration transducer: the acceleration transducer of the empty mouse of initialization;
Detect empty mouse vibration: the empty mouse of described acceleration transducer sensing is in the vibration in space;
Start empty mouse: according to the transducing signal of acceleration sensing, if judge empty mouse vibration is arranged, then start empty mouse function;
Continue to detect empty mouse vibration: the empty mouse of described acceleration transducer sensing is in the vibration in space;
Judge empty mouse running status: according to the transducing signal of acceleration sensing, judge the running status of empty mouse;
Sleep mode automatically and waking up: if empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is then waken the sky mouse up for motion.
Further technical scheme of the present invention is: in starting empty mouse step, if according to the transducing signal of acceleration sensing, if judge the not vibration of empty mouse, then return and detect empty mouse vibrating step.
Further technical scheme of the present invention is: in sleep mode automatically and wake-up step, if empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state, return and detect empty mouse vibrating step.
Technical scheme of the present invention is: the sleep mode automatically and the waken system that make up a kind of empty mouse, comprise acceleration transducer, initialization module, start module, judge module, sleep mode automatically and wake module, the empty mouse of electrifying startup, the described acceleration transducer of described initialization module initialization, the empty mouse of described acceleration transducer sensing is in the vibration in space, transducing signal according to acceleration sensing, if judge empty mouse vibration is arranged, then described startup module starts empty mouse function, the empty mouse of described acceleration transducer sensing is in the vibration in space, transducing signal according to acceleration sensing, described judge module is judged the running status of empty mouse, if empty mouse running status is static, described sleep mode automatically and wake module are closed sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is motion, described sleep mode automatically and wake module are waken the sky mouse up.
Further technical scheme of the present invention is: described empty mouse comprises processor module, if described empty mouse running status is static, described processor module enters sleep state.
Further technical scheme of the present invention is: described empty mouse comprises processor module, if empty mouse running status is motion, described processor module is waken up.
Technique effect of the present invention is: the sleep mode automatically and awakening method and the system that the invention provides a kind of empty mouse, by acceleration transducer is set, the signal of described acceleration transducer sensing is judged the state of empty mouse, carries out corresponding operating according to the state of empty mouse, initial in, if empty mouse running status is motion, then start empty mouse, in service, if empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is then waken the sky mouse up for motion.The sleep mode automatically of a kind of empty mouse of the present invention and awakening method and system, easy to use, do not need the control that switch namely can be realized empty mouse electricity-saving function is set, realize intelligently energy saving.
Embodiment
Below in conjunction with specific embodiment, technical solution of the present invention is further specified.
As shown in Figure 1, the specific embodiment of the present invention is: sleep mode automatically and the awakening method of a kind of empty mouse are provided, comprise acceleration transducer, sleep mode automatically and awakening method comprise the steps
Step 100: initialization acceleration transducer, that is: the acceleration transducer of the empty mouse of initialization.Specific implementation process is as follows: the empty mouse of electrifying startup, start empty mouse after, the acceleration transducer of empty mouse is carried out initialization, load the acceleration transducer original state of empty mouse.
Step 200: detect empty mouse vibration, that is: the empty mouse of described acceleration transducer sensing is in the vibration in space.Specific implementation process is as follows: described acceleration transducer is according to the corresponding signal of motion state sensing of empty mouse.In the specific embodiment, if according to the transducing signal of acceleration sensing, if judge the not vibration of empty mouse, then return and detect empty mouse vibrating step.
Step 300: start empty mouse, that is: according to the transducing signal of acceleration sensing, if judge empty mouse vibration is arranged, then start empty mouse function.Specific implementation process is as follows: empty mouse receives the signal of acceleration transducer sensing, then judges according to its signal whether empty mouse has vibration, if judge empty mouse vibration is arranged, and then starts empty mouse function.
Step 400: continue to detect empty mouse vibration, that is: the empty mouse of described acceleration transducer sensing is in the vibration in space.Specific implementation process is as follows: described acceleration transducer is according to the corresponding signal of motion state sensing of empty mouse.
Step 500: judge empty mouse running status, that is: according to the transducing signal of acceleration sensing, judge the running status of empty mouse.Specific implementation process is as follows: at empty mouse electrifying startup state, empty mouse receives the signal of acceleration transducer sensing, then judges according to its signal whether whether empty mouse has vibration, have vibration according to it, judge the running status of empty mouse, comprise stationary state and the motion state of sky mouse.
Step 600: sleep mode automatically and waking up, if that is: empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is then waken the sky mouse up for motion.In the specific embodiment, if empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state, return and detect empty mouse vibrating step.
Specific implementation process of the present invention is as follows: the empty mouse of electrifying startup, start empty mouse after, the acceleration transducer of empty mouse is carried out initialization, load the acceleration transducer original state of empty mouse.Described acceleration transducer is according to the corresponding signal of motion state sensing of empty mouse, and empty mouse receives the signal of acceleration transducer sensing, then judges according to its signal whether empty mouse has vibration, if judge empty mouse vibration is arranged, and then starts empty mouse function.After starting empty mouse, described acceleration transducer is according to the corresponding signal of motion state sensing of empty mouse, at empty mouse electrifying startup state, empty mouse receives the signal of acceleration transducer sensing, then judge according to its signal whether empty mouse has vibration, according to it whether vibration is arranged, judge the running status of empty mouse, comprise stationary state and the motion state of sky mouse.If empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is then waken the sky mouse up for motion.
As shown in Figure 2, the specific embodiment of the present invention is: the sleep mode automatically and the waken system that make up a kind of empty mouse, compriseacceleration transducer 1,initialization module 2,start module 3, judgemodule 4, sleep mode automatically and wakemodule 5, the empty mouse of electrifying startup, the describedacceleration transducer 1 of describedinitialization module 2 initialization, the empty mouse of describedacceleration transducer 1 sensing is in the vibration in space, transducing signal according toacceleration sensing 1, if judge empty mouse vibration is arranged, then describedstartup module 3 starts empty mouse function, the empty mouse of describedacceleration transducer 1 sensing is in the vibration in space, according to the transducing signal of acceleration sensing, describedjudge module 4 is judged the running status of empty mouse, if empty mouse running status is static, described sleep mode automatically andwake module 5 are closed sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is motion, described sleep mode automatically andwake module 5 are waken the sky mouse up.
As shown in Figure 2, specific implementation process of the present invention is as follows: the empty mouse of electrifying startup, start empty mouse after, theacceleration transducer 1 of 2 pairs of empty mouse of initialization module carries out initialization,loads acceleration transducer 1 original state of empty mouse.Describedacceleration transducer 1 is according to the corresponding signal of motion state sensing of empty mouse, empty mouse receives the signal ofacceleration transducer 1 sensing, then judgemodule 4 judges according to its signal whether empty mouse has vibration, if judge empty mouse vibration is arranged, and startsmodule 3 and starts empty mouse function.After starting empty mouse, describedacceleration transducer 1 is according to the corresponding signal of motion state sensing of empty mouse, at empty mouse electrifying startup state, empty mouse receives the signal ofacceleration transducer 1 sensing, then judge according to its signal whether empty mouse has vibration, according to it whether vibration is arranged, judge the running status of empty mouse, comprise stationary state and the motion state of sky mouse.If empty mouse running status is static, sleep mode automatically andwake module 5 are closed sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is motion, sleep mode automatically andwake module 5 are waken the sky mouse up.In the specific embodiment, described empty mouse comprises processor module 6, if described empty mouse running status is static, described processor module 6 enters sleep state; If empty mouse running status is motion, described processor module 6 is waken up.
Technique effect of the present invention is: the sleep mode automatically and awakening method and the system that the invention provides a kind of empty mouse, byacceleration transducer 1 is set, the signal of describedacceleration transducer 1 sensing is judged the state of empty mouse, carries out corresponding operating according to the state of empty mouse, initial in, if empty mouse running status is motion, then start empty mouse, in service, if empty mouse running status is static, then close sky mouse function, make the sky mouse enter sleep state; If empty mouse running status is then waken the sky mouse up for motion.The sleep mode automatically of a kind of empty mouse of the present invention and awakening method and system, easy to use, do not need the control that switch namely can be realized empty mouse electricity-saving function is set, realize intelligently energy saving.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that implementation of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.