CN108509785B - Terminal unlocking method, terminal and computer readable storage medium - Google Patents

Terminal unlocking method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108509785B
CN108509785B CN201810282441.3A CN201810282441A CN108509785B CN 108509785 B CN108509785 B CN 108509785B CN 201810282441 A CN201810282441 A CN 201810282441A CN 108509785 B CN108509785 B CN 108509785B
Authority
CN
China
Prior art keywords
unlocking
terminal
information
optical signal
unlocking information
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.)
Active
Application number
CN201810282441.3A
Other languages
Chinese (zh)
Other versions
CN108509785A (en
Inventor
陈祎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810282441.3A priority Critical patent/CN108509785B/en
Publication of CN108509785A publication Critical patent/CN108509785A/en
Application granted granted Critical
Publication of CN108509785B publication Critical patent/CN108509785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards

Abstract

The invention discloses a terminal unlocking method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: the terminal receives an optical signal transmitted by the light-emitting equipment through a built-in photosensitive device and extracts unlocking information from the optical signal; comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information; and if the received unlocking information is matched with the pre-stored unlocking information, executing unlocking operation. The invention realizes remote unlocking through the optical signal, can unlock even if the terminal is not in direct contact with a user, and improves the flexibility and intelligence of terminal unlocking.

Description

Terminal unlocking method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal unlocking method, a terminal, and a computer-readable storage medium.
Background
Along with the frequent occurrence of information security leakage and user information theft cases on the network, the security and privacy of the user on the smart phone are improved to a new height, and various unlocking modes are generated at will, such as password unlocking and fingerprint unlocking which are commonly used at present.
The existing password unlocking and fingerprint unlocking generally involve that a user directly contacts a mobile phone to trigger an unlocking instruction to unlock through an unlocking action, the unlocking mode has high requirement on distance, the user must directly contact the mobile phone, and if the user is far away from a terminal, the unlocking cannot be realized.
Disclosure of Invention
The invention mainly aims to provide a terminal unlocking method, a terminal and a computer readable storage medium, and aims to solve the problem that the existing terminal unlocking mode has high requirement on distance.
In order to achieve the above object, the present invention provides a terminal unlocking method, including:
the terminal receives an optical signal transmitted by the light-emitting equipment through a built-in photosensitive device and extracts unlocking information from the optical signal;
comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information;
and if the received unlocking information is matched with the pre-stored unlocking information, executing unlocking operation.
Optionally, when the unlocking information is a data password, the step of comparing the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information includes:
and comparing the extracted data password with a pre-stored data password to determine whether the data password is matched with the pre-stored data password.
Optionally, after the step of executing the unlocking operation if the received unlocking information is matched with the pre-stored unlocking information, the method further includes:
determining the application related to the data password according to the incidence relation between the preset data password and the application;
and starting the data password associated application.
Optionally, when the unlocking information is optical frequency information, the step of comparing the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information includes:
comparing the extracted optical frequency information with pre-stored optical frequency information to determine whether the optical frequency information matches the pre-stored optical frequency information.
Optionally, the light frequency information includes: frequency information consisting of several different frequency bands.
Optionally, after the step of executing the unlocking operation if the received unlocking information is matched with the pre-stored unlocking information, the method further includes:
determining the application related to the optical frequency information according to the incidence relation between the preset optical frequency information and the application;
and starting the application related to the optical frequency information.
Optionally, the step of receiving, by the terminal through a built-in photosensitive device, an optical signal transmitted by the light-emitting device, and extracting the unlocking information from the optical signal includes:
when a terminal receives an optical signal transmitted by a light-emitting device through a built-in photosensitive device, determining the intensity value of the optical signal;
comparing the intensity value of the optical signal with a preset intensity value;
and when the intensity value of the optical signal reaches a preset intensity value, extracting unlocking information from the optical signal.
Optionally, the step of receiving, by the terminal through a built-in photosensitive device, an optical signal transmitted by the light-emitting device, and extracting the unlocking information from the optical signal includes:
when the terminal receives an optical signal transmitted by the light-emitting equipment through a built-in photosensitive device, monitoring the time length of the received optical signal;
and when the receiving time of the optical signal reaches the preset time, extracting unlocking information from the optical signal.
In addition, to achieve the above object, the present invention further provides a terminal, where the terminal includes a memory, a processor, and a terminal unlocking program stored in the memory and executable on the processor, and the terminal unlocking program, when executed by the processor, implements the steps of the terminal unlocking method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a terminal unlocking program, which when executed by a processor, implements the steps of the terminal unlocking method as described above.
According to the terminal unlocking method provided by the invention, when the terminal receives the optical signal transmitted by the light-emitting device through the built-in photosensitive device, the unlocking information is extracted from the optical signal, then the extracted unlocking information is compared with the prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information, if the received unlocking information is matched with the prestored unlocking information, the unlocking operation can be directly executed, so that the terminal can realize remote unlocking through the optical signal, the terminal can be unlocked even if the terminal is not in direct contact with a user, and the unlocking flexibility and intelligence are improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a first embodiment of a terminal unlocking method according to the present invention;
FIG. 4 is a diagram illustrating a terminal receiving an optical signal from a light emitting device according to the present invention;
FIG. 5 is a schematic diagram of a terminal according to unlocking information to unlock in the present invention;
FIG. 6 is a diagram illustrating the audio application being launched according to the unlock information in the present invention;
fig. 7 is a flowchart illustrating a fourth embodiment of a terminal unlocking method according to the present invention;
fig. 8 is a flowchart illustrating a fifth embodiment of a terminal unlocking method according to the present invention.
The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Further, in the terminal shown in fig. 1, the memory 109 stores a terminal unlocking program running on the processor 110, and the terminal calls the terminal unlocking program stored in the memory 109 through the processor 110 and executes the following steps:
receiving an optical signal transmitted by the light-emitting device through a built-in photosensitive device, and extracting unlocking information from the optical signal;
comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information;
and if the received unlocking information is matched with the pre-stored unlocking information, executing unlocking operation.
Further, when the unlocking information is a data password, the terminal calls a terminal unlocking program stored in the memory 109 through the processor 110 to compare the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information:
and comparing the extracted data password with a pre-stored data password to determine whether the data password is matched with the pre-stored data password.
Further, after the step of executing the unlocking operation if the received unlocking information matches with the pre-stored unlocking information, the terminal calls a terminal unlocking program stored in the memory 109 through the processor 110, and further implements the following steps:
determining the application related to the data password according to the incidence relation between the preset data password and the application;
and starting the data password associated application.
Further, when the unlocking information is optical frequency information, the terminal invokes a terminal unlocking program stored in the memory 109 through the processor 110 to implement the step of comparing the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information:
comparing the extracted optical frequency information with pre-stored optical frequency information to determine whether the optical frequency information matches the pre-stored optical frequency information.
Further, the optical frequency information includes: frequency information consisting of several different frequency bands.
Further, after the step of executing the unlocking operation if the received unlocking information matches with the pre-stored unlocking information, the terminal calls a terminal unlocking program stored in the memory 109 through the processor 110, and further implements the following steps:
determining the application related to the optical frequency information according to the incidence relation between the preset optical frequency information and the application;
and starting the application related to the optical frequency information.
Further, the terminal invokes, through the processor 110, a terminal unlocking program stored in the memory 109, and further implements the steps of receiving, through the built-in photosensitive device, the optical signal transmitted by the light-emitting device, and extracting unlocking information from the optical signal:
when an optical signal transmitted by a light-emitting device is received through a built-in photosensitive device, determining the intensity value of the optical signal;
comparing the intensity value of the optical signal with a preset intensity value;
and when the intensity value of the optical signal reaches a preset intensity value, extracting unlocking information from the optical signal.
Further, the terminal invokes, through the processor 110, a terminal unlocking program stored in the memory 109, and further implements the steps of receiving, through the built-in photosensitive device, the optical signal transmitted by the light-emitting device, and extracting unlocking information from the optical signal:
when an optical signal transmitted by a light-emitting device is received through a built-in photosensitive device, monitoring the time length of the received optical signal;
and when the receiving time of the optical signal reaches the preset time, extracting unlocking information from the optical signal.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the terminal hardware structure and the communication network system, the invention provides various embodiments of the terminal unlocking method.
The invention provides a terminal unlocking method.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of a terminal unlocking method according to the present invention.
In this embodiment, the terminal unlocking method includes the following steps:
step S10, the terminal receives the light signal transmitted by the light-emitting device through the built-in photosensitive device, and extracts the unlocking information from the light signal;
step S20, comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information;
and step S30, if the received unlocking information is matched with the pre-stored unlocking information, executing unlocking operation.
In this embodiment, the terminal unlocking method may be optionally applied to a terminal, and the terminal may be selected as the mobile terminal illustrated in fig. 1.
In this embodiment, the terminal is internally provided with a photosensitive device, the photosensitive device is a sensor, such as an infrared light sensor, an ultraviolet light sensor, a blue light sensor, and the like, the photosensitive device is optionally internally arranged around the front camera of the terminal at a position away from the front camera by a preset distance, for example, at a position away from the front camera by 0.5mm, or at other positions of the terminal according to actual needs, and the specific position is not limited, and the photosensitive device can be arranged according to actual needs.
The following are specific steps of implementing terminal unlocking in this embodiment:
step S10, the terminal receives the light signal transmitted by the light-emitting device through the built-in photosensitive device, and extracts the unlocking information from the light signal;
in this embodiment, in the case that the terminal includes a light sensing device, the light sensing device senses and receives a light signal transmitted by a light emitting device, where the light emitting device is an external light emitting device, and the external light emitting device includes but is not limited to: car key, remote control equipment, electrography. When a terminal receives an optical signal transmitted by a light-emitting device through a built-in photosensitive device, unlocking information is extracted from the optical signal, wherein the unlocking information includes but is not limited to: the data password is a preset data segment, specific data content of the data segment is not limited and is set according to actual needs, and the optical frequency information is frequency of an optical signal.
Step S20, comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information;
after the terminal extracts the unlocking information from the optical signal, pre-stored unlocking information is extracted from the database, the pre-stored unlocking information is information which is preset and stored in the database, and the pre-stored unlocking information is equivalent to an unlocking password and is used for verifying whether the optical signal meets the unlocking requirement. When the terminal extracts the unlocking information from the optical signal and extracts the pre-stored unlocking information from the database, the unlocking information is compared with the pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information, and specifically, the implementation manner of step S20 includes:
1) in the first mode, when the unlocking information is a data password, the step S20 includes:
and comparing the extracted data password with a pre-stored data password to determine whether the data password is matched with the pre-stored data password.
In this embodiment, when the unlocking information is a data password, the pre-stored unlocking information corresponds to a pre-stored unlocking password, and the terminal compares the data password with the pre-stored data password and then determines whether the data password is matched with the pre-stored data password, in this embodiment, when the similarity between the optional data password and the pre-stored data password reaches a first similarity, it is determined that the data password is matched with the pre-stored data password, wherein specific data of the first similarity is not limited, and is set according to actual needs, for example, to 70%.
2) In the second mode, when the unlocking information is optical frequency information, the step S20 includes:
comparing the extracted optical frequency information with pre-stored optical frequency information to determine whether the optical frequency information matches the pre-stored optical frequency information.
In this embodiment, when the unlocking information is optical frequency information, the pre-stored unlocking information corresponds to pre-stored optical frequency information, and the terminal compares the optical frequency information with the pre-stored optical frequency information and then determines whether the optical frequency information matches with the pre-stored optical frequency information.
The optical frequency information may be selected as a fixed frequency information, and further, in order to improve the security of unlocking, the optical frequency information may also be selected as: the information composed of several different frequencies, that is, the optical frequency information is composed of several continuous frequencies, and similarly, the pre-stored optical frequency information is also composed of several different frequencies.
And step S30, if the received unlocking information is matched with the pre-stored unlocking information, executing unlocking operation.
In this embodiment, when the unlocking information of the terminal is matched with the pre-stored unlocking information, that is, the data password is matched with the pre-stored data password, or the optical frequency information is matched with the pre-stored optical frequency information, the terminal performs the unlocking operation, so that the terminal enters the main interface of the terminal system from the screen locking interface, and each application icon is displayed in the main interface of the terminal system.
For a better understanding of the present embodiment, the following are exemplified:
referring to fig. 4 and 5, when the terminal receives an optical signal transmitted by the light emitting device through the built-in photosensitive device, the unlocking information is extracted from the optical signal, then the extracted unlocking information is compared with the pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information, if the received unlocking information is matched with the pre-stored unlocking information, an unlocking operation is performed to display an unlocked system main interface in a terminal interface, and each application icon is displayed on the system main interface.
According to the terminal unlocking method provided by the embodiment, when the terminal receives the optical signal transmitted by the light-emitting device through the built-in photosensitive device, the unlocking information is extracted from the optical signal firstly, then the extracted unlocking information is compared with the pre-stored unlocking information to determine whether the unlocking information is matched with the pre-stored unlocking information, if the received unlocking information is matched with the pre-stored unlocking information, the unlocking operation can be directly executed, so that the terminal can realize remote unlocking through the optical signal, the terminal can be unlocked even if the terminal is not in direct contact with a user, and the unlocking flexibility and intelligence are improved.
Further, a second embodiment of the terminal unlocking method of the present invention is proposed based on the first embodiment.
The second embodiment of the terminal unlocking method is different from the first embodiment of the terminal unlocking method in that after the step S30, the method further includes:
step A, determining an application associated with a data password according to a preset association relationship between the data password and the application;
and B, starting the application associated with the data password.
In this embodiment, when the unlocking information is the data password, and the terminal performs the unlocking operation according to the received unlocking information, the terminal queries the association relationship between the data password and the application stored in advance, that is, the association relationship between the data password and the application is stored in advance in the terminal, for example, the data password with the data content of XX corresponds to M application, and the data password with the data content of YY corresponds to N application. And if one of the pre-stored data passwords is detected to be matched with the data password corresponding to the unlocking information, inquiring an application associated with the matched data password, and directly starting the application so as to provide the user with the application.
Further, in order to improve the accuracy of application start, the terminal may execute the steps a to B only when the application start function is started in the setting condition of the terminal.
For a better understanding of the present embodiment, the following are exemplified:
referring to fig. 6, after the terminal executes an unlocking operation and displays an unlocked system main interface in the terminal interface, each application icon is displayed on the system main interface, at this time, the terminal checks whether the data password of the unlocking information is matched with a pre-stored data password, and then judges an application associated with the pre-stored data password to determine the application associated with the data password of the unlocking information, if the application associated with the data password of the unlocking information is an audio application, the terminal can directly start the data password audio application to play audio, for example, playing a song of ten years.
In this embodiment, equivalently, under the condition that the optical signal is successfully unlocked, if the data password included in the optical signal corresponds to the application in the terminal, direct start of the application can be realized, so that convenience in terminal unlocking and application start is realized, repeated operation is not needed, and convenience and intelligence in terminal use are improved.
Further, a third embodiment of the terminal unlocking method of the present invention is provided based on the first embodiment.
The third embodiment of the terminal unlocking method is different from the first embodiment of the terminal unlocking method in that after the step S30, the method further includes:
step C, determining the application related to the optical frequency information according to the incidence relation between the preset optical frequency information and the application;
and D, starting the application related to the optical frequency information.
In this embodiment, after the unlocking information is the optical frequency information and the terminal performs the unlocking operation according to the received unlocking information, the terminal queries the association relationship between the optical frequency information and the application stored in advance, that is, the terminal stores the association relationship between the optical frequency information and the application in advance, for example, when the optical frequency information is 1hz, the terminal corresponds to the P application, and when the optical frequency information is 2hz, the terminal corresponds to the Q application. If one of the pre-stored optical frequency information is detected to be matched with the optical frequency information corresponding to the unlocking information, inquiring an application associated with the matched optical frequency information, and directly starting the application for a user to use the application.
Further, in order to improve the accuracy of application start, the terminal may perform the steps C to D only when the application start function is started in the setting condition of the terminal.
In this embodiment, equivalently, under the condition that the optical signal is successfully unlocked, if the optical frequency information included in the optical signal corresponds to the application in the terminal, the application can be directly started, so that convenience in unlocking the terminal and starting the application is realized, repeated operations are not needed, and convenience and intelligence in using the terminal are improved.
Further, a fourth embodiment of the terminal unlocking method of the present invention is proposed based on the first to third embodiments.
The fourth embodiment of the terminal unlocking method is different from the first to third embodiments of the terminal unlocking method in that, referring to fig. 7, the step S10 includes:
step S11, when the terminal receives the light signal transmitted by the light-emitting device through the built-in photosensitive device, the terminal determines the intensity value of the light signal;
step S12, comparing the intensity value of the light signal with a preset intensity value;
step S13, when the intensity value of the optical signal reaches a preset intensity value, extracting unlocking information from the optical signal.
In this embodiment, when the terminal receives an optical signal transmitted by a light emitting device through a built-in photosensitive device, the terminal first identifies an intensity value of the optical signal, where the greater the intensity value, the closer the terminal is to the light emitting device, the smaller the intensity value, and the further the terminal is to the light emitting device, compares the intensity value of the optical signal with a preset intensity value, where a value of the preset intensity value is set according to circumstances, and when the intensity value of the optical signal reaches the preset intensity value, the longer the distance between the light emitting device and the terminal is, the terminal extracts unlocking information from the optical signal, so as to perform a subsequent unlocking operation.
According to the embodiment, the distance between the light-emitting device and the terminal is prevented from being too far away to unlock through judgment of the strength value, the terminal is possibly touched by mistake under the condition that the terminal is far away from the light-emitting device, and the terminal is extracted, analyzed and judged when the strength value reaches a certain value, so that subsequent unlocking operation is realized, and the accuracy and the safety of terminal unlocking are improved.
Further, a fifth embodiment of the terminal unlocking method of the present invention is proposed based on the first to third embodiments.
The fifth embodiment of the terminal unlocking method is different from the first to third embodiments of the terminal unlocking method in that, referring to fig. 8, the step S10 includes:
step S15, when the terminal receives the optical signal transmitted by the light-emitting device through the built-in photosensitive device, the terminal monitors the time length of the received optical signal;
and step S16, when the receiving time of the optical signal reaches the preset time, extracting unlocking information from the optical signal.
In this embodiment, when the terminal receives an optical signal transmitted by a light emitting device through a built-in photosensitive device, the time length for receiving the optical signal is monitored, if the receiving time length of the optical signal is less than a preset time length, the operation of extracting the analysis information is not executed, and only when the receiving time length of the optical signal reaches the preset time length, the unlocking information is extracted from the optical signal to execute a subsequent unlocking operation, where a specific value of the preset time length is set as appropriate.
According to the method and the device, the terminal also extracts unlocking information to unlock when the light-emitting device is prevented from mistakenly touching the emitted light signal through judgment of the time length of light signal receiving, the time length of light signal receiving in the embodiment meets a certain value, and then the unlocking information is extracted, analyzed and judged to realize subsequent unlocking operation, and the accuracy and the safety of terminal unlocking are improved.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium has stored thereon a terminal unlocking program which, when executed by a processor, implements the steps of the terminal unlocking method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A terminal unlocking method is characterized by comprising the following steps:
the terminal receives an optical signal transmitted by the light-emitting device through a built-in photosensitive device, wherein the optical signal comprises intensity value, duration and frequency information, and the unlocking information is extracted from the optical signal;
comparing the extracted unlocking information with prestored unlocking information to determine whether the unlocking information is matched with the prestored unlocking information;
if the received unlocking information is matched with prestored unlocking information, executing unlocking operation;
the terminal receives the optical signal transmitted by the light-emitting device through the built-in photosensitive device, and the step of extracting the unlocking information from the optical signal comprises the following steps:
when a terminal receives an optical signal transmitted by a light-emitting device through a built-in photosensitive device, determining the intensity value of the optical signal;
comparing the intensity value of the optical signal with a preset intensity value;
when the intensity value of the optical signal reaches a preset intensity value, extracting unlocking information from the optical signal;
or, the step that the terminal receives the optical signal transmitted by the light-emitting device through the built-in photosensitive device and extracts the unlocking information from the optical signal comprises:
when the terminal receives an optical signal transmitted by the light-emitting equipment through a built-in photosensitive device, monitoring the time length of the received optical signal;
and when the receiving time of the optical signal reaches the preset time, extracting unlocking information from the optical signal.
2. The terminal unlocking method according to claim 1, wherein when the unlocking information is a data password, the step of comparing the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information matches with the pre-stored unlocking information:
and comparing the extracted data password with a pre-stored data password to determine whether the data password is matched with the pre-stored data password.
3. The method for unlocking a terminal according to claim 2, wherein after the step of performing an unlocking operation if the received unlocking information matches pre-stored unlocking information, the method further comprises:
determining the application related to the data password according to the incidence relation between the preset data password and the application;
and starting the data password associated application.
4. The terminal unlocking method according to claim 1, wherein when the unlocking information is optical frequency information, the step of comparing the extracted unlocking information with pre-stored unlocking information to determine whether the unlocking information matches with the pre-stored unlocking information:
comparing the extracted optical frequency information with pre-stored optical frequency information to determine whether the optical frequency information matches the pre-stored optical frequency information.
5. The terminal unlocking method according to claim 4, wherein the optical frequency information includes: frequency information consisting of several different frequency bands.
6. The method for unlocking a terminal according to claim 4, wherein after the step of performing an unlocking operation if the received unlocking information matches pre-stored unlocking information, the method further comprises:
determining the application related to the optical frequency information according to the incidence relation between the preset optical frequency information and the application;
and starting the application related to the optical frequency information.
7. A terminal, characterized in that the terminal comprises a memory, a processor and a terminal unlocking program stored on the memory and executable on the processor, the terminal unlocking program, when executed by the processor, implementing the steps of the terminal unlocking method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a terminal unlocking program, which when executed by a processor implements the steps of the terminal unlocking method according to any one of claims 1 to 6.
CN201810282441.3A 2018-03-30 2018-03-30 Terminal unlocking method, terminal and computer readable storage medium Active CN108509785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810282441.3A CN108509785B (en) 2018-03-30 2018-03-30 Terminal unlocking method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810282441.3A CN108509785B (en) 2018-03-30 2018-03-30 Terminal unlocking method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108509785A CN108509785A (en) 2018-09-07
CN108509785B true CN108509785B (en) 2021-12-17

