The unlock method of a kind of data wire, intelligent terminal and system
Technical field
The present invention relates to a kind of unlock method of intelligent terminal, particularly relate to a kind of data wire being applied to intelligent terminal, be in unlock method and the system of the intelligent terminal under charged state.
Background technology
A unlocking screen action, is not only the first step opened with smart mobile phone interaction, also represents the continuous progress of mobile phone unlocking technology.Unlock from the * key in function machine epoch, unlock to the slip in smart mobile phone epoch; Unlock from the face of ThL Monkey King's mobile phone, then arrive the fingerprint recognition unblock etc. of iPhone5s, the continuous maturation of unlocking screen technology is the palm experience that people bring more convenient intelligence.
Along with the emergence of smart mobile phone, can say that it revolutionizes the keyboard unlocking manner of " large and stupid ", user is no longer favored and is exported by input through keyboard, the substitute is the full contact action of finger.More more progressive than previous generation unlocking manner, the smart mobile phone epoch add the modes such as sliding screen unblock, the unblock of nine grids pattern, PIN unblock, with the main flow mobile phone such as Samsung, Huawei for representative.The original intention of these modes is for the privacy information such as picture, video, music on protection user mobile phone, is also the most common several unlocking manners of current main flow smart mobile phone.For example:
Number of patent application is the patent " a kind of method, system and mobile phone unlocking mobile phone screen " of 201310061546.3, discloses a kind of method that mobile phone unlocks, comprising: mobile phone receives user operation instruction point bright screen curtain under screen lock state, enters unlock interface; When touch event having been detected within the predetermined time, obtain the touch area information that this touch event is corresponding, and calculate touching area according to described touch area information; Described touching area and the threshold values preset are contrasted, when described touching area is more than or equal to described threshold values, judges that described touch event meets unlocking condition, control to unlock mobile phone screen, otherwise, return and unlock failed information to user.This invention realizes unlocking mobile phone screen by large area touching mobile phone screen, to the required precision of touch points and sliding trace when reducing unlock screen, simplifies user operation, also helps the fail safe improved when hand unlocks.
Number of patent application is the patent " method that mobile phone unlocks " of 201310609191.7, also discloses a kind of unlock method of mobile phone, comprises step: S10, set a target and click thing; S11, sets the default number of clicks that described target clicks thing; S12, mobile phone enters treats released state, and described target is clicked thing and repeated to haunt from screen any direction; S13, clicks described target and clicks thing; S14, accumulation calculates clicks the number of times that described target clicks thing, is defined as number of times to be detected; S15, judges whether described number of times to be detected is more than or equal to described default number of clicks; And S16, if described number of times to be detected is more than or equal to described default number of clicks, from described, described mobile phone treats that released state enters released state.This invention had both ensured that the unblock of user was experienced, and turn improved fail safe when mobile phone unlocks, and effectively improved the information security in mobile phone.
Number of patent application is the patent " unlock method of mobile phone screen " of 2201010573687.X, also discloses a kind of unlock method of mobile phone, comprising: step one, mobile phone arranges sensor assembly, and setting unlocks comparison value; Step 2, utilizes described sensor assembly, gathers unlocking signal; Step 3, compares the unblock comparison value set in the described unlocking signal of step 2 acquisition and step one; Step 4, when the comparative result that step 3 obtains meets the entry condition of mobile phone screen unlocking program, starts the unlocking screen program of embedded in mobile phone, realizes mobile phone screen unlocking function.This invention utilizes various transducer and is aided with the sensor assembly of related accessory composition, realize the unlocking function of mobile phone screen, change the defect that in prior art, mobile phone screen unlocking manner is single, for user provides new operating experience, further improve the convenience of mobile phone screen unlocking operation.
But; although the confidentiality of present mobile phone their fail safe and privacy from the viewpoint of certain is fine; but increase interpersonal estrangement also; necessary for stranger's encipherment protection; but just become the wire forming estrangement in the family, and always will first to decipher before using mobile phone be also a troublesome step.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide unlock method and the system of a kind of data wire, intelligent terminal, for solving in prior art when intelligent terminal is in comparatively safe place time, how to unlock the problem of intelligent terminal screen fast.
For achieving the above object and other relevant objects, the invention provides a kind of data wire, for charging and the transfer of data of intelligent terminal, comprising: first interface, for being connected with described intelligent terminal; Second interface, for being connected with charger; Gravity sensor, is arranged at the position near described first interface, for obtaining positional information.
In one embodiment of the invention, described first interface and described second interface adopt USB interface.
The invention also discloses a kind of unlock method of intelligent terminal, be applied to unblock when described intelligent terminal adopts data wire as above to charge, the unlock method of described intelligent terminal comprises: step S10, detect described intelligent terminal and whether be in charged state: if so, then jump to step S20; If not, then continue standby; Whether step S20, detected described intelligent terminal and charged by described data wire: if so, then jump to step S30, if not, then standby; Step S30, obtains the positional information of the described gravity sensor in described data wire; Step S40, judges the status of described intelligent terminal according to the positional information of described gravity sensor: if described intelligent terminal is in flat condition, then standby; If described intelligent terminal is in non-flat condition, then described intelligent terminal automatic unlocking screen.
In one embodiment of the invention, in described step S20, the detection of described data wire is come by infrared facility: the information being scanned described data wire by described infrared facility judges described data wire.
In one embodiment of the invention, described infrared facility is arranged on charging panel.
In one embodiment of the invention, the positional information of the described gravity sensor obtained in described step S30 comprises the angle between each axle of described gravity sensor and three-dimensional coordinate.
In one embodiment of the invention, the angle between the X-axis and Y-axis of described gravity sensor and three-dimensional coordinate is 0 °, and when being 90 ° with the angle of Z axis, then described intelligent terminal is in flat condition.
In one embodiment of the invention, when the angle of the X-axis of described gravity sensor and three-dimensional coordinate is not 0 °, or with the angle of Y-axis be not 0 ° or be not 90 ° with the angle of Z axis time, then described intelligent terminal is in non-flat condition.
The invention also discloses a kind of system for unlocking of intelligent terminal, be applied to unblock when described intelligent terminal adopts data wire as above to charge, described system for unlocking comprises: charged state detection module, whether is in charged state for detecting described intelligent terminal; Whether data wire detection module, charged by described data wire for detecting described intelligent terminal; Data acquisition module, for obtaining the positional information of the described gravity sensor on described data wire; Judge module, the positional information for obtaining according to described data acquisition module judges the status of described intelligent terminal; Unlocked state, for intelligent terminal described in the status automatic unlocking of described intelligent terminal that judges according to described judge module; Control module, for controlling described charged state detection module, described data wire detection module, described data acquisition module, described judge module and described unlocked state.
In one embodiment of the invention, described data wire detection module is that the information scanning described data wire by infrared facility carries out detecting.
As mentioned above, the unlock method of a kind of data wire of the present invention, intelligent terminal and system, by gravity sensor and infrared facility, judge position residing for intelligent terminal whether safety, and whether intelligent terminal uses, to reach the quick unblock realizing intelligent terminal in comparatively safe place.Unlock method and the system of a kind of data wire of the present invention, intelligent terminal have following beneficial effect:
1. relative inexpensiveness;
2. can save the step of deciphering when using at home, also can use without estrangement between household, increase degree of belief each other, and more convenient;
3. only just possess this automatic unlocking function when the USB data line of matching connects charging, relatively also there is certain safeguard protection, and now cannot change the password setting of mobile phone.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of a kind of data wire disclosed in the embodiment of the present invention.。
Fig. 2 is shown as the schematic flow sheet of the unlock method of a kind of intelligent terminal disclosed in the embodiment of the present invention.
Fig. 3 is shown as the structural representation of the system for unlocking of a kind of intelligent terminal disclosed in the embodiment of the present invention.
Element numbers explanation
110 gravity sensors
120 first interfaces
130 second interfaces
S10 ~ S40 step
310 charged state detection modules
320 data wire detection modules
330 data acquisition modules
340 judge modules
350 unlocked state
360 control modules
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Embodiment 1
Present embodiment discloses a kind of data wire being applied to intelligent terminal.Wherein, intelligent terminal comprises memory, Memory Controller, one or more processor (CPU), interface circuit, RF (radio frequency) circuit, voicefrequency circuit, loud speaker, microphone, I/O (I/O) subsystem, touch display screen, other output or control appliances, and outside port.These assemblies are communicated by one or more communication bus or holding wire.Equipment can be any portable electric appts, includes but not limited to panel computer, smart mobile phone, multimedia player, personal digital assistant (PDA) etc., also may comprise wherein two or multinomial combination.Should be appreciated that the equipment enumerated in the present embodiment is an example of portable electric appts, the assembly of this equipment can have more or less assembly than what provide in diagram, or has different arrangement of components.Various assemblies shown in figure can realize with the combination of hardware, software or software and hardware, comprise one or more signal transacting and/or application-specific integrated circuit (ASIC).
The data wire of the present embodiment is used for charging and the transfer of data thereof of intelligent terminal, and as shown in Figure 1, the data wire of the present embodiment comprises gravity sensor 110, first interface 120 and the second interface 130.Wherein,
First interface 120 is for being connected with intelligent terminal.
Second interface 130, for charger or other equipment connections.
Gravity sensor 110 is arranged at as far as possible near the position of first interface 120, for obtaining positional information.Wherein, positional information includes but not limited to the X-axis of gravity sensor and three-dimensional coordinate, the angle between Y-axis and Z axis.
Further, because gravity sensor 110 is arranged at as far as possible near the position of first interface 120, therefore, alternatively, when data wire and intelligent terminal link together, the position of gravity sensor 110 can be equal to the position of intelligent terminal.
In the present embodiment, first interface 120 and the second interface 130 adopt USB interface.
Embodiment 2
Present embodiment discloses a kind of method that intelligent terminal when being in charged state is unlocked, and intelligent terminal adopts the data wire disclosed in embodiment 1 to carry out charging.The unlock method of the present embodiment is specially for the quick release method of the intelligent terminal when the charging of comparatively safe place (such as: family) uses.
Wherein, described intelligent terminal comprises memory, Memory Controller, one or more processor (CPU), interface circuit, RF (radio frequency) circuit, voicefrequency circuit, loud speaker, microphone, I/O (I/O) subsystem, touch display screen, other output or control appliances, and outside port.These assemblies are communicated by one or more communication bus or holding wire.Equipment can be any portable electric appts, includes but not limited to panel computer, smart mobile phone, multimedia player, personal digital assistant (PDA) etc., also may comprise wherein two or multinomial combination.Should be appreciated that the equipment enumerated in the present embodiment is an example of portable electric appts, the assembly of this equipment can have more or less assembly than what provide in diagram, or has different arrangement of components.Various assemblies shown in figure can realize with the combination of hardware, software or software and hardware, comprise one or more signal transacting and/or application-specific integrated circuit (ASIC).
As shown in Figure 2, the unlock method of the intelligent terminal of the present embodiment comprises:
Step S10, detects described intelligent terminal and whether is in charged state: if so, then jump to step S20; If not, then continue standby;
Whether step S20, detected described intelligent terminal and charged by described data wire: if so, then jump to step S30, if not, then standby:
Detecting after under intelligent terminal is in charged state, also need to verify whether intelligent terminal is be in comparatively safe place to charge, and the present embodiment is only applicable to the automatic unlocking of the intelligent terminal at place of safety further.Further, when intelligent terminal charges in comparatively safe place, it cannot be modified to the original password in intelligent terminal.
In the present embodiment, have employed and carry out identification data line by the mode of infrared facility scan-data line information.Infrared facility is arranged in the charging panel of family, differentiates whether be that corresponding data wire is charging to intelligent terminal by specific information scanning.In this way, not only achieve the differentiation whether intelligent terminal under charged state is in comparatively safe place, also achieve the judgement adopting and there is the data wire of gravity sensor.
Step S30, obtains the data of the described gravity sensor in described data wire:
Due to the position of the gravity sensor in data wire and intelligent terminal position closely, therefore, the positional information of the gravity sensor of acquisition is just equivalent to the positional information of intelligent terminal.
Wherein, positional information includes but not limited to the X-axis of gravity sensor and three-dimensional coordinate, the angle between Y-axis and Z axis.Wherein, the X-axis of three-dimensional coordinate and Y-axis are in plane residing when intelligent terminal charges, plane residing when Z-direction is charged perpendicular to intelligent terminal.
Step S40, judges the status of described intelligent terminal according to the positional information of described gravity sensor:
If described intelligent terminal is in flat condition, then standby;
If described intelligent terminal is in non-flat condition, then described intelligent terminal automatic unlocking screen.
Under normal circumstances, when intelligent terminal charges, lain against a horizontal position.Further, the intelligent terminal of charged state is in if need to use, will certainly mobile intelligent terminal, that is the positional information of intelligent terminal will certainly change.Therefore, the positional information by gravity sensor of the present embodiment, namely the positional information of intelligent terminal judges whether intelligent terminal is used.
The positional information of gravity sensor, namely the positional information of intelligent terminal is: and the angle between X-axis is 0 °, and the angle between Y-axis is 0 °, and the angle between Z axis is 90 °, then think that when being in intelligent terminal under charged state by use, it is in flat condition.Intelligent terminal is not used, and therefore keeps its holding state.
The positional information of gravity sensor, namely the positional information of intelligent terminal is: and the angle between X-axis is not 0 °, or and Y-axis between angle be 0 °, or and Z axis between angle be 90 °, then intelligent terminal is moved, and it is no longer in flat condition, because the intelligent terminal be under charged state is used, this intelligent terminal is in comparatively safe place, and therefore the direct screen to intelligent terminal unlocks.
The step of method divides above, just in order to be described clearly, can merge into a step or splitting some step, being decomposed into multiple step, when realizing as long as comprise identical logical relation, all in the protection range of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection range of this patent.
Embodiment 3
Present embodiment discloses a kind of system for unlocking of intelligent terminal, it is applied to unblock intelligent terminal is in charged state during in comparatively safe place.Wherein, intelligent terminal comprises memory, Memory Controller, one or more processor (CPU), interface circuit, RF (radio frequency) circuit, voicefrequency circuit, loud speaker, microphone, I/O (I/O) subsystem, touch display screen, other output or control appliances, and outside port.These assemblies are communicated by one or more communication bus or holding wire.Equipment can be any portable electric appts, includes but not limited to panel computer, smart mobile phone, multimedia player, personal digital assistant (PDA) etc., also may comprise wherein two or multinomial combination.Should be appreciated that the equipment enumerated in the present embodiment is an example of portable electric appts, the assembly of this equipment can have more or less assembly than what provide in diagram, or has different arrangement of components.Various assemblies shown in figure can realize with the combination of hardware, software or software and hardware, comprise one or more signal transacting and/or application-specific integrated circuit (ASIC).
As shown in Figure 3, the system for unlocking of the intelligent terminal of the present embodiment comprises:
Whether charged state detection module 310, be in charged state for detecting described intelligent terminal;
Whether data wire detection module 320, charged by described data wire for detecting described intelligent terminal; In the present embodiment, have employed and carry out identification data line by the mode of infrared facility scan-data line information.Infrared facility is arranged in the charging panel of family, differentiates whether be that corresponding data wire is charging to intelligent terminal by specific information scanning.In this way, not only achieve the differentiation whether intelligent terminal under charged state is in comparatively safe place, also achieve the judgement adopting and there is the data wire of gravity sensor.
Data acquisition module 330, for obtaining the positional information of the described gravity sensor on described data wire; Wherein, positional information includes but not limited to the X-axis of gravity sensor and three-dimensional coordinate, the angle between Y-axis and Z axis.Wherein, the X-axis of three-dimensional coordinate and Y-axis are in plane residing when intelligent terminal charges, plane residing when Z-direction is charged perpendicular to intelligent terminal.
Judge module 340, the positional information for obtaining according to described data acquisition module 330 judges the status of described intelligent terminal; Due to the position of the gravity sensor in data wire and intelligent terminal position closely, therefore, the positional information of the gravity sensor of acquisition is just equivalent to the positional information of intelligent terminal.Judge that intelligent terminal is in flat condition or non-flat condition by positional information.
Unlocked state 350, carries out intelligent terminal described in automatic unlocking for the described intelligent terminal status judged according to described judge module 340: the automatic unlocking carrying out intelligent terminal when described intelligent terminal is in non-flat condition.
Control module 360, for controlling described charged state detection module 310, described data wire detection module 320, described data acquisition module 330, described judge module 340 and described unlocked state 350.
In addition, in order to outstanding innovative part of the present invention, the module not too close with solving technical problem relation proposed by the invention is not introduced in the present embodiment, but this does not show the module unit that there is not other in the present embodiment.
Be not difficult to find, the present embodiment is the corresponding system embodiment of the second embodiment, and the present embodiment can be worked in coordination with the second embodiment and be implemented.The relevant technical details mentioned in second embodiment or the 3rd embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in the present embodiment also can be applicable in the second embodiment.
In sum, the unlock method of a kind of data wire of the present invention, intelligent terminal and system, by gravity sensor and infrared facility, judge position residing for intelligent terminal whether safety, and whether intelligent terminal uses, to reach the quick unblock realizing intelligent terminal in comparatively safe place.Unlock method and the system of a kind of data wire of the present invention, intelligent terminal have following beneficial effect: relative inexpensiveness; The step of deciphering can be saved when using at home, also can use without estrangement between household, increase degree of belief each other, and more convenient; Only just possess this automatic unlocking function when the USB data line of matching connects charging, relatively also there is certain safeguard protection, and now cannot change the password setting of mobile phone.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.