CN107844250A - A kind of control method, device and terminal - Google Patents
A kind of control method, device and terminal Download PDFInfo
- Publication number
- CN107844250A CN107844250A CN201610828110.6A CN201610828110A CN107844250A CN 107844250 A CN107844250 A CN 107844250A CN 201610828110 A CN201610828110 A CN 201610828110A CN 107844250 A CN107844250 A CN 107844250A
- Authority
- CN
- China
- Prior art keywords
- light
- information
- viewing area
- region
- overlapping region
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention discloses a kind of control method, and this method includes:The current light collected in the viewing area of terminal device is detected, obtains the light information of the viewing area;The region met corresponding to the light information of preparatory condition in the viewing area is defined as overlapping region;Obtain the regional graphics information of the overlapping region;The regional graphics information is matched with the graphical information of preset pattern;If the regional graphics information is consistent with the graphical information of preset pattern, instruction corresponding with the preset pattern is performed.The embodiment of the present invention also discloses a kind of control device and terminal.
Description
Technical field
The present invention relates to the control technology of field of mobile terminals, more particularly to a kind of control method, device and terminal.
Background technology
At present, intelligent touch screen terminal has been main force's type in market, and in order to improve the security performance of terminal, safety lock obtains
It is widely applied, for example, the unblock of terminal screen, unlatching of application program etc..
In the prior art, typically using pattern unlock by the way of, still, pattern solution be latched in the unlocking pattern pass into silence or
Person inputs the possibility of pattern trace mistake, it is seen then that existing secure fashion needs user to remember password and correctly enters pattern
Track could realize unblock, complex operation.
The content of the invention
For prior art problem, the embodiment of the present invention provides control method and device so that user is easy to operate, can
Simply, efficiently realize and the function corresponding to preset pattern.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of control method, method includes:Detection is adopted in the viewing area of terminal
The current light collected, obtain the light information of the viewing area;By the light for meeting preparatory condition in the viewing area
Region corresponding to line information is defined as overlapping region;Obtain the regional graphics information of the overlapping region;By the administrative division map
Shape information is matched with the graphical information of preset pattern;If the graphical information one of the regional graphics information and preset pattern
Cause, then perform instruction corresponding with the preset pattern.
In such scheme, the region met corresponding to the light information of preparatory condition by the viewing area
It is defined as overlapping region, including:The overlay region will be defined as less than the region corresponding to the light information of the first predetermined threshold value
Domain;Or, the region that will be greater than corresponding to the light information of the second predetermined threshold value is defined as the overlapping region.
It is described to detect the current light collected in the viewing area of terminal in such scheme, obtain terminal viewing area
Before the light information in domain, methods described also includes:The current light that the first moment collected in the viewing area of terminal is detected,
Obtain the light information of terminal display area;Correspondingly, it is described to detect the current light collected in the viewing area of terminal, obtain
The light information of terminal display area is obtained, including:The current light that the second moment collected in the viewing area of terminal is detected, is obtained
The light information of terminal display area is obtained, wherein, second moment is after first moment;Correspondingly, will be described aobvious
Show that the region met corresponding to the light information of preparatory condition in region is defined as overlapping region, including:By the second moment
Light information is compared with the light information at the first moment;Will be inconsistent with the light information at the first moment in viewing area
Region corresponding to the light information at the second moment is defined as overlapping region.
It is described to be matched the regional graphics information with the graphical information of preset pattern in such scheme, including:
Based on the regional graphics information, the similarity of the overlapping region and the preset pattern is calculated, wherein, if described similar
Degree is equal to or more than the 3rd predetermined threshold value, then shows that the overlapping region is consistent with the preset pattern;If the similarity
Less than the 3rd predetermined threshold value, then show that the overlapping region and the preset pattern are inconsistent.
It is described to detect the current light collected in the viewing area of terminal in such scheme, obtain the viewing area
The light information in domain, including:Detection each sub-regions collect in the viewing area light, obtain it is described each
The light information of subregion, wherein, the viewing area is drawn according to default partitioning strategies and is divided at least two subregions;Accordingly
Ground, the region met corresponding to the light information of preparatory condition in the viewing area is defined as overlapping region, including:Will
Light information meets that the subregion of preparatory condition is defined as sub- overlapping region in each sub-regions;By all sub- overlay regions
Domain merges, and obtains the overlapping region.
Second aspect, the embodiment of the present invention provide a kind of control device, and described device includes:Detection module, for obtaining
The light information of the viewing area;Determining module, for by the light information for meeting preparatory condition in the viewing area
Corresponding region is defined as overlapping region;Acquisition module, for obtaining the regional graphics information of the overlapping region;Match mould
Block, for the regional graphics information to be matched with the graphical information of preset pattern;Operation module, if for the area
Domain graphical information is consistent with the graphical information of preset pattern, then performs instruction corresponding with the preset pattern, to realize correspondingly
Function.
In such scheme, the determining module, specifically for by less than corresponding to the light information of the first predetermined threshold value
Region be defined as the overlapping region;Or, the region that will be greater than corresponding to the light information of the second predetermined threshold value is defined as institute
State overlapping region.
In such scheme, the detection module, collected specifically for the first moment of detection in the viewing area of terminal
Current light, obtain the light information of terminal display area;Correspondingly, detection module, exist specifically for the second moment of detection
The current light that the viewing area of terminal collects, the light information of terminal display area is obtained, wherein, second moment exists
After first moment;Correspondingly, determining module, specifically for by by the light at the light information at the second moment and the first moment
Line information is compared;By the light information at the second moment inconsistent with the light information at the first moment in the viewing area
Corresponding region is defined as overlapping region.
In such scheme, the detection module, adopted specifically for detecting each sub-regions in the viewing area
The light collected, the light information of each sub-regions is obtained, wherein, the viewing area is drawn according to default partitioning strategies
It is divided at least two subregions;Correspondingly, determining module, specifically for light information in each sub-regions is met
The subregion of preparatory condition is defined as sub- overlapping region;All sub- overlapping regions are merged, obtain the overlapping region.
The third aspect, the embodiment of the present invention provide a kind of terminal, the terminal include display screen, light level array and
Processor;Wherein, the light level array, for obtaining the light information of the viewing area;The processor, for obtaining
Obtain the light information that the light level array is sent;By the light information for meeting preparatory condition in the viewing area
Corresponding region is defined as overlapping region;Obtain the regional graphics information of the overlapping region;By the regional graphics information
Matched with the graphical information of preset pattern;If the regional graphics information is consistent with the graphical information of preset pattern,
Perform instruction corresponding with the preset pattern.
Control method, device and the terminal of the embodiment of the present invention, first, by obtaining the light information of viewing area, energy
Enough monitorings realized to the light information of viewing area, when there is object to be placed on viewing area, can be formed in viewing area
Shaded areas corresponding with the object, so as to cause the light information of the shaded areas in viewing area to change, it will show
The region met corresponding to the light information of preparatory condition in region is defined as overlapping region, obtains the administrative division map of overlapping region
Shape information, then, regional graphics information is matched with the graphical information of preset pattern;If regional graphics information is with presetting
The graphical information of figure is consistent, then instruction corresponding with preset pattern is performed, to realize corresponding function, it is seen then that in administrative division map
When shape information is consistent with the graphical information of preset pattern, instruction corresponding with preset pattern is able to carry out so that user operates letter
Just, the instruction performed with corresponding to preset pattern is simplified, with the process of function corresponding to realization.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the control method in the embodiment of the present invention one;
Fig. 2 is a kind of structural representation of the overlapping region in the embodiment of the present invention one;
Fig. 3 is another structural representation of the overlapping region in the embodiment of the present invention one;
Fig. 4 is a kind of schematic flow sheet of the control method in the embodiment of the present invention two;
Fig. 5 is another schematic flow sheet of the control method in the embodiment of the present invention three;
Fig. 6 is the structural representation of the light level array in the embodiment of the present invention three;
Fig. 7 is the schematic flow sheet of the control method in the embodiment of the present invention four;
Fig. 8 is the subregion schematic diagram of the display screen in the embodiment of the present invention four;
Fig. 9 is the schematic flow sheet of the control method in the embodiment of the present invention five;
Figure 10 is the structural representation of the control device in the embodiment of the present invention six;
Figure 11 is the structural representation of the terminal in the embodiment of the present invention seven.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
The embodiments of the invention provide a kind of control method, the executive agent of control method of the embodiment of the present invention can be control
Device processed, the control device can be arranged at a terminal.Here, terminal can be smart mobile phone, tablet personal computer, intelligent watch
Deng the embodiment of the present invention is not specifically limited.
Embodiment one:
Fig. 1 is the schematic flow sheet of the control method in the embodiment of the present invention one, as shown in figure 1, this method includes:
S101:The light collected in the viewing area of terminal is detected, obtains the light information of viewing area;
Here, viewing area can be the screen of terminal, and in practical application, the light level array in terminal is close to screen
Inner side is arranged at same terminal, can also be realized in a manner of setting photosensitive layer on the screen in terminal, here, the material of photosensitive layer
Material can be cadmium sulfide, selenium, cadmium selenide, cadmium sulfoselenide or cadmium sulfide etc., it is of course also possible to be other materials, the present invention is implemented
It is not specifically limited.
In actual applications, adopted to obtain the light information of viewing area, it is necessary to detect first in the viewing area of terminal
The current light collected, then obtain the light information of viewing area.In actual applications, detect and adopted in the viewing area of terminal
The light collected, the light information of viewing area is obtained, including:Viewing area can be divided into according to default zoning ordinance
At least two subregions, gather the light that each sub-regions at least two subregions receive;Detection is at each
The light that subregion collects, obtain the light information of each sub-regions in viewing area.
The feasible implementation of the current light of the viewing area of above-mentioned acquisition terminal is:Pass through the first light in terminal
Line sensor array can be responsible for the light of collection at least i sub-regions, wherein, i is the positive integer more than or equal to 1, in terminal
Second sensor can be responsible for the light of collection at least k sub-regions, wherein, k is the positive integer more than or equal to 1, i and k
Value can be with identical, can also be different, the embodiment of the present invention is not specifically limited;It is used to gather in practical application, in terminal
The quantity of the light level array of the viewing area light of terminal can be set by User Defined, the sensor collection in terminal
The light of the viewing area of terminal, terminal are detected for light level array in the light that each sub-regions collect,
Here, detection light can be used and be periodically detected, can also used and detect in real time, the embodiment of the present invention is not done specifically to this
Limit;Terminal obtains the light information of each sub-regions, and wherein light information can be strength characteristic, and strength characteristic can lead to
Cross and tri- Color Channels of RGB are averagely obtained, in the embodiment of the present invention, terminal can gather light using light level array
Characteristic, whether the light information for monitoring each sub-regions change.
S102:The region met corresponding to the light information of preparatory condition in viewing area is defined as overlapping region;
Here, the light information for meeting preparatory condition can be the light information to change, in practical application, light letter
Cease the scene that changes can with and be not limited to following two:
If scene 1, as shown in Fig. 2 default object 1 is not luminous object, default object is placed in the viewing area of terminal
During 2 top of domain, blocked because default object 1 produces to light, projection 3 is formed on viewing area 2, and projection 3 will be formed
Region is as overlapping region, and thus, the light information of light diminishes in view field;
If scene 2, as shown in figure 3, default object 1 is luminous object, default object 1 is placed in the viewing area of terminal
During 2 top, because default object 1 launches light, form hot spot 4 on viewing area 2, and will be formed the region of hot spot 4 as
Overlapping region, thus, the light information of light becomes big in spot area;The embodiment of the present invention is not specifically limited.
To determine the overlapping region in the viewing area of terminal, S102 can by and it is unlimited in a manner of following two kinds feasible it is real
Apply:
Mode 1, overlapping region will be defined as less than the region corresponding to the light information of the first predetermined threshold value;Or, will be big
The region corresponding to light information in the second predetermined threshold value is defined as overlapping region.
Here, the first predetermined threshold value and the second predetermined threshold value can be to be not affected by object in the viewing area of terminal to block
Or the light information of the viewing area collected during irradiation in the case of different time sections, different weather index, for example, light
Line sensor array collect the viewing area of terminal be not affected by block when viewing area light information, wherein, first is default
Threshold value and the second predetermined threshold value can be with identical, can also be different, and the embodiment of the present invention is not specifically limited to this;First default threshold
Value and the second predetermined threshold value can also be what User Defined was set, it is of course also possible to be other, the embodiment of the present invention is not done
It is specific to limit.In practical application, during the surface for the viewing area that default object is placed in terminal, project on the display region
Spot pattern or projecting figure are different therewith with the far and near light information of default object distance viewing area.
The current light that mode 2, the first moment of detection collect in the viewing area of terminal, obtains terminal display area
Light information;Correspondingly, the current light collected in the viewing area of terminal is detected, obtains the light letter of terminal display area
Breath, including:The current light that the second moment collected in the viewing area of terminal is detected, obtains the light letter of terminal display area
Breath, wherein, the second moment is after the first moment;Correspondingly, by the light information for the meeting preparatory condition institute in viewing area
Corresponding region is defined as overlapping region, including:The light information at the second moment and the light information at the first moment are compared
Compared with;Region corresponding to the light information at the second moment inconsistent with the light information at the first moment in viewing area is determined
For overlapping region.
In actual applications, the second moment is after the first moment, that is to say, that the first moment and the second time at intervals are pre-
If duration, the preset duration can periodically be set, and either be monitored according to the self-defined setting of user's request or in real time, when
So, or other, the embodiment of the present invention is not specifically limited.
S103:Obtain the regional graphics information of overlapping region;
Here, the regional graphics information of overlapping region can be the graphics shape of overlapping region, and carrying out analysis to shape can
With empty using boundary characteristic method geometry parameter method, Moment invariants, small echo poly-tropic rate descriptor index method, Edge Distance histogram method, tangent line
Between method, Hidden Markov method and the method based on particle Radius Model constructing graphic boundary descriptor etc., it is of course also possible to be it
It, the embodiment of the present invention is not specifically limited;The regional graphics information of overlapping region can also be the feature of overlapping region, example
Such as, textural characteristics and color characteristic etc., it is of course also possible to be other, the embodiment of the present invention is not specifically limited;Wherein, texture
The extracting method of feature can use the feature extraction based on image grey level histogram, the spy based on gradation of image difference value histogram
The methods of sign extraction and feature extraction based on gradation of image co-occurrence matrix, it is of course also possible to be other, the embodiment of the present invention is not
It is specifically limited;The extraction of color characteristic can use color histogram, color moment, color set etc., and the present invention implements not do to have
Body limits.
S104:Regional graphics information is matched with the graphical information of preset pattern;
In practical application, to obtain the matching result of the graphical information of regional graphics information and preset pattern, by administrative division map
Shape information is matched with the graphical information of preset pattern, including:Based on regional graphics information, overlapping region and default figure are calculated
The similarity of shape, wherein, if similarity is equal to or more than the 3rd predetermined threshold value, show overlapping region and preset pattern one
Cause;If similarity is less than the 3rd predetermined threshold value, show that overlapping region is inconsistent with preset pattern.
Here, Histogram Matching, matrix point mathematically can be used by calculating the similarity of overlapping region and preset pattern
Solution, the image similarity of distinguished point based are calculated etc., it is of course also possible to be other, the embodiment of the present invention is not specifically limited;With
Exemplified by Histogram Matching, the specific algorithm matched to projecting figure with preset pattern is:Projecting figure and pre- is calculated respectively
If the histogram of figure, the normalizated correlation coefficient of two histograms is then calculated, coefficient correlation includes Pasteur's distance, histogram
Intersecting distance etc..
S105:If regional graphics information is consistent with the graphical information of preset pattern, perform corresponding with preset pattern
Instruction, to realize corresponding function.
Here, preset pattern can be the figure set by the screen prompt user of terminal, and the figure is logical for characterizing
Cross terminal collection default object the viewing area of terminal projecting figure or spot pattern, the embodiment of the present invention to this not
It is specifically limited;In practical application, instruction can be unlock instruction corresponding with preset pattern, or with preset pattern pair
The instruction for the opening application answered, it is of course also possible to be other, the embodiment of the present invention is not specifically limited to this, for example, to realize
Matching to regional graphics information and the graphical information of preset pattern, based on regional graphics information, by preset algorithm, calculate weight
Folded region and the similarity of preset pattern;If similarity is equal to or more than predetermined threshold value, perform corresponding with preset pattern
Unlock instruction.
The control method of the embodiment of the present invention, first, by detecting the light collected in the viewing area of terminal, obtain
The light information of viewing area;It is possible thereby to judge whether current light information changes by the current light information detected
Become, secondly, by the way that the region met corresponding to the light information of preparatory condition in viewing area is defined as into overlapping region, really
The region that the light information in viewing area changes is determined;Finally, terminal obtains the regional graphics information of overlapping region;Such as
Fruit regional graphics information is consistent with the graphical information of preset pattern, then performs instruction corresponding with preset pattern, to realize correspondingly
Function, it is seen then that only need overlapping region consistent with preset pattern, it becomes possible to easily and efficiently to realize corresponding to preset pattern
Function so that user is easy to operate, simplify perform specific instruction process.
Embodiment two:
Based on previous embodiment, the embodiments of the invention provide a kind of control method, control method of the embodiment of the present invention can
Implemented with being responsible for by light level array gathering in the viewing area of terminal on the basis of the light on viewing area, such as Fig. 4 institutes
Show, method includes:
S401:According to default partitioning strategies, viewing area is drawn and is divided at least two subregions;
Here, default partitioning strategies can be terminal according to the length and width of viewing area, be divided into a1, a2... ... a(N-1),
aN, N number of subregion, N are the integer more than or equal to 2 altogether, and N value can be set by User Defined, can also be by end
The system default at end is set, and the embodiment of the present invention is not specifically limited to this.
S402:The light that each sub-regions at least two subregions receive is gathered, obtains each sub-regions
Light information;
S403:It will meet that the region corresponding to the light information of preparatory condition is true in each sub-regions in viewing area
It is set to sub- overlapping region;
S404:Sub- overlapping region is merged;
Here, the second overlapping region can be the view field that the light information in each subregion diminishes, can also
Become big spot area for light information, the embodiment of the present invention is not specifically limited to this.
S405:Using the region after merging as overlapping region;
Here, merging method can be not obtain each relative position coordinates of the sub- overlapping region in viewing area;
Along X or Y-coordinate direction of principal axis, according to scanning sequency, sub- overlapping region is read in timesharing;It is suitable according to the time for reading sub- overlapping region
Sequence, image merging is carried out to sub- overlapping region successively, using the region after merging as overlapping region.
S406:Obtain the regional graphics information of overlapping region;
S407:Regional graphics information is matched with the graphical information of preset pattern;
S408:If regional graphics information is consistent with the graphical information of preset pattern, perform corresponding with preset pattern
Instruction, to realize corresponding function.
The control method of the embodiment of the present invention, first, by according to default partitioning strategies, viewing area is drawn be divided into
Few two sub-regions, gather the light that each sub-regions at least two subregions receive, detect in each height
The light that region collects, the light information of each sub-regions is obtained, can realized to each picture in the light of viewing area
The monitoring of the light information of vegetarian refreshments, the sensitivity of detection light sensed parameter change is improved, secondly, by each sub-regions
The region met corresponding to the light information of preparatory condition be defined as sub- overlapping region, sub- overlapping region is merged, will
Then region after merging, obtains the regional graphics information of overlapping region as overlapping region, if regional graphics information with it is pre-
If the graphical information of figure is consistent, then perform it is corresponding with preset pattern instructs, to realize corresponding function, it is seen then that by with
Preset pattern matches, and can realize the uniqueness of matching object so that user is easy to operate, simplifies the journey for performing specific instruction
Sequence.
Embodiment three:
Based on previous embodiment, the embodiments of the invention provide a kind of control method, is to be instructed corresponding to preset pattern
Exemplified by unlock instruction, the above method is illustrated.
It is assumed that this method allows user to use key of the default graphical object as unblock mobile phone, when graphical object connects
During nearly mobile phone screen, graphical object can form projection on screen, and view field and other regions have the difference of shading value, by
This, the projection of graphical object is identified using light sensation, and the pattern in projection and preset mobile phone by graphical object is contrasted, if
Similarity reaches the threshold value specified, you can unblock;If being less than threshold value, it is confirmed whether it is correctly by screen prompt user
Unlock key.
As shown in figure 5, after terminal receives the unblock figure of user's setting, control method provided in an embodiment of the present invention,
Including:
S501:Terminal is monitored by least one light level array in the viewing area for the display screen for being responsible for monitoring
The change of the light information of M sub-regions, M are the positive integer more than or equal to 1;
In practical application, formed as shown in fig. 6, display screen is divided into multiple monitoring units 61, several monitoring units by
One light level array 62 is responsible for monitoring light sensitive change.
S502:The region that light information in each sub-regions is less than to the first predetermined threshold value is defined as sub- overlay region
Domain;
S503:Sub- overlapping region is merged;
Here, when sub- overlapping region is placed in above viewing area for not luminous object, in the perspective view that viewing area is formed
Shape.
S504:Using the region after merging as overlapping region;
S505:Obtain the regional graphics information of the overlapping region;
S506:The regional graphics information is matched with preset unblock figure, if similarity reaches given threshold,
S507 is performed, otherwise, performs S508;
S507:Perform unlock instruction;
S508:Prompt the unblock failure of user's light sensation.
The present invention proposes a kind of control method, by according to detection object on a display screen projection whether with it is preset
It is identical to unlock figure, so as to judge whether to unlock;This method allows User Defined to unlock key so that user unlocks behaviour
Make simplicity, improve security of mobile terminal.
Example IV:
Based on previous embodiment, the embodiment of the present invention provides a kind of control method, to be instructed corresponding to preset pattern as solution
Exemplified by lock instruction, the above method is illustrated.
It is assumed that default unblock figure is that luminous object is placed in the hot spot figure formed when above viewing area in viewing area
Shape, user is after unblock figure is set, as shown in fig. 7, method includes:
S701:Terminal is by monitoring whether the light information of each sub-regions on display screen changes;
S702:The region that light information in each sub-regions is more than to the second predetermined threshold value is defined as sub- overlay region
Domain;
Here, when sub- overlapping region is that luminous object is placed in above viewing area, the hot spot figure that is formed in viewing area
Shape, in practical application, the subregion schematic diagram of display screen, as shown in figure 8, light-sensitive layer is provided with display screen, the material of photosensitive layer
Expect to be divided into multiple light level battle arrays for cadmium sulfide, selenium, cadmium selenide, cadmium sulfoselenide or cadmium sulfide or other materials, light-sensitive layer
Column unit 81, itself top light sensation induction signal can be known on each light level array element 81.
S703:Sub- overlapping region is merged;
S704:Using the region after merging as overlapping region;
S705:Obtain the regional graphics information of the overlapping region;
S706:The regional graphics information is matched with preset unblock figure, if similarity reaches given threshold,
S707 is performed, otherwise, performs S708;
S707:Perform unlock instruction;
S708:Prompt the unblock failure of user's light sensation.
The present invention proposes a kind of control method, by according to projection of the detection object on light sensation display screen whether and in advance
The unblock figure put is identical, so as to judge whether to unlock;This method allows User Defined to unlock key so that unblock behaviour
Make simplicity, improve the security of mobile terminal.
Embodiment five:
The embodiment of the present invention provides a kind of control method, as shown in figure 9, this method includes:
S901:The current light that the first moment collected in the viewing area of terminal is detected, obtains terminal display area
Light information;
S902:The current light that the second moment collected in the viewing area of terminal is detected, obtains terminal display area
Light information;
Here, the second moment is after the first moment.
S903:By the light information at the second moment compared with the light information at the first moment;
S904:By corresponding to the light information at the second moment inconsistent with the light information at the first moment in viewing area
Region be defined as overlapping region;
S905:Obtain the regional graphics information of overlapping region;
S906:Regional graphics information is matched with the graphical information of preset pattern;
S907:If regional graphics information is consistent with the graphical information of preset pattern, perform corresponding with preset pattern
Instruction.
Here, instruction corresponding with preset pattern can be the unblock of terminal screen, unlatching of application program etc., the present invention
Embodiment is not specifically limited.
Control method provided in an embodiment of the present invention, first, by perceiving the change of viewing area glazed thread information and true
Surely graphical object is placed in above the viewing area of terminal, by will be inconsistent with the light information at the first moment in viewing area
The second moment light information corresponding to region be defined as overlapping region, then, if the regional graphics of the overlapping region
Information is consistent with the graphical information of preset pattern, then performs instruction corresponding with preset pattern so that user is easy to operate, can
Simply, efficiently realize and the function corresponding to preset pattern.
Embodiment six:
Based on same inventive concept, the embodiment of the present invention provides a kind of control device, and the control device can apply to
Terminal in said one or multiple embodiments.
Figure 10 is the structural representation of the control device in the embodiment of the present invention, as shown in Figure 10, the control device 100,
Including:Detection module 101, for obtaining the light information of viewing area;Determining module 102, for by expiring in viewing area
Region corresponding to the light information of sufficient preparatory condition is defined as overlapping region;Acquisition module 103, for obtaining overlapping region
Regional graphics information;Matching module 104, for regional graphics information to be matched with the graphical information of preset pattern;Operation
Module 105, if consistent with the graphical information of preset pattern for regional graphics information, perform refer to corresponding with preset pattern
Order, to realize corresponding function.
In other embodiments of the present invention, determining module, specifically for by the light information institute less than the first predetermined threshold value
Corresponding region is defined as overlapping region;Or, the region that will be greater than corresponding to the light information of the second predetermined threshold value determines to attach most importance to
Folded region.
In other embodiments of the present invention, detection module, adopted specifically for the first moment of detection in the viewing area of terminal
The current light collected, obtain the light information of terminal display area;Correspondingly, detection module, during specifically for detecting second
The current light that the viewing area of terminal collects is engraved in, obtains the light information of terminal display area, wherein, the second moment existed
After first moment;Correspondingly, determining module, specifically for by the light information at the light information at the second moment and the first moment
It is compared;By the area corresponding to the light information at the second moment inconsistent with the light information at the first moment in viewing area
Domain is defined as overlapping region.
In other embodiments of the present invention, matching module, specifically for based on regional graphics information, calculate overlapping region with
The similarity of preset pattern, wherein, if similarity is equal to or more than the 3rd predetermined threshold value, show overlapping region and default figure
Shape is consistent;If similarity is less than the 3rd predetermined threshold value, show that overlapping region is inconsistent with preset pattern.
In other embodiments of the present invention, detection module, adopted specifically for detecting each sub-regions in viewing area
The light collected, obtain the light information of each sub-regions, wherein, viewing area according to default partitioning strategies draw be divided into
Few two sub-regions;Correspondingly, determining module, the son specifically for light information in each sub-regions to be met to preparatory condition
Region is defined as sub- overlapping region;All sub- overlapping regions are merged, obtain overlapping region.
In actual applications, detection module, determining module, acquisition module, matching module and operation module can be by positions
In control device central processing unit (CPU, Central Processing Unit), microprocessor (MPU,
Microprocessor Unit), digital signal processor (DSP, Digital Signal Processing) or scene can compile
Journey gate array (FPGA, Field-Programmable Gate Array) etc. is realized.The embodiment of the present invention is not specifically limited.
It need to be noted that be:Apparatus above implements the description of item, is similar with above method description, has same
Embodiment of the method identical beneficial effect, therefore do not repeat.For the ins and outs not disclosed in apparatus of the present invention embodiment,
Those skilled in the art refer to the description of the inventive method embodiment and understand, to save length, repeat no more here.
Embodiment seven:
Based on same inventive concept, the embodiment of the present invention provides a kind of terminal, and the terminal can apply to said one
Or the terminal in multiple embodiments.
Shown in Figure 11, the terminal 110, terminal includes:Display screen 111, light level array 112 and processor
113;Light level array 112, for detecting the current light collected in the viewing area of display screen 111, obtain viewing area
The light information in domain;Processor 113, for obtaining the light information of light level array transmission;By the satisfaction in viewing area
Region corresponding to the light information of preparatory condition is defined as overlapping region;Obtain the regional graphics information of overlapping region;By area
Domain graphical information is matched with the graphical information of preset pattern;If regional graphics information and the graphical information of preset pattern one
Cause, then instruction corresponding with preset pattern is performed, to realize corresponding function.
In other embodiments of the present invention, processor, for by the light information for meeting preparatory condition in viewing area
Corresponding region is defined as overlapping region, including:It will be determined less than the region corresponding to the light information of the first predetermined threshold value
For overlapping region;Or, the region that will be greater than corresponding to the light information of the second predetermined threshold value is defined as overlapping region.
In other embodiments of the present invention, processor, for the graphical information of regional graphics information and preset pattern to be entered
Row matching, including:Based on regional graphics information, the similarity of calculating overlapping region and preset pattern, wherein, if similarity etc.
In or more than the 3rd predetermined threshold value, then show that overlapping region is consistent with preset pattern;If similarity is less than the 3rd predetermined threshold value,
Then show that overlapping region is inconsistent with preset pattern.
In other embodiments of the present invention, processor, collected for the first moment of detection in the viewing area of terminal
Current light, obtain the light information of terminal display area;Correspondingly, processor, for detecting for the second moment in the aobvious of terminal
Show the current light that region collects, obtain the light information of terminal display area, wherein, the second moment the first moment it
Afterwards;Correspondingly, processor, for by the light information at the second moment compared with the light information at the first moment;Will display
Region in region corresponding to the light information at the second moment inconsistent with the light information at the first moment is defined as overlay region
Domain.
In other embodiments of the present invention, processor, collected for detecting each sub-regions in viewing area
Light, the light information of each sub-regions is obtained, wherein, viewing area is drawn according to default partitioning strategies and is divided at least two
Subregion;Correspondingly, processor, for light information in each sub-regions to be met into the subregion of preparatory condition is defined as son
Overlapping region;All sub- overlapping regions are merged, obtain overlapping region.
It need to be noted that be:The description of above terminal embodiment item, it is similar with above method description, has same
Embodiment of the method identical beneficial effect, therefore do not repeat.For the ins and outs not disclosed in terminal embodiment of the present invention,
Those skilled in the art refer to the description of the inventive method embodiment and understand, to save length, repeat no more here.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of control method, it is characterised in that methods described includes:
The current light collected in the viewing area of terminal is detected, obtains the light information of the viewing area;
The region met corresponding to the light information of preparatory condition in the viewing area is defined as overlapping region;
Obtain the regional graphics information of the overlapping region;
The regional graphics information is matched with the graphical information of preset pattern;
If the regional graphics information is consistent with the graphical information of preset pattern, refer to corresponding with the preset pattern is performed
Order.
2. according to the method for claim 1, it is characterised in that the preparatory condition that meets by the viewing area
Region corresponding to light information is defined as overlapping region, including:
The overlapping region will be defined as less than the region corresponding to the light information of the first predetermined threshold value;Or,
It will be greater than the region corresponding to the light information of the second predetermined threshold value and be defined as the overlapping region.
3. according to the method for claim 1, it is characterised in that the detection collects current in the viewing area of terminal
Light, before the light information for obtaining terminal display area, methods described also includes:
The current light that the first moment collected in the viewing area of terminal is detected, obtains the light information of terminal display area;
Correspondingly, it is described to detect the current light collected in the viewing area of terminal, obtain the light letter of terminal display area
Breath, including:
The current light that the second moment collected in the viewing area of terminal is detected, obtains the light information of terminal display area,
Wherein, second moment is after first moment;
Correspondingly, the region met corresponding to the light information of preparatory condition in the viewing area is defined as overlay region
Domain, including:
By the light information at the second moment compared with the light information at the first moment;
Region corresponding to the light information at the second moment inconsistent with the light information at the first moment in viewing area is true
It is set to overlapping region.
4. according to the method for claim 1, it is characterised in that described by the regional graphics information and the figure of preset pattern
Shape information is matched, including:
Based on the regional graphics information, the similarity of the overlapping region and the preset pattern is calculated, wherein, if described
Similarity is equal to or more than the 3rd predetermined threshold value, then shows that the overlapping region is consistent with the preset pattern;If the phase
It is less than the 3rd predetermined threshold value like degree, then shows that the overlapping region and the preset pattern are inconsistent.
5. according to the method for claim 1, it is characterised in that the detection collects current in the viewing area of terminal
Light, the light information of the viewing area is obtained, including:
The detection light that each sub-regions collect in the viewing area, obtain the light letter of each sub-regions
Breath, wherein, the viewing area is drawn according to default partitioning strategies and is divided at least two subregions;
Correspondingly, the region met corresponding to the light information of preparatory condition in the viewing area is defined as overlay region
Domain, including:
Light information in each sub-regions is met that the subregion of preparatory condition is defined as sub- overlapping region;
All sub- overlapping regions are merged, obtain the overlapping region.
6. a kind of control device, it is characterised in that described device includes:
Detection module, for obtaining the light information of the viewing area;
Determining module, for determining to attach most importance to the region met corresponding to the light information of preparatory condition in the viewing area
Folded region;
Acquisition module, for obtaining the regional graphics information of the overlapping region;
Matching module, for the regional graphics information to be matched with the graphical information of preset pattern;
Operation module, if consistent with the graphical information of preset pattern for the regional graphics information, perform with it is described pre-
If instructed corresponding to figure, to realize corresponding function.
7. device according to claim 6, it is characterised in that the determining module, preset specifically for first will be less than
Region corresponding to the light information of threshold value is defined as the overlapping region;Or, it will be greater than the light information of the second predetermined threshold value
Corresponding region is defined as the overlapping region.
8. device according to claim 6, it is characterised in that the detection module, exist specifically for the first moment of detection
The current light that the viewing area of terminal collects, obtain the light information of terminal display area;Correspondingly, detection module, tool
Body is used for the current light collected in the viewing area of terminal at the second moment of detection, obtains the light letter of terminal display area
Breath, wherein, second moment is after first moment;Correspondingly, determining module, specifically for by by the second moment
Light information is compared with the light information at the first moment;Light information in the viewing area with the first moment is differed
Region corresponding to the light information at the second moment caused is defined as overlapping region.
9. device according to claim 6, it is characterised in that the detection module, specifically for detecting in the display
The light that each sub-regions collect in region, the light information of each sub-regions is obtained, wherein, the viewing area
Drawn according to default partitioning strategies and be divided at least two subregions in domain;Correspondingly, determining module, specifically for will it is described each
Light information meets that the subregion of preparatory condition is defined as sub- overlapping region in subregion;All sub- overlapping regions are closed
And obtain the overlapping region.
10. a kind of terminal, it is characterised in that the terminal includes display screen, light level array and processor;Wherein,
The light level array, for obtaining the light information of the viewing area;
The processor, the light information sent for obtaining the light level array;By in the viewing area
Meet that the region corresponding to the light information of preparatory condition is defined as overlapping region;Obtain the regional graphics letter of the overlapping region
Breath;The regional graphics information is matched with the graphical information of preset pattern;If the regional graphics information is with presetting
The graphical information of figure is consistent, then performs instruction corresponding with the preset pattern.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610828110.6A CN107844250A (en) | 2016-09-18 | 2016-09-18 | A kind of control method, device and terminal |
PCT/CN2017/082751 WO2018049822A1 (en) | 2016-09-18 | 2017-05-02 | Control method, device, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610828110.6A CN107844250A (en) | 2016-09-18 | 2016-09-18 | A kind of control method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107844250A true CN107844250A (en) | 2018-03-27 |
Family
ID=61619839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610828110.6A Pending CN107844250A (en) | 2016-09-18 | 2016-09-18 | A kind of control method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107844250A (en) |
WO (1) | WO2018049822A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309617A (en) * | 2020-02-21 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Application program control method and device, storage medium and electronic equipment |
WO2020135817A1 (en) * | 2018-12-29 | 2020-07-02 | 青岛海尔空调器有限总公司 | Sensing array-based control method and apparatus, storage medium, and computer device |
CN111754444A (en) * | 2020-05-29 | 2020-10-09 | 青岛海尔空调器有限总公司 | Information display method of double-display-screen remote controller and remote controller |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902484A (en) * | 2012-09-29 | 2013-01-30 | 广东欧珀移动通信有限公司 | Unlocking method of touch screen terminal |
CN103067609A (en) * | 2013-01-23 | 2013-04-24 | 广东欧珀移动通信有限公司 | Unlock method and system and device of mobile terminal |
CN103809870A (en) * | 2014-03-17 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and information processing device |
CN103917943A (en) * | 2014-01-28 | 2014-07-09 | 华为终端有限公司 | A terminal device treatment method and a terminal device |
CN104020946A (en) * | 2013-02-28 | 2014-09-03 | 富泰华工业(深圳)有限公司 | Unlocking system and unlocking method |
US20140253512A1 (en) * | 2013-03-11 | 2014-09-11 | Hitachi Maxell, Ltd. | Manipulation detection apparatus, manipulation detection method, and projector |
CN104932753A (en) * | 2015-07-15 | 2015-09-23 | 京东方科技集团股份有限公司 | Touch screen, touch method of touch screen and display device |
CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method of graphical user interface, and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335730B (en) * | 2015-11-13 | 2018-09-07 | 广东欧珀移动通信有限公司 | Fingerprint identification method, device and terminal device |
-
2016
- 2016-09-18 CN CN201610828110.6A patent/CN107844250A/en active Pending
-
2017
- 2017-05-02 WO PCT/CN2017/082751 patent/WO2018049822A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902484A (en) * | 2012-09-29 | 2013-01-30 | 广东欧珀移动通信有限公司 | Unlocking method of touch screen terminal |
CN103067609A (en) * | 2013-01-23 | 2013-04-24 | 广东欧珀移动通信有限公司 | Unlock method and system and device of mobile terminal |
CN104020946A (en) * | 2013-02-28 | 2014-09-03 | 富泰华工业(深圳)有限公司 | Unlocking system and unlocking method |
US20140253512A1 (en) * | 2013-03-11 | 2014-09-11 | Hitachi Maxell, Ltd. | Manipulation detection apparatus, manipulation detection method, and projector |
CN103917943A (en) * | 2014-01-28 | 2014-07-09 | 华为终端有限公司 | A terminal device treatment method and a terminal device |
CN103809870A (en) * | 2014-03-17 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and information processing device |
CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method of graphical user interface, and mobile terminal |
CN104932753A (en) * | 2015-07-15 | 2015-09-23 | 京东方科技集团股份有限公司 | Touch screen, touch method of touch screen and display device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020135817A1 (en) * | 2018-12-29 | 2020-07-02 | 青岛海尔空调器有限总公司 | Sensing array-based control method and apparatus, storage medium, and computer device |
CN111309617A (en) * | 2020-02-21 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Application program control method and device, storage medium and electronic equipment |
CN111754444A (en) * | 2020-05-29 | 2020-10-09 | 青岛海尔空调器有限总公司 | Information display method of double-display-screen remote controller and remote controller |
CN111754444B (en) * | 2020-05-29 | 2024-03-26 | 青岛海尔空调器有限总公司 | Information display method of double-display-screen remote controller and remote controller |
Also Published As
Publication number | Publication date |
---|---|
WO2018049822A1 (en) | 2018-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108073889A (en) | The method and apparatus of iris region extraction | |
CN104732601B (en) | Automatic high-recognition-rate attendance checking device and method based on face recognition technology | |
CN106778664A (en) | The dividing method and its device of iris region in a kind of iris image | |
CN105844128A (en) | Method and device for identity identification | |
CN106709450A (en) | Recognition method and system for fingerprint images | |
CN105184246A (en) | Living body detection method and living body detection system | |
CN107844250A (en) | A kind of control method, device and terminal | |
CN105225523B (en) | A kind of parking space state detection method and device | |
CN102945366A (en) | Method and device for face recognition | |
CN106485237A (en) | Fingerprint image acquisition method, system and fingerprint collecting equipment | |
CN105069448A (en) | True and false face identification method and device | |
CN106295502A (en) | A kind of method for detecting human face and device | |
CN102629320A (en) | Ordinal measurement statistical description face recognition method based on feature level | |
CN107504621A (en) | Air-conditioning line control machine and its control method and control device | |
CN110874587B (en) | Face characteristic parameter extraction system | |
CN107230267A (en) | Intelligence In Baogang Kindergarten based on face recognition algorithms is registered method | |
Zang et al. | Road network extraction via aperiodic directional structure measurement | |
CN109063643A (en) | A kind of facial expression pain degree recognition methods under the hidden conditional for facial information part | |
CN109753777A (en) | A kind of personal identification method, device, storage medium and mobile terminal | |
CN109508576A (en) | A kind of abnormal driving behavioral value method, apparatus and electronic equipment | |
US8699762B2 (en) | Multi-sided card having a resistive fingerprint imaging array | |
CN108062521A (en) | Method for detecting human face, device, terminal and medium based on convolutional neural networks | |
CN107408208A (en) | The method and fingerprint sensing system analyzed for the bio-measurement to user | |
CN112507916B (en) | Face detection method and system based on facial expression | |
CN102867214B (en) | Counting management method for people within area range |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180327 |
|
WD01 | Invention patent application deemed withdrawn after publication |