Data line and intelligent terminal unlocking method and system
Technical Field
The invention relates to an unlocking method of an intelligent terminal, in particular to an unlocking method and system of an intelligent terminal, which are applied to a data line of the intelligent terminal and in a charging state.
Background
A screen unlock action is not only the first step of opening interaction with the smartphone, but also represents a constant progress in the handset unlock technology. Key unlocking in the function machine era and sliding unlocking in the smart phone era; from the face unblock of ThL monkey king cell-phone, to iPhone5 s's fingerprint identification unblock etc. again, the continuous maturity of screen unblock technique brings the palm experience of more convenient intelligence for people.
With the rise of the smart phone, the smart phone thoroughly changes a large and unwieldy keyboard unlocking mode, and a user does not favor inputting and outputting through a keyboard, but replaces full touch screen operation with fingers. Compared with the previous generation of unlocking modes, the smart phone era is added with the modes of screen sliding unlocking, Sudoku pattern unlocking, PIN unlocking and the like, and takes mainstream mobile phones such as samsung and Hua as representatives. The purpose of these modes is to protect privacy information such as pictures, videos and music on the mobile phone of the user, and the modes are also the most common unlocking modes of the mainstream smart phone at present. Such as:
patent application No. 201310061546.3, "a method, system and mobile phone for unlocking mobile phone screen", discloses a method for unlocking mobile phone, comprising: the mobile phone receives a user operation instruction to light up the screen in the screen locking state and enters an unlocking interface; when a touch event is detected within a preset time, acquiring touch area information corresponding to the touch event, and calculating a touch area according to the touch area information; and comparing the touch area with a preset threshold value, judging that the touch event meets an unlocking condition when the touch area is larger than or equal to the threshold value, and controlling to unlock the screen of the mobile phone, otherwise, returning information of unlocking failure to the user. According to the invention, the mobile phone screen is unlocked by touching the mobile phone screen in a large area, so that the precision requirements on touch points and sliding tracks during unlocking the screen are reduced, the user operation is simplified, and the safety during hand unlocking is improved.
Patent application No. 201310609191.7 entitled "method for unlocking mobile phone", also discloses a method for unlocking mobile phone, comprising the steps of: s10, setting a target point to hit the object; s11, setting a preset click frequency of the target point hit object; s12, the mobile phone enters a state to be unlocked, and the target point hits objects and disappears repeatedly from any direction of the screen; s13, clicking the target point to hit the object; s14, accumulating and calculating the times of clicking the target point to hit the object, and defining the times as the times to be detected; s15, judging whether the number of times to be detected is greater than or equal to the preset number of times of clicks or not; and S16, if the number of times to be detected is more than or equal to the preset number of times of clicks, the mobile phone enters the unlocked state from the state to be unlocked. The invention not only ensures the unlocking experience of the user, but also improves the safety of the mobile phone during unlocking, and effectively improves the information safety in the mobile phone.
Patent application No. 2201010573687.X discloses a method for unlocking a mobile phone screen, which also comprises: step one, arranging a sensor module on a mobile phone, and setting an unlocking comparison value; acquiring an unlocking signal by using the sensor module; step three, comparing the unlocking signal obtained in the step two with the unlocking comparison value set in the step one; and step four, when the comparison result obtained in the step three meets the starting condition of the mobile phone screen unlocking program, starting the built-in screen unlocking program of the mobile phone to realize the mobile phone screen unlocking function. The unlocking function of the mobile phone screen is realized by utilizing various sensors and assisting the sensor module consisting of related accessories, the defect of single unlocking mode of the mobile phone screen in the prior art is overcome, new operation experience is provided for users, and the convenience of the unlocking operation of the mobile phone screen is improved.
However, although the security and privacy confidentiality of the existing mobile phones are good from some aspect, the gap between people is also increased, the encryption protection for strangers is necessary, but a gap-forming lead is formed in the family, and the decryption always needs to be performed before the mobile phones are used, which is also a troublesome step.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a data line, an unlocking method of an intelligent terminal, and a system, for solving the problem of how to quickly unlock a screen of an intelligent terminal when the intelligent terminal is located in a relatively safe place in the prior art.
To achieve the above and other related objects, the present invention provides a data line for charging and data transmission of an intelligent terminal, including: the first interface is used for being connected with the intelligent terminal; the second interface is used for being connected with the charger; and the gravity sensor is arranged at a position close to the first interface and used for acquiring position information.
In an embodiment of the invention, the first interface and the second interface adopt USB interfaces.
The invention also discloses an unlocking method of the intelligent terminal, which is applied to unlocking when the intelligent terminal adopts the data line for charging, and comprises the following steps: step S10, detecting whether the intelligent terminal is in a charging state: if yes, go to step S20; if not, continuing to wait; step S20, detecting whether the intelligent terminal is charged through the data line: if yes, jumping to step S30, otherwise, waiting; step S30, acquiring the position information of the gravity sensor in the data line; step S40, judging the state of the intelligent terminal according to the position information of the gravity sensor: if the intelligent terminal is in a flat state, the intelligent terminal is in standby; and if the intelligent terminal is in a non-flat state, the intelligent terminal automatically unlocks the screen.
In an embodiment of the invention, the detection of the data line in the step S20 is accomplished by an infrared device: and scanning the information of the data line through the infrared device to judge the data line.
In an embodiment of the invention, the infrared device is disposed on the charging plate.
In an embodiment of the invention, the position information of the gravity sensor acquired in the step S30 includes an included angle between the gravity sensor and each axis of the three-dimensional coordinate.
In an embodiment of the invention, when an included angle between the gravity sensor and an X axis and a Y axis of the three-dimensional coordinate is 0 ° and an included angle between the gravity sensor and a Z axis is 90 °, the intelligent terminal is in a flat state.
In an embodiment of the invention, when an included angle between the gravity sensor and an X axis of the three-dimensional coordinate is not 0 °, or an included angle between the gravity sensor and a Y axis is not 0 ° or an included angle between the gravity sensor and a Z axis is not 90 °, the intelligent terminal is in a non-flat state.
The invention also discloses an unlocking system of the intelligent terminal, which is applied to unlocking when the intelligent terminal adopts the data line for charging, and the unlocking system comprises: the charging state detection module is used for detecting whether the intelligent terminal is in a charging state or not; the data line detection module is used for detecting whether the intelligent terminal is charged through the data line; the data acquisition module is used for acquiring the position information of the gravity sensor on the data line; the judging module is used for judging the state of the intelligent terminal according to the position information acquired by the data acquiring module; the unlocking module is used for automatically unlocking the intelligent terminal according to the state of the intelligent terminal judged by the judging module; and the control module is used for controlling the charging state detection module, the data line detection module, the data acquisition module, the judgment module and the unlocking module.
In an embodiment of the invention, the data line detection module scans information of the data line through an infrared device for detection.
As described above, according to the data line, the unlocking method and the unlocking system for the intelligent terminal, whether the position where the intelligent terminal is located is safe and whether the intelligent terminal is in use or not is judged through the gravity sensor and the infrared device, so that the intelligent terminal can be quickly unlocked in a relatively safe place. The unlocking method and system for the data line and the intelligent terminal have the following beneficial effects:
1. the cost is relatively low;
2. when the mobile phone is used at home, the step of decryption can be omitted, and the family can be used without gap, so that the mutual trust degree is increased, and the mobile phone is more convenient and faster;
3. the automatic unlocking function is only provided when the paired USB data lines are connected and charged, certain safety protection is relatively provided, and the password setting of the mobile phone cannot be changed at the moment.
Drawings
Fig. 1 is a schematic structural diagram of a data line according to an embodiment of the present invention. .
Fig. 2 is a schematic flowchart illustrating an unlocking method of an intelligent terminal according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an unlocking system of an intelligent terminal according to an embodiment of the present invention.
Description of the element reference numerals
110 gravity sensor
120 first interface
130 second interface
S10-S40
310 charging state detection module
320 data line detection module
330 data acquisition module
340 judging module
350 unlocking module
360 control module
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Example 1
The embodiment discloses a data line applied to an intelligent terminal. Among other things, a smart terminal includes memory, a memory controller, one or more processors (CPUs), interface circuitry, RF (radio frequency) circuitry, audio circuitry, speakers, microphones, input/output (I/O) subsystems, touch screens, other output or control devices, and external ports. These components communicate over one or more communication buses or signal lines. The device may be any portable electronic device including, but not limited to, a tablet, a smartphone, a multimedia player, a Personal Digital Assistant (PDA), and the like, and may include a combination of two or more thereof. It should be understood that the device recited in this embodiment is only one example of a portable electronic device, and that the components of the device may have more or fewer components than shown in the figures, or a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The data line of the present embodiment is used for charging the intelligent terminal and data transmission thereof, and as shown in fig. 1, the data line of the present embodiment includes a gravity sensor 110, a first interface 120, and a second interface 130. Wherein,
the first interface 120 is used for connecting with a smart terminal.
And a second interface 130 for connecting with a charger or other devices.
The gravity sensor 110 is disposed as close as possible to the first interface 120 for acquiring the position information. The position information includes, but is not limited to, the angles between the gravity sensor and the X-axis, the Y-axis, and the Z-axis of the three-dimensional coordinates.
Moreover, since the gravity sensor 110 is disposed as close to the first interface 120 as possible, it can also be said that the position of the gravity sensor 110 can be equivalent to the position of the smart terminal when the data line and the smart terminal are connected together.
In the present embodiment, the first interface 120 and the second interface 130 employ USB interfaces.
Example 2
The embodiment discloses a method for unlocking an intelligent terminal in a charging state, and the intelligent terminal is charged by adopting the data line disclosed in the embodiment 1. The unlocking method of the embodiment is a quick unlocking method specially aiming at the intelligent terminal when the intelligent terminal is charged and used in a relatively safe place (such as a home).
Wherein the smart terminal includes a memory, a memory controller, one or more processors (CPUs), interface circuitry, RF (radio frequency) circuitry, audio circuitry, speakers, microphones, input/output (I/O) subsystems, touch screens, other output or control devices, and external ports. These components communicate over one or more communication buses or signal lines. The device may be any portable electronic device including, but not limited to, a tablet, a smartphone, a multimedia player, a Personal Digital Assistant (PDA), and the like, and may include a combination of two or more thereof. It should be understood that the device recited in this embodiment is only one example of a portable electronic device, and that the components of the device may have more or fewer components than shown in the figures, or a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 2, the unlocking method of the intelligent terminal of the embodiment includes:
step S10, detecting whether the intelligent terminal is in a charging state: if yes, go to step S20; if not, continuing to wait;
step S20, detecting whether the intelligent terminal is charged through the data line: if yes, go to step S30, otherwise, stand by:
after detecting that the intelligent terminal is in a charging state, it is further required to verify whether the intelligent terminal is in a relatively safe place for charging, and this embodiment is only suitable for automatic unlocking of the intelligent terminal in the safe place. And, when the smart terminal is charged in a relatively secure place, it is impossible to modify the original password in the smart terminal.
In this embodiment, the data line is identified by scanning the data line information with an infrared device. The infrared device is arranged in a charging panel at home, and whether the intelligent terminal is charged by a corresponding data line or not is judged through specific information scanning. Through the mode, the judgment of whether the intelligent terminal is in a relatively safe place or not in the charging state is realized, and the judgment of adopting the data line with the gravity sensor is also realized.
Step S30, acquiring data of the gravity sensor in the data line:
because the position of the gravity sensor in the data line is very close to the position of the intelligent terminal, the acquired position information of the gravity sensor is equivalent to the position information of the intelligent terminal.
The position information includes, but is not limited to, the angles between the gravity sensor and the X-axis, the Y-axis, and the Z-axis of the three-dimensional coordinates. The X axis and the Y axis of the three-dimensional coordinate are located on a plane where the intelligent terminal is located during charging, and the Z axis direction is perpendicular to the plane where the intelligent terminal is located during charging.
Step S40, judging the state of the intelligent terminal according to the position information of the gravity sensor:
if the intelligent terminal is in a flat state, the intelligent terminal is in standby;
and if the intelligent terminal is in a non-flat state, the intelligent terminal automatically unlocks the screen.
In general, when a smart terminal is charged, the smart terminal is placed flat at a horizontal position. And if the intelligent terminal in the charging state needs to be used, the intelligent terminal is bound to be moved, that is, the position information of the intelligent terminal is bound to be changed. Therefore, whether the smart terminal is used or not is determined by the position information of the gravity sensor, i.e., the position information of the smart terminal according to the embodiment.
The position information of the gravity sensor, namely the position information of the intelligent terminal is as follows: and the included angle between the intelligent terminal and the X axis is 0 degree, the included angle between the intelligent terminal and the Y axis is 0 degree, and the included angle between the intelligent terminal and the Z axis is 90 degrees, so that the intelligent terminal is in a flat state when the intelligent terminal is not used in a charging state. The smart terminal is not used and thus maintains its standby state.
The position information of the gravity sensor, namely the position information of the intelligent terminal is as follows: the included angle between the intelligent terminal and the X axis is not 0 degrees, or the included angle between the intelligent terminal and the Y axis is 0 degrees, or the included angle between the intelligent terminal and the Z axis is 90 degrees, the intelligent terminal is moved and is not in a flat state any more, and the intelligent terminal in a charging state is used and is in a relatively safe place, so that the screen of the intelligent terminal is directly unlocked.
The steps of the above method are divided for clarity of description, and may be combined into one step or split into some steps, and the steps are decomposed into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
Example 3
The embodiment discloses an unlocking system of an intelligent terminal, which is applied to unlocking of the intelligent terminal when the intelligent terminal is in a charging state in a relatively safe place. Among other things, a smart terminal includes memory, a memory controller, one or more processors (CPUs), interface circuitry, RF (radio frequency) circuitry, audio circuitry, speakers, microphones, input/output (I/O) subsystems, touch screens, other output or control devices, and external ports. These components communicate over one or more communication buses or signal lines. The device may be any portable electronic device including, but not limited to, a tablet, a smartphone, a multimedia player, a Personal Digital Assistant (PDA), and the like, and may include a combination of two or more thereof. It should be understood that the device recited in this embodiment is only one example of a portable electronic device, and that the components of the device may have more or fewer components than shown in the figures, or a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 3, the unlocking system of the intelligent terminal of the present embodiment includes:
a charging state detection module 310, configured to detect whether the intelligent terminal is in a charging state;
a data line detection module 320, configured to detect whether the intelligent terminal is charged through the data line; in this embodiment, the data line is identified by scanning the data line information with an infrared device. The infrared device is arranged in a charging panel at home, and whether the intelligent terminal is charged by a corresponding data line or not is judged through specific information scanning. Through the mode, the judgment of whether the intelligent terminal is in a relatively safe place or not in the charging state is realized, and the judgment of adopting the data line with the gravity sensor is also realized.
A data obtaining module 330, configured to obtain position information of the gravity sensor on the data line; the position information includes, but is not limited to, the angles between the gravity sensor and the X-axis, the Y-axis, and the Z-axis of the three-dimensional coordinates. The X axis and the Y axis of the three-dimensional coordinate are located on a plane where the intelligent terminal is located during charging, and the Z axis direction is perpendicular to the plane where the intelligent terminal is located during charging.
The judging module 340 is configured to judge the state of the intelligent terminal according to the position information acquired by the data acquiring module 330; because the position of the gravity sensor in the data line is very close to the position of the intelligent terminal, the acquired position information of the gravity sensor is equivalent to the position information of the intelligent terminal. And judging whether the intelligent terminal is in a flat state or a non-flat state according to the position information.
An unlocking module 350, configured to automatically unlock the intelligent terminal according to the state of the intelligent terminal determined by the determining module 340: and automatically unlocking the intelligent terminal when the intelligent terminal is in a non-flat state.
A control module 360, configured to control the charging state detection module 310, the data line detection module 320, the data acquisition module 330, the judgment module 340, and the unlocking module 350.
In addition, in order to highlight the innovative part of the present invention, a module which is not so closely related to solve the technical problem proposed by the present invention is not introduced in the present embodiment, but this does not indicate that no other module element exists in the present embodiment.
It is to be understood that this embodiment is a system embodiment corresponding to the second embodiment, and the embodiment and the second embodiment can be implemented in cooperation. The related technical details mentioned in the second embodiment or the third embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
In summary, according to the data line, the unlocking method and the unlocking system for the intelligent terminal, whether the position where the intelligent terminal is located is safe and whether the intelligent terminal is in use or not is judged through the gravity sensor and the infrared device, so that the intelligent terminal can be quickly unlocked in a relatively safe place. The unlocking method and system for the data line and the intelligent terminal have the following beneficial effects: the cost is relatively low; when the mobile phone is used at home, the step of decryption can be omitted, and the family can be used without gap, so that the mutual trust degree is increased, and the mobile phone is more convenient and faster; the automatic unlocking function is only provided when the paired USB data lines are connected and charged, certain safety protection is relatively provided, and the password setting of the mobile phone cannot be changed at the moment. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.