Summary of the invention
In order to solve the problem of background technology, the embodiment of the invention provides a kind of unlock method and portable terminal.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 of the attached subsides first accessory correspondence, and judge whether the described first centre of gravity place parameter and the default accessory corresponding preset centre of gravity place parameter of attached subsides mate;
If accessory corresponding preset centre of gravity place parameter matching is preset in the described first centre of gravity place parameter and attached subsides, then carry out unlocking operation;
Wherein, the described first centre of gravity place parameter comprises the first centre of gravity place coordinate at least, and described default centre of gravity place parameter comprises default centre of gravity place coordinate at least.
Preferably, the quantity of described default accessory is one, and described default accessory is attached to be affixed on different pre-obedient positions, and accessory corresponding preset centre of gravity place parameter difference is preset in the attached subsides in different attached subsides position, and each default centre of gravity place parameter is corresponding carries out a unlocking function.
Preferably, the quantity of described default accessory is a plurality of, and attached subsides position is one, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in identical attached subsides position, unlocking function of the corresponding execution of each default centre of gravity place parameter.
Preferably, the quantity of described default accessory is a plurality of, and attached subsides position is a plurality of, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in different attached subsides position, unlocking function of the corresponding execution of each default centre of gravity place parameter.
Preferably, the described first centre of gravity place parameter of obtaining the attached subsides first accessory correspondence comprises:
Obtain the first centre of gravity place coordinate of the described first accessory correspondence of attached subsides according to the weight of the position of described first accessory of attached subsides and described first accessory, and with the described first centre of gravity place coordinate as the described first centre of gravity place parameter that gets access to;
Described judge whether the default accessory corresponding preset centre of gravity place parameter of the described first centre of gravity place parameter and attached subsides mates before, also comprise:
Obtain the default accessory corresponding preset centre of gravity place coordinate of attached subsides according to the position of the default accessory of attached subsides and the weight of default accessory, and will preset the centre of gravity place coordinate as the default centre of gravity place parameter that gets access to.
Preferably, describedly judge that whether the default accessory corresponding preset centre of gravity place parameter of the described first centre of gravity place parameter and attached subsides mates, and comprising:
Judge whether the described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if the described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, judge that then the described first centre of gravity place parameter and attached subsides preset accessory corresponding preset centre of gravity place parameter matching;
Described execution unlocking operation comprises:
Carry out the unlocking function corresponding with the default centre of gravity place parameter of the described first centre of gravity place parameter matching.
Preferably, described method also comprises:
Obtain the preceding second corresponding centre of gravity place parameter of described first accessory of attached subsides, show second center of gravity sign according to the described second centre of gravity place parameter, and preset the center of gravity sign according to the default accessory corresponding preset centre of gravity place parameter demonstration of attached subsides;
The first centre of gravity place parameter according to the described first accessory correspondence of attached subsides moves described second center of gravity sign;
Wherein, if the default accessory corresponding preset centre of gravity place parameter matching of the described first centre of gravity place parameter and attached subsides, then described second center of gravity sign moves to described default center of gravity sign and overlaps.
On the other hand, provide a kind of portable terminal, described portable terminal comprises:
First acquisition module is for the first centre of gravity place parameter of obtaining the attached subsides first accessory correspondence;
Judge module is used for judging whether the first centre of gravity place parameter and the default accessory corresponding preset centre of gravity place parameter of attached subsides that described first acquisition module gets access to mate;
Separate lock module, be used for when described judge module judges that accessory corresponding preset centre of gravity place parameter matching is preset in the described first centre of gravity place parameter and attached subsides, carrying out unlocking operation;
Wherein, the described first centre of gravity place parameter comprises the first centre of gravity place coordinate at least, and described default centre of gravity place parameter comprises default centre of gravity place coordinate at least.
Preferably, the quantity of described default accessory is one, and the attached subsides position on the described terminal is a plurality of, and accessory corresponding preset centre of gravity place parameter difference is preset in the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of described default accessory is a plurality of, and the attached subsides position on the described terminal is one, each default accessory corresponding preset centre of gravity place parameter difference of the attached subsides in identical attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of described default accessory is a plurality of, and the attached subsides position on the described terminal is a plurality of, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, described first acquisition module, be used for obtaining according to the weight of the position of described first accessory of attached subsides and described first accessory first centre of gravity place coordinate of the described first accessory correspondence of attached subsides, and with the described first centre of gravity place coordinate as the described first centre of gravity place parameter that gets access to;
Described portable terminal also comprises:
Second acquisition module is used for obtaining the default accessory corresponding preset centre of gravity place coordinate of attached subsides according to the position of the default accessory of attached subsides and the weight of default accessory, and will presets the centre of gravity place coordinate as the default centre of gravity place parameter that gets access to.
Preferably, described judge module, be used for judging whether the described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, if the described first centre of gravity place coordinate is consistent with arbitrary default centre of gravity place coordinate, judge that then the described first centre of gravity place parameter and attached subsides preset accessory corresponding preset centre of gravity place parameter matching;
Described solution lock module is used for carrying out the unlocking function corresponding with the default centre of gravity place parameter of the described first centre of gravity place parameter matching.
Preferably, described portable terminal also comprises:
The 3rd acquisition module is used for obtaining the preceding second corresponding centre of gravity place parameter of described first accessory of attached subsides;
First display module is used for showing second center of gravity sign according to the described second centre of gravity place parameter;
Second display module is used for showing default center of gravity sign according to the default accessory corresponding preset centre of gravity place parameter of attached subsides;
Mobile module is used for moving described second center of gravity sign according to the first centre of gravity place parameter of the described first accessory correspondence of attached subsides;
Wherein, if the default accessory corresponding preset centre of gravity place parameter matching of the described first centre of gravity place parameter and attached subsides, then second center of gravity sign that will described first display module shows of described mobile module moves to identify with described default center of gravity and overlaps.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
Whether mate by judging the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides, and when judging the default accessory corresponding preset centre of gravity place parameter matching of the described first centre of gravity place parameter and attached subsides, carry out unlocking operation, thereby provide a kind of new release mode, not only can prevent the maloperation of terminal effectively, also strengthen confidentiality, improved user experience.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of unlock method, and referring to Fig. 1, the method flow that present embodiment provides comprises:
Step 101: obtain the first centre of gravity place parameter of the attached subsides first accessory correspondence, and judge whether the first centre of gravity place parameter and the default accessory corresponding preset centre of gravity place parameter of attached subsides mate; Wherein, the first centre of gravity place parameter comprises the first centre of gravity place coordinate at least, and default centre of gravity place parameter comprises default centre of gravity place coordinate at least;
Preferably, the quantity of default accessory is one, and attached subsides position is a plurality of, and accessory corresponding preset centre of gravity place parameter difference is preset in the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of default accessory is a plurality of, and attached subsides position is one, each default accessory corresponding preset centre of gravity place parameter difference of the attached subsides in identical attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of default accessory is a plurality of, and attached subsides position is a plurality of, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, obtain the first centre of gravity place parameter of the attached subsides first accessory correspondence, include but not limited to:
Obtain the first centre of gravity place coordinate of the attached subsides first accessory correspondence according to the weight of the position of attached subsides first accessory and first accessory, and with the first centre of gravity place coordinate as the first centre of gravity place parameter that gets access to;
Before judging whether the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides mates, also comprise:
Obtain the default accessory corresponding preset centre of gravity place coordinate of attached subsides according to the position of the default accessory of attached subsides and the weight of default accessory, and will preset the centre of gravity place coordinate as the default centre of gravity place parameter that gets access to.
Step 102: if the default accessory corresponding preset centre of gravity place parameter matching of the first centre of gravity place parameter and attached subsides is then carried out unlocking operation.
Preferably, judge that whether the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides mates, and includes but not limited to:
Judge 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, judge that then the first centre of gravity place parameter and attached subsides preset accessory corresponding preset centre of gravity place parameter matching;
Carry out unlocking operation, include but not limited to:
Carry out the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Preferably, this method also comprises:
Obtain the preceding second corresponding centre of gravity place parameter of attached subsides first accessory, show second center of gravity sign according to the second centre of gravity place parameter, and preset the center of gravity sign according to the default accessory corresponding preset centre of gravity place parameter demonstration of attached subsides;
The first centre of gravity place parameter according to the attached subsides first accessory correspondence moves second center of gravity sign;
Wherein, if the default accessory corresponding preset centre of gravity place parameter matching of the first centre of gravity place parameter and attached subsides, then second center of gravity sign moves to default center of gravity sign and overlaps.
The method that present embodiment provides, whether mate by judging the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides, and when judging that accessory corresponding preset centre of gravity place parameter matching is preset in the first centre of gravity place parameter and attached subsides, carry out unlocking operation, thereby provide a kind of new release mode, not only can prevent the maloperation of terminal effectively, also have more uniqueness.And if attached subsides position is different or default release accessory is not right, then all can not realize release, therefore, increase the confidentiality of release, have more security.
Embodiment two
The embodiment of the invention provides a kind of unlock method, and existing content in conjunction with above-described embodiment one is at length explained to the release mode that present embodiment provides.Referring to Fig. 2, the method flow that present embodiment provides comprises:
Step 201: obtain the default accessory corresponding preset centre of gravity place coordinate of attached subsides according to the position of the default accessory of attached subsides and the weight of default accessory, and will preset the centre of gravity place coordinate as the default centre of gravity place parameter that gets access to;
At this step, now in conjunction with an example principle of obtaining object centre of gravity place parameter is at length explained.
Referring to Fig. 3, with the center of gravity of symbol C sign object, get the rectangular coordinate system in space Oxyz that is connected on this object, with x
C, y
C, z
CMarker body weight heart position coordinates is respectively Δ P with the suffered terrestrial gravitation of each fritter on the object
1, Δ P
2... Δ P
nBe example, then each fritter on the object constitutes a space parallel power system.And (with the symbol P sign) 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 is by the center of gravity C(x of object with joint efforts
C, y
C, z
C), then according to the resultant moment theorem, can obtain following formula:
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, can make the x axle vertical upwards together with object around y axle rotation 90 coordinate system, so the direction of gravity is parallel with the x axle.Can obtain formula (5), z according to the resultant moment theorem again
C=Σ Δ P
iz
i/ P (5)
In sum, just can obtain the centre of gravity place parameter of object by above-mentioned formula (3), formula (4) and formula (5).
According to the above-mentioned object centre of gravity place parameter principle of obtaining, can get access to according to the weight of the position of the default accessory of attached subsides and default accessory in terminal is attached when posting default accessory corresponding preset centre of gravity place parameter, the geometric center that namely can not attachedly post terminal when presetting accessory is that true origin is set up space right-angle Oxyz coordinate system, and do the default accessory of terminal and attached subsides as a whole, each whole fritter constitutes a space parallel power system, and the size of making a concerted effort of this space parallel power system equals whole weight.Just can determine attached terminal corresponding preset centre of gravity place parameter when posting default accessory according to formula (3), formula (4) and formula (5) again.
Preferably, the method that present embodiment provides is when arranging default accessory and attached subsides position, and diversity and confidentiality in order to increase release provide multiple set-up mode.Wherein, include but not limited to following three kinds of modes:
First kind of mode, the quantity of default accessory is one, and attached subsides position is a plurality of, and accessory corresponding preset centre of gravity place parameter difference is preset in the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
At this kind mode, referring to Fig. 4, when default accessory is affixed on position a, b shown in Figure 4, c respectively, corresponding centre of gravity place is respectively at position a1, b1, c1 shown in Figure 4, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when center of gravity moves to position a1, correspondence can be set enter note processing interface; When center of gravity moves to position b1, correspondence can be set enter the mail treatment interface; When center of gravity moves to position c1, correspondence can be set enter music-playing interface.Wherein, the unlocking function of position a1, b1, c1 correspondence can be set according to terminal user's s own situation, and present embodiment does not specifically limit the unlocking function of each default centre of gravity place parameter correspondence.
The second way, the quantity of default accessory is a plurality of, attached subsides position is one, each default accessory corresponding preset centre of gravity place parameter difference of the attached subsides in identical attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
At this kind mode, referring to Fig. 5, when 3 default accessories are affixed on position shown in Figure 5 respectively, corresponding centre of gravity place is respectively at position a1, b1, c1 shown in Figure 5, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when default accessory a is affixed on attached subsides position, correspondence can be set enters note processing interface; When default accessory b is affixed on attached subsides position, correspondence can be set enters the mail treatment interface; When default accessory c is affixed on attached subsides position, correspondence can be set enters music-playing interface.Wherein, default accessory a, default accessory b, the unlocking function of correspondence can be set according to terminal user's s own situation when default accessory c was affixed on attached subsides position, and present embodiment does not specifically limit the unlocking function of each default centre of gravity place parameter correspondence.
The third mode, the quantity of default accessory is a plurality of, attached subsides position is a plurality of, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
At this kind mode, referring to Fig. 6, when 3 default accessories are affixed on position a, b shown in Figure 6, c respectively, corresponding centre of gravity place is respectively at position a1, b1, c1 shown in Figure 6, and the location parameter of a1, b1, c1 is default center of gravity parameter, and when default accessory a is affixed on attached subsides position a, correspondence can be set enters note processing interface; When default accessory b is affixed on attached subsides position b, correspondence can be set enters the mail treatment interface; When default accessory c is affixed on attached subsides position c, correspondence can be set enters music-playing interface.Wherein, default accessory a is affixed on that attached subsides position a, default accessory b are affixed on attached subsides position b, the unlocking function of correspondence can be set according to terminal user's s own situation when default accessory c was affixed on attached subsides position c, and present embodiment does not specifically limit the unlocking function of each default centre of gravity place parameter correspondence.
Need to prove, when carrying out the method that present embodiment provides, need not all to carry out this step at every turn, namely only when carrying out unlocking operation for the first time, carry out this step, when follow-up execution unlocking operation, can directly carry out following step.But when the weight of the position of presetting accessory or default accessory changes, need carry out this step again, to obtain new default centre of gravity place parameter.
Step 202: obtain the first centre of gravity place parameter of the attached subsides first accessory correspondence, the first centre of gravity place parameter comprises the first centre of gravity place coordinate at least;
At this step, according to obtaining object centre of gravity place parameter principle in the above-mentioned steps 201, then obtain the first centre of gravity place parameter of the attached subsides first accessory correspondence, include but not limited to: obtain the first centre of gravity place coordinate of the attached subsides first accessory correspondence according to the weight of the position of attached subsides first accessory and first accessory, and with the first centre of gravity place coordinate as the first centre of gravity place parameter that gets access to.First accessory of terminal and attached subsides can be made each as a whole, whole fritter and constitute a space parallel power system, and the size of making a concerted effort of this space parallel power system equals whole weight.Just can determine the attached first centre of gravity place parameter of terminal correspondence when posting first accessory according to the formula in the above-mentioned steps 201 (3), formula (4) and formula (5) again.
Step 203: judge whether the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides mates;
At this step, no matter the number of the default centre of gravity place parameter that above-mentioned steps gets access to is several, judges that whether the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides mates, and includes but not limited to following mode:
Judge 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, judge that then the first centre of gravity place parameter and attached subsides preset accessory corresponding preset centre of gravity place parameter matching.
For the ease of understanding, be (x with the first centre of gravity place coordinate
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, corresponding preset centre of gravity place parameter matching when then judging the default accessory of the first centre of gravity place parameter and attached subsides, and continue to carry out following step 204; If have at least one not match in three coordinate components, judge that then the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides does not match.
Step 204: if the default accessory corresponding preset centre of gravity place parameter matching of the first centre of gravity place parameter and attached subsides is then carried out unlocking operation;
Wherein, carry out unlocking operation, include but not limited to:
Carry out the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Continuation is example with Fig. 4, if default accessory is affixed on position a, then after getting access to the default centre of gravity place parameter of the first centre of gravity place parameter and position a, whether the default centre of gravity place parameter of just judging the first centre of gravity place parameter and position a mates, after judging the two coupling, just enter note and handle the interface, so that the terminal user carries out operations such as short message receiving-transmitting, namely carried out 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 user's visual effect, make the user in releasing process, can recognize the centre of gravity place situation of change of terminal intuitively, the method that present embodiment provides is in carrying out unlocking process, also will arrange and show the center of gravity sign at the screen of terminal, before and after clear and definite attached subsides first accessory, the centre of gravity place situation of change of terminal, detailed process is as described below:
Obtain the preceding second corresponding centre of gravity place parameter of attached subsides first accessory, show second center of gravity sign according to the second centre of gravity place parameter, and preset the center of gravity sign according to the default accessory corresponding preset centre of gravity place parameter demonstration of attached subsides;
The first centre of gravity place parameter according to the attached subsides first accessory correspondence moves second center of gravity sign;
Wherein, if the default accessory corresponding preset centre of gravity place parameter matching of the first centre of gravity place parameter and attached subsides, then second center of gravity sign moves to default center of gravity sign and overlaps.
Now in conjunction with Fig. 5, be illustrated with the process of a concrete example to above-mentioned demonstration center of gravity sign.
At first, the centre of gravity place parameter of terminal, the i.e. second centre of gravity place parameter when obtaining not attached subsides first accessory according to the mode of obtaining the centre of gravity place parameter in the above-mentioned steps 201.Afterwards, show second center of gravity sign according to the second centre of gravity place parameter at the screen of terminal, because terminal belongs to regular object, therefore, its center of gravity is positioned at its geometric center when accessory is preset in not attached subsides, and namely second center of gravity sign is positioned at the cornerwise intersection on the terminal screen shown in Figure 5.(suppose that this moment, first accessory was affixed on the position a) when attached when posting first accessory, the centre of gravity place of terminal can be moved, and the corresponding center of gravity parameter of the center of gravity after being moved is the first center of gravity parameter, because this moment, the default centre of gravity place parameter of the first centre of gravity place parameter and position a was complementary, therefore, the user can see that intuitively second center of gravity sign moves to default center of gravity sign from the screen of terminal, i.e. corresponding successful release, and the user can carry out operations such as short message receiving-transmitting.If first accessory is affixed on other positions (position except position a, b, c), the centre of gravity place of terminal also can be moved, and the corresponding center of gravity parameter of the center of gravity after being moved is the first center of gravity parameter, because this moment, the first centre of gravity place parameter and 3 default centre of gravity place parameters did not all match, therefore, though this moment, the user can see that second center of gravity sign is mobile from the screen of terminal, but its position that moves to not is default center of gravity sign position, so the release failure can not be carried out any operation to terminal.
The method that present embodiment provides, whether mate by judging the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides, and when judging that accessory corresponding preset centre of gravity place parameter matching is preset in the first centre of gravity place parameter and attached subsides, carry out unlocking operation, thereby provide a kind of new release mode, not only can prevent the maloperation of terminal effectively, also have more uniqueness.And if attached subsides position is different or default release accessory is not right, then all can not realize release, therefore, increase the confidentiality of release, have more security.
Embodiment three
The embodiment of the invention provides a kind of portable terminal, is used for the method that execution above-described embodiment one or embodiment two provide, and referring to Fig. 7, this portable terminal comprises:
First acquisition module 71 is for the first centre of gravity place parameter of obtaining the attached subsides first accessory correspondence;
Judge module 72 is used for judging whether the first centre of gravity place parameter and the default accessory corresponding preset centre of gravity place parameter of attached subsides that first acquisition module 71 gets access to mate;
Separate lock module 73, be used for when judge module 72 judges that accessory corresponding preset centre of gravity place parameter matching is preset in the first centre of gravity place parameter and attached subsides, carrying out unlocking operation;
Wherein, the first centre of gravity place parameter comprises the first centre of gravity place coordinate at least, and default centre of gravity place parameter comprises default centre of gravity place coordinate at least.
Preferably, the quantity of default accessory is one, and the attached subsides position on the terminal is a plurality of, and accessory corresponding preset centre of gravity place parameter difference is preset in the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of default accessory is a plurality of, and the attached subsides position on the terminal is one, each default accessory corresponding preset centre of gravity place parameter difference of the attached subsides in identical attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, the quantity of default accessory is a plurality of, and the attached subsides position on the terminal is a plurality of, the different default accessory corresponding preset centre of gravity place parameter differences of the attached subsides in different attached subsides position, the corresponding unlocking function of each default centre of gravity place parameter.
Preferably, first acquisition module 71 is used for obtaining according to the weight of the position of attached subsides first accessory and first accessory first centre of gravity place coordinate of the attached subsides first accessory correspondence, and with the first centre of gravity place coordinate as the first centre of gravity place parameter that gets access to;
Referring to Fig. 8, this portable terminal also comprises:
Second acquisition module 74 is used for obtaining the default accessory corresponding preset centre of gravity place coordinate of attached subsides according to the position of the default accessory of attached subsides and the weight of default accessory, and will presets the centre of gravity place coordinate as the default centre of gravity place parameter that gets access to.
Preferably, judge module 72, be used for judging 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, judge that then the first centre of gravity place parameter and attached subsides preset accessory corresponding preset centre of gravity place parameter matching;
Separate lock module 73, be used for carrying out the unlocking function corresponding with the default centre of gravity place parameter of the first centre of gravity place parameter matching.
Preferably, referring to Fig. 9, this portable terminal also comprises:
The 3rd acquisition module 75 is used for obtaining the preceding second corresponding centre of gravity place parameter of attached subsides first accessory;
First display module 76 is used for showing second center of gravity sign according to the second centre of gravity place parameter;
Second display module 77 is used for showing default center of gravity sign according to the default accessory corresponding preset centre of gravity place parameter of attached subsides;
Mobile module 78 is used for moving second center of gravity sign according to the first centre of gravity place parameter of the attached subsides first accessory correspondence;
Wherein, if the default accessory corresponding preset centre of gravity place parameter matching of the first centre of gravity place parameter and attached subsides, then mobile module second center of gravity sign that first display module is shown moves to default center of gravity sign and overlaps.
In sum, the portable terminal that the embodiment of the invention provides, whether mate by judging the default accessory corresponding preset centre of gravity place parameter of the first centre of gravity place parameter and attached subsides, and when judging that accessory corresponding preset centre of gravity place parameter matching is preset in the first centre of gravity place parameter and attached subsides, carry out unlocking operation, thereby a kind of new release mode is provided, not only can have prevented the maloperation of terminal effectively, also had more uniqueness.And if attached subsides position is different or default release accessory is not right, then all can not realize release, therefore, increase the confidentiality of release, have more security.
Need to prove: the portable terminal that above-described embodiment provides is when carrying out unlocking operation, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to portable terminal is divided into different functional modules, to finish all or part of function described above.In addition, the portable terminal that above-described embodiment provides and unlock method embodiment belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.