Family

ID=63379717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810282441.3A Active CN108509785B (en) 2018-03-30 2018-03-30 Terminal unlocking method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108509785B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295284A (en) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 LED (Light Emitting Diode)-based communication method and light-controlled mobile terminal
CN103399709A (en) * 2013-08-02 2013-11-20 北京小米科技有限责任公司 Screen unlocking method and device
CN204166604U (en) * 2014-10-31 2015-02-18 恒鼎电子科技有限公司 Utilize the lockset of colorama signal
CN105681557A (en) * 2016-01-15 2016-06-15 广东欧珀移动通信有限公司 Method and device for controlling infrared proximity sensor
CN107704173A (en) * 2017-09-30 2018-02-16 努比亚技术有限公司 A kind of application program display methods, terminal and computer-readable recording medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010034848A1 (en) * 2000-02-15 2001-10-25 Gail Langley Key card for personal home page access
US8466786B2 (en) * 2010-08-16 2013-06-18 Rav-Mafteah Ltd. Locking mechanism with sabbath control unit
CN106274804B (en) * 2015-05-20 2019-05-17 富顶精密组件(深圳)有限公司 Car key system and its application method
CN105262898A (en) * 2015-10-29 2016-01-20 努比亚技术有限公司 Apparatus and method for unlocking mobile terminal
CN106778389B (en) * 2016-11-25 2018-09-04 维沃移动通信有限公司 A kind of loss detection method and mobile terminal of mobile terminal
CN106778134A (en) * 2016-12-09 2017-05-31 北京小米移动软件有限公司 terminal control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295284A (en) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 LED (Light Emitting Diode)-based communication method and light-controlled mobile terminal
CN103399709A (en) * 2013-08-02 2013-11-20 北京小米科技有限责任公司 Screen unlocking method and device
CN204166604U (en) * 2014-10-31 2015-02-18 恒鼎电子科技有限公司 Utilize the lockset of colorama signal
CN105681557A (en) * 2016-01-15 2016-06-15 广东欧珀移动通信有限公司 Method and device for controlling infrared proximity sensor
CN107704173A (en) * 2017-09-30 2018-02-16 努比亚技术有限公司 A kind of application program display methods, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108509785A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN107222613B (en) Display method and terminal
CN109600740B (en) File downloading method and device and computer readable storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN108920080B (en) Fingerprint scanning method, mobile terminal and storage medium
CN107592416B (en) Voice message transmitting method, terminal and computer readable storage medium
CN109379735B (en) eSIM card operation method, mobile terminal and eSIM card device
CN107273035B (en) Application program recommendation method and mobile terminal
CN107832032B (en) Screen locking display method and mobile terminal
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN107682540B (en) Picture processing method, terminal and computer readable storage medium
CN108833690B (en) Authority control method, terminal and computer readable storage medium
CN108513010B (en) Terminal unlocking method, terminal and computer readable storage medium
CN108446574B (en) Data query method, terminal and computer readable storage medium
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN107346392B (en) Terminal system change identification method and device and readable storage medium
CN109063444B (en) Mobile terminal screen unlocking method, mobile terminal and computer readable storage medium
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN107135498B (en) File sharing method and equipment
CN109219039B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109089258B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109257739B (en) eSIM card operation method, mobile terminal and eSIM card device
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN107222933B (en) Communication method, terminal and computer readable storage medium
CN108509785B (en) Terminal unlocking method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant