Summary of the invention
In view of this, embodiments of the invention provide a kind of method and terminal of controlling screen state, can not ensure according to the problem of the correctness of sampled value and a pair of threshold value control mobile phone state to solve in prior art.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of controlling screen state, comprising: obtain and approach the sampled value that optical sensor gathers; According to the first pre-stored definite value and the sampled value of described collection, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, wherein, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal; If the sampled value of described collection is greater than the value of approaching prestoring, reset described away from value according to the first reference value after adjusting, reset the described value of approaching according to barrier in the unlimited sampled value of correspondence nearby of terminal, wherein, described is that the described value of approaching is for judging that mobile phone approaches the value of barrier for judging the value of mobile phone away from barrier away from value; If the sampled value of described collection is less than described away from value, reset described away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, wherein, described the second definite value be for judge terminal whether approach sampled value corresponding to the critical distance of barrier with for judging whether poor away from sampled value corresponding to boundary away from the critical distance of barrier of terminal; Control screen state according to the described value of approaching after described resetting with away from value.
In conjunction with first aspect, in the possible implementation of the first, described according to the first pre-stored definite value and the sampled value of described collection, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, comprise: if the sampled value of described collection and described the first definite value sum are less than the first reference value before described adjustment, described the first reference value after adjusting is described sampled value and described the first definite value sum.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, described method, also comprise: reset described away from value described according to the first reference value after adjusting, before the unlimited corresponding sampled value nearby of terminal resets the described value of approaching, judge whether terminal approaches barrier first according to barrier, described reset according to the first reference value after described adjustment described away from value, reset the described value of approaching according to barrier in the unlimited sampled value of correspondence nearby of terminal, comprise: if terminal is not to approach first barrier, resetting described according to the first reference value after pre-stored friction valve and described adjustment is the first reference value sum after described pre-stored friction valve and described adjustment away from value, resetting the described value of approaching according to barrier in the unlimited sampled value of correspondence nearby of terminal is that described barrier is in the unlimited sampled value of correspondence nearby of terminal, if terminal is to approach first barrier, resetting described according to the first reference value after described adjustment is the first reference value after described adjustment away from value, and resetting the described value of approaching according to the first reference value after described adjustment and described friction valve is the first reference value and the described friction valve sum after described adjustment.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, describedly judge that whether terminal approaches barrier first, comprising: judge according to the first reference value, described friction valve and the described value of approaching before adjusting whether terminal approaches barrier first.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described according to adjust before the first reference value, described friction valve and the described value of approaching judge that whether terminal approaches barrier first, comprising: judge according to the relation of the first reference value before described adjustment and described friction valve sum and the described value of approaching whether terminal approaches barrier first; If the first reference value before described adjustment and described friction valve sum equal the described value of approaching, terminal is not to approach first barrier; If the first reference value before described adjustment and described friction valve sum are not equal to the described value of approaching, terminal is to approach first barrier.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the 5th kind of possible implementation, described method also comprises: reset described away from value described in sampled value corresponding to terminal unlimited distance according to barrier, before resetting the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, judge that whether terminal is first away from barrier, describedly reset described away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, comprise: if terminal is not first away from barrier, resetting described according to barrier in sampled value corresponding to terminal unlimited distance is that barrier is in sampled value corresponding to unlimited distance away from value, according to the first reference value after described pre-stored the second definite value and described adjustment reset the described value of approaching be described the second pre-stored definite value and adjust after the first reference value sum, if terminal is first away from barrier, reset described away from value according to the first reference value after described adjustment and the 3rd pre-stored definite value, reset the first reference value after adjusting described in the described value of approaching initialization according to the first reference value after described adjustment and pre-stored friction valve, wherein, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
In conjunction with the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, whether described disturbance in judgement thing, first away from terminal, comprising: according to the first reference value, described the 3rd definite value before adjusting and describedly judge that away from value whether terminal is first away from barrier.
In conjunction with the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation, described according to the first reference value, described the 3rd definite value before adjusting and describedly judge that away from value terminal, whether first away from barrier, comprising: to judge that according to the first reference value before described adjustment and described the 3rd definite value sum and described relation away from value whether terminal is first away from barrier; If it is described away from value that the first reference value before described adjustment and described the 3rd definite value sum equal, terminal is not first away from barrier; If the first reference value before described adjustment and described the 3rd definite value sum are not equal to described away from value, terminal is first away from barrier.
Second aspect, the embodiment of the present invention provides a kind of terminal, comprising: acquiring unit, approaches the sampled value that optical sensor gathers and described sampled value is transferred to adjustment unit for obtaining; Adjustment unit, sampled value for basis with the first customization of first storage and the described collection of described acquiring unit transmission, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, wherein, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal; The first setting unit, for in the time that the sampled value of described collection is greater than the approaching value prestoring, reset described away from value according to the first reference value after adjusting, reset the described value of approaching according to barrier in the unlimited sampled value of correspondence nearby of terminal, wherein, described is that the described value of approaching is for judging that terminal approaches the value of barrier for judging the value of terminal away from barrier away from value; The second setting unit, for when described in the sampled value of described collection is less than during away from value, reset described away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, wherein, described the second definite value be for judge terminal whether approach sampled value corresponding to the critical distance of barrier with for judging whether poor away from sampled value corresponding to boundary away from the critical distance of barrier of terminal; Control unit, for the described value of approaching after resetting according to described the first setting unit or the second setting unit with control screen state away from value.
In conjunction with second aspect in the 8th kind of possible implementation, described adjustment unit comprises: adjusting module, for in the time that the sampled value of described collection and described the first definite value sum are less than the first reference value before described adjustment, adjusting described the first reference value is described sampled value and described the first definite value sum.
In conjunction with the 8th kind of possible implementation of second aspect or second aspect, in the 9th kind of possible implementation, described terminal also comprises: whether the first judging unit, approach barrier first for terminal; Described the first setting unit comprises: first arranges module, for when terminal be not while approaching barrier first, resetting described according to the first reference value after pre-stored friction valve and described adjustment is the first reference value sum after described pre-stored friction valve and described adjustment away from value, and resetting the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal is that described barrier is in the terminal sampled value of correspondence infinitely nearby; Second arranges module, for when terminal be while approaching barrier first, resetting described according to the first reference value after described adjustment is the first reference value after described adjustment away from value, and resetting the described value of approaching according to the first reference value after described adjustment and described friction valve is the first reference value and the described friction valve sum after described adjustment.
In conjunction with the 9th kind of possible implementation of second aspect, in the tenth kind of possible implementation, described the first judging unit comprises: the first judge module, and for judging according to described friction valve and the described value of approaching of the first reference value before described adjustment, the transmission of described acquiring unit whether terminal approaches barrier first.
In conjunction with the tenth kind of possible implementation of second aspect, in the 11 kind of possible implementation, described the first judge module comprises: first judges submodule, for judging according to the relation of the first reference value before described adjustment and described friction valve sum and the described value of approaching whether terminal approaches barrier first; In the time that the first reference value before described adjustment and described friction valve sum equal described approaching value, described first judges that submodule judges that terminal is not to approach first barrier; In the time that the first reference value before described adjustment and described friction valve sum are not equal to described approaching value, described first judges that submodule judges that terminal is to approach first barrier.
In conjunction with the 6th kind of possible implementation of second aspect or second aspect, in the 12 kind of possible implementation, described terminal also comprises: the second judging unit, for judging that whether terminal is first away from barrier; The second setting unit, comprise: the 3rd arranges module, for not being during first away from barrier when terminal, according to barrier sampled value corresponding to terminal unlimited distance reset described away from value for barrier is in sampled value corresponding to unlimited distance, resetting the described value of approaching according to the first reference value after described pre-stored the second definite value and described adjustment is the first reference value sum after described the second pre-stored definite value and adjustment; The 4th arranges module, for being during first away from barrier when terminal, reset described away from value according to the first reference value after described adjustment and the 3rd pre-stored definite value, reset the first reference value after adjusting described in the described value of approaching initialization according to the first reference value after described adjustment and pre-stored friction valve, wherein, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
In conjunction with the 12 kind of possible implementation of second aspect, in the 13 kind of possible implementation, described the second judging unit specifically comprises: the second judge module, and for according to the first reference value, described the 3rd definite value before adjusting and describedly judge that away from value whether terminal is first away from barrier.
In conjunction with the 13 kind of possible implementation of second aspect, in the 14 kind of possible implementation, described the second judge module comprises: second judges submodule, for judging that according to the first reference value before described adjustment and described the 3rd definite value sum and described relation away from value whether terminal is first away from barrier; When the first reference value before described adjustment and described the 3rd definite value sum equal described during away from value, described second judges that submodule judges that terminal is not first away from barrier; When the first reference value before described adjustment and described the 3rd definite value sum are not equal to describedly during away from value, described second judges that submodule judges that terminal is first away from barrier.
Method and the terminal of the control screen state that the embodiment of the present invention provides, approach the sampled value of depositing in optical sensor by obtaining, approach value and away from value, according to the first pre-stored definite value, the first reference value and described sampled value are adjusted described the first reference value to make the first reference value after adjustment more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier than the first reference value before adjusting, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value from approach value or away from value different relations, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, control screen state according to the described value of approaching after described resetting with away from value, with prior art by approaching compared with the method that optical sensor sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor approaches the sampled value of optical sensor according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the 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, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
The embodiment of the present invention provides a kind of method of controlling screen state, is applied to comprise and as shown in Figure 1, comprising the terminal that approaches optical sensor:
101, obtain and approach the sampled value that optical sensor gathers.
Wherein, described sampled value by approach that optical sensor collects by periodic transmitting infrared light sampled value, the sampled value of described collection and terminal screen are corresponding to the distance between barrier.Terminal screen is far away to the distance between barrier, and described sampled value is less, and terminal screen is nearer to the distance between barrier, and described sampled value is larger.It should be noted that, the described sampled value that approaches optical sensor collection is stored in the register that approaches optical sensor.
102,, according to the first pre-stored definite value and the sampled value of described collection, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier.
Wherein, described the first definite value is a fixing value, inventor found through experiments, the sampled value of the multiple terminals that built-in same type approached to optical sensor during apart from barrier same distance made comparisons, the sampled value of each terminal is different, but the multiple terminals that built-in same type approached to optical sensor are made comparisons with the difference of the sampled value apart from barrier same distance b apart from barrier same distance a, the terminal that approaches optical sensor of each built-in same type is that the difference that sampled value that a is corresponding is the sampled value that b is corresponding with the distance apart from barrier is identical in the distance apart from barrier, therefore, built-in same type is approached to the terminal of optical sensor, difference apart from barrier corresponding sampled value when two different distance is identical, it is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal that inventor introduces the first definite value.In the pre-stored memory in terminal of the first reference value.Processor approaches after the interrupting information that optical sensor reports receiving for the first time, processor can be made initialization operation to first reference value of storing in memory, compose a larger value to the first reference value, the object of composing higher value is to adjust described the first reference value, and the first reference value after the adjustment making is more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier than the first reference value before adjusting.
After processor has been adjusted the first reference value, judgement gather sampled value with approach value or with away from value relation, if the sampled value of described collection is greater than the value of approaching prestoring, perform step 103, if the sampled value of described collection be less than prestore away from value, perform step 104.
103, reset describedly away from value according to the first reference value after adjusting, reset the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal.
Wherein, the value of approaching setting in advance described in and described in set in advance pre-stored in the register that approaches optical sensor away from value.In the time that the sampled value gathering is greater than approaching value, can illustrate that terminal approaches barrier.Terminal approaches barrier, concrete setting away from value and the method that approaching value is set can be: processor is described is set to the first reference value after adjustment away from value, because the first reference value after adjusting be more approach actual conditions terminal corresponding whether away from sampled value corresponding to the critical distance of barrier, so be whether more to approach actual conditions terminal away from sampled value corresponding to barrier away from value after arranging; The described value of approaching is set to barrier in the unlimited sampled value of correspondence nearby of terminal, because terminal approaches barrier, processor need to generate one and cut out screen message, close to make screen dimmed screen, so the described value of approaching can be set to hinder thing in the unlimited corresponding sampled value nearby of terminal so as next terminal during away from mobile phone processor can correctly control screen state, making screen is no longer closed condition.The described optical sensor that approaches judges whether that according to sampled value and away from value or with the relation that approaches value reporting interruption information is to processor.When sampled value is greater than when approaching value or sampled value and being less than away from value, approach optical sensor reporting interruption information to processor, so that processor is controlled screen state according to interrupting information after receiving described interrupting information.In the time that processor is received described interrupting information, processor can obtain and approach the sampled value of storing in optical sensor, approach value and away from value.
104, reset describedly away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment.
Wherein, in the time that the sampled value gathering is less than away from value, can illustrate that terminal is away from barrier.Because terminal is away from barrier, processor need to generate one and open screen message, by screen opening so that screen is brightened, so processor can describedly be set to barrier in sampled value corresponding to terminal unlimited distance away from value, so that processor can correctly be controlled screen state when next terminal approaches mobile phone, making screen is no longer opening.The described value of approaching is set to the first reference value sum after described the second definite value and described adjustment by processor.Due to described the second definite value be for judge terminal whether approach sampled value corresponding to the critical distance of barrier with for judging whether poor away from sampled value corresponding to boundary away from the critical distance of barrier of terminal, the first reference value is to approach for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, thus the second definite value and the first reference value and can be for judging whether terminal approaches the sampled value corresponding to critical distance of barrier.
105, according to described in described value of approaching after resetting and away from value control screen state.
As shown in Figure 2, further, after solving screen friction, totally do not cause sampled value bigger than normal, cause the screen problem in closed condition always, after step 102, can also comprise:
106, judge whether terminal approaches barrier first.
Describedly reset describedly away from value according to the first reference value after described adjustment, reset the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal, comprising:
If 107 terminals are not to approach first barrier, resetting described according to the first reference value after pre-stored friction valve and described adjustment is the first reference value sum after described pre-stored friction valve and described adjustment away from value, and resetting the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal is that described barrier is in the terminal sampled value of correspondence infinitely nearby.
If 108 terminals are to approach first barrier, resetting described according to the first reference value after described adjustment is the first reference value after described adjustment away from value, and resetting the described value of approaching according to the first reference value after described adjustment and described friction valve is the first reference value and the described friction valve sum after described adjustment.
105-106 is corresponding with step, after step 102, can also comprise:
109, judge that whether terminal is first away from barrier.
Describedly reset describedly away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, comprising:
If 110 terminals are not first away from barrier, according to barrier sampled value corresponding to terminal unlimited distance reset described away from value for barrier is in sampled value corresponding to unlimited distance, resetting the described value of approaching according to the first reference value after described pre-stored the second definite value and described adjustment is the first reference value sum after described the second pre-stored definite value and adjustment.
If 111 terminals are first away from barrier, reset described away from value according to the first reference value after described adjustment and the 3rd pre-stored definite value, reset the first reference value after adjusting described in the described value of approaching initialization according to the first reference value after described adjustment and pre-stored friction valve, wherein, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
The method of the control screen state that the embodiment of the present invention provides, approach by obtaining the sampled value gathering in optical sensor, according to the first pre-stored definite value and described sampled value, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value and the value of approaching prestoring or the different relations away from value that prestore, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, control screen state according to the described value of approaching after described resetting with away from value, with prior art by approaching compared with the method that optical sensor sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor approaches the sampled value of optical sensor according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
Embodiment bis-
The embodiment of the present invention provides a kind of method of controlling screen state, is applied to the built-in terminal that approaches optical sensor 450 as shown in Figure 3, and described terminal is with screen and comprise memory 420 and processor 480.Approach and in optical sensor, have infrared light emission secondary light, light-receiving device, analog to digital converter and register.Infrared light-emitting diode periodically outwards transmitting infrared light and by the object near terminal screen by the light-receiving device in infrared light reflection light echo transducer, light-receiving device will receive after the infrared light being reflected back, generation current, and the current conversion of generation is become to voltage, the infrared light intensity size that what the size of electric current received with light-receiving device be reflected back is relevant, intensity is larger, generation current is larger, therefore voltage is also larger, by analog to digital converter, magnitude of voltage is converted into sampled value and is stored in register.Described sampled value and terminal screen are corresponding to the distance between barrier.Terminal screen is far away to the distance between barrier, and described sampled value is less, and terminal screen is nearer to the distance between barrier, and described sampled value is larger.In the register approaching in optical sensor, also store the value of approaching that sets in advance and away from value.Described is the lower limit of terminal during away from barrier away from value, and the described value of approaching is the higher limit of terminal while approaching barrier.Describedly approach register built-in in optical sensor and also stored described value of approaching and described away from value.The described optical sensor that approaches judges whether that according to sampled value and away from value or with the relation that approaches value reporting interruption information is to processor.When sampled value is greater than when approaching value or sampled value and being less than away from value, approach optical sensor reporting interruption information to processor, so that processor is controlled screen state according to interrupting information after receiving described interrupting information.Processor is in the process of screen state being controlled according to interrupting information, and other pre-stored values that need are all stored in the memory in terminal.
As shown in Figure 4, a kind of method of controlling screen state that the embodiment of the present invention provides, comprising:
201, obtain and approach the sampled value that optical sensor gathers.
Wherein, described acquisition methods, with described in step 101 in embodiment mono-, repeats no more herein.
202, judge whether the sampled value of described collection and the first definite value sum are less than the first reference value before adjustment.If the sampled value of described collection and the first definite value sum are less than the first reference value before adjustment, perform step 203; If the sampled value of described collection and the first definite value sum are more than or equal to the first reference value before adjustment, perform step 204.
Wherein, described the first definite value is that the first reference value is to approach for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal.When sampled value and the first definite value sum of described collection are less than the first reference value, the sampled value that described collection can be described not is a very large value, can adjust the first reference value and make the first reference value after adjustment more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier.When sampled value and the first definite value sum of described collection are not less than the first reference value, the sampled value that described collection can be described is a very large value, if adjust the first reference value, can make the first reference value after adjusting become a larger value and not be suitable for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier.
It should be noted that, described the first reference value is stored in the memory in terminal, when the every adjustment of processor is once after described the first reference value, first reference value of storing in memory just becomes the first reference value after adjustment, and the first reference value before adjustment is capped.
203, adjusting described the first reference value is described sampled value and described the first definite value sum.
204, do not adjust described the first reference value.
205, the sampled value that judges described collection with approach value or with relation away from value.Approach value if the sampled value of described collection is greater than, perform step 206; If the sampled value of described collection is less than away from value, perform step 209.
Wherein, approaching value for for judging that terminal approaches the value of barrier, is for judging the value of terminal away from barrier away from value.For example, in the time that the distance of terminal and barrier is more than or equal to 6 centimetres, can think that terminal is away from barrier, can be sampled values corresponding to 6 centimeters away from value, in the time that the distance of terminal and barrier is less than or equal to 2 centimetres, can think that terminal approaches barrier, the value of approaching can be values corresponding to 2 centimeters.In the time that the sampled value of described collection is greater than approaching value or is less than away from value, processor need to be adjusted described value of approaching and described away from value, so that again according to the value of approaching and away from value and the correct control terminal screen state of current terminal screen state.
It should be noted that, in the described value of approaching and the register away from the pre-stored transducer in terminal of value, and described value of approaching and be adjustable away from value, every adjustment complete once approach value or away from value after, corresponding value of approaching of storing in the register of transducer or will become the value of approaching after adjustment away from value, after adjusting, using and approach value, is the value of approaching after adjusting.The sampled value that judgement gathers with approach the value of approaching used in value or the relation away from value and be the value of approaching after adjusting last time and away from value away from value, the value of approaching of adjusting each time and away from value be for judgement gathers next time next time sampled value and approaching value are provided or when away from being related to of value needs the value of approaching and away from value.
206, judge whether that terminal approaches barrier first.If terminal is not to approach first barrier, execution step 207; If terminal is to approach first barrier, execution step 208.
Wherein, in the time that the sampled value gathering is greater than approaching value, illustrate that terminal and barrier approach, when terminal and barrier are while approaching, can whether equal to approach value by pre-stored friction valve and the first record value sum and judge whether described approaching is to approach first, in the time that pre-stored friction valve and the first record value sum equal to approach value, the non-terminal that approaches first of disturbance in judgement thing, when pre-stored friction valve and the first record value sum are not equal to while approaching value, disturbance in judgement thing approaches terminal first.Described friction valve records by experiment and is stored in the memory of terminal, and the sampled value obtaining when screen is not rubbed adds the sampled value obtaining after the above friction valve and can approach with the sampled value of acquisition after screen friction.Arrange that judgement approaches first and non-approaching object to be first to solve the sampled value that screen totally do not cause bigger than normal, cause the screen problem in closed condition always.Described the first record value is the first reference value after the adjustment of record in the time that terminal and barrier approach first, because the first reference value after adjusting can cover the reference value before adjusting, so the first reference value that adjusted described last time need to be recorded as to the first record value, be stored in memory.It should be noted that, described the first record value is also stored in the memory of terminal.Processor approaches after the interrupting information that optical sensor reports receiving for the first time, and processor, except first reference value of storing in memory is done initialization operation, is also made initialization operation to the first record value.
207, resetting described according to the first reference value after pre-stored friction valve and described adjustment is the first reference value sum after described pre-stored friction valve and described adjustment away from value, and resetting the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal is that described barrier is in the terminal sampled value of correspondence infinitely nearby.
Wherein, when terminal is non-while approaching barrier first, processor is described is set to the first reference value sum after pre-stored friction valve and adjustment away from value, and approaching value is set to barrier in the unlimited sampled value of correspondence nearby, so that terminal and barrier away from time processor can correctly control screen state, by screen opening.
208, resetting described according to the first reference value after described adjustment is the first reference value after described adjustment away from value, and resetting the described value of approaching according to the first reference value after described adjustment and described friction valve is the first reference value and the described friction valve sum after described adjustment.
Wherein, in the time that terminal approaches barrier first, processor is described to be set to the first reference value after adjustment and the described value of approaching is set to the first reference value and the friction valve sum after adjustment away from value, so that terminal and barrier are reacceesed or with barrier away from time processor can correctly control screen state, screen is closed or is opened.
It should be noted that, in the time that terminal approaches barrier first, processor is also assigned to the first definite value by the first reference value after described adjustment, so that after again adjusting the first reference value, whether the first reference value after the adjustment that can record when approaching terminal first as approaching Rule of judgment first.
209, judge that whether terminal is first away from barrier.If terminal is not first away from barrier, execution step 210; If terminal is first away from barrier, execution step 211.
Wherein, in the time that sampled value is less than away from value, illustrate terminal and barrier away from, when terminal and barrier be away from time, can by the 3rd pre-stored definite value and the second record value sum whether equal away from be worth to judge described away from be whether first away from, when the 3rd pre-stored definite value and the second record value sum equal away from value be, judge that terminal is non-first away from barrier, in the time that the 3rd pre-stored definite value and the second record value sum are not equal to away from value, judge that terminal is first away from barrier.Described the 3rd definite value obtains and is stored in terminal memory by theory, is one and is greater than 0 and be less than the constant of friction valve.Described the second record value be terminal and barrier first away from time record adjustment after the first reference value.It should be noted that described the second record value is also stored in the memory of terminal.Processor approaches after the interrupting information that optical sensor reports receiving for the first time, and processor is initialization the second record value also.
210, according to barrier sampled value corresponding to terminal unlimited distance reset described away from value for barrier is in sampled value corresponding to unlimited distance, resetting the described value of approaching according to the first reference value after described pre-stored the second definite value and described adjustment is the first reference value sum after described the second pre-stored definite value and adjustment.
Wherein, when terminal non-during first away from barrier, processor is described is set to barrier in sampled value corresponding to terminal unlimited distance away from value, and approaching value is set to the first reference value after pre-stored the second definite value and described adjustment, so that terminal and barrier processor in the time approaching can correctly be controlled screen state, by screen opening.
211, reset described away from value according to the first reference value after described adjustment and the 3rd pre-stored definite value, reset the first reference value after adjusting described in the described value of approaching initialization according to the first reference value after described adjustment and pre-stored friction valve, wherein, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
Wherein, when terminal is during first away from barrier, processor is described is set to the first reference value after described adjustment and the 3rd pre-stored definite value sum away from value, and approach value be set to adjustment after the first reference value and pre-stored friction valve sum, also by the first reference value initialization after described adjustment, so that terminal and barrier in the time approaching or again away from time processor can correctly control screen state, by screen opening.
It should be noted that, in terminal during first away from barrier, processor is also assigned to the second definite value by the first reference value after described adjustment, so that after again adjusting the first reference value, can with terminal and barrier first away from time record adjustment after the first reference value whether do first away from Rule of judgment.
212, according to described in described value of approaching after resetting and away from value control screen state.
The terminal that the embodiment of the present invention provides, approach by obtaining the sampled value that optical sensor gathers, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier according to the sampled value of the first pre-stored definite value and described collection, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value and the value of approaching prestoring or the different relations away from value that prestore, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, control screen state according to the described value of approaching after described resetting with away from value, with prior art by approaching compared with the method that optical sensor sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor approaches the sampled value of optical sensor according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
And, whether whether approach first terminal and disturbance in judgement thing first away from terminal by disturbance in judgement thing, add barrier to approach first terminal and barrier first away from two kinds of situations of terminal, at barrier during first away from terminal, readjust the first reference value, after further having solved screen friction, totally do not cause sampled value bigger than normal, cause the screen problem in closed condition always.
Embodiment tri-
The embodiment of the present invention provides a kind of terminal, as shown in Figure 5, comprising: acquiring unit 31, adjustment unit 32, the first setting unit 33, the second setting unit 34, control unit 35.
Acquiring unit 31, approaches the sampled value that optical sensor gathers and described sampled value is transferred to adjustment unit 32 for obtaining.
Adjustment unit 32, the sampled value of the described collection of transmitting for basis and the first customization and the described acquiring unit 31 of first storage, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier, wherein, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal.
The first setting unit 33, for in the time that the sampled value of described collection is greater than the approaching value prestoring, reset described away from value according to the first reference value after adjusting, reset the described value of approaching according to barrier in the unlimited sampled value of correspondence nearby of terminal, wherein, described is that the described value of approaching is for judging that terminal approaches the value of barrier for judging the value of terminal away from barrier away from value.
The second setting unit 34, for when the sampled value of described collection be less than prestore away from value time, reset described away from value in sampled value corresponding to terminal unlimited distance according to barrier, reset the described value of approaching according to the first reference value after pre-stored the second definite value and described adjustment, wherein, described the second definite value be for judge terminal whether approach sampled value corresponding to the critical distance of barrier with for judging whether poor away from sampled value corresponding to boundary away from the critical distance of barrier of terminal.
Control unit 35, for the described value of approaching after resetting according to described the first setting unit or the second setting unit with control screen state away from value.
Further, as shown in Figure 6, described adjustment unit 32 comprises: adjusting module 321.
Adjusting module 321, in the time that the sampled value of described collection and described the first definite value sum are less than the first reference value before adjustment, adjusting described the first reference value is described sampled value and described the first definite value sum.
Further, as shown in Figure 6, described terminal also comprises: the first judging unit 36.
The first judging unit 36, for judging whether terminal approaches barrier first.
The first setting unit 33 comprises: first arranges module 331, second arranges module 332.
First arranges module 331, for when terminal be not while approaching barrier first, resetting described according to the first reference value after pre-stored friction valve and described adjustment is the first reference value sum after described pre-stored friction valve and described adjustment away from value, and resetting the described value of approaching according to barrier in the unlimited corresponding sampled value nearby of terminal is that described barrier is in the terminal sampled value of correspondence infinitely nearby.
Described second arranges module 332, for when terminal be while approaching barrier first, resetting described according to the first reference value after described adjustment is the first reference value after described adjustment away from value, and resetting the described value of approaching according to the first reference value after described adjustment and described friction valve is the first reference value and the described friction valve sum after described adjustment.
Further, as shown in Figure 6, described the first judging unit 36 comprises: the first judge module 361.
The first judge module 361, judges for described friction valve and the described value of approaching of transmitting according to the first reference value before described adjustment, described acquiring unit 31 whether terminal approaches barrier first.
Further, as shown in Figure 6, described the first judge module 361 comprises: first judges submodule 3610.
First judges submodule 3610, for judging according to the relation of the first reference value before described adjustment and described friction valve sum and the described value of approaching whether terminal approaches barrier first; In the time that the first reference value before described adjustment and described friction valve sum equal described approaching value, terminal is not to approach first barrier; In the time that the first reference value before described adjustment and described friction valve sum are not equal to described approaching value, terminal is to approach first barrier.
Further, as shown in Figure 6, described terminal also comprises: the second judging unit 37.
The second judging unit 37, for judging that whether terminal is first away from barrier.
Described the second setting unit 34 comprises:
The 3rd arranges module 341, for not being during first away from barrier when terminal, according to barrier sampled value corresponding to terminal unlimited distance reset described away from value for barrier is in sampled value corresponding to unlimited distance, resetting the described value of approaching according to the first reference value after described pre-stored the second definite value and described adjustment is the first reference value sum after described the second pre-stored definite value and adjustment.
The 4th arranges module 342, for being during first away from barrier when terminal, reset described away from value according to the first reference value after described adjustment and the 3rd pre-stored definite value, reset the first reference value after adjusting described in the described value of approaching initialization according to the first reference value after described adjustment and pre-stored friction valve, wherein, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
Further, as shown in Figure 6, described the second judging unit 37 comprises: the second judge module 371.
The second judge module 371, for according to the first reference value, described the 3rd definite value before adjusting and describedly judge that away from value whether terminal is first away from barrier.
Further, as shown in Figure 6, described the second judge module 361 comprises: second judges submodule 3710.
Second judges submodule 3710, for judging that according to the first reference value before described adjustment and described the 3rd definite value sum and described relation away from value whether terminal is first away from barrier; When the first reference value before described adjustment and described the 3rd definite value sum equal described during away from value, terminal is not first away from barrier; When the first reference value before described adjustment and described the 3rd definite value sum are not equal to describedly during away from value, terminal is first away from barrier.
The terminal that the embodiment of the present invention provides, approach the sampled value of depositing in optical sensor 11 by obtaining, approach value and away from value, according to the first pre-stored definite value, the first reference value and described sampled value are adjusted described the first reference value to make the first reference value after adjustment more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier than the first reference value before adjusting, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value from approach value or away from value different relations, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, control screen state according to the described value of approaching after described resetting with away from value, with prior art by approaching compared with the method that optical sensor 11 sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor 11 approaches the sampled value of optical sensor 11 according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, hard disk or CD etc., comprise that some instructions are in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
Embodiment tetra-
The present embodiment provides a kind of terminal, this terminal can be for comprising mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal equipment such as vehicle-mounted computer, be example taking terminal as mobile phone, shown in Fig. 7 is the block diagram of the part-structure of the mobile phone 400 that the terminal that provides to the embodiment of the present invention is relevant.With reference to figure 7, mobile phone 400 comprises RF(Radio Frequency, radio frequency) parts such as circuit 410, memory 420, input unit 430, display unit 440, transducer 450, voicefrequency circuit 460, WiFi (wireless fidelity, Wireless Fidelity) module 470, processor 480 and power supply 490.It will be understood by those skilled in the art that the handset structure shown in Fig. 4 does not form the restriction to mobile phone, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 4, each component parts of mobile phone 400 is carried out to concrete introduction:
RF circuit 410 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, after the downlink information of base station is received, process to processor 480; In addition, the up data of design are sent to base station.Conventionally, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 410 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 420 can be used for storing software program and module, and processor 480 is stored in software program and the module of memory 420 by operation, thereby carries out various function application and the data processing of mobile phone 400.Memory 420 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of mobile phone 400 etc. can be stored in storage data field.In addition, memory 420 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 430 can be used for receiving numeral or the character information of input, and generation is inputted with the key signals that user arranges and function control is relevant of mobile phone 400.Particularly, input unit 430 can comprise contact panel 431 and other input equipments 432.Contact panel 431, also referred to as touch-screen, can collect user or near touch operation (using any applicable object or near the operations of annex on contact panel 431 or contact panel 431 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, contact panel 431 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 480, and the order that energy receiving processor 480 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 431.Except contact panel 431, input unit 430 can also comprise other input equipments 432.Particularly, other input equipments 432 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 440 can be used for showing the information inputted by user or the various menus of the information that offers user and mobile phone 400.Display unit 440 can comprise display floater 441, optionally, can adopt the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to configure display floater 441.Further, contact panel 431 can cover display floater 441, when contact panel 431 detect thereon or near touch operation after, send processor 480 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 480 on display floater 441.Although in Fig. 4, contact panel 431 and display floater 441 be as two independently parts realize input and the input function of mobile phone 400, but in certain embodiments, can be by integrated to contact panel 431 and display floater 441 and realize the input and output function of mobile phone 400.
Mobile phone 400 also can comprise at least one transducer, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and approach optical sensor, and wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display floater 441, proximity transducer 450 can, in the time that mobile phone 400 moves in one's ear, cut out display floater 441 and/or backlight.As the one of motion sensor; accelerometer sensor can detect the size of the acceleration that (is generally three axles) in all directions; when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc.; As for also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor of mobile phone 400, do not repeat them here.
Voicefrequency circuit 460, loud speaker 461, microphone 462 can provide the audio interface between user and mobile phone 400.Voicefrequency circuit 460 can, by the signal of telecommunication after the voice data conversion receiving, be transferred to loud speaker 461, is converted to voice signal output by loud speaker 461; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 462, after being received by voicefrequency circuit 460, be converted to voice data, after again voice data output processor 480 being processed, through RF circuit 410 to send to such as another mobile phone, or export voice data to memory 420 so as further process.
WiFi belongs to short range wireless transmission technology, mobile phone 400 by WiFi module 470 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 shows WiFi module 470, be understandable that, it does not belong to must forming of mobile phone 400, completely can be as required in the essential scope that does not change invention and omit.
Processor 480 is control centres of mobile phone 400, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out the software program and/or the module that are stored in memory 420, and call the data that are stored in memory 420, carry out various functions and the deal with data of mobile phone 400, thereby mobile phone is carried out to integral monitoring.Optionally, processor 480 can comprise one or more processing units; Preferably, processor 480 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 480.
Mobile phone 400 also comprises that the power supply 490(powering to all parts is such as battery), preferably, power supply can be connected with processor 480 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 400 can also comprise camera, bluetooth module etc., does not repeat them here.
What in embodiments of the present invention, this terminal was included approach optical sensor 450, memory 420 and processor 480 also has following functions:
The described optical sensor 450 that approaches, also for periodically gathering sampled value and storing the sampled value of described collection, and value of approaching of setting in advance of storage and away from value, by the sampled value of collection with the value of approaching that prestores with make comparisons away from value, and reporting interruption information is to processor 480, also by described sampled value, approach value, send to away from value and be transferred to described processor 480 away from value.
Described memory 420, also for storing the first definite value, the first reference value, the second definite value, the 3rd definite value, barrier at sampled value corresponding to terminal unlimited distance and barrier in unlimited corresponding sampled value and the relevant program of the present invention nearby of terminal, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, described the second definite value be for judge terminal whether approach sampled value corresponding to the critical distance of barrier with for judging whether poor away from sampled value corresponding to boundary away from the critical distance of barrier of terminal, described the 3rd definite value is to be greater than 0 and be less than the constant of friction valve.
Described processor 480, approach for receiving the interrupting information that optical sensor 450 transmits, and according to the program of storing in described memory 420 and data analysis end message, carry out interrupt routine, the display floater 441 of control terminal 400, the concrete step of carrying out of described interrupt routine comprises the step as described in embodiment mono-or embodiment bis-, repeats no more herein.
The terminal that the embodiment of the present invention provides, approach by obtaining the sampled value that optical sensor gathers, the first pre-stored reference value is adjusted into more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier according to the sampled value of the first pre-stored definite value and described collection, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value and the value of approaching prestoring or the different relations away from value that prestore, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, control screen state according to the described value of approaching after described resetting with away from value, with prior art by approaching compared with the method that optical sensor sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor approaches the sampled value of optical sensor according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
And, whether whether approach first terminal and disturbance in judgement thing first away from terminal by disturbance in judgement thing, add barrier to approach first terminal and barrier first away from two kinds of situations of terminal, at barrier during first away from terminal, readjust the first reference value, after further having solved screen friction, totally do not cause sampled value bigger than normal, cause the screen problem in closed condition always.
It should be noted that, in the embodiment of the present invention specific descriptions of part steps can reference example one or embodiment bis-in corresponding content, the embodiment of the present invention will not repeat here one by one.
The terminal that the embodiment of the present invention provides, approach the sampled value of depositing in optical sensor 11 by obtaining, approach value and away from value, according to the first pre-stored definite value, the first reference value and described sampled value are adjusted described the first reference value to make the first reference value after adjustment more approaching for judging whether that terminal is away from sampled value corresponding to the critical distance of barrier than the first reference value before adjusting, described the first definite value is for judging whether poor in sampled value corresponding to terminal unlimited distance away from sampled value corresponding to the critical distance of barrier and barrier of terminal, for sampled value from approach value or away from value different relations, according to the first reference value, barrier is in sampled value corresponding to terminal unlimited distance, the second definite value, barrier is in the approaching value of sampled value adjustment of the unlimited correspondence nearby of terminal and away from value, with prior art by approaching compared with the method that optical sensor 11 sets in advance a pair of identical fixed threshold and sampled value control mobile phone screen state same model, same model approached to optical sensor 11 approaches the sampled value of optical sensor 11 according to actual conditions and mobile phone screen state is adjusted threshold value, can ensure according to the correctness of sampled value and a pair of adjustable threshold value control mobile phone screen state.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, hard disk or CD etc., comprise that some instructions are in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.