Summary of the invention
Based on this, the present invention provides a kind of application unlocking method that security performance is high, system, mobile terminal and storage and is situated betweenMatter.
In a first aspect, applying unlocking method, the method the present invention provides a kind of, comprising:
When receiving the selected signal for being directed to any application icon, the current displaing coordinate of the application icon is obtained, andJudge whether the current displaing coordinate meets coordinate unlocking condition;
When determining the current displaing coordinate and meeting the coordinate unlocking condition, the current close of user's input is obtainedCode, and judge whether the current password is preset password;
If so, unlock runs the corresponding target application of the application icon.
It is above-mentioned to apply unlocking method, by judgement to the current displaing coordinate and the coordinate unlocking condition, describedJudgement design between current password and the preset password, carries out the control using unlock in a manner of using double verification,The security performance using unlocking method is effectively raised, safety coefficient is higher.
Further, after the unlock runs the step of application icon corresponding target application, the method is alsoInclude:
When determining target application closing, the application icon is moved to respective coordinates by default movement ruleIt is shown.
Further, described that the application icon is moved to the step of respective coordinates are shown by default movement ruleInclude:
Judge fixed displaing coordinate whether is marked on the application icon;
When determine marked on the application icon stated fixed displaing coordinate when, the application icon is moved to instituteFixed displaing coordinate is stated to be shown;
When determine be not marked with the fixed displaing coordinate on the application icon when, by preset coordinate convert algorithm pairThe current displaing coordinate is calculated, and to obtain transformation displaing coordinate, and the application icon is moved to the transformation displayCoordinate is shown.
Further, described the step of calculating by preset coordinate transformation algorithm the current displaing coordinate, includes:
Obtain the current displaing coordinate current abscissa value and current ordinate value, and calculate separately the current crossIt is between coordinate value, the current ordinate value and corresponding preset value and, with the transformation displaing coordinate, the transformation are shownCoordinate includes transformation abscissa and transformation ordinate.
Further, it is described calculate separately the current abscissa value, the current ordinate value and corresponding preset value itBetween and the step of after, the method also includes:
Judge whether the transformation abscissa, the transformation ordinate are greater than respective coordinates threshold value respectively;
When determining the transformation abscissa greater than the corresponding coordinate threshold value, by the transformation abscissa regulated value pairMinimum value should be preset;
When determining the transformation ordinate greater than the corresponding coordinate threshold value, by the transformation ordinate regulated value pairAnswer the default minimum value.
Further, described to judge that the step of whether current displaing coordinate meets coordinate unlocking condition includes:
The application icon is matched with the application region table being locally pre-stored, with the release region that is applied;
Judge the current displaing coordinate whether in the application release region;
If so, determining that the current displaing coordinate meets the coordinate unlocking condition;
If it is not, then determining that the current displaing coordinate does not meet the coordinate unlocking condition.
Further, it is described judge the step of whether current displaing coordinate meets coordinate unlocking condition after, it is describedMethod further include:
When determining the current displaing coordinate and not meeting the coordinate unlocking condition, unlock operation standby application, instituteStandby application is stated as empty data application.
Second aspect applies system for unlocking the present invention provides a kind of, comprising:
First judgment module, for obtaining the application icon when receiving the selected signal for being directed to any application iconCurrent displaing coordinate, and judge whether the current displaing coordinate meets coordinate unlocking condition;
Second judgment module, for meeting the coordinate when the first judgment module determines the current displaing coordinateWhen unlocking condition, the current password of user's input is obtained, and judges whether the current password is preset password;
First unlocked state, for being the preset password when second judgment module determines the current passwordWhen, unlock runs the corresponding target application of the application icon.
It is above-mentioned to apply system for unlocking, the current displaing coordinate and the coordinate are unlocked by the first judgment moduleThe judgement of condition, second judgment module design the judgement between the current password and the preset password, to useThe mode of double verification carries out effectively raising the security performance using system for unlocking using the control of unlock, safetyCoefficient is higher.
The third aspect, the present invention provides a kind of mobile terminal, including memory, processor and storage are on a memory simultaneouslyThe computer program that can be run on a processor, the processor run the computer program so that the mobile terminal executionAbove-mentioned application unlocking method.
Fourth aspect, the present invention provides a kind of storage mediums, are stored thereon with computer program, and the program is by processorThe step of above-mentioned application unlocking method is realized when execution.
Specific embodiment
For the ease of more fully understanding the present invention, the present invention is carried out further below in conjunction with related embodiment attached drawingIt explains.The embodiment of the present invention is given in attached drawing, but the present invention is not limited in above-mentioned preferred embodiment.On the contrary, providingThe purpose of these embodiments be in order to make disclosure of the invention face more sufficiently.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered useIn the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, forInstruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instructionThe instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or setIt is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or passDefeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipmentIt sets.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically showThe description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or examplePoint is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are notCentainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be anyOne or more embodiment or examples in can be combined in any suitable manner.
Referring to Fig. 1, for the flow chart using unlocking method that first embodiment of the invention provides, including step S10 is extremelyS40。
Step S10 obtains the current display of the application icon when receiving the selected signal for being directed to any application iconCoordinate;
Wherein, the receiving end of the selected signal can for mobile phone, computer, smart television, tablet device, wearable device orAny mobile terminal device, the receiving end of the selected signal is mobile phone in the present embodiment, is shown on the mobile phone multiple and differentApplication icon, the application icon is for being directed toward corresponding application program.
Preferably, selected signal described in the step can use touching signals, push button signalling, voice signal or wireless communicationNumber etc. modes transmitted, and the selected signal can be for one or more different application icons, and the selected signal is availableThe unlock process of the application program corresponding to the application icon that triggering is directed to;When the selected signal is using touching in the stepWhen the mode of control signal is transmitted, it can be obtained by directly acquiring the touch point coordinate of the touching signals described current aobviousShow that coordinate, the current displaing coordinate are displaing coordinate point of the application icon on corresponding equipment touch screen;
Step S20, judges whether the current displaing coordinate meets coordinate unlocking condition;
Wherein, the display position of the application icon is determined in advance by the way of application lock in the present embodiment,Judge that the application icon whether within the scope of preset coordinate point or default display area, has by the coordinate unlocking conditionBody, which is any encryption software, which is used to need application to be protected to encrypt user, when need intoEnter corresponding in application, being required to input password, and to carry out the judgement of the coordinate unlocking condition in advance in this step;
Preferably, before step S20, the method also includes being arranged application lock, it may be assumed that
When receiving the setting signal for any application, coordinate record is carried out using corresponding coordinates of icon to this,With the region table that is applied, it is stored in the application region table using the coordinates of icon as origin and is formed by regional scope, the areaDomain range is for judging whether corresponding application icon meets the coordinate unlocking condition, specifically, the origin is the corresponding figureTarget center point coordinate, it is preferred that in other embodiments, which can also be apex angle coordinate any on the icon;
When step S20, which determines the current displaing coordinate, meets the coordinate unlocking condition, step S30 is executed;
Specifically, needing corresponding application icon carrying out touch-control in advance when user needs to be unlocked operation to applicationIt is mobile, when so as to which the application icon being moved within the scope of corresponding preset coordinate point or default display area, just work as described in judgementPreceding displaing coordinate meets the coordinate unlocking condition.
Step S30, obtains the current password of user's input, and judges whether the current password is preset password;
Wherein, the acquisition of the current password is carried out in the step by way of showing interface for password input, and shouldCurrent password can be the modes such as numerical value password, speech cipher, finger-print cipher or facial characteristics password, and locally be pre-stored with useTherefore the pre-stored preset password in family passes through sentencing between the current password and the preset password in this stepDisconnected design to carry out secondary unlocking judgement, and then effectively raises the security performance using unlocking method and safety systemNumber.
When it is the preset password that step S30, which determines the current password, step S40 is executed.
Step S40, unlock run the corresponding target application of the application icon;
Wherein, corresponding due to being stored with multiple preset icons and preset icon in corresponding to the locally applied list of cell phone apparatusApplication therefore can be by the way that the application icon be matched with the locally applied list, to obtain in step S40Target application is stated, i.e., the application icon is subjected to images match with multiple preset icons respectively, to obtain the target application,So that facilitating the operation of the unlock to the target application;
Preferably, after the step s 40, the method also includes:
When determine the target application close when or mobile phone screen go out screen reach preset time when, by the application iconPosition carries out random movement or is moved to fixed position and is shown, and then further improves the peace using unlocking methodFull performance.
In the present embodiment, by judgement to the current displaing coordinate and the coordinate unlocking condition, described current closeJudgement between code and the preset password designs, and the control using unlock is carried out in a manner of using double verification, effectivelyThe security performance using unlocking method is improved, safety coefficient is higher.
Referring to Fig. 2, the method includes steps for the flow chart using unlocking method that second embodiment of the invention providesRapid S11 to S71.
Step S11 obtains the current display of the application icon when receiving the selected signal for being directed to any application iconCoordinate;
Wherein, the receiving end of the selected signal can for mobile phone, computer, smart television, tablet device, wearable device orAny mobile terminal device, the receiving end of the selected signal is mobile phone in the present embodiment, is shown on the mobile phone multiple and differentApplication icon, the application icon is for being directed toward corresponding application program.
Preferably, selected signal described in the step can use touching signals, push button signalling, voice signal or wireless communicationNumber etc. modes transmitted, and the selected signal can be for one or more different application icons, and the selected signal is availableThe unlock process of the application program corresponding to the application icon that triggering is directed to;When the selected signal is using touching in the stepWhen the mode of control signal is transmitted, it can be obtained by directly acquiring the touch point coordinate of the touching signals described current aobviousShow that coordinate, the current displaing coordinate are displaing coordinate point of the application icon on corresponding equipment touch screen;
Step S21 matches the application icon, with the application region table being locally pre-stored with the unlock that is appliedRegion;
Specifically, the method also includes being arranged application lock before step S21, it may be assumed that
When receiving the setting signal for any application, coordinate record is carried out using corresponding coordinates of icon to this,With the region table that is applied, it is stored in the application region table and is formed by release region range by origin of the coordinates of icon,The regional scope corresponds to whether application icon meets coordinate unlocking condition for judging, therefore can be by that will work as in step S21The preceding application icon is matched with the application region table, described using release region to obtain corresponding to;
Whether step S31 judges the current displaing coordinate in the application release region;
Wherein, it when the selected signal is touching signals, can be directly acquired by the touching signals described current aobviousShow coordinate, and then effectively facilitates the current displaing coordinate and the judgement using between release region;
When step S31 determines the current displaing coordinate not in the application release region, step S41 is executed.
Step S41, unlock operation standby application, the standby application are empty data application;
Wherein, which is the pre-set application of user, this applies interior and not stored any user data,The standby application be used for when carry out application lock unlock it is failed when, be shown to active user's viewing, it is preferred that described spare to answerDisplay interface with target application corresponding with the application icon is identical, in the present embodiment, passes through the standby applicationDesign, effectively prevent other people to application unlock after data leakage, and prevent due to other people due to Password Input mistakeThe repeatedly generation of input phenomenon caused by accidentally, for example, the described of opening spare answers when the target application is photo management deviceIt is not stored in have any picture data, such as when the target application is memorandum, in the standby application of opening notIt is stored with any document data, but the image of the image display interfaces of the corresponding standby application opened and the target applicationDisplay interface is identical.
When step S31 determines the current displaing coordinate in the application release region, step S51 is executed.
Step S51, obtains the current password of user's input, and judges whether the current password is preset password;
Wherein, the acquisition of the current password is carried out in the step by way of showing interface for password input, and shouldCurrent password can be the modes such as numerical value password, speech cipher, finger-print cipher or facial characteristics password, and locally be pre-stored with useTherefore the pre-stored preset password in family passes through sentencing between the current password and the preset password in this stepDisconnected design to carry out secondary unlocking judgement, and then effectively raises the security performance using unlocking method and safety systemNumber.
When it is the preset password that step S51, which determines the current password, step S61 is executed;
Step S61, unlock run the corresponding target application of the application icon;
Wherein, by matching the application icon with the list of application being locally pre-stored in step S61, to obtainThe target application;
The application icon is moved to when determining target application closing by default movement rule by step S71Respective coordinates are shown;
Referring to Fig. 3, for the flow chart of the specific implementation step of step S71 in Fig. 2:
Step S710 judges fixed displaing coordinate whether is marked on the application icon;
Wherein, the fixed displaing coordinate is that user is configured for the display of the application icon, and the fixation is aobviousShow that coordinate can independently carry out the setting of coordinate value according to the demand of user, but the coordinate value of the fixation displaing coordinate not more than touchesMaximum coordinate value among on control screen, and then effectively prevent the mistake display of the application icon.
When step S710 determine marked on the application icon stated fixed displaing coordinate when, execute step S711;
The application icon is moved to the fixed displaing coordinate and shown by step S711;
When step S710, which is determined, is not marked with the fixed displaing coordinate on the application icon, step is executedS712。
Step S712 calculates the current displaing coordinate by preset coordinate transformation algorithm, to obtain transformation displayCoordinate, and the application icon is moved to the transformation displaing coordinate and is shown;
Preferably, the replacement of the current displaing coordinate can also be carried out in the step by the way of stochastic transformation;
Referring to Fig. 4, for the flow chart of the specific implementation step of step S712 in Fig. 3:
Step S7120, the current abscissa value of the acquisition current displaing coordinate and current ordinate value, and calculate separatelyIt is between the current abscissa value, the current ordinate value and corresponding preset value and, with the transformation displaing coordinate;
Wherein, since the icon sizes shape of the corresponding display of application each on mobile phone is identical (icon shows that content is different),Therefore, current displaing coordinate described in the step can be the center point coordinate of the application icon, the transformation displaing coordinateIncluding transformation abscissa and transformation ordinate, for example, preset value described in the present embodiment is 1, the current displaing coordinate is(3,4), therefore, the transformation displaing coordinate are (4,5), it is possible to understand that, in other embodiments, which can be withFor apex angle coordinate any on the icon or the coordinate chosen according to default selection rule;
The default selection rule can be with are as follows: sets origin for the central point of the application icon, and based on the originMark when coordinate points according to preset coordinate value, to obtain currently showing that point and the current display point are corresponding described current aobviousShow coordinate;
Step S7121, judges whether the transformation abscissa is greater than respective coordinates threshold value;
Wherein, since the size of touch screen is limited, each touch screen can be arranged there are two coordinate threshold value, distinguishFor ordinate threshold value and abscissa threshold value;
When step S7121 executes step S7122 when determining the transformation abscissa greater than the corresponding coordinate threshold value.
Step S7122, by the corresponding default minimum value of the transformation abscissa regulated value;
Step S7123, judges whether the transformation ordinate is greater than the corresponding coordinate threshold value;
When step S7123, which determines the transformation ordinate, is greater than the corresponding coordinate threshold value, step S7124 is executed;
The transformation ordinate regulated value is corresponded to the default minimum value by step S7124;
For example, when the threshold value coordinate of touch screen in the present embodiment is (4,3), when the transformation displaing coordinate is (4,5), byIt is greater than the ordinate threshold value in the transformation ordinate and therefore (4,1) is set by the transformation displaing coordinate, with effectivePrevent the mistake display of the application icon.
Further, it can also be image translation rule by default movement rule described in step S71, i.e., be answered by described inWith icon towards the display area of the mobile presetting digit capacity of preset direction, and by the replacement icon shown in the display area with it is describedApplication icon carries out evolution, for example, can be by the application icon to the display area of one unit of right translation, and it will be byReplacement icon in transitional zone is to one unit of left, it is possible to understand that, in other embodiments, which can be withFor any angular orientation.
In the present embodiment, by judgement to the current displaing coordinate and the coordinate unlocking condition, described current closeJudgement between code and the preset password designs, and the control using unlock is carried out in a manner of using double verification, effectivelyThe security performance using unlocking method is improved, safety coefficient is higher.
Referring to Fig. 5, the structural schematic diagram using system for unlocking 100 provided for third embodiment of the invention, comprising:
First judgment module 10, for obtaining the application drawing when receiving the selected signal for being directed to any application iconThe current displaing coordinate of target, and judge whether the current displaing coordinate meets coordinate unlocking condition, wherein the selected signalReceiving end can be mobile phone, computer, smart television, tablet device, wearable device or any mobile terminal device, the present embodimentIn the receiving end of the selected signal be mobile phone, show multiple and different application icons on the mobile phone, the application icon is for referring toTo corresponding application program.
Specifically, being sentenced in advance to the display position of the application icon by the way of application lock in the present embodimentIt is fixed, i.e., judge the application icon whether in preset coordinate point or default display area range by the coordinate unlocking conditionIt is interior.
Second judgment module 20, for being determined described in the current displaing coordinate satisfaction when the first judgment module 10When coordinate unlocking condition, the current password of user's input is obtained, and judges whether the current password is preset password, whereinThe acquisition of the current password is carried out by way of showing interface for password input, and the current password can be close for numerical valueThe modes such as code, speech cipher, finger-print cipher or facial characteristics password, and it is pre-stored described default to be locally pre-stored with userTherefore password is designed by the judgement between the current password and the preset password, to carry out secondary unlocking judgement, intoAnd effectively raise the security performance and safety coefficient using unlocking method.
First unlocked state 30, for when second judgment module 20 determine the current password be it is described preset it is closeWhen code, unlock runs the corresponding target application of the application icon.
Mobile control module 40, for being answered by described in by default movement rule when determining target application closingRespective coordinates are moved to icon to be shown.
Specifically, the mobile control module 40 includes:
First judging unit 41, for judging whether be marked with fixed displaing coordinate on the application icon, wherein describedFixed displaing coordinate is that user is configured for the display of the application icon, which can be according to user'sDemand independently carries out the setting of coordinate value, but the coordinate value of the fixation displaing coordinate is not more than the maximum coordinates on touch screenValue, and then effectively prevent the mistake display of the application icon.
First movement unit 42, for being stated when first judging unit 41 determines to mark on the application iconWhen fixed displaing coordinate, the application icon is moved to the fixed displaing coordinate and is shown;
Second mobile unit 43, for when first judging unit 41 determine on the application icon it is unmarkedWhen stating fixed displaing coordinate, the current displaing coordinate is calculated by preset coordinate transformation algorithm, to obtain transformation displayCoordinate, and the application icon is moved to the transformation displaing coordinate and is shown.
Second mobile unit 43 includes:
Computing unit 431, for obtain the current displaing coordinate current abscissa value and current ordinate value, and pointDo not calculate it is between the current abscissa value, the current ordinate value and corresponding preset value and, with the transformation is shownCoordinate, the transformation displaing coordinate include transformation abscissa and transformation ordinate, wherein the transformation displaing coordinate includes transformationAbscissa and transformation ordinate, for example, preset value described in the present embodiment is 1, the current displaing coordinate is (3,4), becauseThis, the transformation displaing coordinate is (4,5).
Second judgment unit 432, for judging whether the transformation abscissa, the transformation ordinate are greater than correspondence respectivelyCoordinate threshold value, wherein since the size of touch screen is limited, each touch screen can be arranged there are two coordinate threshold value, distinguishFor ordinate threshold value and abscissa threshold value.
Unit 433 is adjusted, for being greater than described in correspondence when the second judgment unit 432 determines the transformation abscissaWhen coordinate threshold value, by the corresponding default minimum value of the transformation abscissa regulated value;When the second judgment unit 432 determines instituteWhen stating transformation ordinate greater than the corresponding coordinate threshold value, the transformation ordinate regulated value is corresponded into the default minimum value,For example, when the threshold value coordinate of touch screen in the present embodiment is (4,3), when the transformation displaing coordinate is (4,5), due to the changeIt changes ordinate and therefore sets (4,1) for the transformation displaing coordinate greater than the ordinate threshold value, it is described to effectively preventThe mistake display of application icon.
In addition, the first judgment module 10 includes:
Matching unit 11, for matching the application icon with the application region table being locally pre-stored, to obtainUsing release region;
Third judging unit 12, for judging the current displaing coordinate whether in the application release region;If so,Then determine that the current displaing coordinate meets the coordinate unlocking condition;If it is not, then determining that the current displaing coordinate does not meetThe coordinate unlocking condition.
Preferably, the application system for unlocking 100 further include:
Second unlocked state 50, for not meeting institute when the first judgment module 10 determines the current displaing coordinateWhen stating coordinate unlocking condition, unlock operation standby application, the standby application is empty data application.
Above-mentioned application system for unlocking 100, by the first judgment module 10 to the current displaing coordinate and the seatMark the judgement of unlocking condition, second judgment module 20 sets the judgement between the current password and the preset passwordMeter carries out effectively raising the safety using system for unlocking using the control of unlock in a manner of using double verificationPerformance, safety coefficient are higher.
The present embodiment additionally provides a kind of storage medium, is stored thereon with computer program, the program when being executed, includingFollowing steps:
When receiving the selected signal for being directed to any application icon, the current displaing coordinate of the application icon is obtained, andJudge whether the current displaing coordinate meets coordinate unlocking condition;
When determining the current displaing coordinate and meeting the coordinate unlocking condition, the current close of user's input is obtainedCode, and judge whether the current password is preset password;
If so, unlock runs the corresponding target application of the application icon.The storage medium, such as: ROM/RAM,Magnetic disk, CD etc..
Above embodiment described technical principles of the invention, and the description is merely to explain the principles of the invention, andIt cannot be construed to the limitation of the scope of the present invention in any way.Based on the explanation herein, those skilled in the art is not required toOther specific embodiments of the invention can be associated by paying creative labor, these modes fall within of the inventionIn protection scope.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wiringsElectrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only depositsReservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitableMedium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other mediaHis suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentionedIn embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storageOr firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardwareAny one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signalDiscrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), sceneProgrammable gate array (FPGA) etc..