CN102984352B - 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
CN102984352B
CN102984352B CN201210434553.9A CN201210434553A CN102984352B CN 102984352 B CN102984352 B CN 102984352B CN 201210434553 A CN201210434553 A CN 201210434553A CN 102984352 B CN102984352 B CN 102984352B
Authority
CN
China
Prior art keywords
terminal
coordinate offset
screen
offset value
described terminal
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.)
Active
Application number
CN201210434553.9A
Other languages
Chinese (zh)
Other versions
CN102984352A (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
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
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

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 touch screen technology field, particularly relate to a kind of screen brightness regulation method of terminal, device and terminal.
Background technology
At present, along with the generally application of touch screen technology, the touch-screen equipment of various employing touch-screen also gets 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, user just keeps away when using touch-screen mobile phone and unavoidably expends the more problem of electricity.Such as, user is after use mobile phone sometimes, directly just mobile phone is placed on table or in bag, initiatively do not go to close screen intensity, in this case, mobile phone all just can cut out screen intensity after certain time of delay, the process of this time namely power consumption postponed.And do not close due to screen intensity, when placement, may produce some misoperations unintentionally, such as open an application, but user itself does not have discovery, this can produce the problem of power consumption equally.
In background technology, to save electricity when user adopts touch-screen mobile phone to converse, can adopt with the following method: when user uses touch-screen mobile phone to converse, in order to power saving, the screen intensity of period closedown touch-screen mobile phone of can answering the call user.Concrete, can be realized by distance-sensor.Distance-sensor is displacement transducer again, and it utilizes the physical change amount of various element testing object, by this variable quantity is scaled distance, in order to measure the machine of the distance displacement from transducer to object.Distance-sensor is general all in the both sides of earpiece or in earpiece groove, when user is when answering or call, user can by touch-screen mobile phone near head, distance-sensor can measure the distance between mobile phone and user, after this distance is less than threshold value, just control to extinguish screen background lamp; When making the distance between mobile phone and user be not less than threshold value after user's cell phone, just control point bright screen curtain background light.Wherein, the distance parameter of the distance-sensor in touch-screen mobile phone just sets when dispatching from the factory, and its distance detected is fixed value and can not revises.
But 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, mobile phone has a bit from ear unintentionally, distance-sensor in mobile phone judges to take away mobile phone, at this moment will control to turn on screen background lamp, just causes unnecessary electricity waste.In addition, in order to avoid electromagnetic radiation or other reason, what user may be artificial allow mobile phone leave brain one segment distance converses again, and this distance may exceed the fixed range that distance-sensor detects, and also can cause the phenomenon that screen background lamp is lighted.Now not only still waste the electricity of touch-screen mobile phone, user also can be made may to touch the on-hook key of touch-screen mobile phone and occur the phenomenon of by mistake on-hook.
In a word, background technology is when the screen intensity adjustment carrying out touch-screen mobile phone, due to the phenomenon that service range inductor inevitably causes screen background lamp to open by mistake, so just make the effect of background technology on the electricity saving touch-screen mobile phone obvious not, further, user also can be caused to miss the phenomenon of on-hook.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of screen brightness regulation method of touch-screen mobile phone is provided, using the electricity in touch-screen mobile phone process to save user further, the phenomenon of user's mistake on-hook that in prior art, user occurs when the screen background lamp of touch-screen mobile phone is opened by mistake can also solved simultaneously.
Another object of the embodiment of the present invention is applied in concrete applied environment above-mentioned design, provides a kind of screen intensity adjusting device and terminal, thus ensure realization and the application of the method.
For solving the problems of the technologies described above, embodiments provide a kind of screen luminance of terminal method of adjustment, the method comprises:
Obtain the current spatial location state of described terminal, described locus state comprises the initial coordinate values of described terminal;
When described terminal generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values;
When described coordinate offset value meets 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 meets regularization condition.
Preferably, described when described coordinate offset value meets regularization condition, adjust the screen intensity of described terminal, comprising:
If described coordinate offset value is greater than described coordinate offset threshold value, then judge the current operational order whether receiving user;
If not, then after delay first Preset Time, the screen intensity of described terminal is reduced;
If so, then the screen intensity controlling described terminal remains unchanged.
Preferably, after the screen intensity of the described terminal of described reduction, also comprise:
When judging obtain delay second Preset Time and do not receive the operational order of user, 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, then the screen intensity controlling described terminal remains unchanged.
Preferably, described initial coordinate values and coordinate offset value are all obtained by the acceleration sensor in terminal; Or described initial coordinate values is obtained by the range sensor in terminal, coordinate offset value is obtained by the acceleration sensor in terminal.
The embodiment of the present invention additionally provides a kind of screen intensity adjusting device of terminal, comprising:
Obtain locus block of state, for obtaining the current spatial location state of described terminal, described locus state comprises the initial coordinate values of described terminal;
Obtain coordinate offset value module, for when described terminal generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values;
Adjusting module, for when described coordinate offset value meets regularization condition, adjusts the screen intensity of described terminal.
Preferably, described adjusting module comprises:
First judges submodule, for the size of described coordinate offset value and coordinate offset threshold value being compared, judges whether described coordinate offset value meets regularization condition;
Adjustment submodule, for when described first judges the result of submodule for being, adjusts the screen intensity of described terminal.
Preferably, described adjustment submodule specifically comprises:
Second judges submodule, if be greater than described coordinate offset threshold value for described coordinate offset value, then judges the current operational order whether receiving user;
Reduce submodule, for when described second judges that the result of submodule is no, after delay first Preset Time, reduce the screen intensity of described terminal;
Control submodule, for when described second judges the result of submodule for being, the screen intensity controlling described terminal remains unchanged.
Preferably, described adjusting module also comprises:
Closing closed submodule, for when judging obtain delay second Preset Time and do not receive the operational order of user, closing the screen intensity of described terminal.
Preferably, described adjusting module also comprises:
Second controls submodule, and for when described coordinate offset amount is not more than described coordinate offset threshold value, the screen intensity controlling described terminal remains unchanged.
The embodiment of the present invention additionally provides a kind of terminal, comprises any one device as the aforementioned.
As can be seen from above-mentioned technical scheme, the embodiment of the present invention is by detecting the change of the locus state of described terminal, thus whether can meet regularization condition according to the coordinate offset amount of terminal screen intensity is controlled, even if the situation of like this occur that terminal takes unintentionally when conversing by user farther or other fixed values making distance be greater than to preset, also can not turn on screen background lamp because with reference to the coordinate offset amount of terminal by mistake, so not only play and save the electricity of user in use terminal procedures further, also user can not be caused the generation of on-hook phenomenon is missed because opening screen background lamp by mistake.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the required accompanying drawing used in embodiment or background technology description below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the screen brightness regulation method of a kind of terminal of the embodiment of the present invention 1;
Fig. 2 is X, Y of the touch-screen mobile phone of the embodiment of the present invention and the direction schematic diagram of Z axis;
Fig. 3 is the flow chart of step 103 in the inventive method embodiment 1;
Fig. 4 is the flow chart of the screen brightness regulation method of a kind of terminal of the embodiment of the present invention 2;
Fig. 5 is the structured flowchart of the screen intensity adjusting device of a kind of terminal of the embodiment of the present invention;
Fig. 6 is the structured flowchart of adjusting module 503 in apparatus of the present invention embodiment;
Fig. 7 is the structured flowchart adjusting submodule 602 in apparatus of the present invention embodiment;
Fig. 8 is the another kind of structured flowchart adjusting submodule 602 in apparatus of the present invention embodiment.
Embodiment
For realizing the goal of the invention of the embodiment of the present invention, embodiments provide screen luminance of terminal method of adjustment, when arbitrary application software is in the terminal opened, obtain the current spatial location state of described terminal, described locus state comprises the initial coordinate values of described terminal; When described terminal generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values; When described coordinate offset value meets regularization condition, adjust the screen intensity of described terminal.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, show the flow chart of the screen brightness regulation method of a kind of touch-screen equipment of the embodiment of the present invention 1, can comprise the following steps:
Step 101: the current spatial location state obtaining described terminal, described locus state comprises the initial coordinate values of described terminal.
In the embodiment of the present invention, terminal can the touch-screen equipment such as such as touch-screen mobile phone.For touch-screen mobile phone, can the arbitrary application software (such as: web browser) in touch-screen mobile phone when being opened, the acceleration induction device (Motion Sensor) arranged in this touch-screen mobile phone also starts to judge position offset when the skew of touch-screen mobile phone occurrence positions simultaneously, this acceleration induction device can read the current spatial location state of touch-screen mobile phone, and on record touch-screen mobile phone X/Y/Z axle at that time, each coordinate figure is as initial coordinate values.
It should be noted that, in embodiments of the present invention, can implement for arbitrary application software of arbitrary touch-screen mobile phone, such as, reading software in touch-screen mobile phone, or just implement for the operation system of software of touch-screen mobile phone itself.It will also be appreciated that, also can arrange the opportunity of the current spatial location state obtaining touch-screen mobile phone, a set time is such as set, every the length of this set time, all performs step 101 to realize the real-time adjustment to the screen intensity of touch-screen mobile phone.
Step 102: when described terminal generation spatial position change, obtains the coordinate offset value of the described terminal after change relative to described initial coordinate values.
When touch-screen mobile phone is relative to aforesaid initial coordinate values generation spatial position change, acceleration induction device obtains the coordinate figure of the terminal after change again, thus obtains the coordinate offset value of the terminal after changing relative to described initial coordinate values.
Step 103: when described coordinate offset value meets regularization condition, adjust the screen intensity of described terminal.
And when the coordinate offset value that step 102 gets meets regularization condition, then according to the screen intensity of its adjustment touch-screen mobile phone corresponding to regularization condition met.Concrete, by the size of described coordinate offset value and coordinate offset threshold value being compared, can judge whether described coordinate offset value meets regularization condition.Now, just needed before enforcement the technical program, the coordinate offset threshold value of each X/Y/Z coordinate figure of pre-set touch-screen mobile phone, such as, establish Δ X=1.5PX, Δ Y=1.5PX, and Δ Z=1.5PX.Wherein, shown in figure 2, be X, 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 phone, or for the different application software of touch-screen mobile phone, this coordinate offset threshold value can be set to different, more to meet its application scenarios.
In actual applications, shown in figure 3, be a kind of flow chart of described step 103, step 103 specifically can comprise:
Step 301: judge whether described coordinate offset value is greater than described coordinate offset threshold value, if so, then enters step 302, if not, then enters step 305.
Whether the coordinate offset value got in first determining step 302 is greater than coordinate offset threshold value, if coordinate offset value is greater than coordinate offset threshold value, a kind of possible situation is had to be, user opens a reader and carrys out reading electronic book, because now touch-screen mobile phone can be moved on to the eyes position more a little further from oneself by user, now, the coordinate offset value of touch-screen mobile phone may be caused to be greater than the result of coordinate offset threshold value.But above-mentioned situation is a kind of example, in actual applications, do not represent coordinate offset value and be greater than coordinate offset threshold value just certain scene browsing e-book corresponding to user, may be the application scenarioss such as user's browsing video yet, not limit in the embodiment of the present invention.
Step 302: judge the current operational order whether receiving user; If not, then enter step 303, if so, then enter step 305.
In the present embodiment, be greater than coordinate offset threshold value in the coordinate offset amount of touch-screen mobile phone, then judge now whether receive the operational order of user to touch-screen mobile phone.
Step 303: after delay first Preset Time, reduce the screen intensity of described terminal, enter step 304.
Lighting after screen has certain hour, if the coordinate offset amount of touch-screen mobile phone is greater than coordinate offset threshold value, when simultaneously user does not have an operating handset, then illustrate that user current foundation may not browse the page opened in touch-screen mobile phone, now can after delay first Preset Time, first reduce the screen intensity of touch-screen mobile phone, with reminding user.Whether the first Preset Time can independently be arranged, such as, within 2 seconds, reduce the brightness of display backlight lamp afterwards in delay, select to continue to browse to carry out reminding user by the change of brightness.
In this step, it should be noted that, if the coordinate offset amount of touch-screen mobile phone is greater than coordinate offset threshold value, and user operates touch-screen mobile phone in the first Preset Time, can continue the acceleration induction device triggered in touch-screen mobile phone again and perform step 101, be namely the current spatial location state obtaining described terminal.
Step 304: when judging obtain delay second Preset Time and do not receive the operational order of user, close the screen intensity of described terminal.
This step is optional step in actual applications, is namely to perform step 303 can select afterwards to perform step 304, also can select not perform step 304.In step 304, if 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.Such as, after the delay of second Preset Time of 1 second, the screen of touch-screen mobile phone will really be closed.In such situation, illustrate that user may current foundation not have reading the e-book opened for some time, now screen can be closed and save electricity, further, screen can lock by touch-screen mobile phone.
Step 305: the screen intensity controlling described terminal remains unchanged.
And when if coordinate offset amount is not more than coordinate offset threshold value, at this moment can think that user is also reading the e-book opened, now just can to continue maintenance illuminating state constant for screen, without the need to closing screen.
It should be noted that, in embodiments of the present invention, various default time parameter or coordinate parameters, can do various adjustment according to the difference of actual conditions or application scenarios.
In the present embodiment, by detecting the change of the locus state of described touch-screen mobile phone, thus whether can meet regularization condition according to the coordinate offset amount of touch-screen mobile phone screen intensity is controlled, such as, coordinate offset amount and coordinate offset threshold value are compared thus judges whether to need to adjust, even if the situation of like this occur that touch-screen mobile phone takes unintentionally when conversing by user farther or other fixed values making distance be greater than to preset, also can not turn on screen background lamp because with reference to the coordinate offset amount of touch-screen mobile phone by mistake, so not only play and save the electricity of user in use touch-screen mobile phone process further, also user can not be caused the generation of on-hook phenomenon is missed because opening screen background lamp by mistake.
See Fig. 4, show the flow chart of the screen brightness regulation method of a kind of touch-screen equipment of the embodiment of the present invention 2, can comprise the following steps:
Step 401: the minimum distance detecting described terminal and user.
The difference of the present embodiment and embodiment 1 is, the present embodiment also needs by the range sensor arranged in touch-screen mobile phone to detect the minimum distance of touch-screen mobile phone and user.Wherein, the initial coordinate values in the present embodiment and coordinate offset value can all be obtained by the acceleration transducer in terminal; Or described initial coordinate values is obtained by the range sensor in terminal, and coordinate offset value is obtained by the acceleration transducer in terminal.Be understandable that, also the arbitrary application software (such as: user connects phone) in touch-screen mobile phone this step can be performed when being opened, then the present embodiment can be applied to user and uses touch-screen mobile phone to carry out the application scenarios conversed, so now the minimum distance of service range inductor test touch-screen mobile phone and user, is namely the distance of touch-screen mobile phone from user's brain.Same, can also arrange opportunity the execution of this step, set-up mode can reference example 1.
Wherein, need to perform different operations according to the magnitude relationship between minimum distance and default distance reference value, such as, can step 402 be performed, or can step 403 be performed, or can step 407 be performed.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, three kinds of scenes that what these three kinds of situations described respectively is in practical application, although for convenience and by its serial number, this does not represent execution sequence.
Step 402: when described minimum distance equals default distance reference value and the screen intensity of described touch-screen mobile phone is closedown, obtain the current spatial location state of described terminal, 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, such as, be set to 5cm, but this value can become along with the change of application scenarios and actual demand.
After user uses touch-screen mobile phone to connect phone, such as distance-sensor detect touch-screen mobile phone be placed into the ear limit of user and the screen intensity of touch-screen mobile phone for closing time, now acceleration induction device starts the current spatial location state obtaining described terminal, is namely the initial coordinate values of each coordinate figure of touch-screen mobile phone X/Y/Z at that time as terminal using the current spatial location state got.
Step 403: when described minimum distance is greater than described default distance reference value, and when described terminal generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values.
Further, after have recorded initial coordinate values, if when the minimum distance B that distance-sensor is tested is greater than distance reference value A, illustrate that terminal there occurs spatial position change, read the coordinate figure of new X/Y/Z so again, calculate the coordinate offset value (Δ X, Δ Y and Δ Z) of the terminal after change relative to described initial coordinate values.
Step 404: judge 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, such as, be set as Δ X=5, Δ Y=5 and Δ Z=5.Be understandable that, different application scenarioss or actual demand different in, this coordinate offset threshold value still can change.
Step 405: the screen intensity opening described touch-screen mobile phone.
If when coordinate offset amount exceeds predetermined coordinate offset threshold value, possible user has finished call, then now can open the brightness of touch-screen mobile phone screen.
Be understandable that, after using the user of touch-screen mobile phone to disconnect call, distance-sensor and acceleration induction device also can quit work, and can save the electricity of touch-screen mobile phone on the one hand, can also save the system resource of touch-screen mobile phone on the other hand.
Step 406: maintain the screen intensity of closing described touch-screen mobile phone.
If coordinate offset amount is less than predetermined coordinate offset threshold value, in this case, then the state of the screen intensity of closing touch-screen mobile phone is maintained, without the need to lighting the screen of touch-screen mobile phone.
It should be noted that, after the screen intensity of mobile phone is closed, if when again detecting that minimum distance B is not more than distance reference value A after touch-screen mobile phone screen is lighted, can continue to perform step 401.
Step 407: when described minimum distance is less than default distance reference value, close the screen intensity of described touch-screen mobile phone.
When the minimum distance B detected is less than default distance reference value A, touch-screen mobile phone can be made to close screen to reach power saving object, and in this case, whether the initial coordinate values regardless of touch-screen mobile phone changes, and the screen of touch-screen mobile phone is all without the need to lighting.In addition, when the present embodiment be applied to user adopt hand-free function to converse time, as long as user is blocked in distance-sensor, at this moment also can think that minimum distance has been less than default distance reference value, now 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, acceleration induction device can continue the current spatial location state identifying touch-screen mobile phone, and identify that touch-screen mobile phone is the need of lighting screen by coordinate offset value, user that is to say when will operate touch-screen mobile phone, as long as the locus state picking up touch-screen mobile phone change touch-screen mobile phone just can light the screen of touch-screen mobile phone, without the need to going the switch switch pressing touch-screen mobile phone to realize lighting of screen.
In the present embodiment, not only can play and save the electricity of user in use touch-screen mobile phone process further, also user can not be caused the generation of on-hook phenomenon is missed because opening screen background lamp by mistake, and add the detection of distance-sensor for minimum distance, also can ensureing the accuracy of testing result, making user more accurate for the adjustment of screen intensity when using touch-screen mobile phone.
By the description of above embodiment of the method, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: read-only memory (ROM), random access memory (RAM), magnetic disc or CD etc. various can be program code stored medium.
Corresponding to embodiment of the method above, the embodiment of the present invention also provides a kind of screen intensity adjusting device of touch-screen mobile phone.See Fig. 5, show a kind of structural representation of screen intensity adjusting device embodiment of touch-screen mobile phone, can comprise:
Obtain locus block of state 501, for obtaining the current spatial location state of described terminal, described locus state comprises the initial coordinate values of described terminal.
Obtain coordinate offset value module 502, for when described terminal generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values.
Adjusting module 503, for when described coordinate offset value meets regularization condition, adjusts the screen intensity of described terminal.
In actual applications, shown in figure 6, Fig. 6 is the structured flowchart of described adjusting module 503, specifically can comprise:
First judges submodule 601, for the size of described coordinate offset value and coordinate offset threshold value being compared, judges whether described coordinate offset value meets regularization condition.
Adjustment submodule 602, for when described first judges the result of submodule for being, adjusts the screen intensity of described terminal.
In actual applications, shown in figure 7, Fig. 7 is the structured flowchart of described adjustment submodule 602, specifically comprises:
Second judges submodule 701, if be greater than described coordinate offset threshold value for described coordinate offset value, then judges the current operational order whether receiving user;
Reduce submodule 702, for when described second judges that the result of submodule is no, after delay first Preset Time, reduce the screen intensity of described terminal;
First controls submodule 703, and for when described second judges the result of submodule for being, the screen intensity controlling described terminal remains unchanged.
In various embodiments, shown in figure 8, Fig. 8 is the another kind of structured flowchart of adjustment submodule 602, and described adjusting module 602 can also comprise:
Closing closed submodule 801, for when judging obtain delay second Preset Time and do not receive the operational order of user, closing the screen intensity of described touch-screen mobile phone.
Or described adjusting module can also comprise:
Second controls submodule 802, and for when described coordinate offset amount is not more than described coordinate offset threshold value, the screen intensity 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 any one screen intensity adjusting device, wherein, this screen intensity adjusting device is the device shown in Fig. 5, can arrange on the processor of touch-screen mobile phone when this device is applied particularly to touch-screen mobile phone.
In the present invention in disclosed screen intensity adjusting device or touch-screen mobile phone, by detecting the change of the locus state of described touch-screen mobile phone, thus whether can meet regularization condition according to the coordinate offset amount of touch-screen mobile phone screen intensity is controlled, such as, coordinate offset amount and coordinate offset threshold value are compared thus judges whether to need to adjust, even if the situation of like this occur that touch-screen mobile phone takes unintentionally when conversing by user farther or other fixed values making distance be greater than to preset, also can not turn on screen background lamp because with reference to the coordinate offset amount of touch-screen mobile phone by mistake, so not only play and save the electricity of user in use touch-screen mobile phone process further, also user can not be caused the generation of on-hook phenomenon is missed because opening screen background lamp by mistake.
Be understandable that, the present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles 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. a screen luminance of terminal method of adjustment, is characterized in that, the method comprises:
When arbitrary application software is in the terminal opened, start the acceleration induction device be arranged in described terminal simultaneously, obtained the current spatial location state of described terminal by described acceleration induction device, described locus state comprises the initial coordinate values of described terminal;
When described terminal is relative to described initial coordinate values generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values by described acceleration induction device;
When described coordinate offset value meets 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 meets regularization condition.
3. method according to claim 2, is characterized in that, described when described coordinate offset value meets regularization condition, adjusts the screen intensity of described terminal, comprising:
If described coordinate offset value is greater than described coordinate offset threshold value, then judge the current operational order whether receiving user;
If not, then after delay first Preset Time, the screen intensity of described terminal is reduced;
If so, then the screen intensity 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 judging obtain delay second Preset Time and do not receive the operational order of user, 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, then the screen intensity controlling described terminal remains unchanged.
6. the method according to any one of Claims 1 to 5, is characterized in that, described initial coordinate values and coordinate offset value are all obtained by the acceleration sensor in terminal; Or described initial coordinate values is obtained by the range sensor in terminal, coordinate offset value is obtained by the acceleration sensor in terminal.
7. a screen intensity adjusting device for terminal, is characterized in that, comprising:
Obtain locus block of state, when being opened for arbitrary application software in the terminal, start the acceleration induction device be arranged in described terminal simultaneously, obtained the current spatial location state of described terminal by described acceleration induction device, described locus state comprises the initial coordinate values of described terminal;
Obtain coordinate offset value module, for when described terminal is relative to described initial coordinate values generation spatial position change, obtain the coordinate offset value of the described terminal after change relative to described initial coordinate values by described acceleration induction device;
Adjusting module, for when described coordinate offset value meets regularization condition, adjusts the screen intensity of described terminal.
8. device according to claim 7, is characterized in that, described adjusting module comprises:
First judges submodule, for the size of described coordinate offset value and coordinate offset threshold value being compared, judges whether described coordinate offset value meets regularization condition;
Adjustment submodule, for when described first judges the result of submodule for being, adjusts 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 greater than described coordinate offset threshold value for described coordinate offset value, then judges the current operational order whether receiving user;
Reduce submodule, for when described second judges that the result of submodule is no, after delay first Preset Time, reduce the screen intensity of described terminal;
Control submodule, for when described second judges the result of submodule for being, the screen intensity controlling described terminal remains unchanged.
10. device according to claim 9, is characterized in that, described adjusting module also comprises:
Closing closed submodule, for when judging obtain delay second Preset Time and do not receive the operational order of user, closing the screen intensity of described terminal.
11. devices according to claim 9, is characterized in that, described adjusting module also comprises:
Second controls submodule, and for when described coordinate offset amount is not more than described coordinate offset threshold value, the screen intensity controlling described terminal remains unchanged.
12. 1 kinds of terminals, is characterized in that, comprise the device as described in any one of 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 CN102984352A (en) 2013-03-20
CN102984352B true 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)

