CN106648539B - Unlocking method and electronic terminal - Google Patents

Unlocking method and electronic terminal Download PDF

Info

Publication number
CN106648539B
CN106648539B CN201710006155.XA CN201710006155A CN106648539B CN 106648539 B CN106648539 B CN 106648539B CN 201710006155 A CN201710006155 A CN 201710006155A CN 106648539 B CN106648539 B CN 106648539B
Authority
CN
China
Prior art keywords
unlocking
voice information
user
electronic terminal
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
CN201710006155.XA
Other languages
Chinese (zh)
Other versions
CN106648539A (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.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics 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 Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201710006155.XA priority Critical patent/CN106648539B/en
Publication of CN106648539A publication Critical patent/CN106648539A/en
Application granted granted Critical
Publication of CN106648539B publication Critical patent/CN106648539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Abstract

The invention belongs to the technical field of communication, and provides an unlocking method and an electronic terminal, wherein the unlocking method comprises the following steps: when the electronic terminal receives unlocking information, unlocking prompt information is randomly displayed on a screen of the electronic terminal; collecting voice information sent by a user according to the unlocking prompt information; and if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information, unlocking the electronic terminal. The invention can solve the problems that the existing unlocking method is monotonous and the learning of the electronic terminal cannot be increased.

Description

Unlocking method and electronic terminal
Technical Field
The invention belongs to the technical field of communication, and particularly relates to an unlocking method and an electronic terminal.
Background
At present, many learning electronic terminals, such as a learning tablet and a learning mobile phone, are available in the market, and the learning applications installed on the electronic terminals can help students to better acquire learning resources. In the prior art, the unlocking mode of these electronic terminals is usually to display a number key on an unlocking interface, and a user inputs a password by clicking a corresponding key or draws a pattern on the unlocking interface to unlock the electronic terminal. However, the unlocking method is monotonous and cannot increase the learning of the electronic terminal.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide an unlocking method and an electronic terminal, which aim to solve the problem that the existing unlocking method is monotonous and cannot increase the learning performance of the electronic terminal.
In a first aspect of the embodiments of the present invention, an unlocking method is provided, which is applied to an electronic terminal, and the unlocking method includes:
when the electronic terminal receives unlocking information, unlocking prompt information is randomly displayed on a screen of the electronic terminal;
collecting voice information sent by a user according to the unlocking prompt information;
and if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information, unlocking the electronic terminal.
In a second aspect of the embodiments of the present invention, an electronic terminal is provided, where the electronic terminal includes:
the display module is used for randomly displaying unlocking prompt information on a screen of the electronic terminal when the electronic terminal receives the unlocking information;
the acquisition module is used for acquiring voice information sent by a user according to the unlocking prompt information;
and the unlocking module is used for unlocking the electronic terminal if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, when the electronic terminal receives the unlocking information, the unlocking prompt information (such as patterns or characters) can be randomly displayed on the screen of the electronic terminal, the voice information sent by the user according to the unlocking prompt information is collected, whether the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information is detected, and the electronic terminal is unlocked only when the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information. According to the embodiment of the invention, when the user unlocks the electronic terminal every time, the unlocking prompt information is randomly displayed on the screen of the electronic terminal (namely the unlocking prompt information displayed every time is possibly different), the diversity of the unlocking prompt information and the unlocking method is increased, the corresponding relation between the unlocking prompt information and the voice information is pre-established, the unlocking prompt information is associated with the learning resource, the voice information sent by the collected user according to the unlocking prompt information is matched with the pre-stored voice information corresponding to the unlocking prompt information, namely, when the user successfully acquires the learning resource, the electronic terminal is unlocked, and the learning performance of the electronic terminal is increased.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an unlocking method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an unlocking method provided in the second embodiment of the present invention;
fig. 3 is a schematic block diagram of an electronic terminal according to a third embodiment of the present invention;
fig. 4 is a schematic block diagram of an electronic terminal according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that 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 in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the electronic terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, an electronic terminal is described that includes a display and a touch-sensitive surface. However, it should be understood that the electronic terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The electronic terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the electronic terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the electronic terminal may be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the electronic terminal may support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, which is a schematic flowchart of an unlocking method provided in an embodiment of the present invention, the unlocking method is applied to an electronic terminal, and as shown in the figure, the unlocking method may include the following steps:
and S101, when the electronic terminal receives unlocking information, randomly displaying unlocking prompt information on a screen of the electronic terminal.
In the embodiment of the invention, a user can trigger the electronic terminal to enter a state to be unlocked through a switch key of the electronic terminal, and an unlocking interface is displayed on a screen of the electronic terminal. The unlocking information is generated by triggering the on-off key of the electronic terminal, and when the electronic terminal receives the unlocking information, the electronic terminal enters a state to be unlocked and randomly displays unlocking prompt information on a screen of the electronic terminal. The unlocking prompt information includes, but is not limited to, one or any combination of patterns, characters, letters, and the like used by a user to acquire a learning resource, and is not limited herein.
It should be noted that, a plurality of different unlocking prompt messages are pre-stored in the electronic terminal, and when the electronic terminal receives the unlocking message, the number of the unlocking prompt messages randomly displayed on the screen of the electronic terminal may be one, or may be more than one. When the user unlocks the electronic terminal every time, unlocking prompt information displayed on a screen of the electronic terminal may be different, and learning resources acquired by the user may also be different, so that the diversity of the unlocking prompt information and the unlocking method is increased.
In the embodiment of the invention, an unlocking prompt message setting option can be provided in the unlocking setting interface of the electronic terminal, so that a user can set the type of the unlocking prompt message and the quantity of the unlocking prompt message displayed on the screen of the electronic terminal by himself through the setting option. For example, the user may set the unlock prompt to "Where heat is life, heat is hope" or a bundle of rosette patterns.
And step S102, acquiring voice information sent by a user according to the unlocking prompt information.
In the embodiment of the invention, the voice information sent by the user according to the unlocking prompt information can be collected through a microphone in the electronic terminal.
And step S103, if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information, unlocking the electronic terminal.
In the embodiment of the present invention, a correspondence between the unlocking prompt information and the voice information may be pre-established, and the voice information corresponding to the unlocking prompt information is pre-stored in the memory of the electronic terminal, after the electronic terminal collects the voice information sent by the user according to the unlocking prompt information, it is detected whether the collected voice information matches with the pre-stored voice information corresponding to the unlocking prompt information, and when the collected voice information matches with the pre-stored voice information corresponding to the unlocking prompt information, the electronic terminal is unlocked to allow access to the operable interface of the electronic terminal, and the user may perform a related operation in the operable interface, such as internet access, telephone call, video watching, and the like.
For example, the unlocking prompt information displayed on the screen of the electronic terminal is "Where there is life, there is a voice", and if it is detected that the voice information of the user is "Where there is life, there is a voice", and the pronunciation is the same as the prestored pronunciation of "Where there is life, there is a voice", the electronic terminal is unlocked. Or the unlocking character is a bundle of rose pictures, and if the voice information of the user is detected to be 'rose' and the pronunciation of the user is the same as the pronunciation of the 'rose', the electronic terminal is unlocked.
In the embodiment of the invention, the corresponding relation between the unlocking prompt information and the voice information is pre-established, and the unlocking prompt information is associated with the learning resources, so that the learning resources corresponding to the unlocking prompt information are obtained by a user in the process of unlocking the electronic terminal, and the learning performance of the electronic terminal is improved.
According to the embodiment of the invention, when the user unlocks the electronic terminal every time, the unlocking prompt information is randomly displayed on the screen of the electronic terminal (namely the unlocking prompt information displayed every time is possibly different), the diversity of the unlocking prompt information and the unlocking method is increased, the corresponding relation between the unlocking prompt information and the voice information is pre-established, the unlocking prompt information is associated with the learning resource, the voice information sent by the collected user according to the unlocking prompt information is matched with the pre-stored voice information corresponding to the unlocking prompt information, namely, when the user successfully acquires the learning resource, the electronic terminal is unlocked, and the learning performance of the electronic terminal is increased.
Referring to fig. 2, a schematic flowchart of an unlocking method provided in the second embodiment of the present invention is shown, where the unlocking method is applied to an electronic terminal, and as shown in the figure, the unlocking method may include the following steps:
step S201, when the electronic terminal receives the unlocking information, unlocking prompt information is randomly displayed on a screen of the electronic terminal.
In the embodiment of the invention, a user can trigger the electronic terminal to enter a state to be unlocked through a switch key of the electronic terminal, and an unlocking interface is displayed on a screen of the electronic terminal. The unlocking information is generated by triggering the on-off key of the electronic terminal, and when the electronic terminal receives the unlocking information, the electronic terminal enters a state to be unlocked and randomly displays unlocking prompt information on a screen of the electronic terminal. The unlocking prompt information includes, but is not limited to, one or any combination of patterns, characters, letters, and the like used by a user to acquire a learning resource, and is not limited herein.
It should be noted that, a plurality of different unlocking prompt messages are pre-stored in the electronic terminal, and when the electronic terminal receives the unlocking message, the number of the unlocking prompt messages randomly displayed on the screen of the electronic terminal may be one, or may be more than one. When the user unlocks the electronic terminal every time, unlocking prompt information displayed on a screen of the electronic terminal may be different, and learning resources acquired by the user may also be different, so that the diversity of the unlocking prompt information and the unlocking method is increased.
In the embodiment of the invention, an unlocking prompt message setting option can be provided in the unlocking setting interface of the electronic terminal, so that a user can set the type of the unlocking prompt message and the quantity of the unlocking prompt message displayed on the screen of the electronic terminal by himself through the setting option. For example, the user may set the unlock prompt to "Where heat is life, heat is hope" or a bundle of rosette patterns.
Step S202, when the operation of the user on the unlocking prompt information is detected, voice information sent by the user according to the unlocking prompt information is collected.
In order to more accurately acquire the voice information sent by the user according to the unlocking prompt information, the embodiment of the invention can acquire the voice information sent by the user according to the unlocking prompt information through the microphone in the electronic terminal when the electronic terminal detects the operation of the user on the unlocking prompt information.
Optionally, when detecting that the user operates the unlocking prompt information, acquiring the voice information sent by the user according to the unlocking prompt information includes:
when detecting that a user presses the unlocking prompt message for a long time, starting to collect voice information sent by the user according to the unlocking prompt message;
and when the user is detected to release the long-press operation on the unlocking prompt information, finishing collecting the voice information of the user.
In the embodiment of the invention, when the electronic terminal detects the long-press operation of the user on the unlocking prompt information displayed on the screen of the electronic terminal, the voice information sent by the user according to the unlocking prompt information can be collected by starting the microphone in the electronic terminal, and when the long-press operation of the user on the unlocking prompt information is detected to be released, the collection of the voice information of the user is finished by closing the microphone in the electronic terminal.
Optionally, in the embodiment of the present invention, when a first click operation (for example, a single click) of the user on the unlocking prompt information is detected, the voice information of the user according to the unlocking prompt information is collected, and when a second click operation (for example, a double click) of the user on the unlocking prompt information is detected, the collection of the voice information of the user is finished.
It should be noted that, in the embodiment of the present invention, the operation that can trigger the electronic terminal to start acquiring the voice information sent by the user according to the unlocking prompt information and the operation that can end acquiring the voice information of the user include not only a long press operation and a click operation, but also other conceivable operations that can trigger the electronic terminal to start acquiring the voice information sent by the user according to the unlocking prompt information and end acquiring the voice information of the user are within the protection scope of the present invention.
And step S203, if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information, unlocking the electronic terminal.
In the embodiment of the present invention, a correspondence between the unlocking prompt information and the voice information may be pre-established, and the voice information corresponding to the unlocking prompt information is pre-stored in the memory of the electronic terminal, the electronic terminal detects whether the acquired voice information matches with the pre-stored voice information corresponding to the unlocking prompt information after acquiring the voice information sent by the user according to the unlocking prompt information, and when the acquired voice information matches with the pre-stored voice information corresponding to the unlocking prompt information, the electronic terminal is unlocked to allow access to the operable interface of the electronic terminal, and the user may perform a related operation in the operable interface, such as internet access, call making, video watching, and the like.
For example, the unlocking prompt information displayed on the screen of the electronic terminal is "Where there is life, there is a voice", and if it is detected that the voice information of the user is "Where there is life, there is a voice", and the pronunciation is the same as the prestored pronunciation of "Where there is life, there is a voice", the electronic terminal is unlocked. Or the unlocking prompt message is a bunch of rose patterns, and if the voice message of the user is detected to be 'rose' and the pronunciation of the user is the same as the pronunciation of the 'rose', the electronic terminal is unlocked.
In the embodiment of the invention, the corresponding relation between the unlocking prompt information and the voice information is pre-established, and the unlocking prompt information is associated with the learning resources, so that the learning resources corresponding to the unlocking prompt information are obtained by a user in the process of unlocking the electronic terminal, and the learning performance of the electronic terminal is improved.
Optionally, the embodiment of the present invention further includes:
and if the voice information is not matched with the pre-stored voice information corresponding to the unlocking prompt information, prompting the user that the voice information is wrong.
In the embodiment of the present invention, if the electronic terminal detects that the collected voice information of the user is not matched with the pre-stored voice information corresponding to the unlocking prompt information, a prompt message indicating that the voice information is wrong may be sent to the user in a voice or pop-up window manner.
For example, the unlocking prompt information displayed on the screen of the electronic terminal is "Where there is life, there is a voice", and if it is detected that the voice information of the user is "Where there is life, there is a voice", but the pronunciation is different from the pre-stored pronunciation of "Where there is life, there is a prompt that the voice information is not standard. Or the unlocking prompt message is a bunch of rosette patterns, and if the voice message of the user is detected not to be 'rose' or the voice message is 'rose' but the pronunciation is different from the pronunciation of the 'rose' stored in advance, the user is prompted that the voice message is wrong or nonstandard.
Optionally, after prompting the user that the voice message is incorrect, the embodiment of the present invention further includes:
and recording the number of times of the voice information error in the preset time, and prompting correct voice information to the user when the number of times reaches a preset threshold value.
In the embodiment of the present invention, the electronic terminal may record the voice information error after the voice information error of the user, and if the number of times of recording the voice information error within a preset time (e.g., 5 seconds) reaches a predetermined threshold (e.g., 2 times), the electronic terminal may prompt the user with correct voice information in a voice form, and unlock the electronic terminal when acquiring the voice information matched with the pre-stored voice information corresponding to the unlock prompt information; if the number of times of the voice information errors recorded within a preset time (e.g., 5 seconds) does not reach a predetermined threshold (e.g., 2 times), the voice information errors of the user are recounted when the electronic terminal records the voice information errors again.
According to the embodiment of the invention, when the user unlocks the electronic terminal every time, the unlocking prompt information is randomly displayed on the screen of the electronic terminal (namely the unlocking prompt information displayed every time is possibly different), the diversity of the unlocking prompt information and the unlocking method is increased, the corresponding relation between the unlocking prompt information and the voice information is pre-established, the unlocking prompt information is associated with the learning resource, the voice information sent by the collected user according to the unlocking prompt information is matched with the pre-stored voice information corresponding to the unlocking prompt information, namely, when the user successfully acquires the learning resource, the electronic terminal is unlocked, and the learning performance of the electronic terminal is increased.
It should be understood that, in the above embodiments, the order of execution of the steps is not meant to imply any order, and the order of execution of the steps should be determined by their function and inherent logic, and should not limit the implementation process of the embodiments of the present invention.
Fig. 3 is a schematic block diagram of an electronic terminal according to a third embodiment of the present invention, and for convenience of description, only the parts related to the third embodiment of the present invention are shown.
The electronic terminal includes:
the display module 31 is configured to randomly display unlocking prompt information on a screen of the electronic terminal when the electronic terminal receives the unlocking information;
the acquisition module 32 is used for acquiring voice information sent by a user according to the unlocking prompt information;
and the unlocking module 33 is configured to unlock the electronic terminal if the voice information matches with the pre-stored voice information corresponding to the unlocking prompt information.
Optionally, the electronic terminal further includes:
and the prompting module 34 is configured to prompt the user that the voice information is wrong if the voice information is not matched with the pre-stored voice information corresponding to the unlocking prompt information.
Optionally, the electronic terminal further includes:
the recording module 35 is configured to record the number of times that the voice information is incorrect within a preset time after prompting that the voice information is incorrect for the user, and prompt the user of correct voice information when the number of times reaches a predetermined threshold.
Optionally, the acquisition module 32 is specifically configured to:
and when the operation of the user on the unlocking prompt information is detected, acquiring voice information sent by the user according to the unlocking prompt information.
Optionally, the acquisition module 32 includes:
a starting unit 321, configured to start to collect voice information sent by the user according to the unlocking prompt information when a long-press operation of the user on the unlocking prompt information is detected;
an ending unit 322, configured to end collecting the voice information of the user when it is detected that the user releases the long press operation on the unlocking prompt information.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely illustrated, and in practical applications, the foregoing function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the electronic terminal is divided into different functional units or modules to perform all or part of the above-described functions. Each functional module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the application. The specific working process of the module in the electronic terminal may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 4 is a schematic block diagram of an electronic terminal according to a fourth embodiment of the present invention. The electronic terminal as shown in the figure may include: one or more processors 401 (only one shown); one or more input devices 402 (only one shown), one or more output devices 403 (only one shown), and memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected by a bus 405. The memory 404 is used for storing instructions and the processor 401 is used for executing the instructions stored by the memory 404. Wherein:
the processor 401 is configured to randomly display an unlocking prompt message on a screen of the electronic terminal through the output device 403 when the electronic terminal receives the unlocking message; acquiring voice information sent by the user according to the unlocking prompt information through the input equipment 402; and if the voice information is matched with the voice information which is pre-stored in the memory 404 and corresponds to the unlocking prompt information, unlocking the electronic terminal.
Optionally, the processor 401 is further configured to prompt the user that the voice information is wrong through the output device 403 if the voice information is not matched with the pre-stored voice information corresponding to the unlocking prompt information.
Optionally, after prompting the user that the voice message is incorrect, the processor 401 is further configured to record the number of times that the voice message is incorrect within a preset time, and prompt the user for correct voice message through the output device 403 when the number of times reaches a predetermined threshold.
Optionally, the processor 401 is specifically configured to, when detecting that the user operates the unlocking prompt information, acquire, by the input device 402, voice information sent by the user according to the unlocking prompt information.
Optionally, the processor 401 is specifically configured to, when detecting that the user presses the unlocking prompt information for a long time, start to collect, by the input device 402, voice information sent by the user according to the unlocking prompt information; and when the user is detected to release the long-press operation on the unlocking prompt information, finishing collecting the voice information of the user.
The output device 403 is configured to feed back execution result information to the user.
The memory 404 is used for storing software programs and units, and the processor 401 executes various functional applications and data processing by running the software programs and units stored in the memory 404, so as to unlock the electronic terminal.
It should be understood that, in the embodiments of the present invention, the Processor 401 may be a Central Processing Unit (CPU), and the Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 403 may include a display (LCD, etc.), a speaker, etc.
The memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
In a specific implementation, the processor 401, the input device 402, and the output device 403 described in this embodiment of the present invention may execute the implementation described in the embodiment of the unlocking method provided in this embodiment of the present invention, and may also execute the implementation described in the electronic terminal described in the third embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present application, it should be understood that the disclosed electronic terminal and method may be implemented in other ways. For example, the above-described electronic terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electrical, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (4)

1. An unlocking method is applied to an electronic terminal, and is characterized by comprising the following steps:
when the electronic terminal receives unlocking information, randomly displaying unlocking prompt information on a screen of the electronic terminal, wherein the number of the unlocking prompt information is multiple;
voice information sent by the user according to the unlocking prompt information is collected, and the specific process is as follows: when the operation of a user on one of the unlocking prompt messages is detected, voice information sent by the user according to the unlocking prompt message is collected;
if the voice information is matched with pre-stored voice information corresponding to the unlocking prompt information, unlocking the electronic terminal;
if the voice information is not matched with the pre-stored voice information corresponding to the unlocking prompt information, prompting the user that the voice information is wrong; recording the number of times of the voice information error within the preset time, prompting the correct voice information to the user when the number of times reaches a preset threshold value, and unlocking the electronic terminal when the voice information matched with the pre-stored voice information corresponding to the unlocking prompt information is acquired.
2. The unlocking method according to claim 1, wherein when the operation of the user on the unlocking prompt message is detected, the collecting voice message sent by the user according to the unlocking prompt message comprises:
when detecting that a user presses the unlocking prompt message for a long time, starting to collect voice information sent by the user according to the unlocking prompt message;
and when the user is detected to release the long-press operation on the unlocking prompt information, finishing collecting the voice information of the user.
3. An electronic terminal, characterized in that the electronic terminal comprises:
the display module is used for randomly displaying unlocking prompt information on a screen of the electronic terminal when the electronic terminal receives the unlocking information, and the number of the unlocking prompt information which is randomly displayed is multiple;
the acquisition module is used for acquiring voice information sent by a user according to the unlocking prompt information, and specifically comprises the following steps: when the operation of a user on one of the unlocking prompt messages is detected, voice information sent by the user according to the unlocking prompt message is collected;
the unlocking module is used for unlocking the electronic terminal if the voice information is matched with the pre-stored voice information corresponding to the unlocking prompt information;
the prompting module is used for prompting the user that the voice information is wrong if the voice information is not matched with the pre-stored voice information corresponding to the unlocking prompting information; and the recording module is used for recording the number of times of the voice information error within the preset time after prompting the user that the voice information is wrong, and prompting the user of correct voice information when the number of times reaches a preset threshold value.
4. The electronic terminal of claim 3, wherein the acquisition module comprises:
the starting unit is used for starting to collect voice information sent by the user according to the unlocking prompt information when the long-time pressing operation of the user on the unlocking prompt information is detected;
and the finishing unit is used for finishing collecting the voice information of the user when the long-press operation of the unlocking prompt information released by the user is detected.
CN201710006155.XA 2017-01-03 2017-01-03 Unlocking method and electronic terminal Active CN106648539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710006155.XA CN106648539B (en) 2017-01-03 2017-01-03 Unlocking method and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710006155.XA CN106648539B (en) 2017-01-03 2017-01-03 Unlocking method and electronic terminal

Publications (2)

Publication Number Publication Date
CN106648539A CN106648539A (en) 2017-05-10
CN106648539B true CN106648539B (en) 2020-06-05

Family

ID=58843126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710006155.XA Active CN106648539B (en) 2017-01-03 2017-01-03 Unlocking method and electronic terminal

Country Status (1)

Country Link
CN (1) CN106648539B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008001A (en) * 2019-12-25 2020-04-14 珠海市魅族科技有限公司 Mobile terminal operation method and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639742A (en) * 2015-01-06 2015-05-20 广东小天才科技有限公司 Method and device for assisting in learning speaking through mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102124476B1 (en) * 2013-06-03 2020-06-19 엘지전자 주식회사 Mobile terminal and method for controlling the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639742A (en) * 2015-01-06 2015-05-20 广东小天才科技有限公司 Method and device for assisting in learning speaking through mobile terminal

Also Published As

Publication number Publication date
CN106648539A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10572639B2 (en) Selectively providing personal information and access to functionality on lock screen based on biometric user authentication
US9507473B2 (en) Method for processing touch operation and mobile terminal
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
CN106569585B (en) A kind of method and terminal managing program process
CN109241302B (en) Online course comment authorization method and device and terminal equipment
CN109032727B (en) Application program starting method, application program starting device and terminal equipment
CN106991179B (en) Data deleting method and device and mobile terminal
CN107085791A (en) A kind of electric paying method and terminal
TW201229877A (en) Method for preventing touch keyboard from being mis-touched and electrical apparatus with touch keyboard
CN107908349A (en) Display interface amplification method, terminal and computer-readable recording medium
CN106293080A (en) The method of a kind of user profile process and mobile terminal
US20160162182A1 (en) Method and Terminal for Varying Keys of a Touch Keyboard
CN107704613A (en) A kind of approaches to IM, terminal and computer-readable recording medium
US20080160960A1 (en) Remote processing device management
CN107066536B (en) Comment determining method and device
CN110502512B (en) Information carrier generation method, correlation method, device, equipment and storage medium
WO2016184052A1 (en) Card addition method, device, and apparatus and computer storage medium
CN106648539B (en) Unlocking method and electronic terminal
WO2012032192A1 (en) Mobile terminal comprising a graphical user interface
CN107872573B (en) Alarm clock setting method and terminal
CN112800401A (en) Privacy processing method and device and terminal
CN109521889A (en) A kind of input method and device, terminal and storage medium
CN107819944A (en) Delet method, device, equipment and the storage medium of short message
CN107515666A (en) A kind of data managing method and terminal
CN107436836A (en) The processing method and relevant device of a kind of journal file

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