WO2017211013A1 - Authentication method and device - Google Patents

Authentication method and device Download PDF

Info

Publication number
WO2017211013A1
WO2017211013A1 PCT/CN2016/097712 CN2016097712W WO2017211013A1 WO 2017211013 A1 WO2017211013 A1 WO 2017211013A1 CN 2016097712 W CN2016097712 W CN 2016097712W WO 2017211013 A1 WO2017211013 A1 WO 2017211013A1
Authority
WO
WIPO (PCT)
Prior art keywords
random
authentication
content
voice information
interface
Prior art date
Application number
PCT/CN2016/097712
Other languages
French (fr)
Chinese (zh)
Inventor
石磊
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017211013A1 publication Critical patent/WO2017211013A1/en

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular to an authentication method and apparatus.
  • the terminal unlocking technology in the related art is relatively simple, the security is strong and the interest is insufficient, and the security of the interesting foot is not enough.
  • most terminal implementation methods are unlocked first, then choose to enter the corresponding program, and the efficiency is low. Now users pay more and more attention to the security and convenience of mobile phones, and a solution is needed to better enhance the user experience. .
  • the terminal unlocking technology in the related art is relatively single, the security is not interesting enough, and the security of the interesting foot is not enough. Now most terminals enter the encrypted file or the privacy space of the user too much and is cumbersome, which is not conducive to the user. .
  • users are paying more and more attention to the security and convenience of mobile phones, and there is a need to have a solution to better enhance the user experience.
  • in terms of terminal unlocking only the pressure sensor is pressed and unlocked, and the pressing force is unlocked when the password is input.
  • the problem caused by this is that the one-way unlocking method is easy to be cracked, and the way of pressing the password is too cumbersome. The user has to remember the password and remember the pressing force. There is no convenience and fun, just for the sake of security. Experience.
  • the embodiment of the invention provides an authentication method and device, so as to at least solve the problem that the related technology is insufficient in portability and interest in the authentication process.
  • an authentication method including: displaying a random element, the random element is used to represent random content; receiving voice information; determining whether content of the voice information is related to the random element Whether the characterized random content is consistent; when the voice information matches the pre-stored voiceprint feature data, and the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful.
  • the random element includes at least one of the following: a text, a picture, a number, and a character.
  • the method before determining whether the content of the voice information is consistent with the random content represented by the random element, the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data; When the voice information matches the pre-stored voiceprint feature data, it is determined whether the content of the voice information is consistent with the random content represented by the random element.
  • displaying the random element comprises: displaying one or more of the random elements at a preset position of the authentication interface.
  • the authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application.
  • determining that the authentication succeeds includes: when the authentication interface includes a lock screen interface of the terminal, if the voice information is The content is consistent with the random content characterized by one or more of the plurality of random elements, then enters the unlocked desktop or opens the corresponding application.
  • displaying the random element comprises: receiving pressure information of the pressure sensor; displaying the random element according to the pressure information.
  • the method further includes one of: entering an unlocked desktop; opening a corresponding application; opening a corresponding file; and entering a corresponding storage space.
  • an authentication apparatus including: a display module configured to display a random element, the random element is used to represent random content; and a receiving module configured to receive voice information; a module, configured to determine whether the content of the voice information is consistent with the random content represented by the random element; the determining module is configured to match the voice information with the pre-stored voiceprint feature data, and the voice information is Content and the random element When the characterized random contents are consistent, it is determined that the authentication is successful.
  • the device further includes: a second determining module, configured to determine the voice information before the first determining module determines whether the content of the voice information is consistent with the random content represented by the random element Matches the pre-stored voiceprint feature data.
  • a second determining module configured to determine the voice information before the first determining module determines whether the content of the voice information is consistent with the random content represented by the random element Matches the pre-stored voiceprint feature data.
  • the device further includes: a first processing module, configured to enter an unlocked desktop after the determining module determines that the authentication succeeds; and the second processing module is configured to determine an authentication at the determining module After the success, the corresponding application is started; the third processing module is configured to: after the determining module determines that the authentication succeeds, the corresponding file is started; and the fourth processing module is configured to: after the determining module determines that the authentication is successful, enter the corresponding storage.
  • a first processing module configured to enter an unlocked desktop after the determining module determines that the authentication succeeds
  • the second processing module is configured to determine an authentication at the determining module After the success, the corresponding application is started
  • the third processing module is configured to: after the determining module determines that the authentication succeeds, the corresponding file is started
  • the fourth processing module is configured to: after the determining module determines that the authentication is successful, enter the corresponding storage.
  • the random element includes at least one of the following: a text, a picture, a number, and a character.
  • displaying the random element comprises: displaying one or more of the random elements at a preset position of the authentication interface.
  • the authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application.
  • the determining module further includes: a determining unit, configured to: when the authentication interface includes a lock screen interface of the terminal And if the content of the voice information is consistent with the random content represented by one or more of the plurality of random elements, then enter the unlocked desktop or open the corresponding application.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data; and pre-storing the voice information and the voice information When the voiceprint feature data is matched, it is determined whether the content of the voice information is consistent with the random content represented by the random element.
  • Displaying the random element includes displaying one or more of the random elements at a preset position of the authentication interface.
  • the authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application program.
  • determining the authentication success includes: if the authentication interface includes a lock screen interface of the terminal, if the content of the voice information is related to the If the random content represented by one or more of the plurality of random elements is consistent, then the unlocked desktop or the corresponding application is opened.
  • a random element is displayed, where the random element is used to represent random content, and then the voice information is received, and it is determined whether the content of the voice information is consistent with the random content represented by the random element, When the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful, and the judgment of the displayed random element increases the interest and portability while ensuring security, and thus can be solved.
  • the related technology has insufficient portability and interestingness in the authentication process, and has achieved the effect of improving the user experience.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal according to an authentication method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an authentication method according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an authentication apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of an optional structure of an authentication apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 2 of an optional structure of an authentication apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic flow chart of a method for setting a unit according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method of a voice processing unit according to an embodiment
  • FIG. 8 is a schematic flow chart of a method of a display unit according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method of a control unit according to an embodiment of the present invention.
  • FIG. 1 is a block diagram showing a hardware structure of a mobile terminal according to an authentication method according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the authentication method in the embodiment of the present invention, and the processor 102 executes various programs by running software programs and modules stored in the memory 104. Functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of an authentication method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 displaying a random element, and the random element is used to represent the random content
  • Step S204 receiving voice information
  • Step S206 determining whether the content of the voice information is consistent with the random content represented by the random element
  • Step S208 determining that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element.
  • the display random element in this embodiment is switched according to a certain period, and the received voice information may be after a period of time (eg, one minute) after displaying a certain random element.
  • the received voice information is valid, and the valid time may be the same as the switching period of the random element.
  • a random element is displayed, and the random element is used to represent the random content, and then the voice information is received, and whether the content of the voice information is consistent with the random content represented by the random element, and the content of the voice information and the random element are represented.
  • the random content is consistent, it is determined that the authentication is successful.
  • the execution body of the foregoing steps may be a terminal or the like, such as a mobile phone or a tablet, but is not limited thereto.
  • the random elements can be, but are not limited to, text, pictures, letters, Chinese characters, numbers, and the like.
  • the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data;
  • S11 and S12 may also be exchanged, that is, whether the content of the voice information is consistent with the random content represented by the random element, and whether the voice information matches the pre-stored voiceprint feature data. Or judge at the same time, there is no limit here.
  • Displaying the random element includes displaying one or more of the random elements at a preset position of the authentication interface.
  • the method may include: displaying a random element at a first position of the authentication interface; displaying a plurality of random elements at a plurality of locations of the authentication interface.
  • the optional authentication interface can be, but is not limited to, a lock screen interface of the terminal, an authentication interface of the application, such as a program interface of a folder or a space.
  • the unlocked desktop is opened or the corresponding application is started. If the authentication of two random elements passes at the same time, enter the "camera” application, or, if the random element "A” is authenticated, unlock, and the random element "B” is authenticated, then enter the "camera” application. .
  • displaying the random element includes: receiving pressure information of the pressure sensor; displaying the random element according to the pressure information.
  • different interfaces or applications may be accessed.
  • the desktop may be unlocked, the corresponding application is started, and the application is started.
  • Corresponding files enter the corresponding storage space, and so on.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • module may implement a combination of software and/or hardware of a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of an authentication apparatus according to an embodiment of the present invention, which may be disposed on a terminal, such as a mobile phone or a tablet. As shown in FIG. 3, the device includes:
  • the display module 30 is configured to display a random element, and the random element is used to represent the random content
  • the receiving module 32 is configured to receive voice information
  • the first determining module 34 is configured to determine whether the content of the voice information is consistent with the random content represented by the random element
  • the determining module 36 is configured to determine that the authentication succeeds when the content of the voice information coincides with the random content characterized by the random element.
  • FIG. 4 is a block diagram of an optional structure of an authentication apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the second determining module 40 is configured to determine that the voice information matches the pre-stored voiceprint feature data before the first determining module 34 determines whether the content of the voice information is consistent with the random content represented by the random element. .
  • FIG. 5 is a block diagram of an optional structure of an authentication device according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
  • the first processing module 50 is configured to enter the unlocked desktop after the determining module determines that the authentication succeeds;
  • the second processing module 52 is configured to: after the determining module determines that the authentication succeeds, start the corresponding application;
  • the third processing module 54 is configured to: after the determining module determines that the authentication succeeds, open the corresponding file;
  • the fourth processing module 56 is configured to enter the corresponding storage space after the determining module determines that the authentication is successful.
  • the random elements can be, but are not limited to, text, pictures, letters, Chinese characters, numbers, and the like.
  • the display module may display only one random element, or may display multiple random elements at the same time, corresponding to different authentications.
  • the display module includes: a display unit configured to display one or more of the random elements at a preset position of the authentication interface.
  • the method may include: displaying a random element at a first position of the authentication interface; displaying a plurality of random elements at a plurality of locations of the authentication interface.
  • the selected authentication interface may be, but is not limited to, a lock screen interface of the terminal, an authentication interface of the application, such as a program interface of a folder or a space.
  • the determining module further includes: a determining unit, configured to: when the authentication interface includes a lock screen interface of the terminal And if the content of the voice information is consistent with the random content represented by one or more of the plurality of random elements, then enter the unlocked desktop or open the corresponding application.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment provides a method for safely and conveniently unlocking and directly entering a program.
  • the terminal shown in this embodiment includes a setting unit, a voice processing unit, a control unit, and a display unit, where
  • Setting unit Set the function area or specific coordinate point, you can choose to set an unlocking area or specific coordinate point, which is unlocked when the user locks the screen. You can also set an area or coordinate point directly into the corresponding program for unlocking and enter the corresponding program. This setting is optional. If the user does not set, the default unlock function will be activated. After unlocking, enter the standby main interface. .
  • the content selection of the random elements of the interface is also completed by the setting module, prompting the user to select the content of the random elements randomly appearing in the interface, for example: the appearance of the element content, the occurrence of the element type, the appearance of the element size, and the like.
  • Voice processing unit This unit is divided into two main parts. The first part is the input part. The terminal owner performs voice input to establish the voice feature and voiceprint feature library. The second part is the authentication part. Speech recognition and voiceprint authentication. It is used to determine whether the user is the owner of the machine and the name of the random element spoken is correct.
  • Control unit After receiving the result of the voice processing unit, perform flow control. If the authentication of the voice processing unit passes, the control unit will perform unlocking and directly enter the corresponding program action. in case If the authentication fails, the unlocking and entering the program will not continue.
  • Display unit mainly responsible for the display function, displaying random element information in different areas of the lock screen interface or specific coordinate points.
  • the randomly displayed element information and the area or specific coordinate point are obtained from the setting module, and are selected by the user in the setting module. Area or specific coordinate point and set random element content.
  • a safe and convenient way to unlock and access the program directly includes the following steps:
  • Step 1 The terminal owner enters the setting module to set the options to be set.
  • the main options include but are not limited to:
  • Step 2 Establish a speech feature and a voiceprint feature library: the sound processing unit forms a customized voice feature data into a voice model and forms a voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model locally. In the storage unit. The sound processing unit associates the voice model and the voiceprint model with the unlocking and the specific application, and associates the voice model and the voiceprint model with the associated information of the specific application into the local storage unit.
  • Step 3 randomly display the various random elements set on the lock screen interface. Each time the user lights up the screen, the random elements appearing are different. The rules appear according to the settings of the user in the setting module. Each time the screen is bright, the user has to set a good area or a specific point must have a random element. This random element is different each time, according to the setting rules. If the user does not specify the area or the coordinate point, the part is randomly displayed, and it is not necessary to display all of them.
  • Step 4 The user sees a random element that implements the set area or the coordinate point position on the lock screen interface, reads out the name of the random element and reads the right element, and the sound processing unit authenticates. If the user only sets the unlocking area or the coordinate point in advance, then only one element name is read out. If the user sets two unlocking areas or coordinate points in advance, the user only needs to read the names of the two random elements in order. Just fine.
  • Step 5 After receiving the random element name read by the user, the sound processing unit starts the authentication comparison. First, the voice of the terminal is judged by the voiceprint comparison. If the authentication fails, the user is prompted to perform the operation without random. The speech recognition judgment of the content of the element name. If the voiceprint authentication is passed, the next voice recognition is performed to determine whether the random element name spoken by the user is the actually displayed name. If the double authentication is passed, go to the next step. Otherwise the user is prompted with an error message.
  • Step 6 After the voice processing unit passes the authentication, the control unit unlocks and directly enters the corresponding application operation, the unlocking operation is mandatory, and directly entering the corresponding program is optional.
  • the embodiment also provides a method for unlocking and entering an encryption space and a file, which are divided into two main types of usage scenarios.
  • the first type of user terminal is unlocked by the standby interface. In the standby interface, the user presses any position of the touch screen, and the user pops up. Random random element, when the user reads the random element name that pops up randomly on the screen, judges whether the terminal owner operates by voice pattern, and judges whether the correct random element name is read by voice recognition. After the authentication is passed, the authentication is passed. The terminal is unlocked.
  • the second type of usage scenario is used in a specific program, and is applicable to various programs that have encrypted hidden files.
  • a blank area is pressed, and random elements are randomly popped up, and the user randomly reads the screen.
  • the name of the random element that pops up is judged by the voiceprint to determine whether the terminal owner operates by itself.
  • the voice recognition is used to judge whether the name of the random element appears correctly.
  • the terminal corresponding to the method for unlocking and entering the encryption space and the file in this embodiment may also include a setting unit, a voice processing unit, a control unit, and a display unit.
  • Setting unit Set the content of random elements randomly displayed after pressing, for example, small pictures, numbers, icons, text, and so on. Set the pressure of the pressure sensor to save the user settings.
  • Voice processing unit This unit is divided into two main parts. The first part is the input part. The terminal owner performs voice input to establish the voice feature and voiceprint feature library. The second part is the authentication part. Speech recognition and voiceprint authentication. It is used to determine whether the user is the owner of the machine and the name of the random element spoken is correct.
  • Control unit After receiving the result of the voice processing unit, perform flow control, according to two different usage scenarios, to determine whether the authentication is passed, whether to unlock or directly enter the encrypted folder or hidden Private space.
  • Display unit mainly responsible for display functions, according to different usage scenarios
  • the random element information is displayed on the lock screen interface according to the area pressed by the user or the specific coordinate point, and the randomly displayed element information content is acquired from the setting module.
  • the program interface specifically including the encrypted folder or the privacy space displays random element information according to the area pressed by the user or the specific coordinate point, and the randomly displayed element information content is acquired from the setting module.
  • the present invention is a method of unlocking and entering an encrypted space and a file, the method comprising the steps of:
  • Use scenario 1 How to unlock the terminal standby interface
  • Step 1 The terminal owner enters the setting module to set the options to be set.
  • the main options include but are not limited to:
  • the pressing force of the screen pressure sensor enters the pressing force of the user, and is used to press the screen to determine the authentication use when unlocking later.
  • Step 2 Establish a speech feature and a voiceprint feature library: the sound processing unit forms a customized voice feature data into a voice model and forms a voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model locally. In the storage unit. The sound processing unit associates the voice model and the voiceprint model with the unlocking and the specific application, and associates the voice model and the voiceprint model with the associated information of the specific application into the local storage unit.
  • Step 3 In the terminal standby interface, each time the user presses any position on the screen, a random element will appear on the screen, and the random elements appearing are different.
  • the appearance rules are subject to the setting of the setting module by the user.
  • Step 4 The user reads out the name of the random element from the microphone according to the random element that appears, and the voice processing unit authenticates. After the sound processing unit receives the random element name read by the user, The authentication comparison is started. First, the voice of the terminal is judged by the voiceprint comparison. If the authentication fails, the user is prompted to operate non-self, and the voice recognition judgment of the content of the random element name is no longer performed. If the voiceprint authentication is passed, the next voice recognition is performed to determine whether the random element name spoken by the user is the actually displayed name. If the double authentication is passed, go to the next step. Otherwise the user is prompted with an error message.
  • Step 5 After the voice processing unit passes the authentication, the control unit performs an unlocking operation.
  • the user presses the blank space of the interface, and random elements appear on the screen, and the random elements appearing are different, and the rules appear according to the setting of the setting module by the user.
  • the setup process and the authentication process are the same as the scenario 1. After the authentication is passed, the authentication folder or the privacy space is directly entered.
  • FIG. 6 is a schematic flowchart of a method for setting a unit according to the embodiment, specifically:
  • Step 1 Set the selected area or the specific coordinate point. You can choose to set an unlocking area or a specific coordinate point. It can be unlocked when the user locks the screen. You can also set an area or coordinate point directly into the corresponding program for When unlocking, enter the corresponding program. This setting is optional. If the user does not set, the default unlock function will be activated. After unlocking, enter the standby main interface.
  • Step 2 Set the content of the random element to appear, prompting the user to select the content of the random element that appears randomly on the interface, for example: the content of the element appears, the type of the element appears, the size of the element appears, and so on.
  • Step 3 Save the user area or specific coordinate point information, and save the content of the random element set by the user.
  • FIG. 7 is A schematic flowchart of a method for a voice processing unit in this embodiment is specifically:
  • This unit is divided into two parts.
  • the first part is: establishing a phonetic feature and a voiceprint feature library.
  • the specific process is as follows:
  • the sound receiving unit is activated to receive the user-defined sound information, and the voice acquiring unit obtains the customized voice feature data from the customized sound information, and the voiceprint acquiring unit obtains the customized voiceprint feature data from the sound information;
  • the sound processing unit forms the customized voice feature data into a voice model and forms the voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model into a local storage unit; wherein the voice model is derived from a voice feature code extracted from the voice feature data, and the voiceprint model is composed of acoustic features extracted from the voiceprint feature data;
  • the correct pronunciation of the random element name is also stored in the local storage unit for the sound content comparison of the speech recognition authentication part.
  • the second part is the detailed steps of the process when the user uses the voice feature and the voiceprint feature library.
  • Step 1 In the standby lock screen state, receiving the user's voice information, and acquiring the voice feature data and the voiceprint feature data from the user voice information;
  • Step 2 Identifying whether there is voiceprint model information consistent with the voiceprint feature data in the voiceprint feature library, wherein the specific process is: extracting the acoustic feature from the voiceprint feature data through the voice processing unit;
  • Step 3 Align the obtained acoustic features with the stored voiceprint models in the speech feature library and determine the similarity between the two, and identify the information associated with the specific model by the speech model and the voiceprint model. If the match is unsuccessful, the user is not prompted to operate.
  • Step 4 After the matching is successful, continue to compare the content of the voice feature data with the content of the stored random element name, and determine whether the random element name spoken by the user is correct through voice recognition, and correctly, after unlocking or unlocking according to the setting of the setting module. Direct access to the corresponding module operation, incorrect Then prompt the user to return the unlocking interface with a random element name description error.
  • FIG. 8 is a schematic flowchart of a method for displaying a display unit according to the embodiment.
  • Step 1 According to the content set by the user in the setting unit, divide the lock screen into different areas or specific coordinate points.
  • Step 2 Extract the random element content to be displayed according to user settings
  • Step 3 According to the specific random display function calculation, ensure that more than 2 different random elements are displayed on the screen, ensuring that the random elements displayed on the bright screen are different, the function area set by the user or the specific coordinate point The location must be guaranteed to have different random elements appearing each time.
  • FIG. 9 is a schematic flowchart of the method for controlling the control unit according to the embodiment.
  • Step 1 Obtain the voiceprint authentication result from the voice processing unit, the authentication fails, and the user is prompted not to operate and return to the unlocking interface.
  • Step 2 Acquire a voice recognition authentication result from the voice processing unit, and use the prompt if the authentication fails
  • the user prompts the user to randomly name the description of the element to return to the unlock interface.
  • Step 3 After the dual authentication is passed, according to the setting of the setting module, unlock or directly enter the corresponding program.
  • Step 4 Direct access to the corresponding program is determined by the setting module user settings.
  • the user can view the random elements appearing at the location according to the preset area or the specific coordinate point, and say the name of the random element to the mobile phone screen. After the authentication is passed, the user can directly unlock it. To unlock and directly enter the corresponding program, you only need to read the element names appearing in the two positions in order according to the two positions set in advance, then you can unlock and directly enter the corresponding program. This greatly enhances the terminal unlocking and use. effectiveness.
  • Double authentication and unlocking in the unlocking interface can be realized, and the corresponding application can be accessed while unlocking, which improves the unlocking and use efficiency.
  • the random display of different positions of the random elements is both interesting and secure for unlocking. Sex. Using voiceprint comparison and speech recognition technology, it can improve safety and ease of use.
  • This embodiment provides a method for performing related setting by a terminal setting unit, which is specifically:
  • Step 1 Pressing the pressure of the screen pressure sensor, in the corresponding setting interface, input the user's pressing force, and use it to press the screen to judge the authentication when unlocking later.
  • Step 2 Prompt the user to select the content of the random element that appears randomly on the interface, for example: the content of the element appears, the type of the element appears, the size of the element appears, and so on.
  • Step 3 Save user settings
  • This embodiment provides a method for performing related authentication by a terminal voice processing unit, which is specifically:
  • This unit is divided into two parts.
  • the first part is: establishing a phonetic feature and a voiceprint feature library.
  • the specific process is as follows:
  • the sound receiving unit is activated to receive the user-defined sound information, and the voice acquiring unit obtains the customized voice feature data from the customized sound information, and the voiceprint acquiring unit obtains the customized voiceprint feature data from the sound information;
  • the sound processing unit forms the customized voice feature data into a voice model and forms the voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model into a local storage unit; wherein the voice model is derived from a voice feature code extracted from the voice feature data, and the voiceprint model is composed of acoustic features extracted from the voiceprint feature data;
  • the correct pronunciation of the random element name is also stored in the local storage unit for the sound content comparison of the speech recognition authentication part.
  • the second part is, after the establishment of the phonetic feature and the voiceprint feature library, the user steps in the process. suddenly.
  • Step 1 Receive voice information of the user in different usage scenarios, and obtain voice feature data and voiceprint feature data from the user voice information;
  • Step 2 Identifying whether there is voiceprint model information consistent with the voiceprint feature data in the voiceprint feature library, wherein the specific process is: extracting the acoustic feature from the voiceprint feature data through the voice processing unit;
  • Step 3 Align the obtained acoustic features with the stored voiceprint models in the speech feature library and determine the similarity between the two, and identify the information associated with the specific model by the speech model and the voiceprint model. If the match is unsuccessful, the user is not prompted to operate.
  • Step 4 After the matching is successful, continue to compare the content of the voice feature data with the content of the stored random element name, and determine whether the random element name spoken by the user is correct through voice recognition, and correctly, according to the setting of the setting module, unlock or directly enter The privacy space of the corresponding module is operated. If it is incorrect, the user is prompted to randomly return the unlocked interface.
  • the embodiment provides a method for displaying a random element by a terminal display unit, which is specifically:
  • Step 1 Extract the random element content to be displayed according to the content set by the user in the setting unit
  • Step 2 Determine the display position of the random element according to the position pressed by the user
  • Step 3 According to the specific random display function calculation, ensure that the random elements displayed by each press are different.
  • This embodiment provides a method for controlling a flow of a terminal control unit, specifically:
  • Step 1 Obtain the voiceprint authentication result from the voice processing unit, the authentication fails, and the user is prompted not to operate and return to the unlocking interface.
  • Step 2 Acquire a voice recognition authentication result from the voice processing unit, and use the prompt if the authentication fails
  • the user prompts the user to randomly name the description of the element to return to the unlock interface.
  • Step 3 After the dual authentication is passed, according to the setting of the setting module, unlock or directly enter the privacy space of the corresponding program.
  • the invention provides a method for unlocking and entering an encryption space and a file, which are divided into two main types of usage scenarios.
  • the first type of user terminal is unlocked by the standby interface. In the standby interface, the user presses any position of the touch screen, and a random pop-up will pop up. Random element, when the user reads the random element name that pops up randomly on the screen, judges whether the terminal owner operates by voice pattern, and judges whether the correct random element name is read by voice recognition. After the authentication is passed, the terminal passes the authentication. Unlock.
  • the second type of usage scenario is for specific programs, and is applicable to various programs that have encrypted hidden files. For example, in the file manager module, pressing a blank area and randomly popping a random element, then the user is facing the screen. The name of the random element that pops up randomly is judged by the voiceprint to determine whether the terminal owner operates by itself. The voice recognition is used to judge whether the name of the random element appears correctly.
  • the encrypted file folder or the privacy space is directly entered.
  • Double authentication unlocking in the unlocking interface can be realized, and the cumbersome steps of reducing the entry in the program with privacy space or encrypted folder can be realized.
  • the unlocking and use efficiency is improved.
  • the random display of random elements is interesting and interesting.
  • the security of unlocking is guaranteed.
  • the use of voiceprint comparison and voice recognition technology can improve safety and ease of use.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • S1 displaying random elements, and random elements are used to represent random content
  • S4 determines that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs displaying a random element according to the stored program code in the storage medium, where the random element is used to represent the random content;
  • the processor performs to receive voice information according to the stored program code in the storage medium
  • the processor performs, according to the stored program code in the storage medium, whether the content of the voice information is consistent with the random content characterized by the random element;
  • the processor determines that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • a random element is displayed, where the random element is used to represent random content, and then the voice information is received, and it is determined whether the content of the voice information is consistent with the random content represented by the random element, When the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful, and the judgment of the displayed random element increases the interest and portability while ensuring security, and thus can be solved.
  • the related technology has insufficient portability and interestingness in the authentication process, and has achieved the effect of improving the user experience.

Abstract

The invention provides an authentication method and device. The authentication method comprises: displaying a random element used to indicate random content; receiving a voice message; determining whether content of the voice message matches the random content indicated by the random element; and if so, determining that authentication is successful. The embodiment resolves problems of insufficient portability and entertaining values of an authentication process in the related art.

Description

鉴权方法及装置Authentication method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种鉴权方法及装置。The present invention relates to the field of communications, and in particular to an authentication method and apparatus.
背景技术Background technique
相关技术中的终端解锁技术比较单一,安全性强的趣味性不足,趣味性足的安全性不够。现在大多数终端实现方法都是先解锁后,再选择进入相应的程序,效率较低,现在用户越来越重视手机的安全性和便捷性,需要有一种解决方案,来更好的提升用户体验。The terminal unlocking technology in the related art is relatively simple, the security is strong and the interest is insufficient, and the security of the interesting foot is not enough. Nowadays, most terminal implementation methods are unlocked first, then choose to enter the corresponding program, and the efficiency is low. Now users pay more and more attention to the security and convenience of mobile phones, and a solution is needed to better enhance the user experience. .
这样导致的问题就是,进入应用程序只有一重安全保护,一旦用户声纹被复制破解,那么终端就会不安全.而且并没有解锁屏幕的功能,需要用户解锁后操作,便捷性差。The problem caused by this is that there is only one security protection for entering the application. Once the voiceprint of the user is copied and cracked, the terminal will be insecure. Moreover, there is no function of unlocking the screen, and the user needs to unlock the operation, and the convenience is poor.
相关技术中的终端解锁技术比较单一,安全性强的趣味性不足,趣味性足的安全性不够.现在大多数终端对用户加密文件或者隐私空间的进入方式太过于单一和繁琐,不利于用户使用。现在用户越来越重视手机的安全性和便捷性,需要有一种解决方案,来更好的提升用户体验。相关技术在终端解锁方面,只有基于压力传感器的按压解锁,和输入密码时的不同按压力度解锁。The terminal unlocking technology in the related art is relatively single, the security is not interesting enough, and the security of the interesting foot is not enough. Now most terminals enter the encrypted file or the privacy space of the user too much and is cumbersome, which is not conducive to the user. . Nowadays, users are paying more and more attention to the security and convenience of mobile phones, and there is a need to have a solution to better enhance the user experience. In the related art, in terms of terminal unlocking, only the pressure sensor is pressed and unlocked, and the pressing force is unlocked when the password is input.
这样导致的问题就是,一重解锁方式很容易被破解,而且按压力度不同输入密码的方式过于麻烦,用户要记住密码还要记住按压力度,没有便捷性和趣味性,仅仅为了安全影响了用户体验。The problem caused by this is that the one-way unlocking method is easy to be cracked, and the way of pressing the password is too cumbersome. The user has to remember the password and remember the pressing force. There is no convenience and fun, just for the sake of security. Experience.
针对相关技术中存在的上述问题,目前尚未发现有效的解决方案。In view of the above problems in the related art, no effective solution has been found yet.
发明内容Summary of the invention
本发明实施例提供了一种鉴权方法及装置,以至少解决相关技术在鉴权过程中便携性和趣味性不足的问题。 The embodiment of the invention provides an authentication method and device, so as to at least solve the problem that the related technology is insufficient in portability and interest in the authentication process.
根据本发明的一个实施例,提供了一种鉴权方法,包括:显示随机元素,所述随机元素用于表征随机内容;接收语音信息;判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;在所述语音信息与预存的声纹特征数据匹配,且所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功。According to an embodiment of the present invention, an authentication method is provided, including: displaying a random element, the random element is used to represent random content; receiving voice information; determining whether content of the voice information is related to the random element Whether the characterized random content is consistent; when the voice information matches the pre-stored voiceprint feature data, and the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful.
可选地,所述随机元素包括以下至少之一:文字、图片、数字、字符。Optionally, the random element includes at least one of the following: a text, a picture, a number, and a character.
可选地,判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致之前,所述方法还包括:判断所述语音信息与预存的声纹特征数据是否匹配;在所述语音信息与预存的声纹特征数据匹配时,再判断所述语音信息的内容是否与所述随机元素所表征的随机内容一致。Optionally, before determining whether the content of the voice information is consistent with the random content represented by the random element, the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data; When the voice information matches the pre-stored voiceprint feature data, it is determined whether the content of the voice information is consistent with the random content represented by the random element.
可选地,显示随机元素包括:在鉴权界面的预设位置显示一个或多个所述随机元素。Optionally, displaying the random element comprises: displaying one or more of the random elements at a preset position of the authentication interface.
可选地,所述鉴权界面包括以下之一:终端的锁屏界面、应用程序的鉴权界面。Optionally, the authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application.
可选地,在所述鉴权界面的多个位置分别显示多个随机元素的情况下,确定鉴权成功包括:当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内容与所述多个随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。Optionally, in the case that multiple random elements are respectively displayed in multiple locations of the authentication interface, determining that the authentication succeeds includes: when the authentication interface includes a lock screen interface of the terminal, if the voice information is The content is consistent with the random content characterized by one or more of the plurality of random elements, then enters the unlocked desktop or opens the corresponding application.
可选地,显示随机元素包括:接收压力传感器的压力信息;根据所述压力信息显示所述随机元素。Optionally, displaying the random element comprises: receiving pressure information of the pressure sensor; displaying the random element according to the pressure information.
可选地,在确定鉴权成功之后,所述方法还包括以下之一:进入解锁桌面;开启相应应用程序;开启相应文件;进入相应存储空间。Optionally, after determining that the authentication succeeds, the method further includes one of: entering an unlocked desktop; opening a corresponding application; opening a corresponding file; and entering a corresponding storage space.
根据本发明的另一个实施例,提供了一种鉴权装置,包括:显示模块,设置为显示随机元素,所述随机元素用于表征随机内容;接收模块,设置为接收语音信息;第一判断模块,设置为判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;确定模块,设置为在所述语音信息与预存的声纹特征数据匹配,且所述语音信息的内容与所述随机元素 所表征的随机内容一致时,确定鉴权成功。According to another embodiment of the present invention, an authentication apparatus is provided, including: a display module configured to display a random element, the random element is used to represent random content; and a receiving module configured to receive voice information; a module, configured to determine whether the content of the voice information is consistent with the random content represented by the random element; the determining module is configured to match the voice information with the pre-stored voiceprint feature data, and the voice information is Content and the random element When the characterized random contents are consistent, it is determined that the authentication is successful.
可选地,所述装置还包括:第二判断模块,设置为在所述第一判断模块判断所述语音信息的内容与所述随机元素所表征的随机内容是否一致之前,判断所述语音信息与预存的声纹特征数据匹配。Optionally, the device further includes: a second determining module, configured to determine the voice information before the first determining module determines whether the content of the voice information is consistent with the random content represented by the random element Matches the pre-stored voiceprint feature data.
可选地,所述装置还包括以下之一:第一处理模块,设置为在所述确定模块确定鉴权成功之后,进入解锁桌面;第二处理模块,设置为在所述确定模块确定鉴权成功之后,开启相应应用程序;第三处理模块,设置为在所述确定模块确定鉴权成功之后,开启相应文件;第四处理模块,设置为在所述确定模块确定鉴权成功之后,进入相应存储空间。Optionally, the device further includes: a first processing module, configured to enter an unlocked desktop after the determining module determines that the authentication succeeds; and the second processing module is configured to determine an authentication at the determining module After the success, the corresponding application is started; the third processing module is configured to: after the determining module determines that the authentication succeeds, the corresponding file is started; and the fourth processing module is configured to: after the determining module determines that the authentication is successful, enter the corresponding storage.
可选地,所述随机元素包括以下至少之一:文字、图片、数字、字符。Optionally, the random element includes at least one of the following: a text, a picture, a number, and a character.
可选地,显示随机元素包括:在鉴权界面的预设位置显示一个或多个所述随机元素。Optionally, displaying the random element comprises: displaying one or more of the random elements at a preset position of the authentication interface.
可选地,所述鉴权界面包括以下之一:终端的锁屏界面、应用程序的鉴权界面。Optionally, the authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application.
可选地,在所述鉴权界面的预设位置显示多个所述随机元素的情况下,所述确定模块还包括:确定单元,设置为当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内容与多个所述随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。Optionally, in a case that a plurality of the random elements are displayed in a preset position of the authentication interface, the determining module further includes: a determining unit, configured to: when the authentication interface includes a lock screen interface of the terminal And if the content of the voice information is consistent with the random content represented by one or more of the plurality of random elements, then enter the unlocked desktop or open the corresponding application.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
显示随机元素,所述随机元素用于表征随机内容;Displaying random elements for characterizing random content;
接收语音信息;Receiving voice information;
判断所述语音信息与预存的声纹特征数据是否匹配,以及判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;Determining whether the voice information matches the pre-stored voiceprint feature data, and determining whether the content of the voice information is consistent with the random content represented by the random element;
在所述语音信息与预存的声纹特征数据匹配,且所述语音信息的内容 与所述随机元素所表征的随机内容一致时,确定鉴权成功。Matching the voice information with pre-stored voiceprint feature data, and the content of the voice message When the random content represented by the random element is consistent, the authentication is determined to be successful.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
显示随机元素,所述随机元素用于表征随机内容;接收语音信息;判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;在所述语音信息与预存的声纹特征数据匹配,且所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功。Displaying a random element for characterizing the random content; receiving the voice information; determining whether the content of the voice information is consistent with the random content represented by the random element; and the voice information and the pre-stored voiceprint feature When the data matches, and the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致之前,所述方法还包括:判断所述语音信息与预存的声纹特征数据是否匹配;在所述语音信息与预存的声纹特征数据匹配时,再判断所述语音信息的内容是否与所述随机元素所表征的随机内容一致。Before determining whether the content of the voice information is consistent with the random content represented by the random element, the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data; and pre-storing the voice information and the voice information When the voiceprint feature data is matched, it is determined whether the content of the voice information is consistent with the random content represented by the random element.
显示随机元素包括:在鉴权界面的预设位置显示一个或多个所述随机元素。Displaying the random element includes displaying one or more of the random elements at a preset position of the authentication interface.
所述鉴权界面包括以下之一:终端的锁屏界面、应用程序的鉴权界面。The authentication interface includes one of the following: a lock screen interface of the terminal, and an authentication interface of the application program.
在所述鉴权界面的多个位置分别显示多个随机元素的情况下,确定鉴权成功包括:当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内容与所述多个随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。In the case that multiple random elements are respectively displayed in multiple locations of the authentication interface, determining the authentication success includes: if the authentication interface includes a lock screen interface of the terminal, if the content of the voice information is related to the If the random content represented by one or more of the plurality of random elements is consistent, then the unlocked desktop or the corresponding application is opened.
通过本发明实施例,显示随机元素,所述随机元素用于表征随机内容,然后接收语音信息,并判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致,在所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功,通过对显示的随机元素的判断,在保证安全性的同时,增加了趣味性和便携性,因此,可以解决相关技术在鉴权过程中便携性和趣味性不足的问题,达到了提升用户体验的效果。According to an embodiment of the present invention, a random element is displayed, where the random element is used to represent random content, and then the voice information is received, and it is determined whether the content of the voice information is consistent with the random content represented by the random element, When the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful, and the judgment of the displayed random element increases the interest and portability while ensuring security, and thus can be solved. The related technology has insufficient portability and interestingness in the authentication process, and has achieved the effect of improving the user experience.
附图说明 DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是本发明实施例的一种鉴权方法的移动终端的硬件结构框图;1 is a block diagram showing the hardware structure of a mobile terminal according to an authentication method according to an embodiment of the present invention;
图2是根据本发明实施例的鉴权方法的流程图;2 is a flow chart of an authentication method according to an embodiment of the present invention;
图3是根据本发明实施例的鉴权装置的结构框图;FIG. 3 is a structural block diagram of an authentication apparatus according to an embodiment of the present invention; FIG.
图4是根据本发明实施例的鉴权装置的可选结构框图一;4 is a block diagram 1 of an optional structure of an authentication apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的鉴权装置的可选结构框图二;FIG. 5 is a block diagram 2 of an optional structure of an authentication apparatus according to an embodiment of the present invention; FIG.
图6为本实施例的设置单元的方法流程示意图;6 is a schematic flow chart of a method for setting a unit according to an embodiment of the present invention;
图7为本实施例的语音处理单元的方法流程示意图;FIG. 7 is a schematic flowchart of a method of a voice processing unit according to an embodiment; FIG.
图8为本实施例的显示单元的方法流程示意图;8 is a schematic flow chart of a method of a display unit according to an embodiment of the present invention;
图9为本实施例控制单元的方法流程示意图。FIG. 9 is a schematic flowchart of a method of a control unit according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种鉴权方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普 通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a mobile terminal as an example, FIG. 1 is a block diagram showing a hardware structure of a mobile terminal according to an authentication method according to an embodiment of the present invention. As shown in FIG. 1, the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA). A memory 104 for storing data, and a transmission device 106 for communication functions. In this field It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的鉴权方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the authentication method in the embodiment of the present invention, and the processor 102 executes various programs by running software programs and modules stored in the memory 104. Functional application and data processing, that is, the above method is implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 106 is for receiving or transmitting data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的鉴权方法,图2是根据本发明实施例的鉴权方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, an authentication method running on the mobile terminal is provided. FIG. 2 is a flowchart of an authentication method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,显示随机元素,随机元素用于表征随机内容;Step S202, displaying a random element, and the random element is used to represent the random content;
步骤S204,接收语音信息;Step S204, receiving voice information;
步骤S206,判断语音信息的内容是否与随机元素所表征的随机内容是否一致;Step S206, determining whether the content of the voice information is consistent with the random content represented by the random element;
步骤S208,在语音信息的内容与随机元素所表征的随机内容一致时,确定鉴权成功。Step S208, determining that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element.
可选的,本实施例的显示随机元素根据进行按照一定周期进行切换,接收语音信息可以是在显示一定的随机元素后的一段时间(如一分钟)后 接收的语音信息才有效,该有效时间可以是与随机元素的切换周期相同。Optionally, the display random element in this embodiment is switched according to a certain period, and the received voice information may be after a period of time (eg, one minute) after displaying a certain random element. The received voice information is valid, and the valid time may be the same as the switching period of the random element.
通过上述步骤,显示随机元素,随机元素用于表征随机内容,然后接收语音信息,并判断语音信息的内容是否与随机元素所表征的随机内容是否一致,在语音信息的内容与随机元素所表征的随机内容一致时,确定鉴权成功,通过对显示的随机元素的判断,在保证安全性的同时,增加了趣味性和便携性,因此,可以解决相关技术在鉴权过程中便携性和趣味性不足的问题,达到了提升用户体验的效果。Through the above steps, a random element is displayed, and the random element is used to represent the random content, and then the voice information is received, and whether the content of the voice information is consistent with the random content represented by the random element, and the content of the voice information and the random element are represented. When the random content is consistent, it is determined that the authentication is successful. By judging the displayed random elements, while ensuring security, the interest and portability are increased, so that the portability and interest of the related technology in the authentication process can be solved. Insufficient problems have achieved the effect of improving the user experience.
可选地,上述步骤的执行主体可以为终端等,如手机,平板,但不限于此。Optionally, the execution body of the foregoing steps may be a terminal or the like, such as a mobile phone or a tablet, but is not limited thereto.
可选的,随机元素可以但不限于为:文字、图片、字母、汉字、数字等。Optionally, the random elements can be, but are not limited to, text, pictures, letters, Chinese characters, numbers, and the like.
可选的,在判断语音信息的内容是否与随机元素所表征的随机内容是否一致之前,还包括:判断所述语音信息与预存的声纹特征数据是否匹配;这样,本实施例的方案为:Optionally, before determining whether the content of the voice information is consistent with the random content represented by the random element, the method further includes: determining whether the voice information matches the pre-stored voiceprint feature data;
S11,判断语音信息与预存的声纹特征数据是否匹配;S11. Determine whether the voice information matches the pre-stored voiceprint feature data.
S12,在语音信息与预存的声纹特征数据匹配时,再判断语音信息的内容与随机元素所表征的随机内容是否一致。S12: When the voice information matches the pre-stored voiceprint feature data, determine whether the content of the voice information is consistent with the random content represented by the random element.
可选的,S11和S12也可以进行交换,即先判断语音信息的内容与随机元素所表征的随机内容是否一致,在判断语音信息与预存的声纹特征数据是否匹配。或者同时判断,在此不做限定。Optionally, S11 and S12 may also be exchanged, that is, whether the content of the voice information is consistent with the random content represented by the random element, and whether the voice information matches the pre-stored voiceprint feature data. Or judge at the same time, there is no limit here.
可选的,可以只显示一个随机元素,也可以同时显示多个随机元素,分别对应不同的鉴权。显示随机元素包括:在鉴权界面的预设位置显示一个或多个所述随机元素。可以包括:在鉴权界面的第一位置显示随机元素;在鉴权界面的多个位置分别显示多个随机元素。可选的鉴权界面可以但不限于为:终端的锁屏界面、应用程序的鉴权界面,如文件夹或空间的程序界面等。Optionally, only one random element may be displayed, or multiple random elements may be displayed at the same time, corresponding to different authentications. Displaying the random element includes displaying one or more of the random elements at a preset position of the authentication interface. The method may include: displaying a random element at a first position of the authentication interface; displaying a plurality of random elements at a plurality of locations of the authentication interface. The optional authentication interface can be, but is not limited to, a lock screen interface of the terminal, an authentication interface of the application, such as a program interface of a folder or a space.
例如,在鉴权界面的多个位置分别显示多个随机元素的情况下,当鉴 权界面包括终端的锁屏界面时,如果语音信息的内容与多个随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。如对两个随机元素的鉴权同时通过,则进入“相机”应用,或者,对随机元素“A”鉴权通过,则解锁,对随机元素“B”鉴权通过,则进入“相机”应用。For example, in the case where multiple random elements are respectively displayed at multiple positions of the authentication interface, When the right interface includes the lock screen interface of the terminal, if the content of the voice information is consistent with the random content represented by one or more random elements of the plurality of random elements, the unlocked desktop is opened or the corresponding application is started. If the authentication of two random elements passes at the same time, enter the "camera" application, or, if the random element "A" is authenticated, unlock, and the random element "B" is authenticated, then enter the "camera" application. .
可选的,显示随机元素包括:接收压力传感器的压力信息;根据压力信息显示随机元素。Optionally, displaying the random element includes: receiving pressure information of the pressure sensor; displaying the random element according to the pressure information.
可选的,在本实施例中,在不同的界面和场景下,鉴权通过后可以进入不同的界面或应用,例如,在确定鉴权成功之后,可以进入解锁桌面,开启相应应用程序,开启相应文件,进入相应存储空间等。Optionally, in this embodiment, in different interfaces and scenarios, after the authentication is passed, different interfaces or applications may be accessed. For example, after determining the authentication success, the desktop may be unlocked, the corresponding application is started, and the application is started. Corresponding files, enter the corresponding storage space, and so on.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种鉴权装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。An authentication device is also provided in this embodiment, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的鉴权装置的结构框图,可以设置在终端,如手机,平板上,如图3所示,该装置包括:FIG. 3 is a structural block diagram of an authentication apparatus according to an embodiment of the present invention, which may be disposed on a terminal, such as a mobile phone or a tablet. As shown in FIG. 3, the device includes:
显示模块30,设置为显示随机元素,随机元素用于表征随机内容; The display module 30 is configured to display a random element, and the random element is used to represent the random content;
接收模块32,设置为接收语音信息;The receiving module 32 is configured to receive voice information;
第一判断模块34,设置为判断语音信息的内容是否与随机元素所表征的随机内容是否一致;The first determining module 34 is configured to determine whether the content of the voice information is consistent with the random content represented by the random element;
确定模块36,设置为在语音信息的内容与随机元素所表征的随机内容一致时,确定鉴权成功。The determining module 36 is configured to determine that the authentication succeeds when the content of the voice information coincides with the random content characterized by the random element.
图4是根据本发明实施例的鉴权装置的可选结构框图一,如图4所示,该装置除包括图3所示的所有模块外,所述装置还包括:FIG. 4 is a block diagram of an optional structure of an authentication apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
第二判断模块40,设置为在所述第一判断模块34判断所述语音信息的内容与所述随机元素所表征的随机内容是否一致之前,判断所述语音信息与预存的声纹特征数据匹配。The second determining module 40 is configured to determine that the voice information matches the pre-stored voiceprint feature data before the first determining module 34 determines whether the content of the voice information is consistent with the random content represented by the random element. .
图5是根据本发明实施例的鉴权装置的可选结构框图二,如图5所示,该装置除包括图3所示的所有模块外,装置还包括:FIG. 5 is a block diagram of an optional structure of an authentication device according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
第一处理模块50,设置为在确定模块确定鉴权成功之后,进入解锁桌面;The first processing module 50 is configured to enter the unlocked desktop after the determining module determines that the authentication succeeds;
第二处理模块52,设置为在确定模块确定鉴权成功之后,开启相应应用程序;The second processing module 52 is configured to: after the determining module determines that the authentication succeeds, start the corresponding application;
第三处理模块54,设置为在确定模块确定鉴权成功之后,开启相应文件;The third processing module 54 is configured to: after the determining module determines that the authentication succeeds, open the corresponding file;
第四处理模块56,设置为在确定模块确定鉴权成功之后,进入相应存储空间。The fourth processing module 56 is configured to enter the corresponding storage space after the determining module determines that the authentication is successful.
可选的,随机元素可以但不限于为:文字、图片、字母、汉字、数字等。Optionally, the random elements can be, but are not limited to, text, pictures, letters, Chinese characters, numbers, and the like.
可选的,显示模块可以只显示一个随机元素,也可以同时显示多个随机元素,分别对应不同的鉴权。显示模块包括:显示单元,用于在鉴权界面的预设位置显示一个或多个所述随机元素。可以包括:在鉴权界面的第一位置显示随机元素;在鉴权界面的多个位置分别显示多个随机元素。可 选的鉴权界面可以但不限于为:终端的锁屏界面、应用程序的鉴权界面,如文件夹或空间的程序界面等。Optionally, the display module may display only one random element, or may display multiple random elements at the same time, corresponding to different authentications. The display module includes: a display unit configured to display one or more of the random elements at a preset position of the authentication interface. The method may include: displaying a random element at a first position of the authentication interface; displaying a plurality of random elements at a plurality of locations of the authentication interface. Can The selected authentication interface may be, but is not limited to, a lock screen interface of the terminal, an authentication interface of the application, such as a program interface of a folder or a space.
可选的,在所述鉴权界面的预设位置显示多个所述随机元素的情况下,所述确定模块还包括:确定单元,设置为当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内容与多个所述随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。Optionally, in a case that a plurality of the random elements are displayed in a preset position of the authentication interface, the determining module further includes: a determining unit, configured to: when the authentication interface includes a lock screen interface of the terminal And if the content of the voice information is consistent with the random content represented by one or more of the plurality of random elements, then enter the unlocked desktop or open the corresponding application.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例是根据本发明的可选实施例,用于对本发明的方案进行详细说明:This embodiment is an optional embodiment according to the present invention for explaining the solution of the present invention in detail:
本实施例提供一种安全便捷解锁并直接进入程序的方法,本实施例所示的终端包括设置单元,语音处理单元,控制单元,显示单元,其中,The embodiment provides a method for safely and conveniently unlocking and directly entering a program. The terminal shown in this embodiment includes a setting unit, a voice processing unit, a control unit, and a display unit, where
设置单元:设置功能区域或者具体坐标点位,可以选择设置一个解锁区域或者具体坐标点位,用户锁屏时解锁用。还可以再设置一个直接进入相应程序的区域或者坐标点位,用于解锁的同时进入相应程序,此设置为可选,如果用户不进行设定,那么就默认解锁功能,解锁后进入待机主界面。界面随机元素的内容选定也由设置模块完成,提示用户选择界面随机出现的随机元素的内容,例如:出现元素内容,出现元素类型,出现元素大小等等。Setting unit: Set the function area or specific coordinate point, you can choose to set an unlocking area or specific coordinate point, which is unlocked when the user locks the screen. You can also set an area or coordinate point directly into the corresponding program for unlocking and enter the corresponding program. This setting is optional. If the user does not set, the default unlock function will be activated. After unlocking, enter the standby main interface. . The content selection of the random elements of the interface is also completed by the setting module, prompting the user to select the content of the random elements randomly appearing in the interface, for example: the appearance of the element content, the occurrence of the element type, the appearance of the element size, and the like.
语音处理单元:此单元分为两个主要部分,第一个主要部分为录入部分,由终端机主来进行语音录入,建立语音特征和声纹特征库;第二部分为鉴权部分,主要进行语音识别和声纹鉴权。用于判断用户是否为本机机主以及说出的随机元素名称是否正确。Voice processing unit: This unit is divided into two main parts. The first part is the input part. The terminal owner performs voice input to establish the voice feature and voiceprint feature library. The second part is the authentication part. Speech recognition and voiceprint authentication. It is used to determine whether the user is the owner of the machine and the name of the random element spoken is correct.
控制单元:接收到语音处理单元的结果后,进行流程控制,如果语音处理单元的鉴权通过,那么控制单元将执行解锁和直接进入相应程序动作。如果 鉴权不通过,则不继续进行解锁和进入程序动作。Control unit: After receiving the result of the voice processing unit, perform flow control. If the authentication of the voice processing unit passes, the control unit will perform unlocking and directly enter the corresponding program action. in case If the authentication fails, the unlocking and entering the program will not continue.
显示单元:主要负责显示功能,在锁屏界面不同区域或具体坐标点位显示随机的元素信息,随机显示的元素信息以及区域或者具体坐标点位从设置模块调用获取,为用户在设置模块选定区域或者具体坐标点位和设置的随机元素内容。Display unit: mainly responsible for the display function, displaying random element information in different areas of the lock screen interface or specific coordinate points. The randomly displayed element information and the area or specific coordinate point are obtained from the setting module, and are selected by the user in the setting module. Area or specific coordinate point and set random element content.
安全便捷解锁并直接进入程序的方法包括以下步骤:A safe and convenient way to unlock and access the program directly includes the following steps:
步骤1:终端机主进入设置模块设置需要设置的选项,主要选项包括但不限于:Step 1: The terminal owner enters the setting module to set the options to be set. The main options include but are not limited to:
解锁区域或者具体点位的设置,必选一个主要解锁区域或者坐标点位和可选一个直接进入程序的区域或者坐标点位。For the unlocking area or the setting of specific points, you must select a main unlocking area or coordinate point and select an area or coordinate point that directly enters the program.
设置随机元素的出现元素内容,出现元素类型,出现元素大小等。例如:图片,数字,文字等等。Set the content of the element of the random element, the type of the element, the size of the element, and so on. For example: pictures, numbers, text, etc.
步骤2:建立语音特征和声纹特征库:声音处理单元将自定义的语音特征数据形成语音模型以及将自定义的声纹特征数据形成声纹模型,并将语音模型和声纹模型储存至本地存储单元中。声音处理单元将语音模型和声纹模型与解锁和特定的应用程序相关联,相关联后,再将语音模型和声纹模型与特定的应用程序的关联信息数据存储至本地存储单元中。Step 2: Establish a speech feature and a voiceprint feature library: the sound processing unit forms a customized voice feature data into a voice model and forms a voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model locally. In the storage unit. The sound processing unit associates the voice model and the voiceprint model with the unlocking and the specific application, and associates the voice model and the voiceprint model with the associated information of the specific application into the local storage unit.
步骤3:在锁屏界面随机显示设定好的各种随机元素,用户每次点亮屏幕,出现的随机元素都是不一样的,出现规则按照用户在设置模块的设定为准。每次亮屏时,用户事先设置好的区域或者具体点位必须出现随机元素,这个随机元素每次也是不一样的,按照设置规则出现。用户未规定的区域或者坐标点位,则部分随机显示,非必须全部显示。Step 3: randomly display the various random elements set on the lock screen interface. Each time the user lights up the screen, the random elements appearing are different. The rules appear according to the settings of the user in the setting module. Each time the screen is bright, the user has to set a good area or a specific point must have a random element. This random element is different each time, according to the setting rules. If the user does not specify the area or the coordinate point, the part is randomly displayed, and it is not necessary to display all of them.
步骤4:用户在锁屏界面看到实现设置好的区域或者坐标点位的随机元素,对着麦克风读出显示随机元素的名称,由声音处理单元鉴权。如果用户事先只设置了解锁区域或者坐标点位,那么只用读出一个元素名称,如果用户事先设置了2个解锁区域或者坐标点位,那么只需要用户按顺序读出2个随机元素的名称即可。 Step 4: The user sees a random element that implements the set area or the coordinate point position on the lock screen interface, reads out the name of the random element and reads the right element, and the sound processing unit authenticates. If the user only sets the unlocking area or the coordinate point in advance, then only one element name is read out. If the user sets two unlocking areas or coordinate points in advance, the user only needs to read the names of the two random elements in order. Just fine.
步骤5:声音处理单元收到用户读出的随机元素名称后,开始进行鉴权对比,首先通过声纹对比判断是否终端主人声音,如果鉴权失败,则提示用户非本人操作,不再进行随机元素名称内容的语音识别判断。如果声纹鉴权通过,则进行下一步的语音识别,判断出用户说出的随机元素名称是否为实际显示的名称。如果二重鉴权都通过,则进入下一步。否则提示用户错误信息。Step 5: After receiving the random element name read by the user, the sound processing unit starts the authentication comparison. First, the voice of the terminal is judged by the voiceprint comparison. If the authentication fails, the user is prompted to perform the operation without random. The speech recognition judgment of the content of the element name. If the voiceprint authentication is passed, the next voice recognition is performed to determine whether the random element name spoken by the user is the actually displayed name. If the double authentication is passed, go to the next step. Otherwise the user is prompted with an error message.
步骤6:声音处理单元鉴权通过后,由控制单元进行解锁和直接进入相应应用程序操作,解锁操作为必选,直接进入相应程序为可选。Step 6: After the voice processing unit passes the authentication, the control unit unlocks and directly enters the corresponding application operation, the unlocking operation is mandatory, and directly entering the corresponding program is optional.
本实施例还提供一种解锁和进入加密空间和文件的方法,分为两类主要不同的使用场景,第一类用户终端待机界面的解锁,在待机界面,用户按压触摸屏的任意位置,会弹出随机的随机元素,这时用户对着屏幕念出随机弹出的随机元素名称,通过声纹判断是否终端主人本人操作,通过语音识别判断是否正确的念出出现的随机元素的名称,鉴权通过后,终端解锁。第二类使用场景是用于具体程序中,适用于各种有加密隐藏文件的程序,例如,在文件管理器模块中,按压空白区域,随机弹出随机元素,这时用户对着屏幕念出随机弹出的随机元素名称,通过声纹判断是否终端主人本人操作,通过语音识别判断是否正确的念出出现的随机元素的名称,鉴权通过后,直接进入加密文件文件夹,或者隐私空间。The embodiment also provides a method for unlocking and entering an encryption space and a file, which are divided into two main types of usage scenarios. The first type of user terminal is unlocked by the standby interface. In the standby interface, the user presses any position of the touch screen, and the user pops up. Random random element, when the user reads the random element name that pops up randomly on the screen, judges whether the terminal owner operates by voice pattern, and judges whether the correct random element name is read by voice recognition. After the authentication is passed, the authentication is passed. The terminal is unlocked. The second type of usage scenario is used in a specific program, and is applicable to various programs that have encrypted hidden files. For example, in the file manager module, a blank area is pressed, and random elements are randomly popped up, and the user randomly reads the screen. The name of the random element that pops up is judged by the voiceprint to determine whether the terminal owner operates by itself. The voice recognition is used to judge whether the name of the random element appears correctly. After the authentication is passed, the encrypted file folder or the privacy space is directly entered.
本实施例的解锁和进入加密空间和文件的方法对应的终端也可以包括设置单元,语音处理单元,控制单元,显示单元。The terminal corresponding to the method for unlocking and entering the encryption space and the file in this embodiment may also include a setting unit, a voice processing unit, a control unit, and a display unit.
设置单元:设置按压后,随机显示的随机元素的内容,例如,小图片,数字,图标,文字等等。设置压力传感器的压力度,保存用户设置。Setting unit: Set the content of random elements randomly displayed after pressing, for example, small pictures, numbers, icons, text, and so on. Set the pressure of the pressure sensor to save the user settings.
语音处理单元:此单元分为两个主要部分,第一个主要部分为录入部分,由终端机主来进行语音录入,建立语音特征和声纹特征库;第二部分为鉴权部分,主要进行语音识别和声纹鉴权。用于判断用户是否为本机机主以及说出的随机元素名称是否正确。Voice processing unit: This unit is divided into two main parts. The first part is the input part. The terminal owner performs voice input to establish the voice feature and voiceprint feature library. The second part is the authentication part. Speech recognition and voiceprint authentication. It is used to determine whether the user is the owner of the machine and the name of the random element spoken is correct.
控制单元:接收到语音处理单元的结果后,进行流程控制,根据两种不同的使用场景,来判断鉴权通过后,是解锁还是直接进入加密的文件夹或者隐 私空间。Control unit: After receiving the result of the voice processing unit, perform flow control, according to two different usage scenarios, to determine whether the authentication is passed, whether to unlock or directly enter the encrypted folder or hidden Private space.
显示单元:主要负责显示功能,根据不同的使用场景Display unit: mainly responsible for display functions, according to different usage scenarios
a。在锁屏界面根据用户按压的区域或具体坐标点位显示随机的元素信息,随机显示的元素信息内容从设置模块调用获取a. The random element information is displayed on the lock screen interface according to the area pressed by the user or the specific coordinate point, and the randomly displayed element information content is acquired from the setting module.
b。在具体包含加密文件夹或隐私空间的程序界面根据用户按压的区域或具体坐标点位显示随机的元素信息,随机显示的元素信息内容从设置模块调用获取b. The program interface specifically including the encrypted folder or the privacy space displays random element information according to the area pressed by the user or the specific coordinate point, and the randomly displayed element information content is acquired from the setting module.
本发明为一种解锁和进入加密空间和文件的方法,所述方法包括有以下步骤:The present invention is a method of unlocking and entering an encrypted space and a file, the method comprising the steps of:
使用场景一:终端待机界面的解锁方法Use scenario 1: How to unlock the terminal standby interface
步骤1:终端机主进入设置模块设置需要设置的选项,主要选项包括但不限于:Step 1: The terminal owner enters the setting module to set the options to be set. The main options include but are not limited to:
屏幕压力传感器的按压力度,在相应的设置界面,录入用户的按压力度,用于以后解锁时按压屏幕判断鉴权使用。The pressing force of the screen pressure sensor, in the corresponding setting interface, enters the pressing force of the user, and is used to press the screen to determine the authentication use when unlocking later.
设置随机元素的出现元素内容,出现元素类型,出现元素大小等。例如:图片,数字,文字等等。Set the content of the element of the random element, the type of the element, the size of the element, and so on. For example: pictures, numbers, text, etc.
步骤2:建立语音特征和声纹特征库:声音处理单元将自定义的语音特征数据形成语音模型以及将自定义的声纹特征数据形成声纹模型,并将语音模型和声纹模型储存至本地存储单元中。声音处理单元将语音模型和声纹模型与解锁和特定的应用程序相关联,相关联后,再将语音模型和声纹模型与特定的应用程序的关联信息数据存储至本地存储单元中。Step 2: Establish a speech feature and a voiceprint feature library: the sound processing unit forms a customized voice feature data into a voice model and forms a voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model locally. In the storage unit. The sound processing unit associates the voice model and the voiceprint model with the unlocking and the specific application, and associates the voice model and the voiceprint model with the associated information of the specific application into the local storage unit.
步骤3:在终端待机界面,用户每次按压屏幕的任意位置,屏幕上会出现随机元素,出现的随机元素都是不一样的,出现规则按照用户在设置模块的设定为准。Step 3: In the terminal standby interface, each time the user presses any position on the screen, a random element will appear on the screen, and the random elements appearing are different. The appearance rules are subject to the setting of the setting module by the user.
步骤4:用户根据出现的随机元素,对着麦克风读出显示随机元素的名称,由声音处理单元鉴权。声音处理单元收到用户读出的随机元素名称后, 开始进行鉴权对比,首先通过声纹对比判断是否终端主人声音,如果鉴权失败,则提示用户非本人操作,不再进行随机元素名称内容的语音识别判断。如果声纹鉴权通过,则进行下一步的语音识别,判断出用户说出的随机元素名称是否为实际显示的名称。如果二重鉴权都通过,则进入下一步。否则提示用户错误信息。Step 4: The user reads out the name of the random element from the microphone according to the random element that appears, and the voice processing unit authenticates. After the sound processing unit receives the random element name read by the user, The authentication comparison is started. First, the voice of the terminal is judged by the voiceprint comparison. If the authentication fails, the user is prompted to operate non-self, and the voice recognition judgment of the content of the random element name is no longer performed. If the voiceprint authentication is passed, the next voice recognition is performed to determine whether the random element name spoken by the user is the actually displayed name. If the double authentication is passed, go to the next step. Otherwise the user is prompted with an error message.
步骤5:声音处理单元鉴权通过后,由控制单元进行解锁操作。Step 5: After the voice processing unit passes the authentication, the control unit performs an unlocking operation.
使用场景二:Use scenario 2:
在具体包含加密文件夹或隐私空间的程序界面,用户按压界面的空白处,屏幕上会出现随机元素,出现的随机元素都是不一样的,出现规则按照用户在设置模块的设定为准。设置过程和鉴权过程同场景一,鉴权通过后直接进入加密文件夹或者隐私空间。In the program interface specifically containing the encrypted folder or the privacy space, the user presses the blank space of the interface, and random elements appear on the screen, and the random elements appearing are different, and the rules appear according to the setting of the setting module by the user. The setup process and the authentication process are the same as the scenario 1. After the authentication is passed, the authentication folder or the privacy space is directly entered.
下面对各个单元的原理进行详细说明:在一种安全便捷解锁并直接进入程序的方法对应的终端中。The principle of each unit will be described in detail below: in a terminal corresponding to a method that is safe and convenient to unlock and directly enter the program.
设置单元方法实施例Setting unit method embodiment
本实施例提供了一种终端设置单元进行相关设定的方法,图6为本实施例的设置单元的方法流程示意图,具体为:This embodiment provides a method for performing related setting by a terminal setting unit, and FIG. 6 is a schematic flowchart of a method for setting a unit according to the embodiment, specifically:
步骤1:设置选定区域或者具体坐标点位,可以选择设置一个解锁区域或者具体坐标点位,用户锁屏时解锁用.还可以再设置一个直接进入相应程序的区域或者坐标点位,用于解锁的同时进入相应程序,此设置为可选,如果用户不进行设定,那么就默认解锁功能,解锁后进入待机主界面.Step 1: Set the selected area or the specific coordinate point. You can choose to set an unlocking area or a specific coordinate point. It can be unlocked when the user locks the screen. You can also set an area or coordinate point directly into the corresponding program for When unlocking, enter the corresponding program. This setting is optional. If the user does not set, the default unlock function will be activated. After unlocking, enter the standby main interface.
步骤2:设置随机元素出现内容,提示用户选择界面随机出现的随机元素的内容,例如:出现元素内容,出现元素类型,出现元素大小等等.Step 2: Set the content of the random element to appear, prompting the user to select the content of the random element that appears randomly on the interface, for example: the content of the element appears, the type of the element appears, the size of the element appears, and so on.
步骤3:将用户区域或者具体坐标点位信息保存,将用户设置的随机元素出现内容保存.Step 3: Save the user area or specific coordinate point information, and save the content of the random element set by the user.
语音处理单元方法实施例Voice processing unit method embodiment
本实施例提供了一种终端语音处理单元进行相关鉴权的方法,图7为 本实施例的语音处理单元的方法流程示意图,具体为:This embodiment provides a method for performing related authentication by a terminal voice processing unit, and FIG. 7 is A schematic flowchart of a method for a voice processing unit in this embodiment is specifically:
此单元分为两个部分,第一部分为:建立语音特征和声纹特征库,其具体过程为:This unit is divided into two parts. The first part is: establishing a phonetic feature and a voiceprint feature library. The specific process is as follows:
a、声音接收单元启动,接收用户自定义声音信息,同时语音获取单元从自定义声音信息中获取自定义的语音特征数据,声纹获取单元从声音信息中获取自定义的声纹特征数据;a. The sound receiving unit is activated to receive the user-defined sound information, and the voice acquiring unit obtains the customized voice feature data from the customized sound information, and the voiceprint acquiring unit obtains the customized voiceprint feature data from the sound information;
b、声音处理单元将自定义的语音特征数据形成语音模型以及将自定义的声纹特征数据形成声纹模型,并将语音模型和声纹模型储存至本地存储单元中;其中,语音模型由从语音特征数据中提取的语音特征码构成,声纹模型由从声纹特征数据中提取的声学特征构成;b. The sound processing unit forms the customized voice feature data into a voice model and forms the voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model into a local storage unit; wherein the voice model is derived from a voice feature code extracted from the voice feature data, and the voiceprint model is composed of acoustic features extracted from the voiceprint feature data;
c、随机元素名称的正确发音语音信息模型也存储至本地存储单元中,用于语音识别鉴权部分的声音内容对比.c. The correct pronunciation of the random element name The speech information model is also stored in the local storage unit for the sound content comparison of the speech recognition authentication part.
第二部分为,建立语音特征和声纹特征库后,用户使用时流程详细步骤.The second part is the detailed steps of the process when the user uses the voice feature and the voiceprint feature library.
步骤1:待机锁屏状态下,接收用户的声音信息,从用户声音信息中获取其语音特征数据和声纹特征数据;Step 1: In the standby lock screen state, receiving the user's voice information, and acquiring the voice feature data and the voiceprint feature data from the user voice information;
步骤2:识别声纹特征库中是否存在与声纹特征数据相一致的声纹模型信息,其具体过程为:通过语音处理单元从声纹特征数据中提取声学特征;Step 2: Identifying whether there is voiceprint model information consistent with the voiceprint feature data in the voiceprint feature library, wherein the specific process is: extracting the acoustic feature from the voiceprint feature data through the voice processing unit;
步骤3:将已获得的声学特征与语音特征库中已存储的声纹模型进行比对并判断两者之间的相似度,以及识别出语音模型和声纹模型与特定应用程序相关联的信息;匹配不成功则提示用户不是本人操作返Step 3: Align the obtained acoustic features with the stored voiceprint models in the speech feature library and determine the similarity between the two, and identify the information associated with the specific model by the speech model and the voiceprint model. If the match is unsuccessful, the user is not prompted to operate.
回解锁界面Back to unlock interface
步骤4:匹配成功后,继续对比其语音特征数据内容和已存储的随机元素名称内容,通过语音识别,判断用户说出的随机元素名称是否正确,正确则按照设置模块的设置进行解锁或者解锁后直接进入相应模块操作,不正确 则提示用户随机元素名称描述错误返回解锁界面.Step 4: After the matching is successful, continue to compare the content of the voice feature data with the content of the stored random element name, and determine whether the random element name spoken by the user is correct through voice recognition, and correctly, after unlocking or unlocking according to the setting of the setting module. Direct access to the corresponding module operation, incorrect Then prompt the user to return the unlocking interface with a random element name description error.
显示单元实施例Display unit embodiment
本实施例提供了一种终端显示单元进行随机元素显示的方法,图8为本实施例的显示单元的方法流程示意图,具体为:The embodiment provides a method for displaying a random element by a terminal display unit, and FIG. 8 is a schematic flowchart of a method for displaying a display unit according to the embodiment.
步骤1:按照用户在设置单元设置的内容,将锁屏屏幕分为不同的区域或者具体坐标点位Step 1: According to the content set by the user in the setting unit, divide the lock screen into different areas or specific coordinate points.
步骤2:根据用户设置来提取要显示的随机元素内容Step 2: Extract the random element content to be displayed according to user settings
步骤3:根据具体的随机显示的函数计算,保证屏幕上显示出大于2个的不同的随机元素,保证每次亮屏显示的随机元素都不一样,用户设置的功能区域或者具体坐标点位上的位置必须保证每次都有不同的随机元素出现.Step 3: According to the specific random display function calculation, ensure that more than 2 different random elements are displayed on the screen, ensuring that the random elements displayed on the bright screen are different, the function area set by the user or the specific coordinate point The location must be guaranteed to have different random elements appearing each time.
控制单元实施例Control unit embodiment
本实施例提供了一种终端控制单元流程的方法,图9为本实施例控制单元的方法流程示意图,具体为:The embodiment provides a method for controlling the flow of the terminal control unit, and FIG. 9 is a schematic flowchart of the method for controlling the control unit according to the embodiment.
步骤1:从语音处理单元获取声纹鉴权结果,鉴权不通过,提示用户不是本人操作并返回解锁界面.Step 1: Obtain the voiceprint authentication result from the voice processing unit, the authentication fails, and the user is prompted not to operate and return to the unlocking interface.
步骤2:从语音处理单元获取语音识别鉴权结果,鉴权不通过则提示用Step 2: Acquire a voice recognition authentication result from the voice processing unit, and use the prompt if the authentication fails
户提示用户随机元素名称描述错误返回解锁界面.The user prompts the user to randomly name the description of the element to return to the unlock interface.
步骤3:双重鉴权都通过后,根据设置模块的设置,解锁或者直接进入相应程序.Step 3: After the dual authentication is passed, according to the setting of the setting module, unlock or directly enter the corresponding program.
步骤4:直接进入相应程序则由设置模块用户设定来决定Step 4: Direct access to the corresponding program is determined by the setting module user settings.
用户在锁屏界面,根据事先设置好的区域或者具体坐标点位,查看该位置出现的随机元素,对着手机屏幕说出改位置的随机元素名称,鉴权通过后,可以直接解锁,如果想要解锁后直接进入相应的程序,只需要根据事先设置好的两个位置,按顺序读出两个位置上出现的元素名称,即可完成解锁并且直接进入相应程序.大大提升了终端解锁和使用效率. On the lock screen interface, the user can view the random elements appearing at the location according to the preset area or the specific coordinate point, and say the name of the random element to the mobile phone screen. After the authentication is passed, the user can directly unlock it. To unlock and directly enter the corresponding program, you only need to read the element names appearing in the two positions in order according to the two positions set in advance, then you can unlock and directly enter the corresponding program. This greatly enhances the terminal unlocking and use. effectiveness.
可以实现在解锁界面的双重鉴权解锁,并且可以实现在解锁的同时进入相应的应用程序,提升了解锁和使用效率.随机元素的不同位置的随机显示,既有趣味性又保证了解锁的安全性.运用声纹比对和语音识别技术,可以提升安全性和使用的便捷性。Double authentication and unlocking in the unlocking interface can be realized, and the corresponding application can be accessed while unlocking, which improves the unlocking and use efficiency. The random display of different positions of the random elements is both interesting and secure for unlocking. Sex. Using voiceprint comparison and speech recognition technology, it can improve safety and ease of use.
在一种解锁和进入加密空间和文件的方法对应的终端中。In a terminal corresponding to a method of unlocking and entering an encrypted space and a file.
设置单元方法实施例Setting unit method embodiment
本实施例提供了一种终端设置单元进行相关设定的方法,具体为:This embodiment provides a method for performing related setting by a terminal setting unit, which is specifically:
步骤1:屏幕压力传感器的按压力度,在相应的设置界面,录入用户的按压力度,用于以后解锁时按压屏幕判断鉴权使用.Step 1: Pressing the pressure of the screen pressure sensor, in the corresponding setting interface, input the user's pressing force, and use it to press the screen to judge the authentication when unlocking later.
步骤2:提示用户选择界面随机出现的随机元素的内容,例如:出现元素内容,出现元素类型,出现元素大小等等.Step 2: Prompt the user to select the content of the random element that appears randomly on the interface, for example: the content of the element appears, the type of the element appears, the size of the element appears, and so on.
步骤3:保存用户设置Step 3: Save user settings
语音处理单元方法实施例Voice processing unit method embodiment
本实施例提供了一种终端语音处理单元进行相关鉴权的方法,具体为:This embodiment provides a method for performing related authentication by a terminal voice processing unit, which is specifically:
此单元分为两个部分,第一部分为:建立语音特征和声纹特征库,其具体过程为:This unit is divided into two parts. The first part is: establishing a phonetic feature and a voiceprint feature library. The specific process is as follows:
a、声音接收单元启动,接收用户自定义声音信息,同时语音获取单元从自定义声音信息中获取自定义的语音特征数据,声纹获取单元从声音信息中获取自定义的声纹特征数据;a. The sound receiving unit is activated to receive the user-defined sound information, and the voice acquiring unit obtains the customized voice feature data from the customized sound information, and the voiceprint acquiring unit obtains the customized voiceprint feature data from the sound information;
b、声音处理单元将自定义的语音特征数据形成语音模型以及将自定义的声纹特征数据形成声纹模型,并将语音模型和声纹模型储存至本地存储单元中;其中,语音模型由从语音特征数据中提取的语音特征码构成,声纹模型由从声纹特征数据中提取的声学特征构成;b. The sound processing unit forms the customized voice feature data into a voice model and forms the voiceprint feature data into a voiceprint model, and stores the voice model and the voiceprint model into a local storage unit; wherein the voice model is derived from a voice feature code extracted from the voice feature data, and the voiceprint model is composed of acoustic features extracted from the voiceprint feature data;
c、随机元素名称的正确发音语音信息模型也存储至本地存储单元中,用于语音识别鉴权部分的声音内容对比.c. The correct pronunciation of the random element name The speech information model is also stored in the local storage unit for the sound content comparison of the speech recognition authentication part.
第二部分为,建立语音特征和声纹特征库后,用户使用时流程详细步 骤.The second part is, after the establishment of the phonetic feature and the voiceprint feature library, the user steps in the process. Suddenly.
步骤1:在不同的使用场景下,接收用户的声音信息,从用户声音信息中获取其语音特征数据和声纹特征数据;Step 1: Receive voice information of the user in different usage scenarios, and obtain voice feature data and voiceprint feature data from the user voice information;
步骤2:识别声纹特征库中是否存在与声纹特征数据相一致的声纹模型信息,其具体过程为:通过语音处理单元从声纹特征数据中提取声学特征;Step 2: Identifying whether there is voiceprint model information consistent with the voiceprint feature data in the voiceprint feature library, wherein the specific process is: extracting the acoustic feature from the voiceprint feature data through the voice processing unit;
步骤3:将已获得的声学特征与语音特征库中已存储的声纹模型进行比对并判断两者之间的相似度,以及识别出语音模型和声纹模型与特定应用程序相关联的信息;匹配不成功则提示用户不是本人操作返Step 3: Align the obtained acoustic features with the stored voiceprint models in the speech feature library and determine the similarity between the two, and identify the information associated with the specific model by the speech model and the voiceprint model. If the match is unsuccessful, the user is not prompted to operate.
回解锁界面Back to unlock interface
步骤4:匹配成功后,继续对比其语音特征数据内容和已存储的随机元素名称内容,通过语音识别,判断用户说出的随机元素名称是否正确,正确则按照设置模块的设置进行解锁或者直接进入相应模块的隐私空间操作,不正确则提示用户随机元素名称描述错误返回解锁界面.Step 4: After the matching is successful, continue to compare the content of the voice feature data with the content of the stored random element name, and determine whether the random element name spoken by the user is correct through voice recognition, and correctly, according to the setting of the setting module, unlock or directly enter The privacy space of the corresponding module is operated. If it is incorrect, the user is prompted to randomly return the unlocked interface.
显示单元实施例Display unit embodiment
本实施例提供了一种终端显示单元进行随机元素显示的方法,具体为:The embodiment provides a method for displaying a random element by a terminal display unit, which is specifically:
步骤1:按照用户在设置单元设置的内容,来提取要显示的随机元素内容Step 1: Extract the random element content to be displayed according to the content set by the user in the setting unit
步骤2:根据用户按压的位置,确定随机元素的显示位置Step 2: Determine the display position of the random element according to the position pressed by the user
步骤3:根据具体的随机显示的函数计算,保证每次按压显示的随机元素都不一样Step 3: According to the specific random display function calculation, ensure that the random elements displayed by each press are different.
控制单元实施例Control unit embodiment
本实施例提供了一种终端控制单元流程的方法,具体为:This embodiment provides a method for controlling a flow of a terminal control unit, specifically:
步骤1:从语音处理单元获取声纹鉴权结果,鉴权不通过,提示用户不是本人操作并返回解锁界面.Step 1: Obtain the voiceprint authentication result from the voice processing unit, the authentication fails, and the user is prompted not to operate and return to the unlocking interface.
步骤2:从语音处理单元获取语音识别鉴权结果,鉴权不通过则提示用 Step 2: Acquire a voice recognition authentication result from the voice processing unit, and use the prompt if the authentication fails
户提示用户随机元素名称描述错误返回解锁界面.The user prompts the user to randomly name the description of the element to return to the unlock interface.
步骤3:双重鉴权都通过后,根据设置模块的设置,解锁或者直接进入相应程序的隐私空间.Step 3: After the dual authentication is passed, according to the setting of the setting module, unlock or directly enter the privacy space of the corresponding program.
本发明提供一种解锁和进入加密空间和文件的方法,分为两类主要不同的使用场景,第一类用户终端待机界面的解锁,在待机界面,用户按压触摸屏的任意位置,会弹出随机的随机元素,这时用户对着屏幕念出随机弹出的随机元素名称,通过声纹判断是否终端主人本人操作,通过语音识别判断是否正确的念出出现的随机元素的名称,鉴权通过后,终端解锁.第二类使用场景是用于具体程序中,适用于各种有加密隐藏文件的程序,例如,在文件管理器模块中,按压空白区域,随机弹出随机元素,这时用户对着屏幕念出随机弹出的随机元素名称,通过声纹判断是否终端主人本人操作,通过语音识别判断是否正确的念出出现的随机元素的名称,鉴权通过后,直接进入加密文件文件夹,或者隐私空间.The invention provides a method for unlocking and entering an encryption space and a file, which are divided into two main types of usage scenarios. The first type of user terminal is unlocked by the standby interface. In the standby interface, the user presses any position of the touch screen, and a random pop-up will pop up. Random element, when the user reads the random element name that pops up randomly on the screen, judges whether the terminal owner operates by voice pattern, and judges whether the correct random element name is read by voice recognition. After the authentication is passed, the terminal passes the authentication. Unlock. The second type of usage scenario is for specific programs, and is applicable to various programs that have encrypted hidden files. For example, in the file manager module, pressing a blank area and randomly popping a random element, then the user is facing the screen. The name of the random element that pops up randomly is judged by the voiceprint to determine whether the terminal owner operates by itself. The voice recognition is used to judge whether the name of the random element appears correctly. After the authentication is passed, the encrypted file folder or the privacy space is directly entered.
可以实现在解锁界面的双重鉴权解锁,并且可以实现在有隐私空间或者加密文件夹的程序中,减少进入的繁琐步骤.提升了解锁和使用效率.随机元素的随机显示,既有趣味性又保证了解锁的安全性.运用声纹比对和语音识别技术,可以提升安全性和使用的便捷性.Double authentication unlocking in the unlocking interface can be realized, and the cumbersome steps of reducing the entry in the program with privacy space or encrypted folder can be realized. The unlocking and use efficiency is improved. The random display of random elements is interesting and interesting. The security of unlocking is guaranteed. The use of voiceprint comparison and voice recognition technology can improve safety and ease of use.
实施例4Example 4
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,显示随机元素,随机元素用于表征随机内容;S1, displaying random elements, and random elements are used to represent random content;
S2,接收语音信息;S2, receiving voice information;
S3,判断语音信息的内容是否与随机元素所表征的随机内容是否一致;S3, determining whether the content of the voice information is consistent with the random content represented by the random element;
S4在语音信息的内容与随机元素所表征的随机内容一致时,确定鉴权成功。 S4 determines that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行显示随机元素,随机元素用于表征随机内容;Optionally, in this embodiment, the processor performs displaying a random element according to the stored program code in the storage medium, where the random element is used to represent the random content;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收语音信息;Optionally, in this embodiment, the processor performs to receive voice information according to the stored program code in the storage medium;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行判断语音信息的内容是否与随机元素所表征的随机内容是否一致;Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, whether the content of the voice information is consistent with the random content characterized by the random element;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在语音信息的内容与随机元素所表征的随机内容一致时,确定鉴权成功。Optionally, in this embodiment, the processor determines that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,显示随机元素,所述随机元素用于表征随机内容,然后接收语音信息,并判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致,在所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功,通过对显示的随机元素的判断,在保证安全性的同时,增加了趣味性和便携性,因此,可以解决相关技术在鉴权过程中便携性和趣味性不足的问题,达到了提升用户体验的效果。 According to an embodiment of the present invention, a random element is displayed, where the random element is used to represent random content, and then the voice information is received, and it is determined whether the content of the voice information is consistent with the random content represented by the random element, When the content of the voice information is consistent with the random content represented by the random element, the authentication is determined to be successful, and the judgment of the displayed random element increases the interest and portability while ensuring security, and thus can be solved. The related technology has insufficient portability and interestingness in the authentication process, and has achieved the effect of improving the user experience.

