CN107301061A - A kind of screen protection being used in mobile terminal starts method and mobile terminal - Google Patents
A kind of screen protection being used in mobile terminal starts method and mobile terminal Download PDFInfo
- Publication number
- CN107301061A CN107301061A CN201710299408.7A CN201710299408A CN107301061A CN 107301061 A CN107301061 A CN 107301061A CN 201710299408 A CN201710299408 A CN 201710299408A CN 107301061 A CN107301061 A CN 107301061A
- Authority
- CN
- China
- Prior art keywords
- quick response
- response code
- screen
- display interface
- layer
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
- G06K7/1447—Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code
-
- 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
Abstract
The present invention proposes a kind of screen protection being used in mobile terminal and starts method and mobile terminal, and wherein this method includes:When the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein, the timing duration is less than or equal to the default waiting time of the screen protection;At the end of the timing, judge to whether there is Quick Response Code in the display interface of the screen;If there is the Quick Response Code, cancellation starts screen protection on the screen;Otherwise, screen protection is started on the screen.During by there is Quick Response Code in display interface, cancellation starts screen protection on screen, and being normally carried out for scanning Quick Response Code is ensure that with this.
Description
Technical field
The present invention relates to field of information processing, more particularly to a kind of screen protection being used in mobile terminal starts method and movement
Terminal.
Background technology
With the development of smart mobile phone, the scene of scanning Quick Response Code has been seen everywhere;But many Quick Response Code display devices
Such as smart mobile phone, can all realize protection display screen and reduction energy consumption by screen protection.
In this way, will cause occur screen protection during scanning input Quick Response Code, finally make the operation nothing of scanning Quick Response Code
Method is completed, and further has influence on follow-up user's operation (for example paying, addition account etc.) based on Quick Response Code, and then is caused
The experience of user is bad.
Thus, a solution is needed at present, is used with ensureing to scan the normal of Quick Response Code operation.
The content of the invention
Based on this, the present invention proposes a kind of screen protection being used in mobile terminal and starts method and mobile terminal, to ensure
Mobile device energy normal scan Quick Response Code, it is to avoid the operation of scanning Quick Response Code is affected.
Specifically, the present invention proposes embodiment in detail below:
Start method the embodiment of the invention discloses a kind of screen protection being used in mobile terminal, this method includes:
When the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein, during the timing
The default waiting time of the long screen protection less than or equal to the screen;
At the end of the timing, judge to whether there is Quick Response Code in the display interface of the screen;
If there is the Quick Response Code, cancellation starts screen protection on the screen;
Otherwise, screen protection is started on the screen.
In a specific embodiment, it whether there is Quick Response Code in the display interface for judging the screen, specifically
Including:
Intercept the first figure layer that display interface top is in the screen;
Judge to intercept based on first figure layer and whether there is Quick Response Code in the first sectional drawing generated;
If there is Quick Response Code on first sectional drawing, it is determined that there is Quick Response Code in the display interface.
In a specific embodiment, if Quick Response Code is not present on first sectional drawing, the is judged in the screen
Whether the window of two figure layers is visible, and second figure layer is next figure layer of first figure layer;
If the second figure layer window is invisible, it is determined that Quick Response Code is not present in the display interface.
In a specific embodiment, if the second figure layer window is visible, second figure layer is performed above-mentioned
Method and step, until there is Quick Response Code on the sectional drawing of generation it is determined that being intercepted based on current layer, or determines the next of current layer
The window of figure layer is invisible.
In a specific embodiment, judge to whether there is Quick Response Code in the display interface of the screen, specifically also wrap
Include:
There is Quick Response Code in the sectional drawing of generation if being intercepted based on current layer, judge identified Quick Response Code and the display
The ratio at interface;
If the ratio is less than predetermined threshold value, identified Quick Response Code is invalid Quick Response Code, determines the display interface
In be not present Quick Response Code;
If the ratio is not less than predetermined threshold value, determine there is Quick Response Code in the display interface.
In a specific embodiment, judge to intercept with the presence or absence of Quick Response Code in the sectional drawing generated based on any figure layer,
Specifically include:
Sectional drawing based on any figure layer interception generation is identified, to determine in the sectional drawing with the presence or absence of two dimension
Code;
If it is determined that there is Quick Response Code in the sectional drawing, identified Quick Response Code is identified;
If identified Quick Response Code can not be identified, it is invalid Quick Response Code to set identified Quick Response Code, and determines not deposit
In Quick Response Code;
If the information of Quick Response Code determined by identifying, it is determined that there is Quick Response Code.
In a specific embodiment, if there are multiple Quick Response Codes in the display interface of the screen, the judgement
It whether there is Quick Response Code in the display interface of the screen, specifically include:
Quick Response Code identification is carried out to the display interface of the screen;
When identifying first Quick Response Code, stop identification operation, and determine there is two dimension in the display interface of the screen
Code.
In a specific embodiment, when it is determined that there is Quick Response Code in the display interface of the screen, this method is also
Including:
Square anchor point in summit based on the Quick Response Code determines that the Quick Response Code is aobvious in the display interface
Show region;
Reduce the brightness in other regions in the display interface in addition to the Quick Response Code viewing area.
The embodiment of the present invention also proposed a kind of screen protection being used in mobile terminal and start method, and this method includes:
When the mobile terminal, which is in, is in bright screen state without operation and screen, in the display interface for judging the screen
With the presence or absence of Quick Response Code;
If in the absence of Quick Response Code, at the end of opening timing, and the timing, starting screen protection;Wherein, the timing duration is small
In or equal to the screen protection default waiting time;
If there is Quick Response Code, the timing is not turned on, and cancellation starts screen protection on the screen.
The embodiment of the present invention also proposed a kind of mobile terminal, including:
Timing module, for when the mobile terminal be in without operation and screen be in bright screen state when, timing open;Its
In, the timing duration is less than or equal to the default waiting time of the screen protection;
Judge module, at the end of the timing, judging to whether there is Quick Response Code in the display interface of the screen;
Cancel module, for when judging to have the Quick Response Code, cancellation to start screen protection on the screen;
Starting module, for when judging to be not present the Quick Response Code, starting screen protection on the screen.
The embodiment of the present invention also proposed a kind of mobile terminal, including:
Judge module, for when the mobile terminal be in without operation and screen be in bright screen state when, judge the screen
It whether there is Quick Response Code in the display interface of curtain;
Starting module, for when in the absence of Quick Response Code, at the end of opening timing, and the timing, starting screen protection;Its
In, the timing duration is less than or equal to the default waiting time of the screen protection;
Cancel module, screen is started on the screen for when there is Quick Response Code, being not turned on the timing, and cancelling
Protect.
With this, the embodiment of the present invention proposes a kind of screen protection being used in mobile terminal and starts method and mobile terminal, its
In in one of the embodiments, this method includes:When the mobile terminal be in without operation and screen be in bright screen state when,
Timing is opened;Wherein, the timing duration is less than or equal to the default waiting time of the screen protection;At the end of the timing,
Judge to whether there is Quick Response Code in the display interface of the screen;If there is the Quick Response Code, cancellation starts on the screen
Screen protection;Otherwise, screen protection is started on the screen.By when it is determined that there is Quick Response Code in display interface, cancelling on screen
Start screen protection, being normally carried out for scanning Quick Response Code ensure that with this.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is that a kind of screen protection being used in mobile terminal that the embodiment of the present invention is proposed starts the schematic flow sheet of method;
Fig. 2 is that a kind of of proposition of the embodiment of the present invention is used to judge whether in the screen protection startup method in mobile terminal
The schematic flow sheet of Quick Response Code method;
Fig. 3 is a kind of schematic diagram for Quick Response Code that the embodiment of the present invention is proposed;
Fig. 4 is that a kind of screen protection being used in mobile terminal that the embodiment of the present invention is proposed starts the schematic flow sheet of method;
Fig. 5 is a kind of structural representation for mobile terminal that the embodiment of the present invention is proposed;
Fig. 6 is a kind of structural representation for mobile terminal that the embodiment of the present invention is proposed.
Embodiment
The term used in the various embodiments of the disclosure is only used for describing the purpose of specific embodiment and not anticipated
In the various embodiments of the limitation disclosure.As used herein, singulative is intended to also include plural form, unless context is clear
Chu it is indicated otherwise.Unless otherwise defined, all terms (including the technical term and scientific terminology) tool being otherwise used herein
There is the implication identical implication that the various embodiment one skilled in the art with the disclosure are generally understood that.The term
(term such as limited in the dictionary typically used) is to be interpreted as having and the situational meaning in correlative technology field
Identical implication and it will be not construed as with Utopian implication or excessively formal implication, unless in the various of the disclosure
It is clearly defined in embodiment.
The embodiment of the present invention 1 discloses a kind of screen protection being used in mobile terminal and starts method, applied to mobile terminal, such as
Shown in Fig. 1, this method includes:
Step 101, when the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein, institute
State the default waiting time that timing duration is less than or equal to the screen protection;
Specifically, mobile terminal can be smart mobile phone, flat board etc.;Whether the screen of mobile terminal is in bright screen state
Premise in view of two-dimensional code display is that screen is in bright screen state;Specifically, can be with by whether receiving unlocking screen
Instruct and (for example press power key, or double-click screen) to judge whether whether screen is changed into bright screen state.
Without mode of operation, the state that mobile terminal is not received by any operational order is embodied as, namely in not
The state that the default waiting time of screen protection restarts can be caused.
And mobile terminal is in without operation and screen is being in bright screen state (referred to as without operation bright screen state), i.e. screen just
In bright screen, and the state of operational order is not received by, this is allowed in the case where there are operation, screen protection on screen
Default waiting time be the time terminated from operation as starting point, the default waiting time of such as screen protection is 5 minutes, Ye Jiru
Fruit is in the case of without operation, and screen bright screen reaches 5 minutes, will start screen protection;When without operation bright screen state, timing is opened
Open, and timing duration is less than or equal to the default waiting time of screen protection, wherein timing duration can be regarded as timing unlatching until meter
When terminate the time span of this process;The default waiting time of such as screen protection is 5 minutes, and in the case, timing duration can
To be set to 4 points 59 seconds, or 5 minutes, or 4 points 58 seconds, 4 points 57 seconds etc., as long as specific timing duration be less than or
Person is equal to the default waiting time of screen protection.
Here, being illustrated with a specific example, such as mobile terminal is TV, it is upper once button to end after
Start timing, if receiving operational order (namely mobile terminal is no longer on no mode of operation) in timing course, stop meter
When or timing counting zero;Specifically, not allowing to receive any operational order during timing, this is allowed for
Receive after operational order, the time starting point of the default waiting time of screen protection can constantly be pushed rearward shifting, in this way, screen exists
All without startup screen protection in subsequently default waiting time, therefore in the consideration economized on resources, it is defined in the mobile terminal
In without operation and screen be in bright screen state when, just unlatching timing.
Step 102, at the end of timing, judge in the display interface of the screen whether there is Quick Response Code;
Specifically, whether there is Quick Response Code in the display interface for judging the screen, including:
The first figure layer of display interface top is in step A, the interception screen;
Step B, judge based on first figure layer intercept generation the first sectional drawing in whether there is Quick Response Code;
If there is Quick Response Code on step C, first sectional drawing, it is determined that there is Quick Response Code in the display interface.
If the step of based on the above, judgement there are Quick Response Code, then stop follow-up operation, if judging on the first sectional drawing
In the absence of Quick Response Code, then it can proceed follow-up step;Specific such as step D to step E.
If on step D, first sectional drawing be not present Quick Response Code, judge the second figure layer in the screen window whether
It can be seen that, second figure layer is next figure layer of first figure layer;
If step E, the second figure layer window are invisible, it is determined that Quick Response Code is not present in the display interface.
It can determine that Quick Response Code is not present in display interface by above-mentioned steps, then stop follow-up step, and if the
Two figure layer windows are visible, then need to proceed to judge, specific subsequent step is referring to step F.
If step F, the second figure layer window are visible, the side described in step A- steps E is performed to second figure layer
Method step, until there is Quick Response Code on the sectional drawing of generation it is determined that being intercepted based on current layer, or determines next figure of current layer
The window of layer is invisible.
Specifically, for the display interface of whole screen, can be sentenced based on whole display interface interception one sectional drawing of generation
Disconnected wherein whether there is has Quick Response Code;But because Quick Response Code there may be the problem of being at least partially obscured, if taking interception whole
The mode of screen, then can cause Quick Response Code to detect mistake, and then cause poor user experience, therefore in a specific embodiment
In, can be using the method for being layered sectional drawing.
Specifically illustrated with a specific example, such as there is a situation where that Quick Response Code is blocked in pop-up;Tool
The process of body as shown in Fig. 2 in the case, can intercept the figure layer (such as being named as figure layer 1) for being shown in top, i.e., first
There is the figure layer that pop-up is shown, and judge in now screenshotss either with or without Quick Response Code, determined whether if no Quick Response Code current
Whether the window (window) of (such as correspond to figure layer 2) is visible one layer behind figure layer (figure layer 1), if it is judged that for can
See, then continue to intercept the figure layer (namely figure layer 2), judge whether the figure layer (figure layer 2) has Quick Response Code;If without Quick Response Code,
Then continue to judge whether the window of figure layer (for example corresponding to figure layer 3) below is visible, and screenshotss judgement processing is carried out if visible,
With this circular treatment.
If it is determined that there is the window of Quick Response Code or figure layer invisible, then circulation is exited.If without Quick Response Code, permitted
Perhaps screen protection is shown, is not otherwise allowed to trigger screen protection, be can effectively solve the problem that with this because pop-up etc. causes Quick Response Code to be at least partially obscured,
So that the problem of can not judging to whether there is Quick Response Code in current screen.
Further, it is contemplated that this scene is directed to need to scan the scene of Quick Response Code, and in fact, Quick Response Code can be because
Lead to not be effectively recognized for many reasons, for such case, whether there is in the display interface of the specific screen
Quick Response Code, is specifically as follows:
There is Quick Response Code in the sectional drawing of generation if being intercepted based on current layer, judge identified Quick Response Code and the display
The ratio at interface;
If the ratio is less than predetermined threshold value, identified Quick Response Code is invalid Quick Response Code, determines the display interface
In be not present Quick Response Code;
If the ratio is not less than predetermined threshold value, determine there is Quick Response Code in the display interface.
Specifically, Quick Response Code is too small, it is to lead to not the reason for identified one is important, in this case, it is possible to recognize
It is invalid Quick Response Code for the Quick Response Code, thus while with the presence of Quick Response Code, but due to that can not be identified, it is believed that the two dimension
Code is non-existent.
In addition, in a specific embodiment, in above-mentioned steps A- steps F, judging to intercept life based on any figure layer
Into sectional drawing in whether there is Quick Response Code, specifically include:
Sectional drawing based on any figure layer interception generation is identified, to determine in the sectional drawing with the presence or absence of two dimension
Code;
If it is determined that there is Quick Response Code in the sectional drawing, identified Quick Response Code is identified;
If identified Quick Response Code can not be identified, it is invalid Quick Response Code to set identified Quick Response Code, and determines not deposit
In Quick Response Code;
If the information of Quick Response Code determined by identifying, it is determined that there is Quick Response Code.
Specifically, whether Quick Response Code can be identified can be be judged, specifically by whether can recognize that information
Identification can be carried out by a variety of identification methods, any recognizable two dimension such as by wechat or Taobao or browser
The application program of code is identified, as long as specific have identification method to identify information i.e. it is believed that the Quick Response Code is that have
Effect, namely there is Quick Response Code, specifically, the information identified can be any character or character string;And if all
All Quick Response Code can not be identified for identification method, then it is considered that the Quick Response Code is invalid, namely think Quick Response Code is not present.
Furthermore, it is contemplated that the display interface of screen may have multiple Quick Response Codes, but as long as in the presence of an efficient 2-d code,
Just it is considered that Quick Response Code is there are on the display interface, as long as with this namely identifying a Quick Response Code, it is possible to think aobvious
Show there is Quick Response Code in interface;Therefore for efficient consideration is proposed, if there are multiple two in the display interface of the screen
Dimension code (if it is also the same to have only existed a Quick Response Code in the display interface of screen certainly), it is described to judge the aobvious of the screen
Show and whether there is Quick Response Code in interface, specifically include:
Quick Response Code identification is carried out to the display interface of the screen;
When identifying first Quick Response Code, stop identification operation, and determine there is two dimension in the display interface of the screen
Code.
Can above-mentioned Quick Response Code can be the Quick Response Code (no matter normally being recognized) identified, or effective Quick Response Code
(corresponding with invalid Quick Response Code, namely can recognize that the Quick Response Code of information).
If step 103, there is the Quick Response Code, cancellation starts screen protection on the screen;
Specifically, cancelling this time on screen after startup screen protection, step 101 can be re-executed, namely carry out again
Timing, is circulated with this, can also set the new time (feelings for example changed for the default waiting time of screen protection
Condition), when reaching new time (the certainly new time was also necessarily less than or equal to the default waiting time of the current screen protection of screen),
The operation for whether having Quick Response Code to recognize is re-started, specific identification operation is same as described above or similar, herein no longer
Carry out superfluous chat.
At the same time, the square anchor point being also based in the summit of the Quick Response Code determines the Quick Response Code described
Viewing area in display interface;
Reduce the brightness in other regions in the display interface in addition to the Quick Response Code viewing area.
Specifically, as shown in figure 3, being the schematic diagram of a Quick Response Code, the summit of wherein Quick Response Code has four, wherein having three
Include square anchor point in individual summit, the Quick Response Code can just be shown by these three square anchor points in display interface
The position in region is determined.
Be in view of the plane space (namely viewing area in display interface) shared by Quick Response Code it is limited, therefore
, can also be in display interface when it is determined that there is Quick Response Code, although can not be to full frame execution screen protection, but the need for being in order at energy-conservation
Other regions in addition to Quick Response Code region carry out the processing of reduction brightness, and the brightness value specifically reduced can be according to reality
Application environment be configured, as long as after can guarantee that luminance-reduction, the scanning of Quick Response Code is not affected.
If step 104, be not present the Quick Response Code, start screen protection on the screen.
A kind of screen protection being used in mobile terminal that the embodiment of the present invention 1 is proposed starts method and mobile terminal, this method
Including:When the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein, the timing duration
Less than or equal to the default waiting time of the screen protection;At the end of the timing, it is in the display interface for judging the screen
It is no to there is Quick Response Code;If there is the Quick Response Code, cancellation starts screen protection on the screen;Otherwise, start on the screen
Screen protection.By the way that when it is determined that there is Quick Response Code in display interface, cancellation starts screen protection on screen, scanning two dimension ensure that with this
Code be normally carried out.
In order to which the present invention is further detailed, the embodiment of the present invention 2 also proposed a kind of be used in mobile terminal
Screen protection start method, as shown in figure 4, this method includes:
Step 201, when the mobile terminal be in without operation and screen be in bright screen state when, judge the screen show
Show and whether there is Quick Response Code in interface;
If step 202, be not present Quick Response Code, open timing, and the timing at the end of, start screen protection;Wherein, the meter
Shi Shichang is less than or equal to the default waiting time of the screen protection;
If step 203, there is Quick Response Code, the timing is not turned on, and cancels and starts screen protection on the screen.
Specifically, in the embodiment 2, when mobile terminal, which is in, is in bright screen state without operation and screen, first detect aobvious
Show whether interface has Quick Response Code (specific detection mode for example can be to be periodically detected or detect in real time), if so, then
It is not turned on timing and cancels to start screen protection on screen;Only when Quick Response Code is not present on screen, timing can be just opened, as
The step of after timing and specifically judge whether that the mode of Quick Response Code is consistent with the mode that screen protection in the prior art is opened,
Person of ordinary skill in the field obtains according to prior art and is clearly understood from, and is not carrying out superfluous chat herein.
In order to which the present invention is further detailed, the embodiment of the present invention 3 also proposed a kind of mobile terminal, such as Fig. 5
It is shown, including:
Timing module 301, for when the screen is in without operation bright screen state, timing to be opened;Wherein, the timing
Duration is less than or equal to the default waiting time of the screen protection of the screen;
Judge module 302, at the end of the timing, judging in the display interface of the screen with the presence or absence of two dimension
Code;
Cancel module 303, for when judging to have the Quick Response Code, cancellation to start screen protection on the screen;
Starting module 304, for when judging to be not present the Quick Response Code, starting screen protection on the screen.
In a specific embodiment, the judge module 302 judges to whether there is in the display interface of the screen
Quick Response Code, is specifically included:
Intercept the first figure layer that display interface top is in the screen;
Judge to intercept based on first figure layer and whether there is Quick Response Code in the first sectional drawing generated;
If there is Quick Response Code on first sectional drawing, it is determined that there is Quick Response Code in the display interface.
In a specific embodiment, the judge module 302 is additionally operable to two-dimentional when being not present on first sectional drawing
During code, judge whether the window of the second figure layer in the screen is visible, second figure layer is next figure of first figure layer
Layer;
If the second figure layer window is invisible, it is determined that Quick Response Code is not present in the display interface.
In a specific embodiment, the judge module 302 is additionally operable to when the second figure layer window is visible, then
Method and step performed by above-mentioned judge module 302 is performed to second figure layer, until it is determined that intercepting life based on current layer
Into sectional drawing on there is Quick Response Code, or determine that the window of next figure layer of current layer is invisible.
In a specific embodiment, the judge module 302 judges to whether there is in the display interface of the screen
Quick Response Code, specifically also includes:
There is Quick Response Code in the sectional drawing of generation if being intercepted based on current layer, judge identified Quick Response Code and the display
The ratio at interface;
If the ratio is less than predetermined threshold value, identified Quick Response Code is invalid Quick Response Code, determines the display interface
In be not present Quick Response Code;
If the ratio is not less than predetermined threshold value, determine there is Quick Response Code in the display interface.
In a specific embodiment, the judge module 302 judges to intercept in the sectional drawing generated based on any figure layer
With the presence or absence of Quick Response Code, specifically include:
Sectional drawing based on any figure layer interception generation is identified, to determine in the sectional drawing with the presence or absence of two dimension
Code;
If it is determined that there is Quick Response Code in the sectional drawing, identified Quick Response Code is identified;
If identified Quick Response Code can not be identified, it is invalid Quick Response Code to set identified Quick Response Code, and determines not deposit
In Quick Response Code;
If the information of Quick Response Code determined by identifying, it is determined that there is Quick Response Code.
In a specific embodiment, if there are multiple Quick Response Codes in the display interface of the screen, the judgement
Module 302 judges to whether there is Quick Response Code in the display interface of the screen, specifically included:
Quick Response Code identification is carried out to the display interface of the screen;
When identifying first Quick Response Code, stop identification operation, and determine there is two dimension in the display interface of the screen
Code.
In a specific embodiment, the mobile terminal also includes:
Processing module, for when it is determined that there is Quick Response Code in the display interface of the screen, based on the Quick Response Code
Square anchor point in summit determines viewing area of the Quick Response Code in the display interface;
Reduce the brightness in other regions in the display interface in addition to the Quick Response Code viewing area.
In order to which the present invention is further detailed, the embodiment of the present invention 4 also proposed a kind of mobile terminal, such as Fig. 6
It is shown, including:
Judge module 401, for when the mobile terminal is in and is in bright screen state without operation and screen, judging described
It whether there is Quick Response Code in the display interface of screen;
Starting module 402, for when in the absence of Quick Response Code, at the end of opening timing, and the timing, starting screen protection;
Wherein, the timing duration is less than or equal to the default waiting time of the screen protection of the screen;
Cancel module 403, start on the screen for when there is Quick Response Code, being not turned on the timing, and cancelling
Screen protection.
In the embodiment of the present invention 4, mobile terminal be in without operation and screen be in bright screen state when, the display to screen
Judged in interface with the presence or absence of Quick Response Code, and when it is determined that there are Quick Response Code, the place even if the follow-up mobile terminal remains unchanged
In without operation and screen be in bright screen state, timing will not be also opened, while screen protection will not be started, it is ensured that the Quick Response Code on screen
Normal scan;And when it is determined that during in the absence of there is Quick Response Code, then opening timing, and at the end of timing, starting screen protection;With this,
(it for example can periodically start judge module 401 in judge module 401 to be judged, or keep judge module 401 to be in one
The straight mode for being actuated for judging) judged result to there is Quick Response Code, and within the judged result holding constant period,
Screen protection will not be opened, it is ensured that do not interfere with the scanning of Quick Response Code, and timing will not be opened, saved system resource;Tool
Body, it is ensured that when depositing Quick Response Code on the display interface of screen, it is ensured that the scanning of Quick Response Code can be normally carried out.
With this, the embodiment of the present invention proposes a kind of screen protection being used in mobile terminal and starts method and mobile terminal.Tool
Body, mobile terminal be in without operation and screen be in bright screen state when, judge to whether there is on the display interface of the screen
Quick Response Code, and when it is determined that there is Quick Response Code in the display interface, cancellation starts screen protection on screen, and scanning two is ensure that with this
Tie up being normally carried out for code.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or
Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into
Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene
In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, and the quality of implement scene is not represented.
Disclosed above is only several specific implementation scenes of the present invention, and still, the present invention is not limited to this, Ren Heben
What the technical staff in field can think change should all fall into protection scope of the present invention.
Claims (10)
1. a kind of screen protection being used in mobile terminal starts method, it is characterised in that this method includes:
When the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein, the timing duration is small
In or equal to the screen protection default waiting time;
At the end of the timing, judge to whether there is Quick Response Code in the display interface of the screen;
If there is Quick Response Code, cancellation starts screen protection on the screen;
Otherwise, screen protection is started on the screen.
2. the method as described in claim 1, it is characterised in that whether there is two in the display interface of the judgement screen
Code is tieed up, is specifically included:
Intercept the first figure layer that display interface top is in the screen;
Judge to intercept based on first figure layer and whether there is Quick Response Code in the first sectional drawing generated;
If there is Quick Response Code on first sectional drawing, it is determined that there is Quick Response Code in the display interface.
3. method as claimed in claim 2, it is characterised in that if Quick Response Code is not present on first sectional drawing, judge institute
Whether the window for stating the second figure layer in screen is visible, and second figure layer is next figure layer of first figure layer;
If the second figure layer window is invisible, it is determined that Quick Response Code is not present in the display interface.
4. method as claimed in claim 3, it is characterised in that
If the second figure layer window is visible, the method and step described in 2~3 is required to the second figure layer perform claim, directly
There is Quick Response Code to determining to intercept on the sectional drawing of generation based on current layer, or determine current layer next figure layer window not
It can be seen that.
5. the method as described in claim 1 or 4, it is characterised in that judge to whether there is two in the display interface of the screen
Code is tieed up, is specifically also included:
There is Quick Response Code in the sectional drawing of generation if being intercepted based on current layer, judge identified Quick Response Code and the display interface
Ratio;
If the ratio is less than predetermined threshold value, identified Quick Response Code is invalid Quick Response Code, is determined in the display interface not
There is Quick Response Code;
If the ratio is not less than predetermined threshold value, determine there is Quick Response Code in the display interface.
6. the method as described in claim 2~4, it is characterised in that judging to intercept in the sectional drawing generated based on any figure layer is
It is no to there is Quick Response Code, specifically include:
Sectional drawing based on any figure layer interception generation is identified, to determine to whether there is Quick Response Code in the sectional drawing;
If it is determined that there is Quick Response Code in the sectional drawing, identified Quick Response Code is identified;
If identified Quick Response Code can not be identified, it is invalid Quick Response Code to set identified Quick Response Code, and determines to be not present two
Tie up code;
If the information of Quick Response Code determined by identifying, it is determined that there is Quick Response Code.
7. the method as described in claim 1, it is characterised in that if there are multiple two dimensions in the display interface of the screen
It whether there is Quick Response Code in code, the display interface for judging the screen, specifically include:
Quick Response Code identification is carried out to the display interface of the screen;
When identifying first Quick Response Code, stop identification operation, and determine there is Quick Response Code in the display interface of the screen.
8. the method as described in claim 1, it is characterised in that when it is determined that there is Quick Response Code in the display interface of the screen
When, this method also includes:
Square anchor point in summit based on the Quick Response Code determines viewing area of the Quick Response Code in the display interface
Domain;
Reduce the brightness in other regions in the display interface in addition to the Quick Response Code viewing area.
9. a kind of screen protection being used in mobile terminal starts method, it is characterised in that this method includes:
When the mobile terminal, which is in, is in bright screen state without operation and screen, judge in the display interface of the screen whether
There is Quick Response Code;
If in the absence of Quick Response Code, at the end of opening timing, and the timing, starting screen protection;Wherein, the timing duration be less than or
Equal to the default waiting time of the screen protection;
If there is Quick Response Code, the timing is not turned on, and cancellation starts screen protection on the screen.
10. a kind of mobile terminal, it is characterised in that including:
Timing module, for when the mobile terminal be in without operation and screen be in bright screen state when, timing open;Wherein,
The timing duration is less than or equal to the default waiting time of the screen protection of the screen;
Judge module, at the end of the timing, judging to whether there is Quick Response Code in the display interface of the screen;
Cancel module, for when judging to have Quick Response Code, cancellation to start screen protection on the screen;
Starting module, for when judging to be not present Quick Response Code, starting screen protection on the screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710299408.7A CN107301061B (en) | 2017-05-02 | 2017-05-02 | Screen saver starting method used in mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710299408.7A CN107301061B (en) | 2017-05-02 | 2017-05-02 | Screen saver starting method used in mobile terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107301061A true CN107301061A (en) | 2017-10-27 |
CN107301061B CN107301061B (en) | 2023-07-18 |
Family
ID=60137046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710299408.7A Active CN107301061B (en) | 2017-05-02 | 2017-05-02 | Screen saver starting method used in mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107301061B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108257227A (en) * | 2018-02-12 | 2018-07-06 | 上海与德科技有限公司 | A kind of Quick Response Code settlement method, terminal and system |
CN112463267A (en) * | 2019-09-06 | 2021-03-09 | 海信视像科技股份有限公司 | Method for presenting screen saver information on screen of display device and display device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102768829A (en) * | 2011-05-03 | 2012-11-07 | 三星电子株式会社 | Apparatus and method for controlling brightness of portable terminal |
CN103745186A (en) * | 2013-12-30 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | Processing method for two-dimensional code information and communication terminal |
CN104281827A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Method and device for recognizing two-dimensional code |
CN104965640A (en) * | 2015-07-07 | 2015-10-07 | 广东欧珀移动通信有限公司 | Mobile terminal screen display method and device |
CN105607834A (en) * | 2015-12-22 | 2016-05-25 | 小米科技有限责任公司 | Screen control method and apparatus as well as terminal |
CN106020760A (en) * | 2016-05-31 | 2016-10-12 | 珠海市魅族科技有限公司 | Multi-display-brightness data display method and device |
CN106297734A (en) * | 2016-10-20 | 2017-01-04 | 广州三星通信技术研究有限公司 | Screen luminance adjustment method and equipment for electric terminal |
CN106569586A (en) * | 2016-11-11 | 2017-04-19 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and method and apparatus thereof for turning off screen |
-
2017
- 2017-05-02 CN CN201710299408.7A patent/CN107301061B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102768829A (en) * | 2011-05-03 | 2012-11-07 | 三星电子株式会社 | Apparatus and method for controlling brightness of portable terminal |
CN104281827A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Method and device for recognizing two-dimensional code |
CN103745186A (en) * | 2013-12-30 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | Processing method for two-dimensional code information and communication terminal |
CN104965640A (en) * | 2015-07-07 | 2015-10-07 | 广东欧珀移动通信有限公司 | Mobile terminal screen display method and device |
CN105607834A (en) * | 2015-12-22 | 2016-05-25 | 小米科技有限责任公司 | Screen control method and apparatus as well as terminal |
CN106020760A (en) * | 2016-05-31 | 2016-10-12 | 珠海市魅族科技有限公司 | Multi-display-brightness data display method and device |
CN106297734A (en) * | 2016-10-20 | 2017-01-04 | 广州三星通信技术研究有限公司 | Screen luminance adjustment method and equipment for electric terminal |
CN106569586A (en) * | 2016-11-11 | 2017-04-19 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and method and apparatus thereof for turning off screen |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108257227A (en) * | 2018-02-12 | 2018-07-06 | 上海与德科技有限公司 | A kind of Quick Response Code settlement method, terminal and system |
CN112463267A (en) * | 2019-09-06 | 2021-03-09 | 海信视像科技股份有限公司 | Method for presenting screen saver information on screen of display device and display device |
Also Published As
Publication number | Publication date |
---|---|
CN107301061B (en) | 2023-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112333332B (en) | Prompt message display method and device and electronic equipment | |
US10121298B2 (en) | Unlocking method and device applied the same | |
US20170161500A1 (en) | Application security protection method, terminal, and storage medium | |
CN104717364A (en) | Information processing method and device | |
CN105320542B (en) | A kind of method and apparatus that mobile terminal exits abnormal interface | |
CN108491124B (en) | Interface processing method and equipment, storage medium and terminal thereof | |
CN105049597A (en) | Interaction method and system for entering visitor mode during picture browse of mobile terminal | |
CN107301061A (en) | A kind of screen protection being used in mobile terminal starts method and mobile terminal | |
CN105160217A (en) | Application control method for intelligent watch and intelligent watch | |
CN106933427A (en) | Display screen condition control method and electronic equipment | |
CN105260682A (en) | Method and apparatus for protecting user privacy | |
CN106331178A (en) | Information sharing method and mobile terminal | |
CN112311795B (en) | Account management method and device and electronic equipment | |
CN106096385B (en) | Unlocking processing method and system based on mobile terminal | |
CN104571802A (en) | Information processing method and electronic equipment | |
CN106161419A (en) | A kind of isomery function equivalence body synchronizer | |
CN107479058A (en) | A kind of distance detection method, mobile terminal and computer-readable recording medium | |
US11032411B2 (en) | Control method for electronic device, electronic device, computer readable storage medium | |
CN104965702B (en) | Multiwindow operation method, device and the intelligent terminal of a kind of intelligent terminal | |
CN104333588B (en) | A kind of method and device of webpage timing | |
CN106529264B (en) | Using locking and unlocking method and device | |
CN106372076A (en) | Method and device for switching webpages in browsers | |
CN107292279B (en) | Display method, display device, terminal and computer-readable storage medium | |
CN108008804A (en) | The screen control method and device of smart machine | |
CN107085694A (en) | Presentation of information treating method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Video Technology Co.,Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |