CN112422731A - Unlocking method, mobile terminal and computer storage medium - Google Patents

Unlocking method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN112422731A
CN112422731A CN201910778535.4A CN201910778535A CN112422731A CN 112422731 A CN112422731 A CN 112422731A CN 201910778535 A CN201910778535 A CN 201910778535A CN 112422731 A CN112422731 A CN 112422731A
Authority
CN
China
Prior art keywords
unlocking
track
preset
mobile terminal
motion
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.)
Pending
Application number
CN201910778535.4A
Other languages
Chinese (zh)
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.)
Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Original Assignee
Shanghai Pateo Electronic Equipment Manufacturing 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 Shanghai Pateo Electronic Equipment Manufacturing Co Ltd filed Critical Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Priority to CN201910778535.4A priority Critical patent/CN112422731A/en
Publication of CN112422731A publication Critical patent/CN112422731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00841Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed by a portable device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an unlocking method, a mobile terminal and a computer storage medium, comprising the following steps: acquiring a motion track of a mobile terminal, and detecting whether the motion track is matched with a preset unlocking track, wherein the motion track is a track for a user to hold the mobile terminal to do regular motion; and if so, unlocking the equipment bound with the mobile terminal. According to the unlocking method, the mobile terminal and the computer storage medium, whether the motion track of the mobile terminal is matched with the preset unlocking track or not is detected, and the equipment bound with the mobile terminal is unlocked during matching, so that the unlocking operation is convenient and fast, and the use experience of a user is improved.

Description

Unlocking method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of terminals, and in particular, to an unlocking method, a mobile terminal, and a computer storage medium.
Background
In order to secure property of a user, a lock is generally provided in a vehicle, a door, or the like. With the rapid development of the internet technology, more and more application scenes are used for unlocking devices such as vehicles by using mobile terminals such as mobile phones, and in the related art, the unlocking process can include: after the unlocking interface is popped up on the mobile phone interface through operations such as shaking and the like, the user confirms unlocking through manual clicking. However, the unlocking process requires the user to perform operations such as selection confirmation and the like, so that the unlocking operation is complicated, and the user experience is reduced.
Disclosure of Invention
The invention aims to provide an unlocking method, a mobile terminal and a computer storage medium, which are convenient and fast in unlocking operation and improve the use experience of a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an unlocking method, which is applied to a mobile terminal, and the method includes:
acquiring a motion track of a mobile terminal, and detecting whether the motion track is matched with a preset unlocking track, wherein the motion track is a track for a user to hold the mobile terminal to do regular motion;
and if so, unlocking the equipment bound with the mobile terminal.
As an embodiment, the detecting whether the motion trajectory matches a preset unlocking trajectory includes:
detecting whether the type of the motion track is matched with the type of a preset unlocking track or not and detecting whether the sequence of the motion track is matched with the sequence of the preset unlocking track or not;
and when the type of the motion track is determined to be matched with the type of a preset unlocking track and the sequence of the motion track is determined to be matched with the sequence of the preset unlocking track, determining that the motion track is matched with the preset unlocking track.
As an implementation manner, the acquiring a motion trajectory of the mobile terminal and detecting whether the motion trajectory is matched with a preset unlocking trajectory includes:
acquiring a first motion track of the mobile terminal;
detecting whether the first motion track is matched with a preset first unlocking track or not;
if so, acquiring a second motion track of the mobile terminal, wherein the second motion track is a motion track of the mobile terminal within a preset first time after the first motion track;
and detecting whether the second motion track is matched with a preset second unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
As an embodiment, if the motion trajectory is matched with the preset unlocking trajectory, determining that the motion trajectory is matched with the preset unlocking trajectory includes:
when the second motion track is matched with a preset second unlocking track, obtaining a third motion track of the mobile terminal, wherein the third motion track is a motion track of the mobile terminal within a preset second time length after the second motion track;
and detecting whether the third motion track is matched with a preset third unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
As an embodiment, before detecting whether the motion trajectory matches a preset unlocking trajectory, the method further includes:
receiving an unlocking track presetting instruction, wherein the unlocking track presetting instruction is used for indicating the type and the sequence of unlocking tracks preset for unlocking;
responding to the unlocking track preset instruction, detecting the type and the sequence of the current motion track of the mobile terminal, taking the type of the current motion track as the type of the preset unlocking track and taking the sequence of the current motion track as the sequence of the preset unlocking track.
As an embodiment, the unlocking trajectory includes at least one of the following trajectories: shaking, rotating and losing weight.
As one embodiment, the apparatus includes a vehicle, and before acquiring the motion trajectory of the mobile terminal, the apparatus further includes:
establishing a Bluetooth connection with the vehicle;
and when the distance between the vehicle and the vehicle is determined to be smaller than a preset distance threshold value and/or the received Bluetooth signal strength value is larger than a preset strength threshold value, executing the step of obtaining the motion track of the mobile terminal.
As one embodiment, the unlocking the device bound with the mobile terminal includes:
and sending an unlocking instruction to the vehicle.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including: a processor and a memory storing a computer program which, when executed by the processor, implements the unlocking method according to the first aspect.
In a third aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored, and when the computer program is executed by a processor, the unlocking method according to the first aspect is implemented.
The unlocking method, the mobile terminal and the computer storage medium provided by the embodiment of the invention comprise the following steps: acquiring a motion track of a mobile terminal, and detecting whether the motion track is matched with a preset unlocking track, wherein the motion track is a track for a user to hold the mobile terminal to do regular motion; and if so, unlocking the equipment bound with the mobile terminal. So, whether the motion track through detecting mobile terminal matches with the unblock orbit of predetermineeing to when matching to with the equipment that mobile terminal bound unlocks, the unblock simple operation has promoted user and has used experience. In addition, the unlocking operation can be effectively prevented from being triggered by mistake.
Drawings
Fig. 1 is a schematic flowchart of an unlocking method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an unlock trajectory in an embodiment of the present invention;
fig. 3 is an interaction diagram of an unlocking method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, an unlocking method provided in the embodiment of the present invention may be executed by a mobile terminal, where the mobile terminal may be a mobile phone, a tablet computer, a smart watch, a personal digital assistant, or the like. The method comprises the following steps:
step S101: acquiring a motion track of a mobile terminal, and detecting whether the motion track is matched with a preset unlocking track, wherein the motion track is a track for a user to hold the mobile terminal to do regular motion;
specifically, when the device bound with the mobile terminal needs to be unlocked, a user can hold the mobile terminal to make regular motion so that the mobile terminal generates a corresponding motion track, and at the moment, the mobile terminal can obtain the motion track of the mobile terminal, so as to detect whether the motion track is matched with a preset unlocking track, and correspondingly execute the unlocking operation on the device bound with the mobile terminal according to a matching result.
It should be noted that a multi-axis gyroscope, such as a six-axis gyroscope, is provided in the mobile terminal and is used for recording the motion trail of the mobile terminal. Here, the mobile terminal may obtain the corresponding motion trajectory only after detecting that the unlocking function of the device bound to the mobile terminal is started. It should be noted that the user may start the unlocking function of the device bound to the mobile terminal in advance through voice wake-up, key wake-up, icon wake-up, or the like. In addition, the mobile terminal may also acquire the motion trajectory of the mobile terminal after detecting that a preset event is triggered, where the preset event may be set according to actual needs, such as detecting that the mobile terminal approaches a device bound with the mobile terminal. Taking the device as an example of a vehicle, in an embodiment, before acquiring the motion trajectory of the mobile terminal, the method further includes: establishing a Bluetooth connection with the vehicle; and when the distance between the vehicle and the vehicle is determined to be smaller than a preset distance threshold value and/or the received Bluetooth signal strength value is larger than a preset strength threshold value, executing the step of obtaining the motion track of the mobile terminal. Here, based on the bluetooth connection with the vehicle, the mobile terminal may detect the distance from the vehicle through the bluetooth signal, and may also detect the strength of the received bluetooth signal. When the distance between the mobile terminal and the vehicle is smaller than a preset distance threshold value and/or the received Bluetooth signal intensity value is larger than a preset intensity threshold value, it is indicated that the mobile terminal is close to the vehicle or the distance between the mobile terminal and the vehicle is smaller, at this moment, it can be considered that the user needs to unlock the vehicle through the mobile terminal, and then the mobile terminal acquires the motion track of the mobile terminal to detect whether the motion track is matched with the preset unlocking track. Here, the bluetooth signal strength refers to a received signal strength corresponding to a bluetooth signal received by the mobile terminal. The distance threshold and the intensity threshold may be set according to actual requirements, for example, the distance threshold may be set to 0.5 meter, 1 meter, 1.5 meters, and the intensity threshold may be set to-50 dBm, -30dBm, -10dBm, and the like. Therefore, only when the distance between the mobile terminal and the vehicle is smaller than the preset distance threshold value and/or the received Bluetooth signal intensity value is larger than the preset intensity threshold value, the motion track of the mobile terminal is obtained to unlock the vehicle, false triggering of vehicle unlocking can be effectively avoided, and user use experience is further improved.
Here, the motion trajectory of the mobile terminal may be one or more, and correspondingly, the preset unlocking trajectory may also be one or more. When the preset unlocking track is only one, if the motion track is only one, whether the motion track is matched with the preset unlocking track or not is detected, and only whether the motion track is matched with the preset unlocking track or not is detected. When there are a plurality of preset unlocking tracks, the detecting whether the motion track is matched with the preset unlocking track may be detecting whether the motion track is matched with the unlocking track one by one. It should be noted that, the detecting whether the motion trajectory is matched with the unlocking trajectory may be detecting whether a similarity between the motion trajectory and the unlocking trajectory is greater than a preset similarity threshold, and if so, indicating that the motion trajectory is matched with the unlocking trajectory. The similarity threshold may be set according to actual needs, for example, may be set to 90%, 95%, and the like. In addition, whether the motion track is matched with the unlocking track or not can be detected whether the motion track and the unlocking track have the same or similar track sections, and if yes, the motion track is matched with the unlocking track.
In order to improve the security of unlocking and effectively prevent the unlocking by mistake, in an embodiment, the detecting whether the motion trajectory is matched with a preset unlocking trajectory includes:
detecting whether the type of the motion track is matched with the type of a preset unlocking track or not and detecting whether the sequence of the motion track is matched with the sequence of the preset unlocking track or not;
and when the type of the motion track is determined to be matched with the type of a preset unlocking track and the sequence of the motion track is determined to be matched with the sequence of the preset unlocking track, determining that the motion track is matched with the preset unlocking track.
Specifically, the mobile terminal detects whether the types of the obtained multiple motion tracks are matched with the type of a preset unlocking track and whether the sequence of the motion tracks is matched with the sequence of the preset unlocking track, and when the types of the motion tracks are determined to be matched with the type of the preset unlocking track and the sequence of the motion tracks is determined to be matched with the sequence of the preset unlocking track, the motion tracks are determined to be matched with the preset unlocking track.
Here, the mobile terminal detects whether the type of the motion trajectory matches a type of a preset unlocking trajectory and whether the sequence of the motion trajectory matches a sequence of the preset unlocking trajectory, and may detect whether the type and the sequence of the motion trajectory respectively match the type and the sequence of the preset unlocking trajectory after all the motion trajectories are acquired. The mobile terminal detects whether the type of the motion track is matched with the type of a preset unlocking track and whether the sequence of the motion track is matched with the sequence of the preset unlocking track, or after one motion track is obtained, the mobile terminal detects whether the motion track is matched with the corresponding unlocking track according to the sequence of the preset unlocking track, and if the motion track is matched with the preset unlocking track, the mobile terminal continues to obtain the next motion track and executes corresponding matching operation; if not, the matching is failed, namely the motion track is not matched with a preset unlocking track. Therefore, only when the type of the motion track is determined to be matched with the type of the preset unlocking track and the sequence of the motion track is determined to be matched with the sequence of the preset unlocking track, the motion track is determined to be matched with the preset unlocking track, and the unlocking safety can be effectively improved and the mistaken unlocking can be effectively prevented.
Here, a plurality of unlocking trajectories may be preset in the mobile terminal in a certain order, and the type of each unlocking trajectory may be the same or different. In an embodiment, before detecting whether the motion trajectory matches a preset unlocking trajectory, the method further includes:
receiving an unlocking track presetting instruction, wherein the unlocking track presetting instruction is used for indicating the type and the sequence of unlocking tracks preset for unlocking;
responding to the unlocking track preset instruction, detecting the type and the sequence of the current motion track of the mobile terminal, taking the type of the current motion track as the type of the preset unlocking track and taking the sequence of the current motion track as the sequence of the preset unlocking track.
Here, after the user opens the unlocking function, if the type and the sequence of the unlocking trajectory need to be set, the setting instruction may be selected, so that the mobile terminal receives the unlocking trajectory preset instruction to instruct the mobile terminal to open the unlocking trajectory setting function. After the mobile terminal starts the unlocking track setting function, a user can be prompted to hold the mobile terminal to do regular motion in a voice or text mode, such as shaking, rotating and the like. The mobile terminal can detect the regular motion of the mobile terminal held by a user at present through the multi-axis gyroscope, and acquire the type and the sequence of the current motion track of the mobile terminal according to the track of the regular motion of the mobile terminal held by the user, which is recorded by the multi-axis gyroscope, so that the type of the current motion track is used as the type of the preset unlocking track, and the sequence of the current motion track is used as the sequence of the preset unlocking track.
It can be understood that, after obtaining the type and the sequence of the current motion trajectory, the mobile terminal may display the current motion trajectory to the user in a graphical and textual manner, generate a prompt message, and let the user confirm whether the type and the sequence of the current motion trajectory are the type and the sequence of the unlocking trajectory that need to be set, and simultaneously may also generate an editing operation option, so that the user may adjust the type and the sequence of the current motion trajectory as needed, such as reversing the sequence of the current motion trajectory. After the user confirms that the unlocking track passes, the mobile terminal stores the type and the sequence of the set unlocking track. Therefore, the type and the sequence of the unlocking track are flexibly set as required, the unlocking safety and flexibility are improved, and the user experience is further improved.
Here, the unlocking trajectory includes at least one of the following trajectories: shaking, rotating and losing weight. It should be noted that the unlocking trajectory may also be another trajectory, and this embodiment is not particularly limited. The weight loss trajectory may also be considered as an acceleration trajectory. Referring to fig. 2, which is a schematic diagram of an unlocking trajectory, in this embodiment, the types of the unlocking trajectory include pan-pan, rotation, and weight loss, and the sequence of the unlocking trajectory is pan-pan, rotation, and weight loss in turn as an example, where fig. 2(a) shows a pan-pan trajectory, fig. 2(b) shows a rotation trajectory, and fig. 2(c) shows a weight loss trajectory. And only when the types of the motion tracks of the mobile terminal are detected to comprise shaking, rotating and weightlessness, and the sequence of the motion tracks of the mobile terminal is the shaking, rotating and weightlessness, the detected motion tracks of the mobile terminal are matched with a preset unlocking track.
In an embodiment, the obtaining a motion trajectory of the mobile terminal and detecting whether the motion trajectory is matched with a preset unlocking trajectory includes:
acquiring a first motion track of the mobile terminal;
detecting whether the first motion track is matched with a preset first unlocking track or not;
if so, acquiring a second motion track of the mobile terminal, wherein the second motion track is a motion track of the mobile terminal within a preset first time after the first motion track;
and detecting whether the second motion track is matched with a preset second unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
Specifically, the mobile terminal acquires a first motion track of the mobile terminal, detects whether the first motion track is matched with a preset first unlocking track, if the first motion track is not matched with the preset first unlocking track, the motion track is not matched with the preset unlocking track, and returns to execute the operation of acquiring the first motion track of the mobile terminal; if the first motion track is matched with a preset first unlocking track, obtaining a motion track within a preset time length after the first motion track as a second motion track, detecting whether the second motion track is matched with the preset second unlocking track, if so, determining that the motion track is matched with the preset unlocking track, if not, determining that the motion track is not matched with the preset unlocking track, and returning to execute the operation of obtaining the first motion track of the mobile terminal.
Here, the preset first duration may be set according to actual requirements, for example, the preset first duration may be set to 3 seconds, 5 seconds, 10 seconds, and the like. It can be understood that the process of the user holding the mobile terminal to make regular motion can be regarded as a consecutive process, for example, the user holds the mobile terminal to perform a shake first and then holds the mobile terminal to perform a rotation, at this time, the mobile terminal will record a shake track and a rotation track in sequence, and accordingly, the rotation track can be regarded as being generated after the shake track, that is, the second motion track of the mobile terminal is generated after the first motion track of the mobile terminal. The mobile terminal detects whether the first motion track is matched with a preset first unlocking track after acquiring the first motion track, and acquires the second motion track after matching, and at this time, it can be considered that when the mobile terminal acquires the second motion track, the corresponding second motion track may be generated. Referring to fig. 2 again, the preset first unlocking trajectory is taken as a swing and the preset second unlocking trajectory is taken as a rotation for explanation. If the first motion track of the mobile terminal is shaking, it is indicated that the first motion track is matched with a preset first unlocking track, a second motion track of the mobile terminal is continuously obtained, if the second motion track of the mobile terminal is rotating, it is indicated that the second motion track is matched with the preset second unlocking track, and it is determined that the motion track of the mobile terminal is matched with the preset unlocking track, that is, it is indicated that the equipment bound with the mobile terminal is allowed to be unlocked. Therefore, whether the motion track of the mobile terminal is matched with the preset unlocking track or not is detected in sequence, the unlocking operation is convenient and fast, and the unlocking safety is improved.
In an embodiment, if the motion trajectory is matched with the preset unlocking trajectory, determining that the motion trajectory is matched with the preset unlocking trajectory includes:
when the second motion track is matched with a preset second unlocking track, obtaining a third motion track of the mobile terminal, wherein the third motion track is a motion track of the mobile terminal within a preset time length after the second motion track;
and detecting whether the third motion track is matched with a preset third unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
Specifically, when detecting that the second motion track is matched with a preset second unlocking track, the mobile terminal acquires a motion track within a preset time length after the second motion track as a third motion track, detects whether the third motion track is matched with the preset third unlocking track, and determines that the motion track is matched with the preset unlocking track if the third motion track is matched with the preset third unlocking track; and if the third motion track is not matched with the preset third unlocking track, indicating that the motion track is not matched with the preset unlocking track, and returning to execute the operation of acquiring the first motion track of the mobile terminal.
Here, the preset second time period may be the same as the preset first time period, or may be set according to actual needs, for example, the preset second time period may be set to 4 seconds, 8 seconds, or the like. It can be understood that the process of the user holding the mobile terminal to make the regular motion may be regarded as a consecutive process, for example, the user holds the mobile terminal to perform a shake first, then holds the mobile terminal to perform a rotation, and finally holds the mobile terminal to perform a fast descent operation, i.e., a weightlessness operation, at this time, the mobile terminal may record a shake track, a rotation track, and a weightlessness track in sequence, and accordingly, the rotation track may be regarded as being generated after the shake track, the weightlessness track may be regarded as being generated after the rotation track, that is, the second motion track of the mobile terminal is generated after the first motion track of the mobile terminal, and the third motion track of the mobile terminal is generated after the second motion track of the mobile terminal. After the mobile terminal acquires the second motion track, whether the second motion track is matched with the preset second unlocking track or not is detected, and the third motion track is acquired after the second motion track is matched with the preset second unlocking track, at this time, it can be considered that when the mobile terminal acquires the third motion track, the corresponding third motion track may be generated. Referring to fig. 2 again, the preset first unlocking trajectory is a swing, the preset second unlocking trajectory is a rotation, and the preset third unlocking trajectory is a weight loss. If the first motion track of the mobile terminal is shake, it is indicated that the first motion track is matched with a preset first unlocking track, the second motion track of the mobile terminal is continuously obtained, if the second motion track of the mobile terminal is rotation, it is indicated that the second motion track is matched with the preset second unlocking track, the third motion track of the mobile terminal is continuously obtained, if the third motion track of the mobile terminal is weightlessness, it is determined that the motion track of the mobile terminal is matched with the preset unlocking track, that is, it is indicated that unlocking of the equipment bound with the mobile terminal is allowed. Of course, a fourth unlocking trajectory, a fifth unlocking trajectory, etc. may also be set, and the more the number and types of unlocking trajectories are, the more the operations required for unlocking are, and the higher the corresponding security of unlocking is. Therefore, whether the motion track of the mobile terminal is matched with the preset unlocking track or not is detected in sequence, the unlocking operation is convenient and fast, and the unlocking safety is improved.
Step S102: and if so, unlocking the equipment bound with the mobile terminal.
Specifically, after detecting that the motion track is matched with a preset unlocking track, the mobile terminal unlocks the equipment bound with the mobile terminal.
It should be noted that the device may be a device that directly performs information interaction with the mobile terminal. For example, the device may be a vehicle, and the corresponding mobile terminal is bound to the vehicle through bluetooth. The device can also be a door lock with a Bluetooth function and the like, such as a security door with a Bluetooth function and the like. Taking the device as an example, the unlocking the device bound with the mobile terminal includes: and sending an unlocking instruction to the vehicle so that the vehicle can be unlocked according to the unlocking instruction.
In summary, in the unlocking method provided in the embodiment, whether the motion trajectory of the mobile terminal is matched with the preset unlocking trajectory or not is detected, and the device bound to the mobile terminal is unlocked when the motion trajectory is matched with the preset unlocking trajectory, so that the unlocking operation is convenient and fast, and the user experience is improved. In addition, the unlocking operation can be effectively prevented from being triggered by mistake.
Based on the same inventive concept of the foregoing embodiment, this embodiment describes in detail the technical solutions of the foregoing embodiments by specific examples, which take the mobile terminal as a mobile phone and the device as a vehicle as examples. In the prior art, in order to prevent mistaken unlocking, an unlocking interface needs to be triggered first, and then an unlocking instruction is confirmed manually by a user. Although the above-described unlocking process increases the security, the unlocking operation is cumbersome because a secondary operation by the user is required. Referring to fig. 3, which is an interaction diagram of an unlocking method according to an embodiment of the present invention, first, a user establishes a bluetooth connection between a mobile terminal and a vehicle, and based on the bluetooth connection, the mobile terminal may determine whether to approach the vehicle. For example, the mobile terminal may acquire a distance to the vehicle through bluetooth connection, and determine whether to approach the vehicle according to the distance. When the mobile terminal judges that the mobile terminal is close to the vehicle, a target track output by the multi-axis gyroscope is read to be matched with the first unlocking track, if the target track is matched with the first unlocking track, namely the matching is successful, an N second track behind the target track is read, whether the N second track is matched with the second unlocking track or not is judged, if the matching is successful, namely the N second track is matched with the second unlocking track, the unlocking of the vehicle is allowed, the vehicle is unlocked, and if an unlocking instruction is sent. Here, the track output by the multi-axis gyroscope is a track of a user making a regular motion by approaching the vehicle and holding the mobile terminal. In conclusion, in the unlocking method provided by the embodiment, direct unlocking can be achieved without secondary selection and confirmation of the user, the operation is convenient and fast, and the use experience of the user is improved.
Based on the same inventive concept of the foregoing embodiments, an embodiment of the present invention provides a mobile terminal, referring to fig. 4, including: a processor 110 and a memory 111 storing computer programs; the processor 110 illustrated in fig. 4 is not used to refer to the number of the processors 110 as one, but is only used to refer to the position relationship of the processor 110 relative to other devices, and in practical applications, the number of the processors 110 may be one or more; similarly, the memory 111 illustrated in fig. 4 is also used in the same sense, that is, it is only used to refer to the position relationship of the memory 111 relative to other devices, and in practical applications, the number of the memory 111 may be one or more. The unlocking method described above is implemented when the processor 110 runs the computer program.
The mobile terminal may further include: at least one network interface 112. The various components in the mobile terminal are coupled together by a bus system 113. It will be appreciated that the bus system 113 is used to enable communications among the components. The bus system 113 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 113 in FIG. 4.
The memory 111 in the embodiments of the present invention is used to store various types of data to support the operation of the mobile terminal. Examples of such data include: any computer program for operation on the mobile terminal, such as operating systems and application programs; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Here, the program that implements the method of the embodiment of the present invention may be included in an application program.
Based on the same inventive concept of the foregoing embodiments, this embodiment further provides a computer storage medium, where a computer program is stored in the computer storage medium, where the computer storage medium may be a Memory such as a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM), and the like; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc. When the computer program stored in the computer storage medium is run by the processor, the unlocking method is realized. Please refer to the description of the embodiment shown in fig. 1 for a specific step flow realized when the computer program is executed by the processor, which is not described herein again.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed. The use of the ordinal adjectives "first", "second", etc., to describe an element is merely for distinguishing between similar elements and not intended to imply that the elements so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An unlocking method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring a motion track of a mobile terminal, and detecting whether the motion track is matched with a preset unlocking track, wherein the motion track is a track for a user to hold the mobile terminal to do regular motion;
and if so, unlocking the equipment bound with the mobile terminal.
2. The unlocking method according to claim 1, wherein the detecting whether the motion trajectory matches a preset unlocking trajectory comprises:
detecting whether the type of the motion track is matched with the type of a preset unlocking track or not and detecting whether the sequence of the motion track is matched with the sequence of the preset unlocking track or not;
and when the type of the motion track is determined to be matched with the type of a preset unlocking track and the sequence of the motion track is determined to be matched with the sequence of the preset unlocking track, determining that the motion track is matched with the preset unlocking track.
3. The unlocking method according to claim 1 or 2, wherein the obtaining of the motion trajectory of the mobile terminal and the detecting of whether the motion trajectory is matched with a preset unlocking trajectory comprise:
acquiring a first motion track of the mobile terminal;
detecting whether the first motion track is matched with a preset first unlocking track or not;
if so, acquiring a second motion track of the mobile terminal, wherein the second motion track is a motion track of the mobile terminal within a preset first time after the first motion track;
and detecting whether the second motion track is matched with a preset second unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
4. The unlocking method according to claim 3, wherein if the motion trajectory is matched with a preset unlocking trajectory, determining that the motion trajectory is matched with the preset unlocking trajectory comprises:
when the second motion track is matched with a preset second unlocking track, obtaining a third motion track of the mobile terminal, wherein the third motion track is a motion track of the mobile terminal within a preset second time length after the second motion track;
and detecting whether the third motion track is matched with a preset third unlocking track, and if so, determining that the motion track is matched with the preset unlocking track.
5. The unlocking method according to claim 2, wherein before detecting whether the motion trajectory matches a preset unlocking trajectory, the method further comprises:
receiving an unlocking track presetting instruction, wherein the unlocking track presetting instruction is used for indicating the type and the sequence of unlocking tracks preset for unlocking;
responding to the unlocking track preset instruction, detecting the type and the sequence of the current motion track of the mobile terminal, taking the type of the current motion track as the type of the preset unlocking track and taking the sequence of the current motion track as the sequence of the preset unlocking track.
6. The unlocking method according to claim 1 or 2, wherein the unlocking trajectory includes at least one of the following trajectories: shaking, rotating and losing weight.
7. The unlocking method according to claim 1, wherein the device comprises a vehicle, and before the obtaining of the motion trajectory of the mobile terminal, the method further comprises:
establishing a Bluetooth connection with the vehicle;
and when the distance between the vehicle and the vehicle is determined to be smaller than a preset distance threshold value and/or the received Bluetooth signal strength value is larger than a preset strength threshold value, executing the step of obtaining the motion track of the mobile terminal.
8. The unlocking method according to claim 7, wherein the unlocking the device bound to the mobile terminal comprises:
and sending an unlocking instruction to the vehicle.
9. A mobile terminal, comprising: a processor and a memory storing a computer program which, when executed by the processor, implements the unlocking method according to any one of claims 1 to 8.
10. A computer storage medium, characterized in that a computer program is stored which, when executed by a processor, implements the unlocking method according to any one of claims 1 to 8.
CN201910778535.4A 2019-08-22 2019-08-22 Unlocking method, mobile terminal and computer storage medium Pending CN112422731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910778535.4A CN112422731A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910778535.4A CN112422731A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN112422731A true CN112422731A (en) 2021-02-26