Claims (15)

  1. 一种鉴权方法,包括:An authentication method includes:
    显示随机元素,所述随机元素用于表征随机内容;Displaying random elements for characterizing random content;
    接收语音信息;Receiving voice information;
    判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;Determining whether the content of the voice information is consistent with the random content represented by the random element;
    在所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功。When the content of the voice information coincides with the random content represented by the random element, the authentication is determined to be successful.
  2. 根据权利要求1所述的方法,其中,所述随机元素包括以下至少之一:文字、图片、数字、字符。The method of claim 1, wherein the random element comprises at least one of: a text, a picture, a number, a character.
  3. 根据权利要求1所述的方法,其中,在判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致之前,所述方法还包括:The method of claim 1, wherein before determining whether the content of the voice information is consistent with the random content characterized by the random element, the method further comprises:
    判断所述语音信息与预存的声纹特征数据是否匹配;Determining whether the voice information matches the pre-stored voiceprint feature data;
    在所述语音信息与预存的声纹特征数据匹配时,再判断所述语音信息的内容是否与所述随机元素所表征的随机内容一致。When the voice information matches the pre-stored voiceprint feature data, it is determined whether the content of the voice information is consistent with the random content represented by the random element.
  4. 根据权利要求1所述的方法,其中,显示随机元素包括:The method of claim 1 wherein displaying random elements comprises:
    在鉴权界面的预设位置显示一个或多个所述随机元素。One or more of the random elements are displayed at a preset location of the authentication interface.
  5. 根据权利要求4所述的方法,其中,所述鉴权界面包括以下之一:终端的锁屏界面、应用程序的鉴权界面。The method of claim 4, wherein the authentication interface comprises one of: a lock screen interface of the terminal, an authentication interface of the application.
  6. 根据权利要求5所述的方法,其中,在所述鉴权界面的预设位置显示多个所述随机元素的情况下,确定鉴权成功包括:The method according to claim 5, wherein, in the case that a plurality of the random elements are displayed in a preset position of the authentication interface, determining that the authentication succeeds comprises:
    当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内 容与多个所述随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。When the authentication interface includes a lock screen interface of the terminal, if the voice information is inside If the content is consistent with the random content represented by one or more of the plurality of random elements, the user enters the unlocked desktop or opens the corresponding application.
  7. 根据权利要求1所述的方法,其中,显示随机元素包括:The method of claim 1 wherein displaying random elements comprises:
    接收压力传感器的压力信息;Receiving pressure information of the pressure sensor;
    根据所述压力信息显示所述随机元素。The random element is displayed based on the pressure information.
  8. 根据权利要求1所述的方法,其中,在确定鉴权成功之后,所述方法还包括以下之一:The method of claim 1, wherein after determining that the authentication is successful, the method further comprises one of the following:
    进入解锁桌面;Enter the unlocked desktop;
    开启相应应用程序;Open the corresponding application;
    开启相应文件;Open the corresponding file;
    进入相应存储空间。Enter the appropriate storage space.
  9. 一种鉴权装置,包括:An authentication device includes:
    显示模块,设置为显示随机元素,所述随机元素用于表征随机内容;a display module configured to display a random element, the random element being used to characterize the random content;
    接收模块,设置为接收语音信息;a receiving module configured to receive voice information;
    第一判断模块,设置为判断所述语音信息的内容是否与所述随机元素所表征的随机内容是否一致;a first determining module, configured to determine whether the content of the voice information is consistent with the random content represented by the random element;
    确定模块,设置为在所述语音信息的内容与所述随机元素所表征的随机内容一致时,确定鉴权成功。And a determining module, configured to determine that the authentication succeeds when the content of the voice information is consistent with the random content represented by the random element.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    第二判断模块,设置为在所述第一判断模块判断所述语音信息的内容与所述随机元素所表征的随机内容是否一致之前,判断所述语音 信息与预存的声纹特征数据匹配。a second determining module, configured to determine the voice before the first determining module determines whether the content of the voice information is consistent with the random content represented by the random element The information matches the pre-stored voiceprint feature data.
  11. 根据权利要求9所述的装置,其中,所述装置还包括以下之一:The apparatus of claim 9 wherein said apparatus further comprises one of:
    第一处理模块,设置为在所述确定模块确定鉴权成功之后,进入解锁桌面;a first processing module, configured to enter an unlocked desktop after the determining module determines that the authentication succeeds;
    第二处理模块,设置为在所述确定模块确定鉴权成功之后,开启相应应用程序;a second processing module, configured to: after the determining module determines that the authentication succeeds, start the corresponding application;
    第三处理模块,设置为在所述确定模块确定鉴权成功之后,开启相应文件;a third processing module, configured to: after the determining module determines that the authentication succeeds, start the corresponding file;
    第四处理模块,设置为在所述确定模块确定鉴权成功之后,进入相应存储空间。The fourth processing module is configured to enter the corresponding storage space after the determining module determines that the authentication succeeds.
  12. 根据权利要求9所述的装置,其中,所述随机元素包括以下至少之一:文字、图片、数字、字符。The apparatus of claim 9, wherein the random element comprises at least one of: a text, a picture, a number, a character.
  13. 根据权利要求9所述的装置,其中,显示随机元素包括:The apparatus of claim 9 wherein displaying random elements comprises:
    在鉴权界面的预设位置显示一个或多个所述随机元素。One or more of the random elements are displayed at a preset location of the authentication interface.
  14. 根据权利要求13所述的装置,其中,所述鉴权界面包括以下之一:终端的锁屏界面、应用程序的鉴权界面。The apparatus of claim 13, wherein the authentication interface comprises one of: a lock screen interface of the terminal, an authentication interface of the application.
  15. 根据权利要求14所述的装置,其中,在所述鉴权界面的预设位置显示多个所述随机元素的情况下,所述确定模块还包括:The device according to claim 14, wherein, in a case where a plurality of the random elements are displayed in a preset position of the authentication interface, the determining module further comprises:
    确定单元,设置为当所述鉴权界面包括终端的锁屏界面时,如果所述语音信息的内容与多个所述随机元素中的一个或多个随机元素所表征的随机内容一致,则进入解锁桌面或者开启相应应用程序。 a determining unit, configured to: when the authentication interface includes a lock screen interface of the terminal, if the content of the voice information is consistent with the random content represented by one or more of the plurality of random elements, enter Unlock the desktop or open the app.
PCT/CN2016/097712 2016-06-06 2016-08-31 Authentication method and device WO2017211013A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610393860.5A CN107463815A (en) 2016-06-06 2016-06-06 Method for authenticating and device
CN201610393860.5 2016-06-06

Publications (1)

Publication Number Publication Date
WO2017211013A1 true WO2017211013A1 (en) 2017-12-14

Family

ID=60544617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097712 WO2017211013A1 (en) 2016-06-06 2016-08-31 Authentication method and device

Country Status (2)

Country Link
CN (1) CN107463815A (en)
WO (1) WO2017211013A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275858A (en) * 2020-01-22 2020-06-12 广东快车科技股份有限公司 Credit granting method and system for voiceprint recognition

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108288472A (en) * 2018-01-19 2018-07-17 深圳市海派通讯科技有限公司 Releasing screen locking method based on speech recognition and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531200A (en) * 2013-10-29 2014-01-22 宇龙计算机通信科技(深圳)有限公司 Voice unlocking method and terminal
CN104142796A (en) * 2013-05-07 2014-11-12 北京三星通信技术研究有限公司 Unlocking method of terminal and terminal
CN104598122A (en) * 2014-11-29 2015-05-06 深圳市金立通信设备有限公司 Terminal
US9336779B1 (en) * 2013-04-10 2016-05-10 Google Inc. Dynamic image-based voice entry of unlock sequence

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336779B1 (en) * 2013-04-10 2016-05-10 Google Inc. Dynamic image-based voice entry of unlock sequence
CN104142796A (en) * 2013-05-07 2014-11-12 北京三星通信技术研究有限公司 Unlocking method of terminal and terminal
CN103531200A (en) * 2013-10-29 2014-01-22 宇龙计算机通信科技(深圳)有限公司 Voice unlocking method and terminal
CN104598122A (en) * 2014-11-29 2015-05-06 深圳市金立通信设备有限公司 Terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275858A (en) * 2020-01-22 2020-06-12 广东快车科技股份有限公司 Credit granting method and system for voiceprint recognition

