CN102984352A - Method and device of adjusting of screen luminance of terminal and terminal - Google Patents

Method and device of adjusting of screen luminance of terminal and terminal Download PDF

Info

Publication number
CN102984352A
CN102984352A CN2012104345539A CN201210434553A CN102984352A CN 102984352 A CN102984352 A CN 102984352A CN 2012104345539 A CN2012104345539 A CN 2012104345539A CN 201210434553 A CN201210434553 A CN 201210434553A CN 102984352 A CN102984352 A CN 102984352A
Authority
CN
China
Prior art keywords
terminal
coordinate offset
screen
offset value
screen intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104345539A
Other languages
Chinese (zh)
Other versions
CN102984352B (en
Inventor
夏新球
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201210434553.9A priority Critical patent/CN102984352B/en
Publication of CN102984352A publication Critical patent/CN102984352A/en
Application granted granted Critical
Publication of CN102984352B publication Critical patent/CN102984352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device of adjusting of screen luminance of a terminal and a terminal. The method comprises that the current spatial position state of the terminal is acquired, and the spatial position state comprises the initial coordinate value of the terminal. When the spatial position of the terminal changes, the coordinate offset value of the terminal relative to the initial coordinate value after changing is acquired. When the coordinate offset value meets an adjusting condition, the screen luminance of the terminal is adjusted. By using the method and the device of adjusting of the screen luminance of the terminal and the terminal, not only electricity is further saved in a using process of the terminal, but also the phenomenon that the user hangs up by mistake caused by mis-turning on a background light of the screen can be prevent from occurring.

Description

The screen brightness regulation method of terminal, device and terminal
Technical field
The present invention relates to the touch screen technology field, particularly relate to a kind of screen brightness regulation method, device and terminal of terminal.
Background technology
At present, along with the generally application of touch screen technology, the touch-screen equipment of various employing touch-screens is also more and more, and wherein, the most widely used is touch-screen mobile phone.But along with the screen size of touch-screen mobile phone is increasing, the user unavoidably expends the more problem of electric weight with regard to keeping away when using touch-screen mobile phone.For example, the user directly just is placed on mobile phone in the upper or bag of table after using mobile phone sometimes, initiatively do not go to close screen intensity, in this case, mobile phone all can just cut out screen intensity after certain time of delay, and the time of this delay is the process of a power consumption namely.And because screen intensity is not closed, when placing, may produce some unintentionally misoperations, such as opening an application, but not discovery of user itself, this can produce the problem of power consumption equally.
In the background technology, the electric weight when adopting touch-screen mobile phone to converse to save the user can adopt following method: when the user uses touch-screen mobile phone to converse, for power saving, can close the screen intensity of touch-screen mobile phone during the user answers the call as example.Concrete, can realize by distance-sensor.Distance-sensor is again displacement transducer, and it utilizes the physical change amount of various element testing objects, by this variable quantity is scaled distance, in order to measure the machine apart from displacement from the transducer to the object.Distance-sensor is general all in the both sides of earpiece or in the earpiece groove, when the user when answering or call, the user can be with touch-screen mobile phone near head, distance-sensor can be measured the distance between mobile phone and the user, after this distance was less than threshold value, just the screen background lamp was extinguished in control; When behind user's cell phone so that the distance between mobile phone and the user when being not less than threshold value, just control point bright screen curtain background light.Wherein, the distance parameter of the distance-sensor in the touch-screen mobile phone just sets when dispatching from the factory, and the distance of its detection is fixed value and can not revises.
But the user is when using touch-screen mobile phone to converse, and it is more random in one's ear that mobile phone is placed on, away from mobile phone has a bit from ear unintentionally, mobile phone has been taken away in distance-sensor judgement in the mobile phone, at this moment will control and turn on the screen background lamp, has just caused unnecessary electric weight waste.In addition, for fear of electromagnetic radiation or other reason, the user may be artificial allows mobile phone leave brain one segment distance to converse again, and this distance may surpass the fixed range that distance-sensor detects, the phenomenon that also can cause the screen background lamp to be lighted.Not only still waste the electric weight of touch-screen mobile phone this moment, the phenomenon of mistake on-hook also can occur so that the user may touch the on-hook key of touch-screen mobile phone.
In a word, background technology is when the screen intensity of carrying out touch-screen mobile phone is adjusted, because the phenomenon that the service range inductor inevitably can cause screen background lamp mistake to open, so just make the effect of background technology on the electric weight of saving touch-screen mobile phone obvious not, the phenomenon that further, also can cause the on-hook of user's mistake.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of screen brightness regulation method of touch-screen mobile phone is provided, with the electric weight of further saving user in using the touch-screen mobile phone process, can also solve the phenomenon of user's mistake on-hook that the user occurs in the prior art simultaneously when the screen background lamp mistake of touch-screen mobile phone is opened.
Another purpose of the embodiment of the invention is that above-mentioned design is applied in the concrete applied environment, and a kind of screen intensity adjusting device and terminal are provided, thereby guarantees realization and the application of the method.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of terminal screen luminance regulating method, and the method comprises:
Obtain the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal;
When described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values;
When described coordinate offset value satisfies regularization condition, adjust the screen intensity of described terminal.
Preferably, the size of described coordinate offset value and coordinate offset threshold value is compared, judge whether described coordinate offset value satisfies regularization condition.
Preferably, described when described coordinate offset value satisfies regularization condition, adjust the screen intensity of described terminal, comprising:
If described coordinate offset value greater than described coordinate offset threshold value, is then judged the current operational order that whether receives the user;
If not, then after postponing the first Preset Time, reduce the screen intensity of described terminal;
If so, the screen intensity of then controlling described terminal remains unchanged.
Preferably, after the screen intensity of the described terminal of described reduction, also comprise:
When judgement obtains postponing the second Preset Time and do not receive user's operational order, close the screen intensity of described terminal.
Preferably, the screen intensity of the described terminal of described adjustment also comprises:
If described coordinate offset value is not more than described coordinate offset threshold value, the screen intensity of then controlling described terminal remains unchanged.
Preferably, described initial coordinate values and coordinate offset value all obtain by the acceleration sensor in the terminal; Perhaps, described initial coordinate values obtains by the range sensor in the terminal, and the coordinate offset value obtains by the acceleration sensor in the terminal.
The embodiment of the invention also provides a kind of screen intensity adjusting device of terminal, comprising:
Obtain the locus block of state, be used for obtaining the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal;
Obtain coordinate offset value module, be used for when described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values;
Adjusting module is used for adjusting the screen intensity of described terminal when described coordinate offset value satisfies regularization condition.
Preferably, described adjusting module comprises:
First judges submodule, is used for the size of described coordinate offset value and coordinate offset threshold value is compared, and judges whether described coordinate offset value satisfies regularization condition;
Adjust submodule, be used for judging that described first the result of submodule is in the situation that is, adjust the screen intensity of described terminal.
Preferably, described adjustment submodule specifically comprises:
Second judges submodule, if be used for described coordinate offset value greater than described coordinate offset threshold value, then judges the current operational order that whether receives the user;
Reduce submodule, be used under the described second result who judges submodule is no situation, after postponing the first Preset Time, reducing the screen intensity of described terminal;
The control submodule is used for judging that described second the result of submodule is in the situation that is that the screen intensity of controlling described terminal remains unchanged.
Preferably, described adjusting module also comprises:
Close closed submodule, be used for when judgement obtains postponing the second Preset Time and do not receive user's operational order, closing the screen intensity of described terminal.
Preferably, described adjusting module also comprises:
The second control submodule is used for being not more than in the situation of described coordinate offset threshold value in described coordinate offset amount, and the screen intensity of controlling described terminal remains unchanged.
The embodiment of the invention also provides a kind of terminal, comprises as the aforementioned each device.
Can find out from above-mentioned technical scheme, the embodiment of the invention is by the variation of the locus state of the described terminal of detection, thereby can whether satisfy regularization condition according to the coordinate offset amount of terminal comes screen intensity is controlled, even if like this occur that the user takes terminal unintentionally when conversing farther or other so that distance greater than the situation of predefined fixed value, because can not turn on the screen background lamp with reference to the coordinate offset amount of terminal by mistake yet, so not only play the electric weight of further saving user in using terminal procedures, also can not cause because mistake has turned on the screen background lamp generation of user's mistake on-hook phenomenon.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the background technology description, apparently, the accompanying drawing that the following describes only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of screen brightness regulation method of a kind of terminal of the embodiment of the invention 1;
Fig. 2 is X, the Y of the touch-screen mobile phone of the embodiment of the invention and the direction schematic diagram of Z axis;
Fig. 3 is the flow chart of step 103 among the inventive method embodiment 1;
Fig. 4 is the flow chart of screen brightness regulation method of a kind of terminal of the embodiment of the invention 2;
Fig. 5 is the structured flowchart of screen intensity adjusting device of a kind of terminal of the embodiment of the invention;
Fig. 6 is the structured flowchart of adjusting module 503 among apparatus of the present invention embodiment;
Fig. 7 is the structured flowchart of adjusting submodule 602 among apparatus of the present invention embodiment;
Fig. 8 is the another kind of structured flowchart of adjusting submodule 602 among apparatus of the present invention embodiment.
Embodiment
For realizing the goal of the invention of the embodiment of the invention, the embodiment of the invention provides the terminal screen luminance regulating method, when the arbitrary application software in terminal is opened, obtain the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal; When described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values; When described coordinate offset value satisfies regularization condition, adjust the screen intensity of described terminal.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Referring to Fig. 1, show the flow chart of screen brightness regulation method of a kind of touch-screen equipment of the embodiment of the invention 1, can may further comprise the steps:
Step 101: obtain the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal.
In the embodiment of the invention, terminal can be such as touch-screen equipments such as touch-screen mobile phones.Take touch-screen mobile phone as example, arbitrary application software that can be in touch-screen mobile phone (for example: when web browser) being opened, the acceleration induction device that arranges in this touch-screen mobile phone (Motion Sensor) also starts simultaneously in order in the skew of touch-screen mobile phone occurrence positions position offset is judged, this acceleration induction device can read the current locus state of touch-screen mobile phone, and each coordinate figure is as initial coordinate values on the record touch-screen mobile phone X/Y/Z axle at that time.
Need to prove that in embodiments of the present invention, can implement for arbitrary application software of arbitrary touch-screen mobile phone, for example the reading software in the touch-screen mobile phone is perhaps just implemented for the operation system of software of touch-screen mobile phone itself.It will also be appreciated that, also can be arranged the opportunity of the current locus state that obtains touch-screen mobile phone, a set time for example is set, and every the length of this set time, all execution in step 101 is to realize the real-time adjustment to the screen intensity of touch-screen mobile phone.
Step 102: when described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values.
When touch-screen mobile phone was with respect to aforesaid initial coordinate values generation spatial position change, the acceleration induction device obtained the coordinate figure of the terminal after changing again, thereby the terminal after obtaining changing is with respect to the coordinate offset value of described initial coordinate values.
Step 103: when described coordinate offset value satisfies regularization condition, adjust the screen intensity of described terminal.
And when the coordinate offset value that step 102 gets access to satisfies regularization condition, again according to the screen intensity of adjustment touch-screen mobile phone corresponding to its regularization condition that satisfies.Concrete, can compare by the size with described coordinate offset value and coordinate offset threshold value, judge whether described coordinate offset value satisfies regularization condition.At this moment, just need to be before implementing the technical program, the coordinate offset threshold value of each X/Y/Z coordinate figure of pre-set touch-screen mobile phone is for example established Δ X=1.5PX, Δ Y=1.5PX, and Δ Z=1.5PX.Wherein, with reference to shown in Figure 2, be X, the Y of touch-screen mobile phone and the direction schematic diagram of Z axis.But according to the different application scene of different touch-screen mobile phones, perhaps for the different application software of touch-screen mobile phone, this coordinate offset threshold value can be set to different, in order to more meet its application scenarios.
In actual applications, with reference to shown in Figure 3, be a kind of flow chart of described step 103, step 103 specifically can comprise:
Step 301: judge that described coordinate offset value whether greater than described coordinate offset threshold value, if so, then enters step 302, if not, then enter step 305.
Whether the coordinate offset value that gets access in elder generation's determining step 302 is greater than the coordinate offset threshold value, if the coordinate offset value is greater than the coordinate offset threshold value, there is a kind of possible situation to be, the user has opened a reader and has come reading electronic book, because this moment, the user can move on to touch-screen mobile phone the eyes position more a little further from oneself, at this moment, may cause the coordinate offset value of touch-screen mobile phone greater than the result of coordinate offset threshold value.But above-mentioned situation is a kind of example, in actual applications, do not represent the coordinate offset value and just necessarily browse the scene of e-book corresponding to the user greater than the coordinate offset threshold value, and also may be the application scenarioss such as user's browsing video, do not do restriction in the embodiment of the invention.
Step 302: judge the current operational order that whether receives the user; If not, then enter step 303, if so, then enter step 305.
In the present embodiment, greater than the coordinate offset threshold value, judge again whether receive the user to the operational order of touch-screen mobile phone this moment in the coordinate offset amount of touch-screen mobile phone.
Step 303: after postponing the first Preset Time, reduce the screen intensity of described terminal, enter step 304.
After lighting screen certain hour arranged, if the coordinate offset amount of touch-screen mobile phone is greater than the coordinate offset threshold value, when the user does not have operating handset simultaneously, illustrate that then the user may current foundation not browse the page of having opened in touch-screen mobile phone, this moment can be after postponing the first Preset Time, reduce first the screen intensity of touch-screen mobile phone, with reminding user.Whether the first Preset Time can independently arrange, and for example, reduces the brightness of display backlight lamp after postponing 2 seconds, in order to come reminding user to select to continue to browse by the variation of brightness.
In this step, need to prove, if the coordinate offset amount of touch-screen mobile phone is greater than the coordinate offset threshold value, and the user has operated touch-screen mobile phone in the first Preset Time, can continue to trigger the acceleration induction device execution in step 101 in the touch-screen mobile phone, namely be the current locus state that obtains described terminal again.
Step 304: when judgement obtains postponing the second Preset Time and do not receive user's operational order, close the screen intensity of described terminal.
This step is optional step in actual applications, namely is that execution in step 303 can be selected execution in step 304 afterwards, also can select not execution in step 304.In step 304, if the user does not operate touch-screen mobile phone, so after the delay of the second Preset Time, then close the screen intensity of touch-screen mobile phone.For example, after the delay of the second Preset Time of 1 second, the screen of touch-screen mobile phone will really be closed.In the situation, illustrate that the current foundation of user's possibility does not all have the e-book of having opened reading for some time like this, can close screen the saving electric weight this moment, and further, touch-screen mobile phone can lock screen.
Step 305: the screen intensity of controlling described terminal remains unchanged.
And if at this moment the coordinate offset amount can think that the user is also reading the e-book of having opened when being not more than the coordinate offset threshold value, this moment, screen just can continue to keep illuminating state constant, need not to close screen.
Need to prove that in embodiments of the present invention, various default time parameters or coordinate parameters can be done various adjustment according to the difference of actual conditions or application scenarios.
In the present embodiment, the variation of the locus state by detecting described touch-screen mobile phone, thereby can whether satisfy regularization condition according to the coordinate offset amount of touch-screen mobile phone comes screen intensity is controlled, for example, thereby coordinate offset amount and coordinate offset threshold value compared need to judge whether to adjust, even if like this occur that the user takes touch-screen mobile phone unintentionally when conversing farther or other so that distance greater than the situation of predefined fixed value, because can not turn on the screen background lamp with reference to the coordinate offset amount of touch-screen mobile phone by mistake yet, so not only play the electric weight of further saving user in using the touch-screen mobile phone process, also can not cause because mistake has turned on the screen background lamp generation of user's mistake on-hook phenomenon.
Referring to Fig. 4, show the flow chart of screen brightness regulation method of a kind of touch-screen equipment of the embodiment of the invention 2, can may further comprise the steps:
Step 401: the minimum distance that detects described terminal and user.
The difference of present embodiment and embodiment 1 is that present embodiment also need to be detected by the range sensor that arranges in the touch-screen mobile phone touch-screen mobile phone and user's minimum distance.Wherein, the initial coordinate values in the present embodiment and coordinate offset value can all obtain by the acceleration transducer in the terminal; Perhaps, described initial coordinate values obtains by the range sensor in the terminal, and the coordinate offset value obtains by the acceleration transducer in the terminal.Be understandable that, also can the arbitrary application software (for example: the user connects phone) in touch-screen mobile phone carry out this step when being opened, then present embodiment can be applied to the application scenarios that the user uses touch-screen mobile phone to converse, service range inductor test touch-screen mobile phone and user's minimum distance namely is that touch-screen mobile phone is from the distance of user's brain so at this moment.Same, can also the execution of this step be arranged opportunity, but set-up mode reference example 1.
Wherein, carry out different operations according to minimum distance from the magnitude relationship needs between the default distance reference value, for example, can execution in step 402, perhaps can execution in step 403, perhaps can execution in step 407.Wherein, step 402 is the treatment step of situation one, step 403 step 406 is the handling process of situation two, step 407 is the treatment step of situation three, these three kinds of situations are described respectively is three kinds of scenes in the practical application, although for convenience and with its serial number, this does not represent execution sequence.
Step 402: the distance reference value that equals to preset when described minimum distance and the screen intensity of described touch-screen mobile phone are obtained the current locus state of described terminal when closing, and described locus state comprises the initial coordinate values of described terminal.
In the present embodiment, need the distance reference value (A) of the acceleration induction device of pre-configured touch-screen mobile phone itself, for example it is set to 5cm, but this value can become along with the variation of application scenarios and actual demand.
After the user uses touch-screen mobile phone to connect phone, for example distance-sensor detects screen intensity that touch-screen mobile phone has been placed into user's ear limit and touch-screen mobile phone when closing, this moment, the acceleration induction device started to obtain the current locus state of described terminal, namely was that each coordinate figure of touch-screen mobile phone X/Y/Z at that time is as the initial coordinate values of terminal with the current locus state that gets access to.
Step 403: at described minimum distance during greater than described default distance reference value, and when described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values.
Further, after having recorded initial coordinate values, if the minimum distance B that distance-sensor is tested is during greater than distance reference value A, illustrate that spatial position change has occured terminal, read so the coordinate figure of newer X/Y/Z, calculate terminal after the variation with respect to the coordinate offset value (Δ X, Δ Y and Δ Z) of described initial coordinate values.
Step 404: judge that whether described coordinate offset amount is greater than described coordinate offset threshold value; If so, then enter step 405, if not, then enter step 406;
In the present embodiment, also need pre-set touch-screen mobile phone in the coordinate offset threshold value of X/Y/Z coordinate figure, for example be set as Δ X=5, Δ Y=5 and Δ Z=5.Be understandable that when different application scenarioss or actual demand were different, this coordinate offset threshold value still can change.
Step 405: the screen intensity of opening described touch-screen mobile phone.
When if the coordinate offset amount exceeds predetermined coordinate offset threshold value, the possible user conversation that has been through with, the brightness that then can open the touch-screen mobile phone screen this moment.
Be understandable that after the user who uses touch-screen mobile phone disconnected conversation, distance-sensor and acceleration induction device also can quit work, can save on the one hand the electric weight of touch-screen mobile phone, the system resource that can also save on the other hand touch-screen mobile phone.
Step 406: keep the screen intensity of closing described touch-screen mobile phone.
If the coordinate offset amount in this case, is then kept the state of the screen intensity of closing touch-screen mobile phone less than predetermined coordinate offset threshold value, need not to light the screen of touch-screen mobile phone.
Need to prove, after the screen intensity of mobile phone is closed, if when after the touch-screen mobile phone screen is lighted, again detecting minimum distance B and being not more than distance reference value A, can continue execution in step 401.
Step 407: when described minimum distance during less than default distance reference value, close the screen intensity of described touch-screen mobile phone.
As the minimum distance B that detects during less than default distance reference value A, can make touch-screen mobile phone close screen and reach the power saving purpose, in this case, no matter whether the initial coordinate values of touch-screen mobile phone changes, the screen of touch-screen mobile phone all need not to light.In addition, when present embodiment is applied to the user and adopts hand-free function to converse, as long as the user is blocked in distance-sensor, can think also that at this moment minimum distance is less than default distance reference value, this moment, the screen of touch-screen mobile phone also can be closed, to reach electricity-saving function.And when the screen intensity of touch-screen mobile phone is closed, the acceleration induction device can continue to identify the current locus state of touch-screen mobile phone, and identify touch-screen mobile phone by the coordinate offset value and whether need to light screen, the user that is to say when will operate touch-screen mobile phone, as long as pick up the screen that locus state that touch-screen mobile phone changes touch-screen mobile phone just can be lighted touch-screen mobile phone, the switch switch that need not to press touch-screen mobile phone is realized lighting of screen.
In the present embodiment, not only can play the electric weight of further saving user in using the touch-screen mobile phone process, also can not cause because mistake has turned on the screen background lamp generation of user's mistake on-hook phenomenon, and added the detection of distance-sensor for minimum distance, also can guarantee the accuracy of testing result, so that the user is more accurate for the adjustment of screen intensity when using touch-screen mobile phone.
Description by above embodiment of the method, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.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, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as read-only memory (ROM), random access memory (RAM), magnetic disc or CD.
Corresponding to top embodiment of the method, the embodiment of the invention also provides a kind of screen intensity adjusting device of touch-screen mobile phone.Referring to Fig. 5, show the structural representation of a kind of screen intensity adjusting device embodiment of touch-screen mobile phone, can comprise:
Obtain locus block of state 501, be used for obtaining the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal.
Obtain coordinate offset value module 502, be used for when described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values.
Adjusting module 503 is used for adjusting the screen intensity of described terminal when described coordinate offset value satisfies regularization condition.
In actual applications, with reference to shown in Figure 6, Fig. 6 is the structured flowchart of described adjusting module 503, specifically can comprise:
First judges submodule 601, is used for the size of described coordinate offset value and coordinate offset threshold value is compared, and judges whether described coordinate offset value satisfies regularization condition.
Adjust submodule 602, be used for judging that described first the result of submodule is in the situation that is, adjust the screen intensity of described terminal.
In actual applications, with reference to shown in Figure 7, Fig. 7 is the structured flowchart of described adjustment submodule 602, specifically comprises:
Second judges submodule 701, if be used for described coordinate offset value greater than described coordinate offset threshold value, then judges the current operational order that whether receives the user;
Reduce submodule 702, be used under the described second result who judges submodule is no situation, after postponing the first Preset Time, reducing the screen intensity of described terminal;
The first control submodule 703 is used for judging that described second the result of submodule is in the situation that is that the screen intensity of controlling described terminal remains unchanged.
In different embodiment, with reference to shown in Figure 8, Fig. 8 is for adjusting the another kind of structured flowchart of submodule 602, and described adjusting module 602 can also comprise:
Close closed submodule 801, be used for when judgement obtains postponing the second Preset Time and do not receive user's operational order, closing the screen intensity of described touch-screen mobile phone.
Perhaps, described adjusting module can also comprise:
The second control submodule 802 is used for being not more than in the situation of described coordinate offset threshold value in described coordinate offset amount, and the screen intensity of controlling described touch-screen mobile phone remains unchanged.
The embodiment of the invention also discloses a kind of touch-screen mobile phone, this touch-screen mobile phone can comprise above-mentioned each screen intensity adjusting device, wherein, this screen intensity adjusting device is device shown in Figure 5, can arrange on the processor of touch-screen mobile phone when this device specifically is applied to touch-screen mobile phone.
In the present invention in disclosed screen intensity adjusting device or the touch-screen mobile phone, the variation of the locus state by detecting described touch-screen mobile phone, thereby can whether satisfy regularization condition according to the coordinate offset amount of touch-screen mobile phone comes screen intensity is controlled, for example, thereby coordinate offset amount and coordinate offset threshold value compared need to judge whether to adjust, even if like this occur that the user takes touch-screen mobile phone unintentionally when conversing farther or other so that distance greater than the situation of predefined fixed value, because can not turn on the screen background lamp with reference to the coordinate offset amount of touch-screen mobile phone by mistake yet, so not only play the electric weight of further saving user in using the touch-screen mobile phone process, also can not cause because mistake has turned on the screen background lamp generation of user's mistake on-hook phenomenon.
Be understandable that the present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment etc.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1. terminal screen luminance regulating method is characterized in that the method comprises:
Obtain the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal;
When described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values;
When described coordinate offset value satisfies regularization condition, adjust the screen intensity of described terminal.
2. method according to claim 1 is characterized in that, the size of described coordinate offset value and coordinate offset threshold value is compared, and judges whether described coordinate offset value satisfies regularization condition.
3. method according to claim 2 is characterized in that, and is described when described coordinate offset value satisfies regularization condition, adjusts the screen intensity of described terminal, comprising:
If described coordinate offset value greater than described coordinate offset threshold value, is then judged the current operational order that whether receives the user;
If not, then after postponing the first Preset Time, reduce the screen intensity of described terminal;
If so, the screen intensity of then controlling described terminal remains unchanged.
4. method according to claim 3 is characterized in that, after the screen intensity of the described terminal of described reduction, also comprises:
When judgement obtains postponing the second Preset Time and do not receive user's operational order, close the screen intensity of described terminal.
5. method according to claim 3 is characterized in that, the screen intensity of the described terminal of described adjustment also comprises:
If described coordinate offset value is not more than described coordinate offset threshold value, the screen intensity of then controlling described terminal remains unchanged.
6. each described method is characterized in that according to claim 1~5, and described initial coordinate values and coordinate offset value all obtain by the acceleration sensor in the terminal; Perhaps, described initial coordinate values obtains by the range sensor in the terminal, and the coordinate offset value obtains by the acceleration sensor in the terminal.
7. the screen intensity adjusting device of a terminal is characterized in that, comprising:
Obtain the locus block of state, be used for obtaining the current locus state of described terminal, described locus state comprises the initial coordinate values of described terminal;
Obtain coordinate offset value module, be used for when described terminal generation spatial position change, obtain described terminal after the variation with respect to the coordinate offset value of described initial coordinate values;
Adjusting module is used for adjusting the screen intensity of described terminal when described coordinate offset value satisfies regularization condition.
8. device according to claim 7 is characterized in that, described adjusting module comprises:
First judges submodule, is used for the size of described coordinate offset value and coordinate offset threshold value is compared, and judges whether described coordinate offset value satisfies regularization condition;
Adjust submodule, be used for judging that described first the result of submodule is in the situation that is, adjust the screen intensity of described terminal.
9. device according to claim 8 is characterized in that, described adjustment submodule specifically comprises:
Second judges submodule, if be used for described coordinate offset value greater than described coordinate offset threshold value, then judges the current operational order that whether receives the user;
Reduce submodule, be used under the described second result who judges submodule is no situation, after postponing the first Preset Time, reducing the screen intensity of described terminal;
The control submodule is used for judging that described second the result of submodule is in the situation that is that the screen intensity of controlling described terminal remains unchanged.
10. device according to claim 9 is characterized in that, described adjusting module also comprises:
Close closed submodule, be used for when judgement obtains postponing the second Preset Time and do not receive user's operational order, closing the screen intensity of described terminal.
11. device according to claim 9 is characterized in that, described adjusting module also comprises:
The second control submodule is used for being not more than in the situation of described coordinate offset threshold value in described coordinate offset amount, and the screen intensity of controlling described terminal remains unchanged.
12. a terminal is characterized in that, comprises each described device such as claim 7-11.
CN201210434553.9A 2012-11-02 2012-11-02 Method and device of adjusting of screen luminance of terminal and terminal Active CN102984352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210434553.9A CN102984352B (en) 2012-11-02 2012-11-02 Method and device of adjusting of screen luminance of terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210434553.9A CN102984352B (en) 2012-11-02 2012-11-02 Method and device of adjusting of screen luminance of terminal and terminal

Publications (2)

Publication Number Publication Date
CN102984352A true CN102984352A (en) 2013-03-20
CN102984352B CN102984352B (en) 2014-12-24

Family

ID=47858079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210434553.9A Active CN102984352B (en) 2012-11-02 2012-11-02 Method and device of adjusting of screen luminance of terminal and terminal

Country Status (1)

Country Link
CN (1) CN102984352B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150194A (en) * 2013-04-10 2013-06-12 天津三星光电子有限公司 Sleep control method of mobile terminal and mobile terminal thereof
CN103488274A (en) * 2013-09-30 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Power saving reminding method for unhandled events and intelligent terminal
CN103607758A (en) * 2013-11-06 2014-02-26 中兴通讯股份有限公司 Terminal screen power saving processing method, device thereof and terminal
CN103826016A (en) * 2014-02-18 2014-05-28 上海天奕达电子科技有限公司 Control method of terminal screen under call state and terminal
CN104076904A (en) * 2014-06-25 2014-10-01 可牛网络技术(北京)有限公司 Method and device for controlling hardware state of mobile terminal
CN104219346A (en) * 2013-05-30 2014-12-17 马库伯公司 Proximity sensor device and method based on MEMS
CN104598143A (en) * 2015-01-12 2015-05-06 联想(北京)有限公司 Electronic equipment and wakeup method thereof
CN104639833A (en) * 2015-01-29 2015-05-20 深圳市金立通信设备有限公司 Method for controlling camera device
WO2016082587A1 (en) * 2014-11-26 2016-06-02 中兴通讯股份有限公司 Projection brightness adjustment method and apparatus
WO2016127439A1 (en) * 2015-02-15 2016-08-18 华为技术有限公司 Display screen controlling method and apparatus, and terminal
WO2016131340A1 (en) * 2015-08-07 2016-08-25 中兴通讯股份有限公司 Method and apparatus for controlling luminance of terminal button light
CN107170414A (en) * 2017-06-08 2017-09-15 北京小米移动软件有限公司 The adjusting method and device of display backlight brightness
CN107924114A (en) * 2015-09-01 2018-04-17 索尼公司 Information processing equipment, information processing method and program
WO2018077093A1 (en) * 2016-10-24 2018-05-03 北京金山安全软件有限公司 Method and device for controlling mobile terminal, and mobile terminal
CN109272917A (en) * 2018-10-25 2019-01-25 Oppo广东移动通信有限公司 Screen luminance adjustment method, device, storage medium and electronic equipment
CN111614834A (en) * 2020-05-19 2020-09-01 Oppo广东移动通信有限公司 Electronic device control method and device, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442589A (en) * 2009-01-09 2009-05-27 深圳华为通信技术有限公司 Method and apparatus for managing mobile terminal status
CN101458557A (en) * 2007-12-14 2009-06-17 宏达国际电子股份有限公司 Handhold electronic device and power supply management method
CN101567167A (en) * 2008-04-23 2009-10-28 宏达国际电子股份有限公司 Portable electronic device and backlight control method thereof
CN101741983A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and terminal for realizing proximity induction
CN201523407U (en) * 2009-10-12 2010-07-07 中兴通讯股份有限公司 Mobile terminal
CN101815132A (en) * 2009-12-10 2010-08-25 宇龙计算机通信科技(深圳)有限公司 Power saving control method and system for conversation process and mobile terminal
WO2011144070A2 (en) * 2011-05-24 2011-11-24 华为终端有限公司 Method, device and mobile phone for reducing power consumption of mobile phone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458557A (en) * 2007-12-14 2009-06-17 宏达国际电子股份有限公司 Handhold electronic device and power supply management method
CN101567167A (en) * 2008-04-23 2009-10-28 宏达国际电子股份有限公司 Portable electronic device and backlight control method thereof
CN101442589A (en) * 2009-01-09 2009-05-27 深圳华为通信技术有限公司 Method and apparatus for managing mobile terminal status
CN201523407U (en) * 2009-10-12 2010-07-07 中兴通讯股份有限公司 Mobile terminal
CN101741983A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and terminal for realizing proximity induction
CN101815132A (en) * 2009-12-10 2010-08-25 宇龙计算机通信科技(深圳)有限公司 Power saving control method and system for conversation process and mobile terminal
WO2011144070A2 (en) * 2011-05-24 2011-11-24 华为终端有限公司 Method, device and mobile phone for reducing power consumption of mobile phone

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150194A (en) * 2013-04-10 2013-06-12 天津三星光电子有限公司 Sleep control method of mobile terminal and mobile terminal thereof
CN104219346A (en) * 2013-05-30 2014-12-17 马库伯公司 Proximity sensor device and method based on MEMS
CN103488274A (en) * 2013-09-30 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Power saving reminding method for unhandled events and intelligent terminal
CN103488274B (en) * 2013-09-30 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Power saving reminding method for unhandled events and intelligent terminal
CN103607758A (en) * 2013-11-06 2014-02-26 中兴通讯股份有限公司 Terminal screen power saving processing method, device thereof and terminal
CN103826016A (en) * 2014-02-18 2014-05-28 上海天奕达电子科技有限公司 Control method of terminal screen under call state and terminal
CN104076904A (en) * 2014-06-25 2014-10-01 可牛网络技术(北京)有限公司 Method and device for controlling hardware state of mobile terminal
CN104076904B (en) * 2014-06-25 2017-08-29 可牛网络技术(北京)有限公司 Control the method and device of mobile terminal hardware state
WO2016082587A1 (en) * 2014-11-26 2016-06-02 中兴通讯股份有限公司 Projection brightness adjustment method and apparatus
CN104598143A (en) * 2015-01-12 2015-05-06 联想(北京)有限公司 Electronic equipment and wakeup method thereof
CN104639833A (en) * 2015-01-29 2015-05-20 深圳市金立通信设备有限公司 Method for controlling camera device
CN104639833B (en) * 2015-01-29 2018-05-15 深圳市金立通信设备有限公司 A kind of control method of camera device
WO2016127439A1 (en) * 2015-02-15 2016-08-18 华为技术有限公司 Display screen controlling method and apparatus, and terminal
US10559273B2 (en) 2015-02-15 2020-02-11 Huawei Technologies Co., Ltd. Display screen control method and apparatus and terminal
WO2016131340A1 (en) * 2015-08-07 2016-08-25 中兴通讯股份有限公司 Method and apparatus for controlling luminance of terminal button light
CN107924114A (en) * 2015-09-01 2018-04-17 索尼公司 Information processing equipment, information processing method and program
WO2018077093A1 (en) * 2016-10-24 2018-05-03 北京金山安全软件有限公司 Method and device for controlling mobile terminal, and mobile terminal
CN107170414A (en) * 2017-06-08 2017-09-15 北京小米移动软件有限公司 The adjusting method and device of display backlight brightness
CN109272917A (en) * 2018-10-25 2019-01-25 Oppo广东移动通信有限公司 Screen luminance adjustment method, device, storage medium and electronic equipment
CN111614834A (en) * 2020-05-19 2020-09-01 Oppo广东移动通信有限公司 Electronic device control method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN102984352B (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
CN104394278B (en) Method, device and mobile terminal for regulating screen brightness
CN104700816B (en) Method and device for setting screen brightness
CN103581407B (en) The method and system of screen false triggering is prevented in a kind of communication process
US9252890B2 (en) Near field communication device and method for saving applied power
EP2296135A1 (en) Terminal device and method for lighting backlight of display thereof
CN107450801A (en) A kind of control method of screen display, device, storage medium and mobile terminal
CN105591440B (en) Mobile terminal charging control device and method
CN102833389A (en) Mobile terminal and energy conservation method therefor
CN105376903A (en) Method and device for adjusting brightness
CN113889056B (en) Brightness adjusting method and related device
CN105578184A (en) Key-frame animation generation apparatus and method
CN106559576A (en) A kind of screen adjustment method and mobile terminal
CN108110854A (en) Charging method, device and computer readable storage medium
CN111432068B (en) Display state control method and device, electronic equipment and storage medium
CN108696445A (en) Flow control methods, mobile terminal and computer readable storage medium
CN107463316A (en) The method of adjustment and device of screen intensity
CN106951053B (en) Backlight control method and electronic equipment
CN108346411A (en) A kind of back light brightness regulating method, device and terminal
CN108965509A (en) Electronic equipment, screen control method and Related product
CN106020908A (en) Function closing method and device
CN112438007B (en) Charging prompt method and related product
CN110851107A (en) Control method of electronic equipment and electronic equipment
EP2869161B1 (en) Information processing device and method of controlling same, and program
CA2948377C (en) Electronic device including battery and method of controlling same for charging the battery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085, 68, Qinghe street, Beijing, Haidian District, colorful city office building, 12 floor

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant