CN109885357A - Method of adjustment, wearable device and the readable storage medium storing program for executing of automatic extinguishing screen time - Google Patents
Method of adjustment, wearable device and the readable storage medium storing program for executing of automatic extinguishing screen time Download PDFInfo
- Publication number
- CN109885357A CN109885357A CN201910139243.6A CN201910139243A CN109885357A CN 109885357 A CN109885357 A CN 109885357A CN 201910139243 A CN201910139243 A CN 201910139243A CN 109885357 A CN109885357 A CN 109885357A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- interface
- automatic extinguishing
- screen time
- default
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012544 monitoring process Methods 0.000 claims abstract description 42
- 230000001105 regulatory effect Effects 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 13
- 230000003287 optical effect Effects 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000012795 verification Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 210000004209 hair Anatomy 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses the methods of adjustment of automatic extinguishing screen time a kind of, this method comprises: whether the current display interface of monitoring wearable device is login interface;When the current display interface for monitoring wearable device is login interface, the default automatic extinguishing screen time of the wearable device is obtained, and judge whether the default automatic extinguishing screen time is less than preset threshold.If the default automatic extinguishing screen time is less than preset threshold, the preset automatic extinguishing screen time is set by the default automatic extinguishing screen time of the wearable device.The invention also discloses a kind of wearable device and readable storage medium storing program for executing.The present invention can be improved the ease of use of wearable device.
Description
Technical field
The present invention relates to the technical field of wearable device more particularly to a kind of method of adjustment of automatic extinguishing screen time, wear
Wear formula equipment and readable storage medium storing program for executing.
Background technique
It is increasingly developed with wearable device technology, it is various can be used cooperatively with intelligent terminals such as mobile phones wearable set
It is standby, since its convenience and portability are good, increasingly favored by user.Wherein, smartwatch is then in wearable device
Typical Representative, smartwatch can not only be used cooperatively with intelligent terminals such as mobile phones, independent can also use, such as independent
Deadline display, information receive display, the kinematic parameter of acquisition user, physiological parameter, realize positioning and realize various logical
Words etc..
Current wearable device has automatic extinguishing screen function, i.e. user when not operating wearable device for a period of time,
Wearable device can be with automatic extinguishing screen, however, there are when the arrival of automatic extinguishing screen time, user is also during actual use
The case where continuing to use wearable device is needed, such as needs identifying code in login account, after clicking transmission identifying code,
Wearable device receives identifying code not yet when the automatic extinguishing screen time reaches, in such cases, wearable device automatic extinguishing screen,
It is subsequent that user is needed to light wearable device manually, put out screen after light again screen operation be it is extra, be not easy to user use
Wearable device.
Therefore, how to improve the ease of use of wearable device is current urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide the method for adjustment of automatic extinguishing screen time a kind of, wearable device and readable deposit
Storage media, it is intended to improve the ease of use of wearable device.
To achieve the above object, the present invention provides the method for adjustment of automatic extinguishing screen time a kind of, the automatic extinguishing screen time
Method of adjustment the following steps are included:
Whether the current display interface for monitoring wearable device is login interface;
When the current display interface for monitoring wearable device is login interface, the default of the wearable device is obtained
The automatic extinguishing screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold;
If the default automatic extinguishing screen time is less than preset threshold, when by the default automatic extinguishing screen of the wearable device
Between be set as the preset automatic extinguishing screen time.
Optionally, current display interface the step of whether being login interface of the monitoring wearable device, includes:
The first interface identification symbol of the current display interface of wearable device is obtained, and obtains from the first preset function the
Second interface identifier;
Judge whether the first interface identification symbol is identical as the second contact surface identifier;
If the first interface identification symbol is identical as the second contact surface identifier, it is determined that the current of wearable device shows
Show that interface is login interface;
If first interface identification symbol is not identical as the second contact surface identifier, it is determined that wearable device it is current
Display interface is not login interface.
Optionally, when obtaining the default automatic extinguishing screen time of the wearable device, and judging the default automatic extinguishing screen
Between whether be less than preset threshold the step of before, further includes:
When the current display interface for monitoring wearable device is login interface, the first interface identification symbol is determined
Type label, and judge whether the type label is default label;
If the type label is default label, thens follow the steps: obtaining the default automatic extinguishing screen of the wearable device
Time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Optionally, when obtaining the default automatic extinguishing screen time of the wearable device, and judging the default automatic extinguishing screen
Between whether be less than preset threshold the step of before, further includes:
When the current display interface for monitoring wearable device is login interface, screenshotss operation is executed, obtains logging in boundary
Face screenshot;
Text information is obtained from the login interface screenshot, and whether is judged in the text information comprising default key
Word;
If including preset keyword in the text information, then follow the steps: obtaining the default of the wearable device certainly
It is dynamic to put out the screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Optionally, the default automatic extinguishing screen time of the wearable device is set to the step of preset automatic extinguishing screen time
After rapid, further includes:
Whether the current display interface for monitoring the wearable device by login interface is switched to remaining interface;
If monitoring, the current display interface of the wearable device is switched to remaining interface by login interface, will be described
The current automatic extinguishing screen time of wearable device is set as the default automatic extinguishing screen time.
Optionally, whether the current display interface for monitoring the wearable device by login interface is switched to remaining interface
Step includes:
The third interface identification symbol of the current display interface of the wearable device is obtained, and is obtained from the second preset function
The 4th interface identification is taken to accord with;
Judge whether the third interface identification symbol is accorded with the 4th interface identification identical;
If the third interface identification symbol is identical as the 4th interface identification symbol, it is determined that the wearable device is worked as
Preceding display interface is switched to remaining interface by login interface.
Optionally, the default automatic extinguishing screen time of the wearable device is set to the step of preset automatic extinguishing screen time
After rapid, further includes:
The light intensity value of the collected wearable device local environment of optical inductor is obtained, and obtains the wearing
The screen brightness value of formula equipment;
According to the light intensity value and the screen brightness value, judge whether to trigger screen intensity regulating command;
The wearable device is adjusted according to the screen intensity regulating command if triggering screen intensity regulating command
Screen brightness value.
Optionally, according to the light intensity value and the screen brightness value, judge whether that triggering screen intensity adjusting refers to
The step of enabling include:
According to the light intensity value, determine target screen brightness value, and judge the target screen brightness value whether with
The screen brightness value is identical;
If the target screen brightness value is different from the screen brightness value, triggering includes the target screen brightness value
Screen intensity regulating command;
If the target screen brightness value is identical as the screen brightness value, screen intensity regulating command is not triggered.
In addition, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes: to deposit
Reservoir, processor and the adjustment journey of automatic extinguishing screen time that is stored on the memory and can run on the processor
The adjustment programme of sequence, the automatic extinguishing screen time realizes the tune of automatic extinguishing screen time as described above when being executed by the processor
The step of adjusting method.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
The adjustment programme of automatic extinguishing screen time is contained, the adjustment programme of the automatic extinguishing screen time realizes institute as above when being executed by processor
The step of method of adjustment for the automatic extinguishing screen time stated.
The invention proposes method of adjustment, wearable device and the readable storage medium storing program for executing of a kind of automatic extinguishing screen time, this hairs
Whether the current display interface of bright monitoring wearable device is login interface, when the current display interface for monitoring wearable device
When for login interface, the default automatic extinguishing screen time of wearable device is obtained, and judge whether the default automatic extinguishing screen time is small
In preset threshold, if the default automatic extinguishing screen time is less than preset threshold, set pre- for the default automatic extinguishing screen time
If the automatic extinguishing screen time, user logs in wearable device in application, by judging the default automatic extinguishing screen of wearable device
Whether the time is less than setting value to determine whether to adjust the automatic extinguishing screen time, is only less than setting value in the default automatic extinguishing screen time
When, the default automatic extinguishing screen time it will be set as the preset automatic extinguishing screen time, i.e. the increase automatic extinguishing screen time, so that user can be with
When wearable device is in bright screen state, the login of application is completed, does not need to light screen again in wearable device automatic extinguishing screen
Curtain greatly improves the ease of use of wearable device.
Detailed description of the invention
Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the method for adjustment first embodiment of automatic extinguishing screen time of the present invention;
Fig. 3 is the schematic diagram that wearable device shows login interface in first embodiment of the invention;
Fig. 4 is another schematic diagram that wearable device shows login interface in first embodiment of the invention;
Fig. 5 is the flow diagram of the method for adjustment second embodiment of automatic extinguishing screen time of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Wearable device of the embodiment of the present invention can be smartwatch and Intelligent bracelet.
As shown in Figure 1, the wearable device may include: processor 1001, such as CPU, communication bus 1002, Yong Hujie
Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user
Interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include having for standard
Line interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable storage
Device (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processing
The storage device of device 1001.
It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable device
Restriction, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication in a kind of memory 109 of readable storage medium storing program for executing
The adjustment programme of module, Subscriber Interface Module SIM and automatic extinguishing screen time, processor 110 can be used for calling in memory 109
The adjustment programme of the automatic extinguishing screen time of storage, and execute following steps:
Whether the current display interface for monitoring wearable device is login interface;
When the current display interface for monitoring wearable device is login interface, the default of the wearable device is obtained
The automatic extinguishing screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold;
If the default automatic extinguishing screen time is less than preset threshold, when by the default automatic extinguishing screen of the wearable device
Between be set as the preset automatic extinguishing screen time.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
The first interface identification symbol of the current display interface of wearable device is obtained, and obtains from the first preset function the
Second interface identifier;
Judge whether the first interface identification symbol is identical as the second contact surface identifier;
If the first interface identification symbol is identical as the second contact surface identifier, it is determined that the current of wearable device shows
Show that interface is login interface;
If first interface identification symbol is not identical as the second contact surface identifier, it is determined that wearable device it is current
Display interface is not login interface.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
When the current display interface for monitoring wearable device is login interface, the first interface identification symbol is determined
Type label, and judge whether the type label is default label;
If the type label is default label, thens follow the steps: obtaining the default automatic extinguishing screen of the wearable device
Time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
When the current display interface for monitoring wearable device is login interface, screenshotss operation is executed, obtains logging in boundary
Face screenshot;
Text information is obtained from the login interface screenshot, and whether is judged in the text information comprising default key
Word;
If including preset keyword in the text information, then follow the steps: obtaining the default of the wearable device certainly
It is dynamic to put out the screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
Whether the current display interface for monitoring the wearable device by login interface is switched to remaining interface;
If monitoring, the current display interface of the wearable device is switched to remaining interface by login interface, will be described
The current automatic extinguishing screen time of wearable device is set as the default automatic extinguishing screen time.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
The third interface identification symbol of the current display interface of the wearable device is obtained, and is obtained from the second preset function
The 4th interface identification is taken to accord with;
Judge whether the third interface identification symbol is accorded with the 4th interface identification identical;
If the third interface identification symbol is identical as the 4th interface identification symbol, it is determined that the wearable device is worked as
Preceding display interface is switched to remaining interface by login interface.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
The light intensity value of the collected wearable device local environment of optical inductor is obtained, and obtains the wearing
The screen brightness value of formula equipment;
According to the light intensity value and the screen brightness value, judge whether to trigger screen intensity regulating command;
The wearable device is adjusted according to the screen intensity regulating command if triggering screen intensity regulating command
Screen brightness value.
Further, processor 110 can be used for calling the adjustment journey of the automatic extinguishing screen time stored in memory 109
Sequence, also execution following steps:
According to the light intensity value, determine target screen brightness value, and judge the target screen brightness value whether with
The screen brightness value is identical;
If the target screen brightness value is different from the screen brightness value, triggering includes the target screen brightness value
Screen intensity regulating command;
If the target screen brightness value is identical as the screen brightness value, screen intensity regulating command is not triggered.
Wherein, each implementation of the method for adjustment of the specific embodiment of wearable device of the present invention and following automatic extinguishing screen times
Example is essentially identical, and therefore not to repeat here.
The present invention provides the method for adjustment of automatic extinguishing screen time a kind of.
Referring to Fig. 2, the flow diagram of the method for adjustment first embodiment of Fig. 2 automatic extinguishing screen time of the present invention.
In the present embodiment, the method for adjustment of the automatic extinguishing screen time includes:
Step S101, whether the current display interface for monitoring wearable device is login interface;
In the present embodiment, the method for adjustment of the automatic extinguishing screen time is applied to wearable device, and the wearable device is optional
For wearable device shown in FIG. 1, which includes but is not limited to smartwatch and Intelligent bracelet.At wearable device
When Yu Liangping state, whether the current display interface for monitoring wearable device is login interface.Specifically, wearable device is obtained
Current display interface the first interface identification symbol, and from the first preset function obtain second contact surface identifier, then judge
Whether the first interface identification symbol is identical as second contact surface identifier, if the first interface identification symbol and second contact surface identifier phase
Together, it is determined that the current display interface of wearable device is login interface, if the first interface identification symbol is identified with second contact surface
It accords with not identical, it is determined that the current display interface of wearable device is not login interface.Wherein, interface identification symbol is Activity
Title, the first preset function be frame Activity class in noteActivityResume, i.e.,
The Activity of title (the second contact surface identifier) and current display interface of Activity in noteActivityResume
Title (the first interface identification symbol) it is identical when, mean that current display interface be login interface.
Step S102 is obtained described wearable when the current display interface for monitoring wearable device is login interface
The default automatic extinguishing screen time of equipment, and judge whether the default automatic extinguishing screen time is less than preset threshold;
In the present embodiment, when the current display interface for monitoring wearable device is login interface, it is wearable to obtain this
The default automatic extinguishing screen time of equipment, and judge whether the default automatic extinguishing screen time is less than preset threshold.It should be noted that
The default automatic extinguishing screen time can be provided with multiple default automatic extinguishings by the user setting of wearable device in wearable device
Shield the time, user is configured optional one of default automatic extinguishing screen time, which can be by art technology
Personnel are configured based on actual conditions, and the present embodiment is not especially limited this.Wherein, if the default automatic extinguishing screen time
Less than preset threshold, then it represents that the default automatic extinguishing screen time is unsatisfactory for the demand of current display interface, that is, needs to extend default
The automatic extinguishing screen time, and if the default automatic extinguishing screen time be greater than preset threshold, then it represents that the default automatic extinguishing screen time is full
The demand of sufficient current display interface does not need to extend the default automatic extinguishing screen time.The current display interface of wearable device is
As shown in figure 3, the login interface is shown, user name input frame, Password Input frame, forget Password the schematic diagram of login interface control
Part and login control.
Further, under actual conditions, only when login interface needs to input short message verification code, just there is wearable device
The automatic extinguishing screen time reach when, and receive not yet short message verification code (usually caused by network delay) wearable device from
It is dynamic to put out screen, it is subsequent that user is needed to light wearable device manually, then the problem of input short message verification code, for this purpose, further
The frequent adjustment for reducing the automatic extinguishing screen time, when the current display interface for monitoring wearable device is login interface, into one
Step ground judges whether the login interface is the interface comprising needing to input short message verification code, if the login interface is comprising needing
The interface of short message verification code is inputted, then whether the default automatic extinguishing screen time for just needing further to judge wearable device is less than
Preset threshold.Login interface is comprising needing to input the interface of short message verification code as shown in figure 4, the login interface shows mobile phone
Number input box, identifying code input frame, identifying code send control and log in control.
Specially when the current display interface for monitoring wearable device is login interface, first interface identification is determined
The type label of symbol, and judge whether the type label is default label, if the type label executes step to preset label
Rapid S102, that is, obtain the default automatic extinguishing screen time of the wearable device, and judges whether the default automatic extinguishing screen time is less than
Preset threshold.Wherein, the type label includes corresponding first label of common login interface and comprising needing to input short-message verification
Corresponding second label of login interface of code, and default label is second label, i.e., the type mark accorded in the first interface identification
When label are the second label, it can determine that the login interface is the interface comprising needing to input short message verification code.
Step S103, if the default automatic extinguishing screen time is less than preset threshold, by the default of the wearable device
The automatic extinguishing screen time is set as the preset automatic extinguishing screen time.
In the present embodiment, if the default automatic extinguishing screen time be less than preset threshold, wearable device by the default from
It is dynamic to put out the screen time and be set as the preset automatic extinguishing screen time, and when the preset automatic extinguishing screen time is greater than the default automatic extinguishing screen
Between, if the default automatic extinguishing screen time is greater than or equal to preset threshold, do not deal with.It should be noted that above-mentioned default
The automatic extinguishing screen time can be configured based on actual conditions, the present embodiment is not especially limited this.
Further, during actual use, due to extending the automatic extinguishing screen time, there are current display interfaces
When being switched to remaining interface by login interface, wearable device needed after the longer bright screen time, just meeting automatic extinguishing screen,
It needs to expend more electricity, will affect the duration performance of wearable device, for this purpose, monitoring the current display of the wearable device
Whether interface by login interface is switched to remaining interface, if monitoring the current display interface of wearable device by login interface
It is switched to remaining interface, then sets the default automatic extinguishing screen time for the current automatic extinguishing screen time of the wearable device.Tool
Body, the third interface identification symbol of the current display interface of wearable device is obtained, and the 4th is obtained from the second preset function
Then interface identification symbol judges whether third interface identification symbol is accorded with the 4th interface identification identical, if third interface identification
Tetra- interface identification of Fu Yu symbol is identical, it is determined that the current display interface of wearable device is switched to remaining boundary by login interface
Face.Wherein, which is the noteActivityPause in frame Activity class, should
Entitled 4th interface identification of Activity in noteActivityPause accords with, the Activity's of current display interface
Entitled third interface identification symbol.
In the present embodiment, whether the current display interface that the present invention monitors wearable device is login interface, when monitoring
When the current display interface of wearable device is login interface, the default automatic extinguishing screen time of wearable device is obtained, and judge
Whether the default automatic extinguishing screen time is less than preset threshold, should if the default automatic extinguishing screen time is less than preset threshold
The default automatic extinguishing screen time is set as the preset automatic extinguishing screen time, and user logs in wearable device in application, passing through judgement
Whether the default automatic extinguishing screen time of wearable device is less than setting value to determine whether to adjust the automatic extinguishing screen time, is only defaulting
When the automatic extinguishing screen time is less than setting value, the default automatic extinguishing screen time is set as the preset automatic extinguishing screen time, that is, is increased certainly
It is dynamic to put out the screen time, allow user when wearable device is in bright screen state, completes the login of application, do not need dressing
Formula equipment automatic extinguishing screen lights screen again, greatly improves the ease of use of wearable device.
Further, referring to Fig. 5, it is based on above-mentioned first embodiment, proposes the adjustment side of automatic extinguishing screen time of the present invention
Method second embodiment, the difference with previous embodiment are, after step S101, further includes:
Step S104 executes screenshotss operation, obtains when the current display interface for monitoring wearable device is login interface
To login interface screenshot;
Step S105 obtains text information from the login interface screenshot, and judges whether wrap in the text information
Containing preset keyword;
If including preset keyword in the text information, S102 is thened follow the steps, obtains the silent of the wearable device
Recognize the automatic extinguishing screen time, and judges whether the default automatic extinguishing screen time is less than preset threshold.
Under actual conditions, only when login interface needs to input short message verification code, just there is the automatic extinguishing of wearable device
When shielding time arrival, and short message verification code (usually caused by network delay) wearable device automatic extinguishing screen is received not yet,
It is subsequent that user is needed to light wearable device manually, then the problem of input short message verification code, for this purpose, reduction further is automatic
The frequent adjustment for putting out the screen time in the present embodiment, when the current display interface for monitoring wearable device is login interface, is held
The operation of row screenshotss, obtains login interface screenshot, then obtains text information from the login interface screenshot, and judges that the text is believed
Whether include preset keyword in breath, if including preset keyword in this document information, can determine that the login interface is
Interface comprising needing to input short message verification code.Wherein, the specific acquisition modes of text information are to pass through OCR (Optical
Character Recognition, optical character identification) algorithm, pair the text information that the login interface screenshot includes is obtained, i.e.,
The processing such as login interface screenshot denoised, binaryzation, Slant Rectify, Character segmentation and identification, obtain in login interface screenshot
Text information.
In the present embodiment, the present invention is by further judging whether login interface is comprising needing to input short message verification code
Interface, can further reduction the automatic extinguishing screen time frequent adjustment.
Further, above-mentioned first or second embodiments are based on, the method for adjustment of automatic extinguishing screen time of the present invention is proposed
3rd embodiment, the difference with previous embodiment is, is setting pre- for the default automatic extinguishing screen time of wearable device
If the automatic extinguishing screen time the step of after, obtain the collected wearable device local environment of optical inductor light intensity
Value, and the screen brightness value of the wearable device is obtained, then according to the light intensity value and screen brightness value, judge whether to touch
Screen intensity regulating command is sent out, if triggering screen intensity regulating command adjusts wearing according to the screen intensity regulating command
The screen brightness value of formula equipment.
Wherein, judge whether that the concrete mode for triggering screen intensity regulating command is to determine mesh according to the light intensity value
Marking screen brightness value, (mapping table of light intensity value and screen brightness value that inquiry prestores corresponds to the light intensity value
Screen brightness value, be determined as target screen brightness value), and judge the target screen brightness value whether with the screen brightness value phase
Together, if the target screen brightness value is different from the screen brightness value, screen of the triggering comprising the target screen brightness value is bright
It spends regulating command and does not trigger screen intensity regulating command if the target screen brightness value is different from the screen brightness value.
In the present embodiment, the present invention can be based on the pass line intensity value of wearable device local environment, adaptive adjustment
The screen brightness value of wearable device does not need user and manually adjusts screen intensity, improves the ease of use of wearable device.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, it is stored on the readable storage medium storing program for executing automatic
The adjustment programme of screen time is put out, the adjustment programme of the automatic extinguishing screen time performs the steps of when being executed by processor
Whether the current display interface for monitoring wearable device is login interface;
When the current display interface for monitoring wearable device is login interface, the default of the wearable device is obtained
The automatic extinguishing screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold;
If the default automatic extinguishing screen time is less than preset threshold, when by the default automatic extinguishing screen of the wearable device
Between be set as the preset automatic extinguishing screen time.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
The first interface identification symbol of the current display interface of wearable device is obtained, and obtains from the first preset function the
Second interface identifier;
Judge whether the first interface identification symbol is identical as the second contact surface identifier;
If the first interface identification symbol is identical as the second contact surface identifier, it is determined that the current of wearable device shows
Show that interface is login interface;
If first interface identification symbol is not identical as the second contact surface identifier, it is determined that wearable device it is current
Display interface is not login interface.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
When the current display interface for monitoring wearable device is login interface, the first interface identification symbol is determined
Type label, and judge whether the type label is default label;
If the type label is default label, thens follow the steps: obtaining the default automatic extinguishing screen of the wearable device
Time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
When the current display interface for monitoring wearable device is login interface, screenshotss operation is executed, obtains logging in boundary
Face screenshot;
Text information is obtained from the login interface screenshot, and whether is judged in the text information comprising default key
Word;
If including preset keyword in the text information, then follow the steps: obtaining the default of the wearable device certainly
It is dynamic to put out the screen time, and judge whether the default automatic extinguishing screen time is less than preset threshold.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
Whether the current display interface for monitoring the wearable device by login interface is switched to remaining interface;
If monitoring, the current display interface of the wearable device is switched to remaining interface by login interface, will be described
The current automatic extinguishing screen time of wearable device is set as the default automatic extinguishing screen time.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
The third interface identification symbol of the current display interface of the wearable device is obtained, and is obtained from the second preset function
The 4th interface identification is taken to accord with;
Judge whether the third interface identification symbol is accorded with the 4th interface identification identical;
If the third interface identification symbol is identical as the 4th interface identification symbol, it is determined that the wearable device is worked as
Preceding display interface is switched to remaining interface by login interface.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
The light intensity value of the collected wearable device local environment of optical inductor is obtained, and obtains the wearing
The screen brightness value of formula equipment;
According to the light intensity value and the screen brightness value, judge whether to trigger screen intensity regulating command;
The wearable device is adjusted according to the screen intensity regulating command if triggering screen intensity regulating command
Screen brightness value.
Further, it is also performed the steps of when the adjustment programme of the automatic extinguishing screen time is executed by processor
According to the light intensity value, determine target screen brightness value, and judge the target screen brightness value whether with
The screen brightness value is identical;
If the target screen brightness value is different from the screen brightness value, triggering includes the target screen brightness value
Screen intensity regulating command;
If the target screen brightness value is identical as the screen brightness value, screen intensity regulating command is not triggered.
Wherein, each reality of the method for adjustment of the specific embodiment of readable storage medium storing program for executing of the present invention and above-mentioned automatic extinguishing screen time
It is essentially identical to apply example, therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of method of adjustment of automatic extinguishing screen time, which is characterized in that the method for adjustment of the automatic extinguishing screen time include with
Lower step:
Whether the current display interface for monitoring wearable device is login interface;
When the current display interface for monitoring wearable device is login interface, the default for obtaining the wearable device is automatic
The screen time is put out, and judges whether the default automatic extinguishing screen time is less than preset threshold;
If the default automatic extinguishing screen time is less than preset threshold, the default automatic extinguishing screen time of the wearable device is set
It is set to the preset automatic extinguishing screen time.
2. the method for adjustment of automatic extinguishing screen time as described in claim 1, which is characterized in that the monitoring wearable device
The step of whether current display interface is login interface include:
The first interface identification symbol of the current display interface of wearable device is obtained, and obtains the second boundary from the first preset function
Face identifier;
Judge whether the first interface identification symbol is identical as the second contact surface identifier;
If the first interface identification symbol is identical as the second contact surface identifier, it is determined that current display circle of wearable device
Face is login interface;
If the first interface identification symbol is not identical as the second contact surface identifier, it is determined that the current display of wearable device
Interface is not login interface.
3. the method for adjustment of automatic extinguishing screen time as claimed in claim 2, which is characterized in that obtain the wearable device
Default the automatic extinguishing screen time, and before judging the step of whether the default automatic extinguishing screen time is less than preset threshold, further includes:
When the current display interface for monitoring wearable device is login interface, the type of the first interface identification symbol is determined
Label, and judge whether the type label is default label;
If the type label is default label, thens follow the steps: obtaining the default automatic extinguishing screen time of the wearable device,
And judge whether the default automatic extinguishing screen time is less than preset threshold.
4. the method for adjustment of automatic extinguishing screen time as described in claim 1, which is characterized in that obtain the wearable device
Default the automatic extinguishing screen time, and before judging the step of whether the default automatic extinguishing screen time is less than preset threshold, further includes:
When the current display interface for monitoring wearable device is login interface, screenshotss operation is executed, login interface is obtained and cuts
Figure;
Text information is obtained from the login interface screenshot, and whether is judged in the text information comprising preset keyword;
If including preset keyword in the text information, thens follow the steps: obtaining the default automatic extinguishing of the wearable device
Shield the time, and judges whether the default automatic extinguishing screen time is less than preset threshold.
5. such as the method for adjustment of automatic extinguishing screen time of any of claims 1-4, which is characterized in that by the wearing
After the step of default automatic extinguishing screen time of formula equipment is set as the preset automatic extinguishing screen time, further includes:
Whether the current display interface for monitoring the wearable device by login interface is switched to remaining interface;
If monitoring, the current display interface of the wearable device is switched to remaining interface by login interface, by the wearing
The current automatic extinguishing screen time of formula equipment is set as the default automatic extinguishing screen time.
6. the method for adjustment of automatic extinguishing screen time as claimed in claim 5, which is characterized in that monitor the wearable device
The step of whether current display interface is switched to remaining interface by login interface include:
The third interface identification symbol of the current display interface of the wearable device is obtained, and obtains from the second preset function the
Four interface identifications symbol;
Judge whether the third interface identification symbol is accorded with the 4th interface identification identical;
If the third interface identification symbol is identical as the 4th interface identification symbol, it is determined that the current of the wearable device shows
Show that interface is switched to remaining interface by login interface.
7. such as the method for adjustment of automatic extinguishing screen time of any of claims 1-4, which is characterized in that by the wearing
After the step of default automatic extinguishing screen time of formula equipment is set as the preset automatic extinguishing screen time, further includes:
The light intensity value of the collected wearable device local environment of optical inductor is obtained, and obtains described wearable set
Standby screen brightness value;
According to the light intensity value and the screen brightness value, judge whether to trigger screen intensity regulating command;
The screen of the wearable device is adjusted according to the screen intensity regulating command if triggering screen intensity regulating command
Curtain brightness value.
8. the method for adjustment of automatic extinguishing screen time as claimed in claim 7, which is characterized in that according to the light intensity value and
The screen brightness value judges whether that the step of triggering screen intensity regulating command includes:
According to the light intensity value, determine target screen brightness value, and judge the target screen brightness value whether with it is described
Screen brightness value is identical;
If the target screen brightness value is different from the screen brightness value, triggering includes the screen of the target screen brightness value
Curtain brightness regulation instruction;
If the target screen brightness value is identical as the screen brightness value, screen intensity regulating command is not triggered.
9. a kind of wearable device, which is characterized in that the wearable device includes: memory, processor and is stored in described
On memory and the adjustment programme of automatic extinguishing screen time that can run on the processor, the adjustment of the automatic extinguishing screen time
The method of adjustment such as the automatic extinguishing screen time described in any item of the claim 1 to 8 is realized when program is executed by the processor
The step of.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with the adjustment of automatic extinguishing screen time on the readable storage medium storing program for executing
It realizes when the adjustment programme of program, the automatic extinguishing screen time is executed by processor as described in any item of the claim 1 to 8
The step of method of adjustment of automatic extinguishing screen time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910139243.6A CN109885357B (en) | 2019-02-25 | 2019-02-25 | Adjustment method for automatic screen-off time, wearable device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910139243.6A CN109885357B (en) | 2019-02-25 | 2019-02-25 | Adjustment method for automatic screen-off time, wearable device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109885357A true CN109885357A (en) | 2019-06-14 |
CN109885357B CN109885357B (en) | 2024-01-09 |
Family
ID=66929305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910139243.6A Active CN109885357B (en) | 2019-02-25 | 2019-02-25 | Adjustment method for automatic screen-off time, wearable device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885357B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140157390A1 (en) * | 2009-08-25 | 2014-06-05 | Keeper Security, Inc. | Method for facilitating quick logins from a mobile device |
CN104182124A (en) * | 2014-08-25 | 2014-12-03 | 广东欧珀移动通信有限公司 | Operating method and device of mobile terminal |
WO2015005948A1 (en) * | 2013-07-07 | 2015-01-15 | Schoeffler Steven B | Identity authentication and verification |
CN108513010A (en) * | 2018-03-30 | 2018-09-07 | 努比亚技术有限公司 | Terminal unlock method, terminal and computer readable storage medium |
CN109117071A (en) * | 2018-07-16 | 2019-01-01 | 华为技术有限公司 | A kind of control method for screen display and device |
CN109145231A (en) * | 2017-06-27 | 2019-01-04 | 阿里巴巴集团控股有限公司 | A kind of generation method, device and the electronic equipment of interface element identifier |
-
2019
- 2019-02-25 CN CN201910139243.6A patent/CN109885357B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140157390A1 (en) * | 2009-08-25 | 2014-06-05 | Keeper Security, Inc. | Method for facilitating quick logins from a mobile device |
WO2015005948A1 (en) * | 2013-07-07 | 2015-01-15 | Schoeffler Steven B | Identity authentication and verification |
CN104182124A (en) * | 2014-08-25 | 2014-12-03 | 广东欧珀移动通信有限公司 | Operating method and device of mobile terminal |
CN109145231A (en) * | 2017-06-27 | 2019-01-04 | 阿里巴巴集团控股有限公司 | A kind of generation method, device and the electronic equipment of interface element identifier |
CN108513010A (en) * | 2018-03-30 | 2018-09-07 | 努比亚技术有限公司 | Terminal unlock method, terminal and computer readable storage medium |
CN109117071A (en) * | 2018-07-16 | 2019-01-01 | 华为技术有限公司 | A kind of control method for screen display and device |
Non-Patent Citations (2)
Title |
---|
MERIEM GUERAR等: "Using Screen Brightness to Improve Security in Mobile Social Network Access", 《IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING》, vol. 15, no. 4 * |
赵海龙;张旭;: "基于Android开发校园信息共享系统的研究与实现", 电脑知识与技术, no. 24 * |
Also Published As
Publication number | Publication date |
---|---|
CN109885357B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532823B (en) | Internet of things information processing method, apparatus and system | |
US20190114202A1 (en) | Task scheduling method and apparatus of artificial intelligence heterogeneous hardware, device and readable medium | |
CN105045463B (en) | A kind of message display control method and device | |
CN103189843B (en) | For the method and apparatus managing software application | |
CN103744659A (en) | Method and device for card type management of application entries | |
CN106445292B (en) | Method and system for managing application programs in different body modes | |
CN103140831A (en) | System and method of executing threads at a processor | |
CN102789317A (en) | Method and device for accelerating text input | |
CN105335146B (en) | The method and portable electronic device of management software data traffic | |
CN107908443A (en) | A kind of action listener method, smart machine and storage medium | |
CN104933520A (en) | Processing method of examination and approval items | |
CN104038632A (en) | Method and device for managing intelligent terminal | |
CN113091244B (en) | Control method and device for household appliance and equipment | |
WO2015196915A1 (en) | Information communication methods, systems and terminals | |
CN110347494A (en) | Context information management method, apparatus, system and computer readable storage medium | |
CN103412885A (en) | Contact person photo setting method and device | |
CN105262890B (en) | The information update control system and method for portable electronic device application program | |
CN108121435A (en) | Electricity saving of mobile terminal operation method, device and computer readable storage medium | |
CN107222618A (en) | Terminal screenshotss method and device | |
CN105447384B (en) | A kind of anti-method monitored, system and mobile terminal | |
WO2019029721A1 (en) | Task scheduling method, apparatus and device, and storage medium | |
CN109885357A (en) | Method of adjustment, wearable device and the readable storage medium storing program for executing of automatic extinguishing screen time | |
CN108616870B (en) | Method and device for identifying terminal customized preferentially | |
CN110442786A (en) | A kind of method, apparatus, equipment and the storage medium of prompt information push | |
CN102053917B (en) | Smart card capable of reducing memory footprint and instruction processing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |