Summary of the invention
The invention provides a kind of method and apparatus of adjusting proximity sensor emission power, to improve the recognition correct rate to user's gesture when gesture is answered.
First aspect present invention provides a kind of method of adjusting proximity sensor emission power, comprising:
When mobile terminal is in electricity condition belonging to proximity transducer, judge that whether gesture pickup feature is effective;
If judge, described gesture pickup feature is effective, then what be set to by the operating current of described proximity transducer in optional class is the most high-grade, the maximum operating currenbt of the described proximity transducer of the most high-grade described correspondence;
If judge, described gesture pickup feature is invalid, then the operating current of described proximity transducer is set to time top grade in optional class, the operating current of described high-grade corresponding described proximity transducer is less than described maximum operating currenbt and is greater than the operating current of proximity transducer corresponding to deep low gear.
In conjunction with first aspect, in the first possible implementation of first aspect, describedly judge that gesture pickup feature is whether effective, comprising:
Judge the motion state of described mobile terminal;
If described mobile terminal geo-stationary, then determine that the gesture pickup feature of described proximity transducer is effective, otherwise, determine that the gesture pickup feature of described proximity transducer is invalid.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, the motion state of the described mobile terminal of described judgement, comprising:
The built-in angular-rate sensor of described mobile terminal detects the value of described mobile terminal in X, Y and Z axis three directions;
If described angular-rate sensor is 0 in the value in X, Y and Z axis three directions, then determine described mobile terminal geo-stationary.
In conjunction with first aspect, in the third possible implementation of first aspect, described judge that gesture pickup feature whether effectively before, described method also comprises:
Identify operating state residing for described mobile terminal, described operating state comprise system wake-up state and described come electricity condition.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, identify that if described operating state residing for described mobile terminal is described system wake-up state, then described method also comprises:
Open described proximity transducer;
The operating current of described proximity transducer is set to the deep low gear in optional class.
Second aspect present invention provides a kind of device of adjusting proximity sensor emission power, comprising:
First judge module, for when mobile terminal is in electricity condition belonging to proximity transducer, judges that whether gesture pickup feature is effective;
First arranges module, if judge that described gesture pickup feature is effective for described first judge module, then what be set to by the operating current of described proximity transducer in optional class is the most high-grade, the maximum operating currenbt of the described proximity transducer of the most high-grade described correspondence;
Second arranges module, if judge that described gesture pickup feature is invalid for described first judge module, then the operating current of described proximity transducer is set to time top grade in optional class, the operating current of described high-grade corresponding described proximity transducer is less than described maximum operating currenbt and is greater than the operating current of proximity transducer corresponding to deep low gear.
In conjunction with second aspect, in the first possible implementation of second aspect, described first judge module comprises:
Motion state judging unit, for judging the motion state of described mobile terminal;
First determining unit, if judge described mobile terminal geo-stationary for described motion state judging unit, then determines that the gesture pickup feature of described proximity transducer is effective, otherwise, determine that the gesture pickup feature of described proximity transducer is invalid.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described motion state judging unit comprises:
Angular-rate sensor, for detecting the value of described mobile terminal in X, Y and Z axis three directions, described angular-rate sensor is built in described mobile terminal;
Second determining unit, if be 0 for described angular-rate sensor in the value in X, Y and Z axis three directions, then determines described mobile terminal geo-stationary.
In conjunction with second aspect, in the third possible implementation of second aspect, described device also comprises:
State recognition module, before judging that gesture pickup feature is whether effectively, identifies operating state residing for described mobile terminal for the first judge module, described operating state comprise system wake-up state and described come electricity condition.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Opening module, if when being described system wake-up state for operating state residing for mobile terminal described in described state recognition Module recognition, open described proximity transducer;
3rd arranges module, for the operating current of described proximity transducer being set to the deep low gear in optional class.
Third aspect present invention provides a kind of mobile terminal, comprises above-mentioned second aspect and the first may the device of adjusting proximity sensor emission power that provides of implementation to the 4th kind.
From the invention described above technical scheme, belonging to proximity transducer, mobile terminal is in electricity condition, and when judging that gesture pickup feature is effective, what be set to by the operating current of proximity transducer in optional class is the most high-grade, when described gesture pickup feature is invalid, the operating current of proximity transducer is set to time top grade in optional class.During owing to judging that gesture pickup feature is effective, when to be set to by the operating current of proximity transducer in optional class the most high-grade, the transmitting power of proximity transducer can be increased, expand effective monitoring scope, improve the discrimination that gesture is answered, significantly promote user's experience; When judging that gesture pickup feature is invalid, the operating current of proximity transducer being set to time top grade in optional class, reducing the transmitting power of proximity transducer, thus the power consumption of mobile terminal complete machine can be reduced.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of adjusting proximity sensor emission power, and described method comprises: when belonging to proximity transducer, mobile terminal is in electricity condition, judges that whether gesture pickup feature is effective; If judge, described gesture pickup feature is effective, then what be set to by the operating current of described proximity transducer in optional class is the most high-grade, the maximum operating currenbt of the described proximity transducer of the most high-grade described correspondence; If judge, described gesture pickup feature is invalid, then the operating current of described proximity transducer is set to time top grade in optional class, the operating current of described high-grade corresponding described proximity transducer is less than described maximum operating currenbt and is greater than the operating current of proximity transducer corresponding to deep low gear.The embodiment of the present invention also provides the device of corresponding adjusting proximity sensor emission power.Below be described in detail respectively.
Referring to accompanying drawing 1, is the realization flow of the method for the adjusting proximity sensor emission power that the embodiment of the present invention one provides.The method can be applicable to the mobile terminal with proximity transducer, and such as, with the smart mobile phone, panel computer etc. of proximity transducer, it mainly comprises the following steps S101 to step S103:
S101, when mobile terminal is in electricity condition belonging to proximity transducer, judges that whether gesture pickup feature is effective.
In embodiments of the present invention, before judging that whether gesture pickup feature is effective, also comprise: identify operating state residing for mobile terminal belonging to proximity transducer, these operating states comprise system wake-up state and carry out electricity condition, wherein, if wake-up states refers to that mobile terminal belonging to proximity transducer is current be in black state under, user is by the mode of non-incoming call simultaneously, such as double-click touch-screen or press the mode of key (power-key), the state of waken system.If operating state residing for identification mobile terminal is described system wake-up state, then the method also comprises: open proximity transducer, the operating current of described proximity transducer is set to the deep low gear in optional class.The object of opening proximity transducer prevents false triggering, and in order to avoid misoperation, such as, user operates the touch-screen of mobile terminal inside trouser pocket.Now, the operating current of described proximity transducer is set to the deep low gear in optional class or secondary top grade, so, both can saves certain power consumption, and current application scene can be met again.
S102, if judge, gesture pickup feature is effective, then what be set to by the operating current of proximity transducer in optional class is the most high-grade, wherein, the maximum operating currenbt of the most high-grade corresponding proximity transducer.
It should be noted that, in embodiments of the present invention, the optional class of the operating current of proximity transducer comprises the most high-grade, secondary top grade and deep low gear, wherein, the maximum operating currenbt of the most high-grade corresponding proximity transducer, such as, 100 milliamperes, the operating current of the corresponding proximity transducer of secondary top grade is less than the maximum operating currenbt of proximity transducer and is greater than the operating current of proximity transducer corresponding to deep low gear, such as, and 25 milliamperes.Due to the monitoring range of proximity transducer will be expanded, thus the gesture identification rate that raising gesture is answered, in embodiments of the present invention, once judge that gesture pickup feature is effective, what be then set to by the operating current of proximity transducer in optional class is the most high-grade, namely the operating current of proximity transducer is set to maximum operating currenbt, thus increases the transmitting power of proximity transducer, improves the gesture identification rate that gesture is answered.
S103, if judge, gesture pickup feature is invalid, then the operating current of proximity transducer is set to time top grade in optional class.
As previously mentioned, the optional class of the operating current of proximity transducer comprises time high-grade, the operating current of the corresponding proximity transducer of secondary top grade, such as, 50 milliamperes, is less than maximum operating currenbt and is greater than the operating current of proximity transducer corresponding to deep low gear.When judging that gesture pickup feature is invalid, illustrate that mobile terminal is not now be in gesture to answer this application scenarios, but be in other application scenarioss, such as, converse, now, the operating current of proximity transducer is set to time top grade in optional class, close distance is just more moderate, and the power consumption of mobile terminal complete machine also can not be too high simultaneously.
From the method for the adjusting proximity sensor emission power of above-mentioned accompanying drawing 1 example, belonging to proximity transducer, mobile terminal is in electricity condition, and when judging that gesture pickup feature is effective, what be set to by the operating current of proximity transducer in optional class is the most high-grade, when described gesture pickup feature is invalid, the operating current of proximity transducer is set to time top grade in optional class.During owing to judging that gesture pickup feature is effective, when to be set to by the operating current of proximity transducer in optional class the most high-grade, the transmitting power of proximity transducer can be increased, expand effective monitoring scope, improve the discrimination that gesture is answered, significantly promote user's experience; When judging that gesture pickup feature is invalid, the operating current of proximity transducer being set to time top grade in optional class, reducing the transmitting power of proximity transducer, thus the power consumption of mobile terminal complete machine can be reduced.
Referring to accompanying drawing 2, is the realization flow of the method for the adjusting proximity sensor emission power that the embodiment of the present invention two provides.The method can be applicable to the mobile terminal with proximity transducer, and such as, with the smart mobile phone, panel computer etc. of proximity transducer, it mainly comprises the following steps S201 to step S204.
S201, judges the motion state of mobile terminal belonging to proximity transducer.
In embodiments of the present invention, mobile terminal belonging to proximity transducer is built-in with gyroscope and angular-rate sensor.As one embodiment of the invention, judge that the motion state of mobile terminal belonging to proximity transducer can be: the built-in angular-rate sensor of mobile terminal detects the value of mobile terminal belonging to proximity transducer in X, Y and Z axis three directions, if angular-rate sensor detects that mobile terminal belonging to proximity transducer is 0 in the value in X, Y and Z axis three directions, then determine mobile terminal geo-stationary.
S202, if mobile terminal geo-stationary, then determines that the gesture pickup feature of proximity transducer is effective, otherwise, determine that the gesture pickup feature of proximity transducer is invalid.
If mobile terminal geo-stationary, namely, angular-rate sensor detects that mobile terminal belonging to proximity transducer is 0 in the value in X, Y and Z axis three directions, then show that now mobile terminal belonging to proximity transducer is in and be staticly placed on certain object, such as, on desktop, therefore, can determine that the gesture pickup feature of proximity transducer is effective.If angular-rate sensor detect mobile terminal belonging to proximity transducer X, Y and Z axis three directions or wherein any one direction or value be 0, then show that now mobile terminal belonging to proximity transducer exists certain jitter amplitude, should be in by the state operated, such as, user is using mobile terminal call belonging to proximity transducer, therefore, can determine that the gesture pickup feature of now proximity transducer is invalid.
S203, if judge, gesture pickup feature is effective, then what be set to by the operating current of proximity transducer in optional class is the most high-grade, wherein, the maximum operating currenbt of the most high-grade corresponding proximity transducer.
In the present embodiment, the implementation method of step S203 is identical with the implementation method of the step S102 of accompanying drawing 1 example, and the explanation that the explanation of its relational language, concept etc. or explanation specifically can be consulted step S102 or explanation, do not repeat herein.
S204, if judge, gesture pickup feature is invalid, then the operating current of proximity transducer is set to time top grade in optional class.
In the present embodiment, the implementation method of step S204 is identical with the implementation method of the step S103 of accompanying drawing 1 example, and the explanation that the explanation of its relational language, concept etc. or explanation specifically can be consulted step S103 or explanation, do not repeat herein.
From the method for the adjusting proximity sensor emission power of above-mentioned accompanying drawing 2 example, belonging to proximity transducer, mobile terminal is in electricity condition, and when judging that gesture pickup feature is effective, what be set to by the operating current of proximity transducer in optional class is the most high-grade, when described gesture pickup feature is invalid, the operating current of proximity transducer is set to time top grade in optional class.During owing to judging that gesture pickup feature is effective, when to be set to by the operating current of proximity transducer in optional class the most high-grade, the transmitting power of proximity transducer can be increased, expand effective monitoring scope, improve the discrimination that gesture is answered, significantly promote user's experience; When judging that gesture pickup feature is invalid, the operating current of proximity transducer being set to time top grade in optional class, reducing the transmitting power of proximity transducer, thus the power consumption of mobile terminal complete machine can be reduced.
Referring to accompanying drawing 3, is the structural representation of the device of the adjusting proximity sensor emission power that the embodiment of the present invention three provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The device of the adjusting proximity sensor emission power of accompanying drawing 3 example can be the executive agent of the method for the adjusting proximity sensor emission power that previous embodiment provides, and it can be intelligent terminal or one of them functional module such as smart mobile phone, panel computer that are built-in with proximity transducer.The device of the adjusting proximity sensor emission power of accompanying drawing 3 example mainly comprises the first judge module 301, first and arranges module 302 and second and arrange module 303, and each functional module is described in detail as follows:
First judge module 301, for when mobile terminal is in electricity condition belonging to proximity transducer, judges that whether gesture pickup feature is effective.
First arranges module 302, if judge that gesture pickup feature is effective for the first judge module 301, then what be set to by the operating current of proximity transducer in optional class is the most high-grade, wherein, and the maximum operating currenbt of the most high-grade corresponding proximity transducer.
It should be noted that, in embodiments of the present invention, the optional class of the operating current of proximity transducer comprises the most high-grade, secondary top grade and deep low gear, wherein, the maximum operating currenbt of the most high-grade corresponding proximity transducer, such as, 100 milliamperes, the operating current of the corresponding proximity transducer of secondary top grade is less than the maximum operating currenbt of proximity transducer and is greater than the operating current of proximity transducer corresponding to deep low gear, such as, and 25 milliamperes.Due to the monitoring range of proximity transducer will be expanded, thus the gesture identification rate that raising gesture is answered, in embodiments of the present invention, once the first judge module 301 judges that gesture pickup feature is effective, then first arrange that the operating current of proximity transducer is set in optional class by module 302 the most high-grade, namely the operating current of proximity transducer is set to maximum operating currenbt, thus increases the transmitting power of proximity transducer, improves the gesture identification rate that gesture is answered.
Second arranges module 303, if judge that gesture pickup feature is invalid for the first judge module 301, then the operating current of proximity transducer is set to time top grade in optional class, wherein, the operating current of the corresponding proximity transducer of secondary top grade is less than the maximum operating currenbt of proximity transducer and is greater than the operating current of proximity transducer corresponding to deep low gear.
As previously mentioned, the optional class of the operating current of proximity transducer comprises time high-grade, the operating current of the corresponding proximity transducer of secondary top grade, such as, 50 milliamperes, is less than maximum operating currenbt and is greater than the operating current of proximity transducer corresponding to deep low gear.When the first judge module 301 judges that gesture pickup feature is invalid, illustrate that mobile terminal is not now be in gesture to answer this application scenarios, but be in other application scenarioss, such as, converse, now, second arrange that the operating current of proximity transducer is set in optional class by module 303 time high-grade, close distance is just more moderate, and the power consumption of mobile terminal complete machine also can not be too high simultaneously.
It should be noted that, in the execution mode of the device of the adjusting proximity sensor emission power of above accompanying drawing 3 example, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, internal structure by the device of described adjusting proximity sensor emission power is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid first judge module, can be have perform aforementioned when belonging to proximity transducer, mobile terminal is in electricity condition, judge the whether effective hardware of gesture pickup feature, such as the first determining device also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; Again as the aforementioned first module is set, if can be perform described first judge module (or first determining device) to judge that described gesture pickup feature is effective, what be then set to by the operating current of described proximity transducer in optional class is the most high-grade, the hardware of the maximum operating currenbt of the described proximity transducer of the most high-grade described correspondence, such as first arranges device, also can be general processor or other hardware devices (each embodiment that this specification provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
From the device of the adjusting proximity sensor emission power of above-mentioned accompanying drawing 3 example, belonging to proximity transducer, mobile terminal is in electricity condition, and when the first judge module judges that gesture pickup feature is effective, first arrange that the operating current of proximity transducer is set in optional class by module the most high-grade, when the first judge module judges that gesture pickup feature is invalid, second arrange that the operating current of proximity transducer is set in optional class by module time high-grade.Due to the first judge module judge that gesture pickup feature is effective time, first arrange that the operating current of proximity transducer is set in optional class by module the most high-grade time, the transmitting power of proximity transducer can be increased, expand effective monitoring scope, improve the discrimination that gesture is answered, significantly promote user's experience; When the first judge module judges that gesture pickup feature is invalid, second arrange that the operating current of proximity transducer is set in optional class by module time high-grade, reduce the transmitting power of proximity transducer, thus the power consumption of mobile terminal complete machine can be reduced.
First judge module 301 of accompanying drawing 3 example can comprise motion state judging unit 401 and the first determining unit 402, as shown in Figure 4 the device of adjusting proximity sensor emission power that provides of the embodiment of the present invention four, wherein:
Motion state judging unit 401, for judging the motion state of mobile terminal belonging to proximity transducer.
First determining unit 402, if judge mobile terminal geo-stationary belonging to proximity transducer for motion state judging unit 402, then determines that the gesture pickup feature of proximity transducer is effective, otherwise, determine that the gesture pickup feature of proximity transducer is invalid.
The motion state judging unit 401 of accompanying drawing 4 example can comprise angular-rate sensor 501 and the second determining unit 502, as shown in Figure 5 the device of adjusting proximity sensor emission power that provides of the embodiment of the present invention five, wherein:
Angular-rate sensor 501, for detecting the value of mobile terminal in X, Y and Z axis three directions, wherein, angular-rate sensor 501 is built in mobile terminal belonging to proximity transducer.
Second determining unit 502, if detect that mobile terminal belonging to proximity transducer is 0 in the value in X, Y and Z axis three directions for angular-rate sensor 501, then determines mobile terminal geo-stationary belonging to proximity transducer.
The device of the adjusting proximity sensor emission power of accompanying drawing 3 example can also comprise state recognition module 601, as shown in Figure 6 the device of adjusting proximity sensor emission power that provides of the embodiment of the present invention six.For the first judge module 301, state recognition module 601 judges that whether gesture pickup feature is effective before, identify operating state residing for mobile terminal belonging to proximity transducer, affiliated operating state comprises system wake-up state and carrys out electricity condition.
The device of the adjusting proximity sensor emission power of accompanying drawing 6 example can also comprise opening module 701 and the 3rd and arrange module 702, as shown in Figure 7 the device of adjusting proximity sensor emission power that provides of the embodiment of the present invention seven, wherein:
Opening module 701, if when identifying that belonging to proximity transducer, operating state residing for mobile terminal is system wake-up state for state recognition module 601, opens proximity transducer.
3rd arranges module 702, for the operating current of proximity transducer being set to deep low gear in optional class or secondary top grade.
The present invention also provides a kind of mobile terminal, and it comprises the device of the adjusting proximity sensor emission power that the arbitrary example of above-mentioned accompanying drawing 3 to accompanying drawing 7 provides.This mobile terminal can be the equipment that the smart mobile phone, panel computer etc. being built-in with proximity transducer can carry out communicating.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.