Families Citing this family (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
TWI509502B (en) * 2013-05-30 2015-11-21 Mcube Inc Mems-based proximity sensor device and method
CN103488274B (en) * 2013-09-30 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Power saving reminding method for unhandled events and intelligent terminal
CN103607758B (en) * 2013-11-06 2018-01-23 中兴通讯股份有限公司 Terminal screen power-saving processing method, device and terminal
CN103826016A (en) * 2014-02-18 2014-05-28 上海天奕达电子科技有限公司 Control method of terminal screen under call state and terminal
CN104076904B (en) * 2014-06-25 2017-08-29 可牛网络技术(北京)有限公司 Control the method and device of mobile terminal hardware state
CN105700277B (en) * 2014-11-26 2020-12-22 中兴通讯股份有限公司 Projection brightness adjusting method and device
CN104598143A (en) * 2015-01-12 2015-05-06 联想(北京)有限公司 Electronic equipment and wakeup method thereof
CN104639833B (en) * 2015-01-29 2018-05-15 深圳市金立通信设备有限公司 A kind of control method of camera device
CN106062679B (en) * 2015-02-15 2019-10-25 华为技术有限公司 A kind of method, apparatus and terminal controlling display screen
CN106445214B (en) * 2015-08-07 2021-06-29 中兴通讯股份有限公司 Method and device for controlling brightness of terminal key lamp
CN107924114B (en) * 2015-09-01 2021-03-30 索尼公司 Information processing apparatus, information processing method, and computer program
CN106527658A (en) * 2016-10-24 2017-03-22 北京金山安全软件有限公司 Mobile terminal control method and device and mobile terminal
CN107170414B (en) * 2017-06-08 2019-01-08 北京小米移动软件有限公司 The adjusting method and device of display backlight brightness
CN109272917B (en) * 2018-10-25 2021-09-28 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN111614834B (en) * 2020-05-19 2021-09-14 Oppo广东移动通信有限公司 Electronic device control method and device, electronic device and storage medium

Citations (3)

* 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201523407U (en) * 2009-10-12 2010-07-07 中兴通讯股份有限公司 Mobile terminal
CN101741983B (en) * 2009-12-10 2013-08-07 中兴通讯股份有限公司 Method and terminal for realizing proximity induction
CN101815132B (en) * 2009-12-10 2013-03-13 宇龙计算机通信科技(深圳)有限公司 Power saving control method and system for conversation process and mobile terminal
ES2530019T3 (en) * 2011-05-24 2015-02-25 Huawei Device Co., Ltd. Method and apparatus for reducing power consumption of mobile phone and mobile phone

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN102984352A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
CN103369142B (en) Method and system for avoiding call-up malfunction
CN108984091B (en) Screen capturing method and device, storage medium and electronic equipment
CN102833389B (en) Mobile terminal and energy conservation method therefor
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
CN110413315B (en) Application program control method and electronic equipment
CN103647875B (en) Method and apparatus for screen state controlling, and mobile terminal
CN101828381A (en) Camera of an electronic device used as a proximity detector
CN105376903A (en) Method and device for adjusting brightness
CN104580657A (en) A sensor user self-configuring method, and device and mobile terminal
CN108958679A (en) Mobile terminal display methods, device, mobile terminal and storage medium
CN202267942U (en) Mobile terminal
CN106060284A (en) Backlight control method and device, and mobile terminal
CN105630331A (en) Display method and display system
CN107196372A (en) Charging method and device
CN110426554A (en) Household loads electric characteristic extracting method, device and computer readable storage medium
CN102035939A (en) Mobile terminal and LCD (liquid crystal display) control method thereof
CN107959759A (en) Electronic equipment, display control method and related product
CN108696445A (en) Flow control methods, mobile terminal and computer readable storage medium
CN106559576A (en) A kind of screen adjustment method and mobile terminal
CN105744034A (en) Screen brightness output method and device
CN106385486B (en) A kind of control method of proximity sensor, device and mobile terminal
CN105094323A (en) Method and apparatus for setting night mode of terminal
CN110827785B (en) Brightness adjusting method and related product
CN106020908A (en) Function closing method and device

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