CN103197838B - Unlock method and device - Google Patents

Unlock method and device Download PDF

Info

Publication number
CN103197838B
CN103197838B CN201310092778.5A CN201310092778A CN103197838B CN 103197838 B CN103197838 B CN 103197838B CN 201310092778 A CN201310092778 A CN 201310092778A CN 103197838 B CN103197838 B CN 103197838B
Authority
CN
China
Prior art keywords
centre
gravity place
affixed
default
place parameter
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
CN201310092778.5A
Other languages
Chinese (zh)
Other versions
CN103197838A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310092778.5A priority Critical patent/CN103197838B/en
Publication of CN103197838A publication Critical patent/CN103197838A/en
Application granted granted Critical
Publication of CN103197838B publication Critical patent/CN103197838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of unlock method and mobile terminal, belong to technical field of information processing.Unlock method comprises: obtain the first centre of gravity place parameter that affixed first accessory is corresponding, and judges whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates; If the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then perform unlocking operation; Wherein, the first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, presets centre of gravity place parameter and at least comprises default centre of gravity place coordinate.The present invention is by judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and when the default centre of gravity place parameter matching that judgement first centre of gravity place parameter is corresponding with affixed predetermined accessories, perform unlocking operation, thus provide a kind of new unlocking manner, not only effectively can prevent the maloperation of terminal, also have more uniqueness, and add security for user.

Description

