CN103197838A - Unlocking method and mobile terminal - Google Patents

Unlocking method and mobile terminal Download PDF

Info

Publication number
CN103197838A
CN103197838A CN2013100927785A CN201310092778A CN103197838A CN 103197838 A CN103197838 A CN 103197838A CN 2013100927785 A CN2013100927785 A CN 2013100927785A CN 201310092778 A CN201310092778 A CN 201310092778A CN 103197838 A CN103197838 A CN 103197838A
Authority
CN
China
Prior art keywords
centre
gravity place
default
accessory
gravity
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.)
Granted
Application number
CN2013100927785A
Other languages
Chinese (zh)
Other versions
CN103197838B (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.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
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

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an unlocking method and a mobile terminal, and belongs to the technical field of information processing. The unlocking method comprises the following steps: acquiring first centre-of-gravity position parameters corresponding to a first attached accessory, and judging whether the first centre-of-gravity position parameters are matched with preset centre-of-gravity position parameters corresponding to a preset attached accessory; and if yes, implementing the unlocking operation, wherein the first centre-of-gravity position parameters at least include first centre-of-gravity position coordinates and the preset centre-of-gravity position parameters at least include preset centre-of-gravity position coordinates. According to the invention, whether the first centre-of-gravity position parameters are matched with preset centre-of-gravity position parameters corresponding to a preset attached accessory is judged, and if yes, the unlocking operation is implemented, so that a novel unlocking method is provided, not only faulty operation at the terminal is efficiently prevented, but also uniqueness is realized, and further the safety for the user is increased.

Description

Unlock method and portable terminal
Technical field
The present invention relates to technical field of information processing, particularly a kind of unlock method and portable terminal.
Background technology
Along with science and technology development, the use crowd of intelligent mobile terminal is popular gradually.Usually in order to reach power saving and to prevent the purpose of maloperation under the obsolete situation, can conduct the locking operations to portable terminal, so only after to portable terminal execution unlocking operation, could use it.
Present unlock method mainly contains two kinds, and first method is namely carried out release by sliding for based on the release of sliding of the initial position of setting to terminal location between the starting point of setting and point of destination; Second method is about to the event control that slide block or other sliding point move to the assigned address correspondence for to carry out release at the triggering of different event control, realizes triggering this event control, and enters the operation interface of this event control.
There is following problem at least in present mode:
Because the release mode that provides at present all is based on the solution lock slide and slides into the release of sliding of assigned address, so there is the not high defective of confidentiality.
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.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of unlock method process flow diagram that the embodiment of the invention one provides;
Fig. 2 is a kind of unlock method process flow diagram that the embodiment of the invention two provides;
Fig. 3 is object center of gravity synoptic diagram under a kind of rectangular coordinate system in space of providing of the embodiment of the invention two;
Fig. 4 is a kind of synoptic diagram that shows portable terminal center of gravity sign that the embodiment of the invention two provides;
Fig. 5 is that the another kind that the embodiment of the invention two provides shows the synoptic diagram that the portable terminal center of gravity identifies;
Fig. 6 be the embodiment of the invention two provide another show the synoptic diagram of portable terminal center of gravity sign;
Fig. 7 is the structural representation of a kind of portable terminal of providing of the embodiment of the invention three;
Fig. 8 is the structural representation of the another kind of portable terminal that provides of the embodiment of the invention three;
Fig. 9 is the structural representation of another portable terminal of providing of the embodiment of the invention three.
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.

Claims (14)

1. a unlock method is characterized in that, 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.
2. method according to claim 1, it is characterized in that, the quantity of described default accessory is one, 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, unlocking function of the corresponding execution of each default centre of gravity place parameter.
3. method according to claim 1, it is characterized in that the quantity of described default accessory is a plurality of, 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.
4. method according to claim 1, it is characterized in that the quantity of described 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, unlocking function of the corresponding execution of each default centre of gravity place parameter.
5. method according to claim 1 is characterized in that, 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.
6. according to the described method of arbitrary claim in the claim 1 to 5, it is characterized in that, 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.
7. according to the described method of arbitrary claim in the claim 1 to 5, it is characterized in that 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.
8. a portable terminal is characterized in that, 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.
9. portable terminal according to claim 8, it is characterized in that, the quantity of described default accessory is one, described default accessory is attached to be affixed on attached subsides positions different on the described terminal, the default accessory corresponding preset centre of gravity place parameter difference of the different attached subsides in attached subsides position, unlocking function of the corresponding execution of each default centre of gravity place parameter.
10. portable terminal according to claim 8, it is characterized in that, the quantity of described default accessory is a plurality of, attached subsides position on the described terminal 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.
11. portable terminal according to claim 8, it is characterized in that, the quantity of described default accessory is a plurality of, 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, unlocking function of the corresponding execution of each default centre of gravity place parameter.
12. portable terminal according to claim 8, it is characterized in that, 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.
13. the described portable terminal of arbitrary claim in 12 according to Claim 8, it is characterized in that, 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.
14. the described portable terminal of arbitrary claim in 12 according to Claim 8 is characterized in that 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.
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 true CN103197838A (en) 2013-07-10
CN103197838B 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 (5)

* 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
US20120081267A1 (en) * 2010-10-01 2012-04-05 Imerj LLC Desktop reveal expansion
US20120194447A1 (en) * 2011-01-28 2012-08-02 Hon Hai Precision Industry Co., Ltd. Electronic device and method for unlocking user interface
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

Patent Citations (5)

* 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
US20120081267A1 (en) * 2010-10-01 2012-04-05 Imerj LLC Desktop reveal expansion
US20120194447A1 (en) * 2011-01-28 2012-08-02 Hon Hai Precision Industry Co., Ltd. Electronic device and method for unlocking user interface
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
CN103197838B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN104793938B (en) Informing message display method and system
CN104850395B (en) interface display method and system
CN103384369B (en) A kind of set up the method for data cube computation, Apparatus and system
CN103502904A (en) Systems and methods for providing resources and interactivity in computer systems
CN103226454A (en) Method and system for achieving multiscreen display
CN103761873A (en) Taxi sharing system and taxi sharing method utilizing taxi sharing system
CN103207778A (en) Method, device and mobile terminal for modifying icons
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN109462628A (en) The customized setting method and system, Cloud Server and shared automobile of shared automobile
CN102624984A (en) System and method for locking display screen by overturning mobile phone
CN105023009A (en) Intelligent terminal fingerprint identification method and system used for various application scenes
CN104899128A (en) Mobile terminal information indication method and mobile terminal
CN110569207A (en) Interface multiplexing device and vehicle-mounted equipment
CN102831340B (en) The tripper of electronic equipment and unlock method thereof
CN213228366U (en) Control system for battery charging and replacing cabinet
CN107276180B (en) Charging control method, device and system and user equipment
CN109479008A (en) Conference system
CN103197838A (en) Unlocking method and mobile terminal
CN205880745U (en) Electronic device
CN207883040U (en) A kind of interphone communication system for sharing
CN105513172A (en) Unlocking system and method of electronic lock
CN203012587U (en) Mobile electronic equipment
CN109803012A (en) A kind of picture dissemination method, storage medium and terminal device based on advertisement machine
CN205657750U (en) Device through cell -phone APP control batteries package
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 of 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 of 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