CN106022083B - A kind of method and terminal for realizing unlock - Google Patents

A kind of method and terminal for realizing unlock Download PDF

Info

Publication number
CN106022083B
CN106022083B CN201610286889.3A CN201610286889A CN106022083B CN 106022083 B CN106022083 B CN 106022083B CN 201610286889 A CN201610286889 A CN 201610286889A CN 106022083 B CN106022083 B CN 106022083B
Authority
CN
China
Prior art keywords
track
unlock
profile traces
original image
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610286889.3A
Other languages
Chinese (zh)
Other versions
CN106022083A (en
Inventor
陈小翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM Co.,Ltd.
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610286889.3A priority Critical patent/CN106022083B/en
Publication of CN106022083A publication Critical patent/CN106022083A/en
Application granted granted Critical
Publication of CN106022083B publication Critical patent/CN106022083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour

Abstract

A kind of method and terminal for realizing unlock, comprising: formed according to the color of the original image of load and generate profile traces;The matching track for unlock is determined according to the profile traces of generation;When the matching track of the unlock track and generation that receive matches, it is unlocked.The embodiment of the present invention carries out the determination and unlock of matching track by using the original image of load;According to the type of the original image of selection and determining profile traces, the abundant configuration of matching trace graphics is realized, improves the Experience Degree of user's unlock and the interest of unlocking process;In addition, relative to the digital keys of the fixation used in the related technology and three rows multiplied by the key of three column, improving the crypticity of unlocking process since original image is the picture of selection load.

Description

A kind of method and terminal for realizing unlock
Technical field
Present document relates to but be not limited to terminal applies technology, it is espespecially a kind of realize unlock method and terminal.
Background technique
With the application and development of mobile terminal (including mobile phone, plate etc.), the mode for terminal unlocking is also further rich Richness, different unlocking manners and unlock setting make the security performance of mobile terminal, and there is also differences.
Currently, main unlocking manner includes number unlock and sliding trace unlock, digital unlock is by input and presets The identical unlocking pin of passwords after be unlocked;Sliding trace unlock is mainly by receiving user in three rows multiplied by three column Key in the track slided, determine the sliding trace for unlock, the sliding trace for unlock with preset and store Matching track it is identical when, complete unlock.
Three rows that the digital keys and sliding trace unlock that number unlock uses use are fixed multiplied by the key arrangement of three column, The graphic scheme of the type or the sliding trace for unlock that define unlocking pin is limited, and the experience of user's unlocking process is poor, lacks Interest.
Summary of the invention
It is the general introduction to the theme being described in detail herein below.This general introduction is not the protection model in order to limit claim It encloses.
The embodiment of the present invention provides a kind of method and terminal for realizing unlock, can be realized matching the abundant of trace graphics and matches It sets, promotes the Experience Degree of user's unlock and the interest of unlocking process.
The embodiment of the invention provides a kind of terminals for realizing unlock, comprising: generation unit, determination unit and unlock are single Member;Wherein,
Generation unit is used for, and is formed according to the color of the original image of load and is generated profile traces;
Determination unit is used for, and determines the matching track for unlock according to the profile traces of generation;
Unlocking unit is used for, and when the matching track of the unlock track and generation that receive matches, is unlocked.
Optionally, the generation unit is specifically used for,
Load the original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according to The colour system parameter delimited in advance is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as institute State profile traces.
Optionally, the determination unit is specifically used for,
All profile traces that will be greater than the effective threshold value in pre-set track are determined as spare profile traces;
Select the wherein spare profile traces;
In the spare profile traces of selection, the identical default of preset times is carried out along the spare profile traces The track of length is slided, and determines the matching track for unlock.
Optionally, the terminal further includes feedback unit, and all profile traces for generation are respectively less than set in advance When the effective threshold value in the track set, the feedback matching track for unlock determines failure.
Optionally, terminal further includes background setting unit, for receive unlock track before, be arranged the original image or The synthesising picture is the background display picture for receiving the unlock track.
On the other hand, the embodiment of the present invention also provides a kind of method for realizing unlock, comprising:
It is formed according to the color of the original image of load and generates profile traces;
The matching track for unlock is determined according to the profile traces of generation;
When the matching track of the unlock track and generation that receive matches, it is unlocked.
Optionally, generating profile traces includes:
Load the original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according to The colour system parameter delimited in advance is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as institute State profile traces.
Optionally, described to determine that the matching track for unlock includes: according to the profile traces of generation
All profile traces that will be greater than the effective threshold value in pre-set track are determined as spare profile traces;
Select the wherein spare profile traces;
In the spare profile traces of selection, the identical default of preset times is carried out along the spare profile traces The track of length is slided, and determines the matching track for unlock.
Optionally, when all profile traces of generation are respectively less than the effective threshold value in pre-set track, the method Further include:
The feedback matching track for unlock determines failure.
Optionally, before receiving unlock track, the method also includes:
The original image is set or the synthesising picture is the background display picture for receiving the unlock track.
Compared with the relevant technologies, technical scheme includes: to be formed to generate wheel according to the color of the original image of load Wide track;The matching track for unlock is determined according to the profile traces of generation;The matching of the unlock track and generation that receive When track matches, it is unlocked.The embodiment of the present invention, by using the original image of load carry out matching track determination and Unlock;According to the type of the original image of selection and determining profile traces, the abundant configuration of matching trace graphics is realized, is promoted The Experience Degree of user's unlock and the interest of unlocking process;In addition, since original image is the picture of selection load, relative to The digital keys of the fixation used in the related technology and three rows improve the crypticity of unlocking process multiplied by the key of three column.
After reading and understanding attached drawing and detailed description, it can be appreciated that other aspects.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the flow chart for the method that the embodiment of the present invention realizes unlock;
Fig. 3 is the method schematic diagram that colour system of the embodiment of the present invention divides;
Fig. 4 is the schematic diagram of color of embodiment of the present invention synthesis;
Fig. 5 is the exemplary diagram of original image of the embodiment of the present invention;
Fig. 6 is the exemplary diagram of synthesising picture of the embodiment of the present invention;
Fig. 7 is the flow chart for the method that another embodiment of the present invention realizes unlock;
Fig. 8 is the structural block diagram for the terminal that the embodiment of the present invention realizes unlock
Fig. 9 is that the present invention applies exemplary method flow diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include user input unit 130, output unit 150, memory 160,180 and of controller Power supply unit 190 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing institute There is the component shown.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Output unit 150 may include display unit 151.
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Fig. 2 is the flow chart for the method that the embodiment of the present invention realizes unlock, as shown in Figure 2, comprising:
Step 200 generates profile traces according to the color composition of the original image of load;
It should be noted that the original image in the embodiment of the present invention can be the picture that user stores in terminal local, The picture of picture, downloading including shooting and the picture of interception.Source, the resolution ratio etc. of original image do not influence implementation of the present invention The implementation of example.The load of original image can read original image by access storage media from storage medium, can also be straight Web browsing picture is asked in receiving, is cached after obtaining picture by browsing, when selecting browsing pictures as original image, downloading browsing Picture is to locally as original image.
Optionally, in present invention method, generating profile traces includes:
Load original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according in advance The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as taking turns Wide track.
It should be noted that (RGB, rgb color mode are one kind of industry to the red blue green of the original image of acquisition load Color standard, be by red (R), green (G), the variation of blue (B) three Color Channels and their mutual superpositions come Miscellaneous color is obtained, RGB is the color for representing three channels of red, green, blue, this standard almost includes the mankind The all colours that eyesight can perceive are current with most wide one of color system.) value can be by adopting in the related technology Set method carries out;Colour system parameter is synthesized for color, can be configured, can also be used according to the distribution of color of original image The interval parameter of default is configured;Such as dividing original image is 12 colour systems, shown in Figure 3, the colour system ginseng of each colour system Number can be with respectively include: red-orange red corresponding rgb value;Orange red-corresponding rgb value of orange;Orange-orange corresponding rgb value;Orange- Yellow corresponding rgb value;Yellow-yellowish green corresponding rgb value;Yellowish green-green corresponding rgb value;The green corresponding rgb value of green-blue;Bluish-green- Blue corresponding rgb value;The corresponding rgb value of indigo plant-royal purple;The corresponding rgb value of royal purple-purple;Purple-purplish red corresponding rgb value;Purplish red- Red corresponding rgb value;Each section represents the Color Range that can synthesize a region;In figure, red corresponding primary colors be it is orange red, Orange red corresponding secondary color is orange, and so on.The corresponding secondary color of orange be it is orange, orange corresponding secondary color is Huang ....
Theoretically, in the uniform situation of colour system parameter distribution, the section of a colour system parameter is bigger, and colour system type is fewer; The section of colour system parameter is smaller, and colour system type is more;In addition, the profile traces length of formation may be shorter when colour system type is more, Influence the determination of matching track.Color synthesis includes: that can pass through the side of light and shade when colour system parameter is when belonging to the same colour system Formula carries out color synthesis;The light and shade of example referring to fig. 4, a color is divided into equal part;A sections and B sections;In the color of A sections of colour systems Same track can be synthesized;Same track can be synthesized in the color that B sections are;
The process of profile traces is determined below by way of the example brief description embodiment of the present invention;Fig. 5 is the embodiment of the present invention The exemplary diagram of original image, as shown in figure 5, this example selection includes the picture of three main colour systems, the distributed area of each colour system Domain, which can understand, to be distinguished;After the acquisition of RGB numerical value, colour system division and color synthesis, synthesising picture as shown in FIG. 6 is generated, The synthesising picture of Fig. 6 includes that three colors synthesize region;Three color synthesis regions carry out contoured and show;Detect contoured Two boundary lines in the adjacent color synthesis region of display, it is assumed that be greater than the boundary of 2/3rds length of terminal display screen width Line is contour line, then the embodiment of the present invention can determine that two are profile traces.
Step 201 determines the matching track for unlock according to the profile traces of generation;
Optionally, implementation method of the present invention determines that the matching track for unlock includes: according to the profile traces of generation
All profile traces for being greater than the effective threshold value in pre-set track are determined, as spare profile traces;
Select a wherein spare profile traces;
In the spare profile traces of selection, the rail of the identical preset length of preset times is carried out along spare profile traces Mark sliding, determines the matching track for unlock.
It should be noted that the effective threshold value in track is the numerical value by determining after statistical analysis, the general effective threshold in track Value can be 2/3rds numerical value of about terminal display width;If terminal display size is larger, rule The adjustable numerical value for less than 2/3rds of the minimum value of the ratio of effective threshold value and terminal display width, example Such as, tablet computer can be a numerical value less than 2/3rds as the display biggish terminal of screen, spare profile traces; If terminal display size is smaller, rule effectively threshold value and the minimum value of the ratio of terminal display width can be adjusted A whole numerical value for greater than 2/3rds.In addition, the embodiment of the present invention can the item number to spare profile traces be defined, Such as only retain three profile traces;In addition, when comprising a plurality of profile traces greater than the effective threshold value in pre-set track, The spare profile traces that the item number of setting can be retained according to the descending sequence of profile traces length, can also pass through reception The selection instruction of user, determine in the profile traces for being greater than the effective threshold value in pre-set track it is specific which as spare wheel Wide track.In addition, preset times may include twice, after determining spare profile traces, determining the mode and phase of matching track The mode of setting initial sliding track can be identical in the technology of pass.The length of matching of embodiment of the present invention track can be equal to The length of the spare profile traces of selection, can also be the partial-length of spare profile traces, can also be by spare The track slided twice or more than twice is carried out according to preset sliding rule in profile traces, for the first time the length of sliding With track interruption can not be generated with secondary difference, general first time and second of sliding process.
Step 202, the unlock track and generation received matching track when matching, be unlocked.
It should be noted that unlock track and the matching for matching track can pass through setting: unlock track with match track The identical percentage in track be greater than setting percentage threshold when, be determined as successful match;Unlock track with match track When the identical percentage in track is less than or equal to the percentage threshold of setting, it is determined as that it fails to match.In addition, the unlock received When track and the matching track of generation mismatch, unlock failure.
When all profile traces generated are respectively less than the effective threshold value in pre-set track, implementation method of the present invention is also wrapped It includes:
Matching track of the feedback for unlock determines failure.
It should be noted that user can reselect new original graph when the matching track for unlock determines failure Piece, based on the subjective analysis for determining failure, user can choose load and be easy to generate the picture of longer profile traces, true to improve Surely track success rate is matched;Such as each region is uniform in size and region in the close picture of color.
Before receiving unlock track, present invention method further include:
Original image is set or synthesising picture is the background display picture for receiving unlock track.
It should be noted that showing that picture can be user using the background of original image or synthesising picture as unlock track It correctly enters unlock track and reference is provided, improve the accuracy that user inputs unlock track.
The embodiment of the present invention carries out the determination and unlock of matching track by using the original image of load;According to selection Original image and determine profile traces type, realize matching trace graphics abundant configuration, improve user unlock The interest of Experience Degree and unlocking process;In addition, since original image is the picture of selection load, relative to adopting in the related technology The digital keys of fixation and three rows improve the crypticity of unlocking process multiplied by the key of three column.
Fig. 7 is the flow chart for the method that another embodiment of the present invention realizes unlock, as shown in fig. 7, comprises:
Step 700 generates profile traces according to the color composition of the original image of load;
It should be noted that the original image in the embodiment of the present invention can be the picture that user stores in terminal local, The picture of picture, downloading including shooting and the picture of interception.Source, the resolution ratio etc. of original image do not influence implementation of the present invention The implementation of example.The load of original image can read original image by access storage media from storage medium, can also be straight Web browsing picture is asked in receiving, is cached after obtaining picture by browsing, when selecting browsing pictures as original image, downloading browsing Picture is to locally as original image.
Optionally, in present invention method, generating profile traces includes:
Load original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according in advance The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as taking turns Wide track.
It should be noted that (RGB, rgb color mode are one kind of industry to the red blue green of the original image of acquisition load Color standard, be by red (R), green (G), the variation of blue (B) three Color Channels and their mutual superpositions come Miscellaneous color is obtained, RGB is the color for representing three channels of red, green, blue, this standard almost includes the mankind The all colours that eyesight can perceive are current with most wide one of color system.) value can be by adopting in the related technology Set method carries out;Colour system parameter is synthesized for color, can be configured, can also be used according to the distribution of color of original image The interval parameter of default is configured;Theoretically, in the uniform situation of colour system parameter distribution, the section of a colour system parameter is got over Greatly, colour system type is fewer;The section of colour system parameter is smaller, and colour system type is more;In addition, when colour system type is more, the profile of formation Path length may be shorter, influences the determination for matching track.
Step 701 determines the matching track for unlock according to the profile traces of generation;
Optionally, implementation method of the present invention determines that the matching track for unlock includes: according to the profile traces of generation
All profile traces for being greater than the effective threshold value in pre-set track are determined, as spare profile traces;
Select a wherein spare profile traces;
In the spare profile traces of selection, the rail of the identical preset length of preset times is carried out along spare profile traces Mark sliding, determines the matching track for unlock.
It should be noted that the effective threshold value in track is the numerical value by determining after statistical analysis, the general effective threshold in track Value can be 2/3rds numerical value of about terminal display width;If terminal display size is larger, rule The adjustable numerical value for less than 2/3rds of the minimum value of the ratio of effective threshold value and terminal display width, example Such as, tablet computer can be a numerical value less than 2/3rds as the display biggish terminal of screen, spare profile traces; If terminal display size is smaller, rule effectively threshold value and the minimum value of the ratio of terminal display width can be adjusted A whole numerical value for greater than 2/3rds.In addition, the embodiment of the present invention can the item number to spare profile traces be defined, Such as only retain three profile traces;In addition, when comprising a plurality of profile traces greater than the effective threshold value in pre-set track, The spare profile traces that the item number of setting can be retained according to the descending sequence of profile traces length, can also pass through reception The selection instruction of user, determine in the profile traces for being greater than the effective threshold value in pre-set track it is specific which as spare wheel Wide track.In addition, preset times may include twice, after determining spare profile traces, determining the mode and phase of matching track The mode of setting initial sliding track can be identical in the technology of pass.The length of matching of embodiment of the present invention track can be equal to The length of the spare profile traces of selection, can also be the partial-length of spare profile traces, can also be by spare The track slided twice or more than twice is carried out according to preset sliding rule in profile traces, for the first time the length of sliding With track interruption can not be generated with secondary difference, general first time and second of sliding process.
Optionally, when all profile traces of generation are respectively less than the effective threshold value in pre-set track, embodiment party of the present invention Method further include:
Matching track of the feedback for unlock determines failure.
It should be noted that user can reselect new original graph when the matching track for unlock determines failure Piece, based on the subjective analysis for determining failure, user can choose load and be easy to generate the picture of longer profile traces, true to improve Surely track success rate is matched;Such as each region is uniform in size and region in the close picture of color.
Step 702, setting original image or synthesising picture are the background display picture for receiving unlock track.
It should be noted that showing that picture can be user using the background of original image or synthesising picture as unlock track It correctly enters unlock track and reference is provided, improve the accuracy that user inputs unlock track.
Step 703, the unlock track and generation received matching track when matching, be unlocked.
It should be noted that unlock track and the matching for matching track can pass through setting: unlock track with match track The identical percentage in track be greater than setting percentage threshold when, be determined as successful match;Unlock track with match track When the identical percentage in track is less than or equal to the percentage threshold of setting, it is determined as that it fails to match.In addition, the unlock received When track and the matching track of generation mismatch, unlock failure.
The embodiment of the present invention carries out the determination and unlock of matching track by using the original image of load;According to selection Original image and determine profile traces type, realize matching trace graphics abundant configuration, improve user unlock The interest of Experience Degree and unlocking process;In addition, since original image is the picture of selection load, relative to adopting in the related technology The digital keys of fixation and three rows improve the crypticity of unlocking process multiplied by the key of three column.
Fig. 8 be the embodiment of the present invention realize unlock terminal structural block diagram, as shown in Figure 8, comprising: generation unit, really Order member and unlocking unit;Wherein,
Generation unit is used for, and is formed according to the color of the original image of load and is generated profile traces;
It should be noted that the original image in the embodiment of the present invention can be the picture that user stores in terminal local, The picture of picture, downloading including shooting and the picture of interception.Source, the resolution ratio etc. of original image do not influence implementation of the present invention The implementation of example.The load of original image can read original image by access storage media from storage medium, can also be straight Web browsing picture is asked in receiving, is cached after obtaining picture by browsing, when selecting browsing pictures as original image, downloading browsing Picture is to locally as original image.
Determination unit is used for, and determines the matching track for unlock according to the profile traces of generation;
Unlocking unit is used for, and when the matching track of the unlock track and generation that receive matches, is unlocked.
It should be noted that unlock track and the matching for matching track can pass through setting: unlock track with match track The identical percentage in track be greater than setting percentage threshold when, be determined as successful match;Unlock track with match track When the identical percentage in track is less than or equal to the percentage threshold of setting, it is determined as that it fails to match.
In addition, when the matching track of the unlock track and generation that receive mismatches, unlock failure.
The terminal of that embodiment of the invention can be the mobile terminals such as mobile phone, plate.
Optionally, generation unit is specifically used for,
Load original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according in advance The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as taking turns Wide track.
It should be noted that (RGB, rgb color mode are one kind of industry to the red blue green of the original image of acquisition load Color standard, be by red (R), green (G), the variation of blue (B) three Color Channels and their mutual superpositions come Miscellaneous color is obtained, RGB is the color for representing three channels of red, green, blue, this standard almost includes the mankind The all colours that eyesight can perceive are current with most wide one of color system.) value can be by adopting in the related technology Set method carries out;Colour system parameter is synthesized for color, can be configured, can also be used according to the distribution of color of original image The interval parameter of default is configured;Theoretically, in the uniform situation of colour system parameter distribution, the section of a colour system parameter is got over Greatly, colour system type is fewer;The section of colour system parameter is smaller, and colour system type is more;In addition, when colour system type is more, the profile of formation Path length may be shorter, influences the determination for matching track.
Optionally, determination unit is specifically used for,
All profile traces that will be greater than the effective threshold value in pre-set track are determined as spare profile traces;
Select a wherein spare profile traces;
In the spare profile traces of selection, the rail of the identical preset length of preset times is carried out along spare profile traces Mark sliding, determines the matching track for unlock.
It should be noted that the effective threshold value in track is the numerical value by determining after statistical analysis, the general effective threshold in track Value can be 2/3rds numerical value of about terminal display width;If terminal display size is larger, rule The adjustable numerical value for less than 2/3rds of the minimum value of the ratio of effective threshold value and terminal display width, example Such as, tablet computer can be a numerical value less than 2/3rds as the display biggish terminal of screen, spare profile traces; If terminal display size is smaller, rule effectively threshold value and the minimum value of the ratio of terminal display width can be adjusted A whole numerical value for greater than 2/3rds.In addition, the embodiment of the present invention can the item number to spare profile traces be defined, Such as only retain three profile traces;In addition, when comprising a plurality of profile traces greater than the effective threshold value in pre-set track, The spare profile traces that the item number of setting can be retained according to the descending sequence of profile traces length, can also pass through reception The selection instruction of user, determine in the profile traces for being greater than the effective threshold value in pre-set track it is specific which as spare wheel Wide track.In addition, preset times may include twice, after determining spare profile traces, determining the mode and phase of matching track The mode of setting initial sliding track can be identical in the technology of pass.The length of matching of embodiment of the present invention track can be equal to The length of the spare profile traces of selection, can also be the partial-length of spare profile traces, can also be by spare The track slided twice or more than twice is carried out according to preset sliding rule in profile traces, for the first time the length of sliding With track interruption can not be generated with secondary difference, general first time and second of sliding process.
Optionally, the terminal of that embodiment of the invention further includes feedback unit, and all profile traces for generation are respectively less than pre- When the effective threshold value in the track being first arranged, matching track of the feedback for unlock determines failure.
It should be noted that user can reselect new original graph when the matching track for unlock determines failure Piece, based on the subjective analysis for determining failure, user can choose load and be easy to generate the picture of longer profile traces, true to improve Surely track success rate is matched;Such as each region is uniform in size and region in the close picture of color.
Optionally, the terminal of that embodiment of the invention further includes background setting unit, for before receiving unlock track, setting to be former Beginning picture or synthesising picture are the background display picture for receiving unlock track.
It should be noted that showing that picture can be user using the background of original image or synthesising picture as unlock track It correctly enters unlock track and reference is provided, improve the accuracy that user inputs unlock track.
The embodiment of the present invention carries out the determination and unlock of matching track by using the original image of load;According to selection Original image and determine profile traces type, realize matching trace graphics abundant configuration, improve user unlock The interest of Experience Degree and unlocking process;In addition, since original image is the picture of selection load, relative to adopting in the related technology The digital keys of fixation and three rows improve the crypticity of unlocking process multiplied by the key of three column.
The embodiment of the present invention realizes the terminal of unlock, comprising: generation unit, determination unit, feedback unit, background setting are single Member, unlocking unit;Wherein,
Generation unit is used for, and is formed according to the color of the original image of load and is generated profile traces;
It should be noted that the original image in the embodiment of the present invention can be the picture that user stores in terminal local, The picture of picture, downloading including shooting and the picture of interception.Source, the resolution ratio etc. of original image do not influence implementation of the present invention The implementation of example.The load of original image can read original image by access storage media from storage medium, can also be straight Web browsing picture is asked in receiving, is cached after obtaining picture by browsing, when selecting browsing pictures as original image, downloading browsing Picture is to locally as original image.
Determination unit is used for, and determines the matching track for unlock according to the profile traces of generation;
Feedback unit is used for, and when all profile traces of generation are respectively less than the effective threshold value in pre-set track, feedback is used Failure is determined in the matching track of unlock.
It should be noted that user can reselect new original graph when the matching track for unlock determines failure Piece, based on the subjective analysis for determining failure, user can choose load and be easy to generate the picture of longer profile traces, true to improve Surely track success rate is matched;Such as each region is uniform in size and region in the close picture of color.
Background setting unit is used for, and before receiving unlock track, original image is arranged or synthesising picture is to receive unlock rail The background of mark shows picture.
It should be noted that showing that picture can be user using the background of original image or synthesising picture as unlock track It correctly enters unlock track and reference is provided, improve the accuracy that user inputs unlock track.
Unlocking unit is used for, and when the matching track of the unlock track and generation that receive matches, is unlocked.
It should be noted that unlock track and the matching for matching track can pass through setting: unlock track with match track The identical percentage in track be greater than setting percentage threshold when, be determined as successful match;Unlock track with match track When the identical percentage in track is less than or equal to the percentage threshold of setting, it is determined as that it fails to match.In addition, the unlock received When track and the matching track of generation mismatch, unlock failure.
The terminal of that embodiment of the invention can be the mobile terminals such as mobile phone, plate.
Optionally, generation unit is specifically used for,
Load original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according in advance The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, is obtained comprising two or more colors synthesis region Synthesising picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as taking turns Wide track.
It should be noted that (RGB, rgb color mode are one kind of industry to the red blue green of the original image of acquisition load Color standard, be by red (R), green (G), the variation of blue (B) three Color Channels and their mutual superpositions come Miscellaneous color is obtained, RGB is the color for representing three channels of red, green, blue, this standard almost includes the mankind The all colours that eyesight can perceive are current with most wide one of color system.) value can be by adopting in the related technology Set method carries out;Colour system parameter is synthesized for color, can be configured, can also be used according to the distribution of color of original image The interval parameter of default is configured;Theoretically, in the uniform situation of colour system parameter distribution, the section of a colour system parameter is got over Greatly, colour system type is fewer;The section of colour system parameter is smaller, and colour system type is more;In addition, when colour system type is more, the profile of formation Path length may be shorter, influences the determination for matching track.
Optionally, determination unit is specifically used for,
All profile traces that will be greater than the effective threshold value in pre-set track are determined as spare profile traces;
Select a wherein spare profile traces;
In the spare profile traces of selection, the rail of the identical preset length of preset times is carried out along spare profile traces Mark sliding, determines the matching track for unlock.
It should be noted that the effective threshold value in track is the numerical value by determining after statistical analysis, the general effective threshold in track Value can be 2/3rds numerical value of about terminal display width;If terminal display size is larger, rule The adjustable numerical value for less than 2/3rds of the minimum value of the ratio of effective threshold value and terminal display width, example Such as, tablet computer can be a numerical value less than 2/3rds as the display biggish terminal of screen, spare profile traces; If terminal display size is smaller, rule effectively threshold value and the minimum value of the ratio of terminal display width can be adjusted A whole numerical value for greater than 2/3rds.In addition, the embodiment of the present invention can the item number to spare profile traces be defined, Such as only retain three profile traces;In addition, when comprising a plurality of profile traces greater than the effective threshold value in pre-set track, The spare profile traces that the item number of setting can be retained according to the descending sequence of profile traces length, can also pass through reception The selection instruction of user, determine in the profile traces for being greater than the effective threshold value in pre-set track it is specific which as spare wheel Wide track.In addition, preset times may include twice, after determining spare profile traces, determining the mode and phase of matching track The mode of setting initial sliding track can be identical in the technology of pass.The length of matching of embodiment of the present invention track can be equal to The length of the spare profile traces of selection, can also be the partial-length of spare profile traces, can also be by spare The track slided twice or more than twice is carried out according to preset sliding rule in profile traces, for the first time the length of sliding With track interruption can not be generated with secondary difference, general first time and second of sliding process.
The embodiment of the present invention carries out the determination and unlock of matching track by using the original image of load;According to selection Original image and determine profile traces type, realize matching trace graphics abundant configuration, improve user unlock The interest of Experience Degree and unlocking process;In addition, since original image is the picture of selection load, relative to adopting in the related technology The digital keys of fixation and three rows improve the crypticity of unlocking process multiplied by the key of three column.
The method of the present invention is carried out to understand detailed description below by way of using example, is only used for stating this hair using example Bright embodiment, is not intended to limit the scope of protection of the present invention.
Using example 1
Fig. 9 is that the present invention applies exemplary method flow diagram, as shown in Figure 9, comprising:
Step 900, terminal enter unlocking function set interface;This application example, terminal may include mobile phone, plate Deng.
Step 901, terminal loads picture;
Step 902, terminal carry out rgb value sampling to the picture of load;
Step 903, according to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition Different colour systems is divided into according to the colour system parameter delimited in advance;
The color for belonging to same colour system is carried out color synthesis by step 904, is obtained and is closed comprising two or more colors At the synthesising picture in region;
Step 905 shows color each in the synthesising picture of acquisition synthesis region progress contoured;
Step 906, the boundary line for detecting the adjacent color synthesis region that contoured is shown, the boundary line that will test It is determined as profile traces;
Step 907, all profile traces that will be greater than the effective threshold value in pre-set track are determined as spare profile traces, And select a wherein spare profile traces;
Step 908, in the spare profile traces of selection, carry out identical preset length twice along spare profile traces Track sliding, determines the matching track for unlock;
Step 909, the unlock track and generation received matching track when matching, carry out the unlock of terminal.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can store in computer readable storage medium, as read-only memory, Disk or CD etc..Optionally, one or more integrated circuits also can be used in all or part of the steps of above-described embodiment It realizes.Correspondingly, each module/unit in above-described embodiment can take the form of hardware realization, such as pass through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution Program/instruction in memory realizes its corresponding function.The present invention is not limited to the hardware and softwares of any particular form In conjunction with.".
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (8)

1. a kind of terminal for realizing unlock characterized by comprising generation unit, determination unit and unlocking unit;Wherein,
Generation unit is used for, and is formed according to the color of the original image of load and is generated profile traces;
Determination unit is used for, and determines the matching track for unlock according to the profile traces of generation;
Unlocking unit is used for, and when the matching track of the unlock track and generation that receive matches, is unlocked,
The determination unit is specifically used for,
It is descending according to profile traces length for being greater than all profile traces of the effective threshold value in pre-set track Sequence retain default number of branches spare profile traces, or receive user selection instruction determine spare profile traces;
Select the wherein spare profile traces;
In the spare profile traces of selection, the identical preset length of preset times is carried out along the spare profile traces Track sliding, determine for unlock the matching track.
2. terminal according to claim 1, which is characterized in that the generation unit is specifically used for,
Load the original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according to described preparatory The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, obtains the synthesis comprising two or more colors synthesis region Picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as the wheel Wide track.
3. described in any item terminals according to claim 1~2, which is characterized in that the terminal further includes feedback unit, is used for When all profile traces generated are respectively less than the effective threshold value in pre-set track, the feedback matching rail for unlock Mark determines failure.
4. terminal according to claim 2, which is characterized in that the terminal further includes background setting unit, for receiving Before unlocking track, the original image is set or the synthesising picture is the background display picture for receiving the unlock track.
5. a kind of method for realizing unlock characterized by comprising
It is formed according to the color of the original image of load and generates profile traces;
The matching track for unlock is determined according to the profile traces of generation;
When the matching track of the unlock track and generation that receive matches, it is unlocked,
It is described to determine that the matching track for unlock includes: according to the profile traces of generation
It is descending according to profile traces length for being greater than all profile traces of the effective threshold value in pre-set track Sequence retain default number of branches spare profile traces, or receive user selection instruction determine spare profile traces;
Select the wherein spare profile traces;
In the spare profile traces of selection, the identical preset length of preset times is carried out along the spare profile traces Track sliding, determine for unlock the matching track.
6. according to the method described in claim 5, it is characterized in that, the generation profile traces include:
Load the original image;
Acquire the red blue green rgb value of the original image of load;
According to the corresponding colour system parameter of two or more colour systems delimited in advance, by the rgb value of acquisition according to described preparatory The colour system parameter of delimitation is divided into different colour systems;
The color for belonging to same colour system is subjected to color synthesis, obtains the synthesis comprising two or more colors synthesis region Picture;
Contoured is carried out to color each in the synthesising picture of acquisition synthesis region to show;
Detect the boundary line in the adjacent color synthesis region that contoured is shown, the boundary line that will test is determined as the wheel Wide track.
7. according to the described in any item methods of claim 5~6, which is characterized in that all profile traces of generation are small When the effective threshold value in pre-set track, the method also includes:
The feedback matching track for unlock determines failure.
8. according to the method described in claim 6, it is characterized in that, the reception unlock track before, the method also includes:
The original image is set or the synthesising picture is the background display picture for receiving the unlock track.
CN201610286889.3A 2016-04-29 2016-04-29 A kind of method and terminal for realizing unlock Active CN106022083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610286889.3A CN106022083B (en) 2016-04-29 2016-04-29 A kind of method and terminal for realizing unlock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610286889.3A CN106022083B (en) 2016-04-29 2016-04-29 A kind of method and terminal for realizing unlock

Publications (2)

Publication Number Publication Date
CN106022083A CN106022083A (en) 2016-10-12
CN106022083B true CN106022083B (en) 2019-05-24

Family

ID=57081922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610286889.3A Active CN106022083B (en) 2016-04-29 2016-04-29 A kind of method and terminal for realizing unlock

Country Status (1)

Country Link
CN (1) CN106022083B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722320A (en) * 2012-05-21 2012-10-10 奇智软件(北京)有限公司 Method and device for operating touch screen of electronic equipment
CN103425419A (en) * 2012-05-23 2013-12-04 联想(北京)有限公司 Operation control method and electronic equipment
CN103699328A (en) * 2013-12-30 2014-04-02 青岛海信移动通信技术股份有限公司 Method and device for unlocking touch screen
CN104090725A (en) * 2014-07-28 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for unlocking touch screen of mobile terminal
CN104636726A (en) * 2015-02-05 2015-05-20 深圳市中兴移动通信有限公司 Method and device for identifying image colors and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722320A (en) * 2012-05-21 2012-10-10 奇智软件(北京)有限公司 Method and device for operating touch screen of electronic equipment
CN103425419A (en) * 2012-05-23 2013-12-04 联想(北京)有限公司 Operation control method and electronic equipment
CN103699328A (en) * 2013-12-30 2014-04-02 青岛海信移动通信技术股份有限公司 Method and device for unlocking touch screen
CN104090725A (en) * 2014-07-28 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for unlocking touch screen of mobile terminal
CN104636726A (en) * 2015-02-05 2015-05-20 深圳市中兴移动通信有限公司 Method and device for identifying image colors and terminal

Also Published As

Publication number Publication date
CN106022083A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
US9104442B2 (en) Modifying the execution of a native application running on a portable electronic device
CN103616986B (en) Method and system for displaying and hiding application icons and mobile terminal
US20150047014A1 (en) Method and apparatus for unlocking lock screen in electronic device
CN105678238B (en) Fingerprint certification device, method
CN106448702B (en) A kind of recording data processing unit, mobile terminal and method
CN105975848A (en) Password unlocking method and apparatus
CN105591440B (en) Mobile terminal charging control device and method
CN104731390A (en) System and method for saving original handwriting
US11526322B2 (en) Enhanced techniques for merging content from separate computing devices
KR20140005686A (en) Apparatas and method for unlocking using element of combining color and symbol in an electronic device
CN104850498B (en) A kind of filling information method of testing and system
CN111814885A (en) Method, system, device and medium for managing image frames
CN110189384A (en) Method for compressing image, device, computer equipment and storage medium based on Unity3D
KR20130082979A (en) User personalized recommendation system based on fingerprint identification
CN106095744B (en) Irregular control icons processing unit and method
CN106022083B (en) A kind of method and terminal for realizing unlock
CN104217153A (en) Information processing method and electronic equipment
CN109426522A (en) Interface processing method, device, equipment, medium and the operating system of mobile device
CN105893336B (en) A kind of text display method and terminal
CN112764633A (en) Information processing method and device and electronic equipment
CN103902204A (en) Horse race lamp type unlocking system and method
CN105894242A (en) Calendar event display method and apparatus
CN108846879A (en) The generation method and device of colour table
CN107885571A (en) Show page control method and device
CN114626332A (en) Content display method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201124

Address after: 226000 Jiangsu Province, Nantong City Chongchuan District Gongnong Road, No. 5 Asia-Pacific Building, Room 302, podium

Patentee after: JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Patentee before: NUBIA TECHNOLOGY Co.,Ltd.