Unlock method and device
Technical field
The present invention relates to technical field of information processing, particularly a kind of unlock method and device.
Background technology
Along with the development of science and technology, the use crowd of intelligent mobile terminal is popular gradually.Generally for the object of maloperation when reaching power saving and prevent from not using, can conduct the locking operations to mobile terminal, so only could use it after unlocking operation is performed to mobile terminal.
Current unlock method mainly contains two kinds, and first method is slide unblock based on the initial position of setting to terminal location, namely unlocks by sliding between the starting point set and point of destination; Second method is unlock for the triggering of different event control, moves to event control corresponding to assigned address by slide block or other sliding point, realizes triggering this event control, and enters the operation interface of this event control.
At least there is following problem in current mode:
Because the unlocking manner provided at present is all slide unblock, so there is the not high defect of confidentiality based on unlocking skid to assigned address.
Summary of the invention
In order to solve the problem of background technology, embodiments provide a kind of unlock method and device.Described technical scheme is as follows:
On the one hand, provide a kind of unlock method, described method comprises:
Obtain the first centre of gravity place parameter that affixed first accessory is corresponding, and judge whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
If the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then perform unlocking operation;
Wherein, described first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, described default centre of gravity place parameter at least comprises default centre of gravity place coordinate, described first centre of gravity place parameter is the centre of gravity place parameter of terminal and described first accessory entirety, and described default centre of gravity place parameter is the centre of gravity place parameter of described terminal and described predetermined accessories entirety.
Preferably, the quantity of described predetermined accessories is one, and described predetermined accessories is affixed in different pre-note positions, and the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
Preferably, the quantity of described predetermined accessories is multiple, and affixed position is one, and the default centre of gravity place parameter that the affixed different predetermined accessories in identical affixed position is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
Preferably, the quantity of described predetermined accessories is multiple, and affixed position is multiple, and the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed position is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
Preferably, the first centre of gravity place parameter that affixed first accessory of described acquisition is corresponding, comprising:
The first centre of gravity place coordinate corresponding to affixed described first accessory is obtained according to the position of affixed described first accessory and the weight of described first accessory, and using described first centre of gravity place coordinate as the described first centre of gravity place parameter got;
Described judge whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates before, also comprise:
Default centre of gravity place coordinate corresponding to affixed predetermined accessories is obtained according to the position of affixed predetermined accessories and the weight of predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got;
Wherein, described first centre of gravity place coordinate is the centre of gravity place coordinate of terminal and described first accessory entirety, and described default centre of gravity place coordinate is the centre of gravity place coordinate of described terminal and described predetermined accessories entirety.
Preferably, describedly judge whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and comprising:
Judge that whether described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Described execution unlocking operation, comprising:
Perform the unlocking function corresponding with the default centre of gravity place parameter of described first centre of gravity place parameter matching.
Preferably, described method also comprises:
The second centre of gravity place parameter corresponding before obtaining affixed described first accessory, according to described second centre of gravity place parameter display second center of gravity mark, and the default centre of gravity place parameter display corresponding according to affixed predetermined accessories presets center of gravity mark;
The first centre of gravity place parameter corresponding according to affixed described first accessory moves described second center of gravity mark;
Wherein, if the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then described second center of gravity mark moves to identify with described default center of gravity and overlaps.
On the other hand, provide a kind of tripper, described device comprises:
First acquisition module, for obtaining the first centre of gravity place parameter corresponding to affixed first accessory;
Judge module, for judging whether the first centre of gravity place parameter that described first acquisition module gets default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
Unlocked state, during for judging the described first centre of gravity place parameter default centre of gravity place parameter matching corresponding with affixed predetermined accessories when described judge module, performs unlocking operation;
Wherein, described first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, described default centre of gravity place parameter at least comprises default centre of gravity place coordinate, described first centre of gravity place parameter is the centre of gravity place parameter of terminal and described first accessory entirety, and described default centre of gravity place parameter is the centre of gravity place parameter of described terminal and described predetermined accessories entirety.
Preferably, the quantity of described predetermined accessories is one, and the affixed position in described terminal is multiple, and the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of described predetermined accessories is multiple, and the affixed position in described terminal is one, and the default centre of gravity place parameter that the affixed each predetermined accessories in identical affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of described predetermined accessories is multiple, and the affixed position in described terminal is multiple, and the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, described first acquisition module, for obtaining the first centre of gravity place coordinate corresponding to affixed described first accessory according to the position of affixed described first accessory and the weight of described first accessory, and using described first centre of gravity place coordinate as the described first centre of gravity place parameter got;
Described device, also comprises:
Second acquisition module, for obtaining default centre of gravity place coordinate corresponding to affixed predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got according to the position of affixed predetermined accessories and the weight of predetermined accessories;
Wherein, described first centre of gravity place coordinate is the centre of gravity place coordinate of terminal and described first accessory entirety, and described default centre of gravity place coordinate is the centre of gravity place coordinate of described terminal and described predetermined accessories entirety.
Preferably, described judge module, for judging that whether described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Described unlocked state, for performing the unlocking function corresponding with the default centre of gravity place parameter of described first centre of gravity place parameter matching.
Preferably, described device also comprises:
3rd acquisition module, for obtaining the second centre of gravity place parameter corresponding before affixed described first accessory;
First display module, for identifying according to described second centre of gravity place parameter display second center of gravity;
Second display module, presets center of gravity mark for the default centre of gravity place parameter display corresponding according to affixed predetermined accessories;
Mobile module, moves described second center of gravity mark for the first centre of gravity place parameter corresponding according to affixed described first accessory;
Wherein, if the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then the second center of gravity mark of described first display module display moves to identify with described default center of gravity and overlaps by described mobile module.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and when judging the described first centre of gravity place parameter default centre of gravity place parameter matching corresponding with affixed predetermined accessories, perform unlocking operation, thus provide a kind of new unlocking manner, not only effectively can prevent the maloperation of terminal, also enhance confidentiality, improve user experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of unlock method process flow diagram that the embodiment of the present invention one provides;
Fig. 2 is a kind of unlock method process flow diagram that the embodiment of the present invention two provides;
Fig. 3 is object center of gravity schematic diagram under a kind of rectangular coordinate system in space of providing of the embodiment of the present invention two;
Fig. 4 is a kind of schematic diagram showing mobile terminal center of gravity mark that the embodiment of the present invention two provides;
Fig. 5 is the schematic diagram of the another kind display mobile terminal center of gravity mark that the embodiment of the present invention two provides;
Fig. 6 is the schematic diagram of another display mobile terminal center of gravity mark that the embodiment of the present invention two provides;
Fig. 7 is the structural representation of a kind of mobile terminal that the embodiment of the present invention three provides;
Fig. 8 is the structural representation of the another kind of mobile terminal that the embodiment of the present invention three provides;
Fig. 9 is the structural representation of another mobile terminal that the embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of unlock method, see Fig. 1, the method flow that the present embodiment provides comprises:
Step 101: obtain the first centre of gravity place parameter that affixed first accessory is corresponding, and judge whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates; Wherein, the first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, presets centre of gravity place parameter and at least comprises default centre of gravity place coordinate;
Preferably, the quantity of predetermined accessories is one, and affixed position is multiple, and the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of predetermined accessories is multiple, and affixed position is one, and the default centre of gravity place parameter that the affixed each predetermined accessories in identical affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of predetermined accessories is multiple, and affixed position is multiple, and the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, obtain the first centre of gravity place parameter that affixed first accessory is corresponding, include but not limited to:
The first centre of gravity place coordinate corresponding to affixed first accessory is obtained according to the position of affixed first accessory and the weight of the first accessory, and using the first centre of gravity place coordinate as the first centre of gravity place parameter got;
Before judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, also comprise:
Default centre of gravity place coordinate corresponding to affixed predetermined accessories is obtained according to the position of affixed predetermined accessories and the weight of predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got.
Step 102: if the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then perform unlocking operation.
Preferably, judge whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and includes but not limited to:
Judge that whether the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Perform unlocking operation, include but not limited to:
Perform the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Preferably, the method also comprises:
The second centre of gravity place parameter corresponding before obtaining affixed first accessory, according to the second centre of gravity place parameter display second center of gravity mark, and the default centre of gravity place parameter display corresponding according to affixed predetermined accessories presets center of gravity mark;
The first centre of gravity place parameter corresponding according to affixed first accessory moves the second center of gravity mark;
Wherein, if the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then the second center of gravity mark moves to identify with default center of gravity and overlaps.
The method that the present embodiment provides, by judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and when the default centre of gravity place parameter matching that judgement first centre of gravity place parameter is corresponding with affixed predetermined accessories, perform unlocking operation, thus provide a kind of new unlocking manner, not only effectively can prevent the maloperation of terminal, also have more uniqueness.And if affixed position is different or default solution fitting for lock is not right, then all can not realize unlocking, therefore, add the confidentiality of unblock, have more security.
Embodiment two
Embodiments provide a kind of unlock method, now in conjunction with the content of above-described embodiment one, in detail explanation is explained to the unlocking manner that the present embodiment provides.See Fig. 2, the method flow that the present embodiment provides comprises:
Step 201: obtain default centre of gravity place coordinate corresponding to affixed predetermined accessories according to the position of affixed predetermined accessories and the weight of predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got;
For this step, now in conjunction with an example, in detail explanation is explained to the principle obtaining object centre of gravity place parameter.
See Fig. 3, the center of gravity identifying object with symbol C, gets the rectangular coordinate system in space Oxyz be connected on the object, with x c, y c, z cmarker body weight heart position coordinates, is respectively Δ P with the terrestrial gravitation suffered by each fritter on object 1, Δ P 2... Δ P nfor example, then each fritter on object forms a space system of parallel forces.And (identifying with symbol P) size of making a concerted effort of this system of parallel forces equals the weight of object, namely has:
P=ΣΔP i(1)
The active line of P passes through the center of gravity C (x of object with joint efforts c, y c, z c), then according to resultant moment theorem, following formula can be obtained:
P*x C=ΣΔP i*x i(2)
So, can obtain, x c=Σ Δ P ix i/ P (3)
In like manner, can obtain, y c=Σ Δ P iy i/ P (4)
Preferably, in order to determine another coordinate z of object center of gravity C c, coordinate system can be rotated 90 together with Objects around A y-axis and make x-axis upwards vertical, so the direction of gravity is parallel with x-axis.Formula (5) can be obtained again, z according to resultant moment theorem c=Σ Δ P iz i/ P (5)
In sum, the centre of gravity place parameter of object just can be obtained by above-mentioned formula (3), formula (4) and formula (5).
According to above-mentioned acquisition object centre of gravity place Parameter Principle, can according to the weight of the position of affixed predetermined accessories and predetermined accessories get terminal is affixed have a predetermined accessories time corresponding default centre of gravity place parameter, namely the geometric center of terminal during predetermined accessories can be not affixedly had to be that true origin sets up space right-angle Oxyz coordinate system, and by terminal and affixed predetermined accessories integrally, overall each fritter forms a space system of parallel forces, and the weight that the size of making a concerted effort of this space system of parallel forces equals overall.Again according to formula (3), formula (4) and formula (5) just can determine affixed have a predetermined accessories time default centre of gravity place parameter corresponding to terminal.
Preferably, the method that the present embodiment provides, when arranging predetermined accessories and affixed position, in order to increase diversity and the confidentiality of unblock, provides multiple set-up mode.Wherein, following three kinds of modes are included but not limited to:
First kind of way, the quantity of predetermined accessories is one, and affixed position is multiple, and the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
For this kind of mode, see Fig. 4, when predetermined accessories is affixed on position a, b, c shown in Fig. 4 respectively, corresponding centre of gravity place position a1, b1, c1 respectively shown in Fig. 4, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when gravity motion is to position a1, correspondence can be set and enters note process interface; When gravity motion is to position b1, correspondence can be set and enters mail treatment interface; When gravity motion is to position c1, correspondence can be set and enters music-playing interface.Wherein, the unlocking function that position a1, b1, c1 are corresponding can set according to the own situation of terminal user, and the unlocking function that the present embodiment is corresponding to each default centre of gravity place parameter does not specifically limit.
The second way, the quantity of predetermined accessories is multiple, and affixed position is one, and the default centre of gravity place parameter that the affixed each predetermined accessories in identical affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
For this kind of mode, see Fig. 5, when 3 predetermined accessories are affixed on the position shown in Fig. 5 respectively, corresponding centre of gravity place position a1, b1, c1 respectively shown in Fig. 5, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when predetermined accessories a is affixed on affixed position, correspondence can be set and enters note process interface; When predetermined accessories b is affixed on affixed position, correspondence can be set and enters mail treatment interface; When predetermined accessories c is affixed on affixed position, correspondence can be set and enters music-playing interface.Wherein, when predetermined accessories a, predetermined accessories b, predetermined accessories c are affixed on affixed position, corresponding unlocking function can set according to the own situation of terminal user, and the unlocking function that the present embodiment is corresponding to each default centre of gravity place parameter does not specifically limit.
The third mode, the quantity of predetermined accessories is multiple, and affixed position is multiple, and the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
For this kind of mode, see Fig. 6, when 3 predetermined accessories are affixed on position a, b, c shown in Fig. 6 respectively, corresponding centre of gravity place position a1, b1, c1 respectively shown in Fig. 6, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when predetermined accessories a is affixed on affixed position a, correspondence can be set and enters note process interface; When predetermined accessories b is affixed on affixed position b, correspondence can be set and enters mail treatment interface; When predetermined accessories c is affixed on affixed position c, correspondence can be set and enters music-playing interface.Wherein, when predetermined accessories a is affixed on affixed position a, predetermined accessories b is affixed on affixed position b, predetermined accessories c is affixed on affixed position c, corresponding unlocking function can set according to the own situation of terminal user, and the unlocking function that the present embodiment is corresponding to each default centre of gravity place parameter does not specifically limit.
It should be noted that, when performing the method that the present embodiment provides, without the need to all performing this step at every turn, namely only when first time performs unlocking operation, performing this step, when follow-up execution unlocking operation, can directly perform following step.But when the position of predetermined accessories or the weight of predetermined accessories change, need again perform this step, to obtain new default centre of gravity place parameter.
Step 202: obtain the first centre of gravity place parameter that affixed first accessory is corresponding, the first centre of gravity place parameter at least comprises the first centre of gravity place coordinate;
For this step, according to obtaining object centre of gravity place Parameter Principle in above-mentioned steps 201, then obtain the first centre of gravity place parameter that affixed first accessory is corresponding, include but not limited to: obtain the first centre of gravity place coordinate corresponding to affixed first accessory according to the position of affixed first accessory and the weight of the first accessory, and using the first centre of gravity place coordinate as the first centre of gravity place parameter got.Can by terminal and the first affixed accessory integrally, overall each fritter forms a space system of parallel forces, and the weight that the size of making a concerted effort of this space system of parallel forces equals overall.Again according to the formula (3) in above-mentioned steps 201, formula (4) and formula (5) just can determine affixed have the first accessory time the first centre of gravity place parameter corresponding to terminal.
Step 203: judge whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
For this step, the number of the default centre of gravity place parameter no matter above-mentioned steps gets is several, judges whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and includes but not limited to as under type:
Judge that whether the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories.
For the ease of understanding, with the first centre of gravity place coordinate for (x 1, y 1, z 1), arbitrary default centre of gravity place coordinate is (x y, y y, z y) be example, if then judge x 1=x y, y 1=y y, and z 1=z y, then judge the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with during affixed predetermined accessories, and continue to perform following step 204; If have at least one not mate in three coordinate components, then judge that the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories is not mated.
Step 204: if the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then perform unlocking operation;
Wherein, perform unlocking operation, include but not limited to:
Perform the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Continue for Fig. 4, if predetermined accessories is affixed on position a, then after the default centre of gravity place parameter getting the first centre of gravity place parameter and position a, just judge whether the first centre of gravity place parameter mates with the default centre of gravity place parameter of position a, after judging the two coupling, just enter note process interface, so that terminal user performs the operations such as short message receiving-transmitting, namely perform the unlocking function corresponding with the default center of gravity parameter of the position a of the first centre of gravity place parameter matching.
Preferably, in order to enrich the visual effect of user, make user in releasing process, the centre of gravity place situation of change of terminal can be recognized intuitively, the method that the present embodiment provides, perform in the process unlocked, also will arrange on the screen of terminal and show center of gravity mark, before and after clearly affixed first accessory, the centre of gravity place situation of change of terminal, detailed process is as described below:
The second centre of gravity place parameter corresponding before obtaining affixed first accessory, according to the second centre of gravity place parameter display second center of gravity mark, and the default centre of gravity place parameter display corresponding according to affixed predetermined accessories presets center of gravity mark;
The first centre of gravity place parameter corresponding according to affixed first accessory moves the second center of gravity mark;
Wherein, if the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then the second center of gravity mark moves to identify with default center of gravity and overlaps.
Existing composition graphs 5, is illustrated the process that above-mentioned display center of gravity identifies with a concrete example.
First, the centre of gravity place parameter of terminal when obtaining not affixed first accessory according to the mode of the acquisition centre of gravity place parameter in above-mentioned steps 201, i.e. the second centre of gravity place parameter.Afterwards, on the screen of terminal, the second center of gravity mark is shown, because terminal belongs to regular object, therefore according to the second centre of gravity place parameter, when not affixed predetermined accessories, its center of gravity is positioned at its geometric center, and namely the second center of gravity identifies the cornerwise intersection be positioned on the terminal screen shown in Fig. 5.When affixed have during the first accessory (suppose that now the first accessory is affixed on position a), the centre of gravity place of terminal can be moved, and the center of gravity parameter corresponding to center of gravity after being moved is the first center of gravity parameter, due to the default centre of gravity place match parameters of now the first centre of gravity place parameter and position a, therefore, user intuitively can move to default center of gravity mark to the second center of gravity mark from the screen of terminal, i.e. corresponding successful unlock, user can perform the operations such as short message receiving-transmitting.If the first accessory is affixed on other positions (position except except position a, b, c), the centre of gravity place of terminal also can be moved, and the center of gravity parameter corresponding to center of gravity after being moved is the first center of gravity parameter, because now the first centre of gravity place parameter is not all mated with 3 default centre of gravity place parameters, therefore, although now from the screen of terminal, user can see that the second center of gravity mark is mobile, but center of gravity mark position is not preset in its position moved to, so unlock unsuccessfully, any operation can not be performed to terminal.
The method that the present embodiment provides, by judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and when the default centre of gravity place parameter matching that judgement first centre of gravity place parameter is corresponding with affixed predetermined accessories, perform unlocking operation, thus provide a kind of new unlocking manner, not only effectively can prevent the maloperation of terminal, also have more uniqueness.And if affixed position is different or default solution fitting for lock is not right, then all can not realize unlocking, therefore, add the confidentiality of unblock, have more security.
Embodiment three
Embodiments provide a kind of mobile terminal, for performing the method that above-described embodiment one or embodiment two provide, see Fig. 7, this mobile terminal comprises:
First acquisition module 71, for obtaining the first centre of gravity place parameter corresponding to affixed first accessory;
Judge module 72, for judging whether the first centre of gravity place parameter that the first acquisition module 71 gets default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
Unlocked state 73, during for judging the first centre of gravity place parameter default centre of gravity place parameter matching corresponding with affixed predetermined accessories when judge module 72, performs unlocking operation;
Wherein, the first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, presets centre of gravity place parameter and at least comprises default centre of gravity place coordinate.
Preferably, the quantity of predetermined accessories is one, and the affixed position in terminal is multiple, and the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of predetermined accessories is multiple, and the affixed position in terminal is one, and the default centre of gravity place parameter that the affixed each predetermined accessories in identical affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of predetermined accessories is multiple, and the affixed position in terminal is multiple, and the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed position is corresponding is different, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the first acquisition module 71, for obtaining the first centre of gravity place coordinate corresponding to affixed first accessory according to the position of affixed first accessory and the weight of the first accessory, and using the first centre of gravity place coordinate as the first centre of gravity place parameter got;
See Fig. 8, this mobile terminal, also comprises:
Second acquisition module 74, for obtaining default centre of gravity place coordinate corresponding to affixed predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got according to the position of affixed predetermined accessories and the weight of predetermined accessories.
Preferably, judge module 72, for judging that whether the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if the first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Unlocked state 73, for performing the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Preferably, see Fig. 9, this mobile terminal also comprises:
3rd acquisition module 75, for obtaining the second centre of gravity place parameter corresponding before affixed first accessory;
First display module 76, for identifying according to the second centre of gravity place parameter display second center of gravity;
Second display module 77, presets center of gravity mark for the default centre of gravity place parameter display corresponding according to affixed predetermined accessories;
Mobile module 78, moves the second center of gravity mark for the first centre of gravity place parameter corresponding according to affixed first accessory;
Wherein, if the default centre of gravity place parameter matching that the first centre of gravity place parameter is corresponding with affixed predetermined accessories, then the second center of gravity mark that the first display module shows by mobile module moves to identify with default center of gravity and overlaps.
In sum, the mobile terminal that the embodiment of the present invention provides, by judging whether the first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and when the default centre of gravity place parameter matching that judgement first centre of gravity place parameter is corresponding with affixed predetermined accessories, perform unlocking operation, thus provide a kind of new unlocking manner, not only effectively can prevent the maloperation of terminal, also have more uniqueness.And if affixed position is different or default solution fitting for lock is not right, then all can not realize unlocking, therefore, add the confidentiality of unblock, have more security.
It should be noted that: the mobile terminal that above-described embodiment provides is when performing unlocking operation, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by mobile terminal is divided into different functional modules, to complete all or part of function described above.In addition, the mobile terminal that above-described embodiment provides and unlock method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a unlock method, is characterized in that, described method comprises:
Obtain the first centre of gravity place parameter that affixed first accessory is corresponding, and judge whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
If the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then perform unlocking operation;
Wherein, described first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, described default centre of gravity place parameter at least comprises default centre of gravity place coordinate, described first centre of gravity place parameter is the centre of gravity place parameter of terminal and described first accessory entirety, and described default centre of gravity place parameter is the centre of gravity place parameter of described terminal and described predetermined accessories entirety.
2. method according to claim 1, it is characterized in that, the quantity of described predetermined accessories is one, described predetermined accessories is affixed in different pre-note positions, and the default centre of gravity place parameter difference that the affixed predetermined accessories in different affixed positions is corresponding, each default centre of gravity place parameter correspondence performs a unlocking function.
3. method according to claim 1, it is characterized in that, the quantity of described predetermined accessories is multiple, and affixed position is one, the default centre of gravity place parameter that the affixed different predetermined accessories in identical affixed position is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
4. method according to claim 1, it is characterized in that, the quantity of described predetermined accessories is multiple, and affixed position is multiple, the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed positions is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
5. method according to claim 1, is characterized in that, the first centre of gravity place parameter that affixed first accessory of described acquisition is corresponding, comprising:
The first centre of gravity place coordinate corresponding to affixed described first accessory is obtained according to the position of affixed described first accessory and the weight of described first accessory, and using described first centre of gravity place coordinate as the described first centre of gravity place parameter got;
Described judge whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates before, also comprise:
Default centre of gravity place coordinate corresponding to affixed predetermined accessories is obtained according to the position of affixed predetermined accessories and the weight of predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got;
Wherein, described first centre of gravity place coordinate is the centre of gravity place coordinate of terminal and described first accessory entirety, and described default centre of gravity place coordinate is the centre of gravity place coordinate of described terminal and described predetermined accessories entirety.
6. the method according to claim arbitrary in claim 1 to 5, is characterized in that, describedly judges whether the described first centre of gravity place parameter default centre of gravity place parameter corresponding with affixed predetermined accessories mates, and comprising:
Judge that whether described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Described execution unlocking operation, comprising:
Perform the unlocking function corresponding with the default centre of gravity place parameter of described first centre of gravity place parameter matching.
7. the method according to claim arbitrary in claim 1 to 5, is characterized in that, described method also comprises:
The second centre of gravity place parameter corresponding before obtaining affixed described first accessory, according to described second centre of gravity place parameter display second center of gravity mark, and the default centre of gravity place parameter display corresponding according to affixed predetermined accessories presets center of gravity mark;
The first centre of gravity place parameter corresponding according to affixed described first accessory moves described second center of gravity mark;
Wherein, if the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then described second center of gravity mark moves to identify with described default center of gravity and overlaps.
8. a tripper, is characterized in that, described device comprises:
First acquisition module, for obtaining the first centre of gravity place parameter corresponding to affixed first accessory;
Judge module, for judging whether the first centre of gravity place parameter that described first acquisition module gets default centre of gravity place parameter corresponding with affixed predetermined accessories mates;
Unlocked state, during for judging the described first centre of gravity place parameter default centre of gravity place parameter matching corresponding with affixed predetermined accessories when described judge module, performs unlocking operation;
Wherein, described first centre of gravity place parameter at least comprises the first centre of gravity place coordinate, described default centre of gravity place parameter at least comprises default centre of gravity place coordinate, described first centre of gravity place parameter is the centre of gravity place parameter of terminal and described first accessory entirety, and described default centre of gravity place parameter is the centre of gravity place parameter of described terminal and described predetermined accessories entirety.
9. device according to claim 8, it is characterized in that, the quantity of described predetermined accessories is one, the affixed affixed position different in described terminal of described predetermined accessories, the default centre of gravity place parameter that the affixed predetermined accessories in different affixed positions is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
10. device according to claim 8, it is characterized in that, the quantity of described predetermined accessories is multiple, affixed position in described terminal is one, the default centre of gravity place parameter that the affixed different predetermined accessories in identical affixed position is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
11. devices according to claim 8, it is characterized in that, the quantity of described predetermined accessories is multiple, affixed position in described terminal is multiple, the default centre of gravity place parameter that the affixed different predetermined accessories in different affixed positions is corresponding is different, and each default centre of gravity place parameter correspondence performs a unlocking function.
12. devices according to claim 8, it is characterized in that, described first acquisition module, for obtaining the first centre of gravity place coordinate corresponding to affixed described first accessory according to the position of affixed described first accessory and the weight of described first accessory, and using described first centre of gravity place coordinate as the described first centre of gravity place parameter got;
Described device, also comprises:
Second acquisition module, for obtaining default centre of gravity place coordinate corresponding to affixed predetermined accessories, and using default centre of gravity place coordinate as the default centre of gravity place parameter got according to the position of affixed predetermined accessories and the weight of predetermined accessories;
Wherein, described first centre of gravity place coordinate is the centre of gravity place coordinate of terminal and described first accessory entirety, and described default centre of gravity place coordinate is the centre of gravity place coordinate of described terminal and described predetermined accessories entirety.
Device in 13. according to Claim 8 to 12 described in arbitrary claim, it is characterized in that, described judge module, for judging that whether described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, then judge the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories;
Described unlocked state, for performing the unlocking function corresponding with the default centre of gravity place parameter of described first centre of gravity place parameter matching.
Device in 14. according to Claim 8 to 12 described in arbitrary claim, is characterized in that, described device also comprises:
3rd acquisition module, for obtaining the second centre of gravity place parameter corresponding before affixed described first accessory;
First display module, for identifying according to described second centre of gravity place parameter display second center of gravity;
Second display module, presets center of gravity mark for the default centre of gravity place parameter display corresponding according to affixed predetermined accessories;
Mobile module, moves described second center of gravity mark for the first centre of gravity place parameter corresponding according to affixed described first accessory;
Wherein, if the default centre of gravity place parameter matching that described first centre of gravity place parameter is corresponding with affixed predetermined accessories, then the second center of gravity mark of described first display module display moves to identify with described default center of gravity and overlaps by described mobile module.
CN201310092778.5A 2013-03-21 2013-03-21 Unlock method and device Active CN103197838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310092778.5A CN103197838B (en) 2013-03-21 2013-03-21 Unlock method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310092778.5A CN103197838B (en) 2013-03-21 2013-03-21 Unlock method and device