Family

ID=74780249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910778535.4A Pending CN112422731A (en) 2019-08-22 2019-08-22 Unlocking method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN112422731A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624985A (en) * 2012-03-20 2012-08-01 深圳市金立通信设备有限公司 System and method for unlocking mobilephone according to rotation combination
CN104063323A (en) * 2014-07-03 2014-09-24 南昌欧菲生物识别技术有限公司 Mobile terminal and equipment controlling method and system thereof
CN105809783A (en) * 2016-03-03 2016-07-27 陈健强 Automobile unlocking realization method based on gestures of intelligent bracelet and automobile unlocking realization system based on gestures of intelligent bracelet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624985A (en) * 2012-03-20 2012-08-01 深圳市金立通信设备有限公司 System and method for unlocking mobilephone according to rotation combination
CN104063323A (en) * 2014-07-03 2014-09-24 南昌欧菲生物识别技术有限公司 Mobile terminal and equipment controlling method and system thereof
CN105809783A (en) * 2016-03-03 2016-07-27 陈健强 Automobile unlocking realization method based on gestures of intelligent bracelet and automobile unlocking realization system based on gestures of intelligent bracelet

Similar Documents

Publication Publication Date Title
EP3716163A1 (en) Method, device and storage medium for displaying instruction information
CN101569150A (en) Method and system for detecting a transfer of an endpoint device
US20210326429A1 (en) Access control method and device, electronic device and storage medium
CN106484593A (en) Log processing method, device and electronic equipment
CN110400405A (en) A kind of method, apparatus and medium of access control
CN106020637A (en) An application start method and a mobile terminal
CN107609368A (en) Safety protecting method, device, equipment and the computer-readable storage medium of application program
CN107329659A (en) Permission setting method and device, electronic equipment and storage medium
CN105577911A (en) Terminal management method and terminal
CN106446653A (en) Application authority management method and device and electronic equipment
CN108307361A (en) A kind of short-distance wireless communication method and device
CN106302528A (en) Method for processing short messages and device
CN107704337A (en) Method, mobile terminal and the device with store function of factory reset
CN106778158B (en) A kind of information protection device and method
CN112637412A (en) Audio management method and device and computer storage medium
WO2024104102A1 (en) Screen unlocking method and apparatus, and electronic device and readable storage medium
CN110311916A (en) Information processing method, equipment and storage medium
CN103916471A (en) Information display method and device
CN105430639A (en) Information processing method and device
CN112422731A (en) Unlocking method, mobile terminal and computer storage medium
CN105069344A (en) Mobile terminal locking method and apparatus
CN108446226A (en) Using abnormal processing method
CN107704294A (en) The method and apparatus for handling reservation event
CN106600261A (en) Mobile payment device and method
CN112866961A (en) Method, device and computer storage medium for sharing network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Address before: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226