Also Published As

Publication number Publication date
CN107463815A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US7337466B2 (en) Information hiding through time synchronization
EP3214563B1 (en) Apparatus and method for improving security of terminal
WO2017059700A1 (en) Identity authentication method and apparatus
US20150033364A1 (en) Method and Apparatus for the Protection of Application Software
US20160065570A1 (en) Authentication system
WO2017045414A1 (en) Account login method and apparatus
JP2017530457A (en) Identity authentication method and apparatus, terminal and server
WO2016165245A1 (en) User interface control method and terminal
WO2014067321A1 (en) Method and apparatus for setting keyboard
US20150286811A1 (en) Method for authenticating a user
WO2018054387A1 (en) Method and device for managing permission of terminal
WO2012152099A1 (en) Method and device for operation on lock screen interface of terminal, and the terminal
WO2019047148A1 (en) Password verification method, terminal, and computer readable storage medium
CN107533598B (en) Input method and device of login password of application program and terminal
WO2016145706A1 (en) Method and device for implementing user mode switching on smart terminal, and smart terminal
WO2017059679A1 (en) Account processing method and apparatus
KR20150121892A (en) Payment method, apparatus and sytem for recognizing information of line body service in the system
CN103227721A (en) System and method for starting application
US11681419B2 (en) Method for disguising a computer system's login interface
WO2017211013A1 (en) Authentication method and device
WO2015184894A2 (en) Method and device for implementing multi-user login mode
WO2021244471A1 (en) Real-name authentication method and device
EP3566163A1 (en) Method for authenticating a first user and corresponding first device and system
WO2017016356A1 (en) Method and system for intelligent unlocking
US10212168B2 (en) Electronic device and control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16904462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16904462

Country of ref document: EP

Kind code of ref document: A1