Publications (2)

Publication Number Publication Date
CN103197838A CN103197838A (en) 2013-07-10
CN103197838B true CN103197838B (en) 2015-12-02

Family

ID=48720474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310092778.5A Active CN103197838B (en) 2013-03-21 2013-03-21 Unlock method and device

Country Status (1)

Country Link
CN (1) CN103197838B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465088U (en) * 2009-04-20 2010-05-12 北京景山创新通信技术有限公司 Touch screen-based mobile terminal unlocking device
CN102693085A (en) * 2012-05-07 2012-09-26 惠州Tcl移动通信有限公司 Application opening method based on touch screen equipment and corresponding touch screen equipment
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9372618B2 (en) * 2010-10-01 2016-06-21 Z124 Gesture based application management
TW201232383A (en) * 2011-01-28 2012-08-01 Hon Hai Prec Ind Co Ltd Method for unlocking a locking interface on screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465088U (en) * 2009-04-20 2010-05-12 北京景山创新通信技术有限公司 Touch screen-based mobile terminal unlocking device
CN102693085A (en) * 2012-05-07 2012-09-26 惠州Tcl移动通信有限公司 Application opening method based on touch screen equipment and corresponding touch screen equipment
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal

Also Published As

Publication number Publication date
CN103197838A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN102868814B (en) Mobile phone screen unlocking method and mobile phone
CN103034448B (en) Unlock method and terminal
CN102523380B (en) Method for preventing camera of mobile terminal from shaking, and mobile terminal
CN104780458A (en) Method and electronic equipment for loading effects in instant video
CN102967815B (en) Chip testing method, automated testing equipment and system
CN103107571B (en) Method of battery management system for supporting various charging agreements
CN103294428A (en) Information display method and electronic equipment
CN105762863A (en) Charge method and charge apparatus
CN102377697A (en) Data processing method under condition of network physical isolation
CN106909752A (en) The analogue system of high-speed railway computer interlock system external interface test
CN110618672A (en) Interface circuit and interface communication method and device thereof
CN109491890A (en) The interface scans method and terminal device of application program
CN104915128A (en) Logo-combined screen unlocking method and device
CN102831340B (en) The tripper of electronic equipment and unlock method thereof
CN103605473A (en) Mobile terminal touch screen unlocking method and mobile terminal
CN103793267B (en) The access method and device of queue
CN109391899A (en) Remote controler rocking bar orientation method and terminal device
CN104269709A (en) Quick charge adapter connector and control method thereof, and electronic devices
CN103197838B (en) Unlock method and device
CN103020500B (en) Login authentication method and electronic equipment
CN105513172A (en) Unlocking system and method of electronic lock
CN104751034A (en) Data processing method and electronic device
CN103733150B (en) Program creating device and programmable logic controller (PLC)
CN203012587U (en) Mobile electronic equipment
CN108713199A (en) Right management method, system, mobile terminal, shared charging equipment and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant