WO2023274028A1 - Voiceprint lock control method and apparatus, and electronic device - Google Patents

Voiceprint lock control method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023274028A1
WO2023274028A1 PCT/CN2022/100787 CN2022100787W WO2023274028A1 WO 2023274028 A1 WO2023274028 A1 WO 2023274028A1 CN 2022100787 W CN2022100787 W CN 2022100787W WO 2023274028 A1 WO2023274028 A1 WO 2023274028A1
Authority
WO
WIPO (PCT)
Prior art keywords
voiceprint
information
registered
matching
voiceprint information
Prior art date
Application number
PCT/CN2022/100787
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 WO2023274028A1 publication Critical patent/WO2023274028A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/06Decision making techniques; Pattern matching strategies
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/22Interactive procedures; Man-machine interfaces

Definitions

  • the embodiments of the present application relate to the security field, and in particular, to a voiceprint lock control method and device, a voiceprint lock, and a computer-readable storage medium.
  • voiceprint recognition technology As a branch of biometric identification technology, voiceprint recognition technology is developing rapidly. From time attendance to smart access control, to smart payment, voiceprint recognition technology has been more and more widely used. In the application of voiceprint recognition in some cases, it is first necessary to establish the user's voiceprint feature library, and then, in the voiceprint recognition stage, by collecting the voice input by the user and extracting the voiceprint features, after that, the extracted voiceprint The feature is compared with the voiceprint feature in the pre-established voiceprint feature library to determine whether the identification is passed. The establishment of the voiceprint feature library directly affects the efficiency of voiceprint recognition.
  • voiceprint lock As a weakly interactive voiceprint recognition application, often only collects a limited amount of voiceprint information to build a voiceprint feature library in order to improve user convenience and user experience. Security risks.
  • An embodiment of the present application provides a method for controlling a voiceprint lock, which helps to improve the security of the voiceprint lock.
  • the embodiment of the present application provides a voiceprint lock control method, including: outputting to the user the perception information of the voiceprint matching object stored in the voiceprint lock; Feedback the voice, determine the voiceprint information to be recognized in the feedback voice; perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine The matching result obtained by performing the voiceprint matching; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing a process based on the voiceprint to be recognized information to update the registration voiceprint information database, and/or execute the unlocking control operation of the voiceprint lock.
  • the embodiment of the present application provides a voiceprint lock control device, including: a collection information guidance module, configured to output to the user the perception information of the voiceprint matching object stored in the voiceprint lock; a voiceprint information collection module, It is used to determine the voiceprint information to be recognized in the feedback voice in response to the feedback voice for the perceptual information collected by the voiceprint lock; the voiceprint matching module is used to combine the voiceprint information to be recognized with the voiceprint information
  • the registered voiceprint information in the registered voiceprint information database stored in the fingerprint lock performs voiceprint matching, and determines the matching result obtained by performing the voiceprint matching;
  • the registration voiceprint information database update module is used to indicate in response to the matching result
  • the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, and an update operation is performed on the registered voiceprint information database based on the voiceprint information to be recognized; and, the voiceprint lock A control module, configured to perform an unlocking control operation of the voiceprint lock in response to the matching result indicating that the voice
  • the embodiment of the present application provides a voiceprint lock, including: a main control device, a voice collection device, a memory, a lock actuator, and a sensory information output device respectively connected to the main control device in communication, wherein the The memory is used to store a dictionary database and a registered voiceprint information database, wherein the registered voiceprint information database stores: voiceprint matching objects, and registration voiceprint information corresponding to the corresponding voiceprint matching;
  • the information output device is configured to output the perceptual information presenting the specified voiceprint matching object according to the control of the main control device, wherein the output presenting the perceptual information of the specified voiceprint matching object includes: displaying the information of the specified voiceprint matching object text; and/or, play the reading voice of the specified voiceprint matching object;
  • the voice collection device is used to collect the user's feedback voice for the perceptual information according to the control of the main control device, and collect the feedback
  • the voice is sent to the main control device; the main control device is also used to determine the voiceprint information to be recognized in the feedback
  • Perform voiceprint matching on the registered voiceprint information in the voiceprint information database determine the matching result obtained by performing the voiceprint matching, and indicate the voiceprint information to be recognized and the registered voiceprint information in response to the matching result If the registered voiceprint information in the database is successfully matched, an update operation of the registered voiceprint information database is performed based on the voiceprint information to be recognized; and/or, an unlocking control operation of the voiceprint lock is performed.
  • the embodiment of the present application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the computer program, it realizes The voiceprint lock control method described in the embodiment of this application.
  • the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program is executed by a processor as the steps of the voiceprint lock control method disclosed in the embodiment of the present application.
  • Fig. 1 is one of the flow charts of the voiceprint lock control method according to an embodiment of the present application
  • Fig. 2 is one of the structural schematic diagrams of the voiceprint lock according to an embodiment of the present application.
  • Fig. 3 is the second structural diagram of the voiceprint lock according to an embodiment of the present application.
  • Fig. 4 is the second flow chart of the voiceprint lock control method according to an embodiment of the present application.
  • Fig. 5 is a flowchart of a voiceprint lock control method according to another embodiment of the present application.
  • FIG. 6 is a flow chart of a voiceprint lock control method according to another embodiment of the present application.
  • Fig. 7 is one of the structural schematic diagrams of a voiceprint lock control device according to another embodiment of the present application.
  • Fig. 8 is the second structural diagram of a voiceprint lock control device according to another embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of a voiceprint lock control device according to another embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of a voiceprint lock control device according to another embodiment of the present application.
  • An embodiment of the present application discloses a voiceprint lock control method, as shown in FIG. 1 , the method includes: step 110 to step 140 .
  • Step 110 output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
  • the voiceprint lock control method described in the embodiment of the present application is applied to the voiceprint lock shown in FIG.
  • a voice collection device 220 , a memory 230 , a lock actuator 240 and a sensory information output device 250 are connected in communication.
  • the main control device 210 may be a processor with storage space.
  • the memory 230 is built in the main control device 210 .
  • the voiceprint matching objects described in the embodiments of the present application may be characters, words or sentences.
  • a dictionary library is pre-stored in the voiceprint lock, and the dictionary library is stored in the memory 230.
  • the dictionary library may include one of characters, words, sentences, and music clips. or multiple forms of voiceprint matching objects.
  • the voiceprint matching objects (for example, characters, words, sentences, music fragments) stored in the dictionary database can be used to output to the user as voiceprint matching objects that need to register voiceprint information during the voiceprint registration stage, or can be used to In the voiceprint authentication stage, it is output to the user as a voiceprint matching object that prompts the user to perform voiceprint authentication.
  • Step 100 Before outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user, it further includes: Step 100 .
  • Step 100 register voiceprint information.
  • One or more pieces of registration voiceprint information generated when the user performs voiceprint registration will be stored in the registration voiceprint information database, and the registration voiceprint information database is stored in the voiceprint lock, for example, the registration voiceprint information database stores in the memory 230 .
  • the main control device 210 randomly selects a voiceprint matching object from the dictionary library, and outputs the perception information through the perception information output device 250.
  • the output of the perception information includes at least three ways, including The output device 250 displays the text content of the selected voiceprint matching object, or plays the voice of the selected voiceprint matching object, or displays the text content of the selected voiceprint matching object and plays the corresponding voice, and prompts the user for the selected voiceprint matching object.
  • the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the perceptual information, and extracts the voiceprint features in the feedback voice, as the selected voice print Then, correspondingly store the selected voiceprint matching object and the extracted registered voiceprint information in the registered voiceprint information database.
  • each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different voiceprint matching object, and the voiceprint matching object can be a single character, a single word, a complete sentence or music fragment.
  • each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different character.
  • each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different word, or corresponds to a different sentence, or corresponds to a piece of music (pure melody music or music with music with lyrics).
  • some of the registered voiceprint information stored in the registered voiceprint information database correspond to characters, some correspond to words, and some correspond to music clips.
  • the voiceprint information corresponding to different registered voiceprint information Match objects vary.
  • Each piece of registered voiceprint information in the registered voiceprint information database stored by the voiceprint lock is stored in association with its corresponding voiceprint matching object.
  • the voiceprint matching object stored in the registered voiceprint information database is used to output to the user as a voiceprint matching object that prompts the user to perform voiceprint authentication during the voiceprint authentication stage.
  • the voiceprint matching object described in the embodiment of the present application can be stored in the dictionary database, or can be stored in the registered voiceprint information database, or can be the voiceprint matching object stored in the dictionary database and the registered voiceprint information
  • the voiceprint matching object formed by combining the voiceprint matching objects in the library can be a word stored in a dictionary, or a character or a word stored in a registered voiceprint information database, or a word and a word stored in a registered voiceprint information database. Words or sentences formed by combining the words in .
  • the voiceprint lock first outputs to the user the perception information of the voiceprint matching object that requires voiceprint authentication, and then further collects the voiceprint information to be recognized input by the user for the voiceprint matching object.
  • the perceptual information output method of the voiceprint matching object includes displaying text, reading voice, and/or playing music clips.
  • the perceptual information output device 250 is used to output the perceptual information of the voiceprint matching object
  • the voice collection device 220 is used to collect the feedback voice input by the user for the voiceprint matching object, so as to facilitate The voiceprint information to be recognized is extracted from the collected feedback voice.
  • the main control device 210 is used to control the perception information output device 250 to output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
  • outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user includes: showing the user the text of the voiceprint matching object stored in the voiceprint lock, playing the text of the voiceprint matching object stored in the voiceprint lock to the user.
  • the voiceprint lock reads any voiceprint matching object from the dictionary library, and displays the text of the voiceprint matching object to the user, and at the same time, plays the reading voice of the voiceprint matching object to prompt the user to input
  • the voiceprint lock arbitrarily selects a voiceprint matching object from the registered voiceprint information database, and displays the text of the voiceprint matching object, so as to prompt the user to input the waiting time corresponding to the voiceprint matching object by reading the text content aloud. Identify voiceprint information.
  • the reading voice of the voiceprint matching object may be the reading voice of the voiceprint matching object pre-stored in the dictionary database, or it may be the text-to-speech module built in the voiceprint lock according to the voiceprint matching object's reading voice.
  • the reading voice obtained by text conversion.
  • Step 120 in response to the voiceprint lock collecting the feedback voice for the perceptual information, determine voiceprint information to be recognized in the feedback voice.
  • the main control device 210 is further configured to determine the voice to be recognized in the feedback voice in response to the feedback voice for the perception information collected by the voiceprint lock. pattern information.
  • the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Zesame".
  • the voice collection device 220 will collect the audio data of "zhima” (that is, the feedback voice) and send it to the main control device 210 .
  • the main control device 210 receives the audio data of "zhima", it determines the voiceprint information to be recognized in the feedback voice through a voiceprint extraction algorithm.
  • the main control device 210 can also use other technical means in the prior art to determine the voiceprint information to be recognized in the feedback voice.
  • the specific implementation manner of recognizing the voiceprint information is not limited.
  • Step 130 perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by the voiceprint matching.
  • the main control device 210 is further configured to combine the voiceprint information to be recognized with the registered voiceprint information stored in the voiceprint lock Perform voiceprint matching on the registered voiceprint information in the library, and determine the matching result obtained from the voiceprint matching.
  • multiple voiceprint matching means can be used to perform voiceprint matching between the voiceprint information to be recognized and the registered voiceprint information. Examples are given below.
  • the first solution is to perform overall matching on the voiceprint information to be recognized.
  • the obtained matching result includes: in response to the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information performing voiceprint matching on registered voiceprint information corresponding to the voiceprint matching object in the voiceprint information database, and determining a matching result obtained by performing voiceprint matching.
  • the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Sesame", and extract the voiceprint in the feedback voice Information, as the voiceprint information to be recognized.
  • the main control device 210 judges whether the voiceprint matching object "Sesame" has registered voiceprint information.
  • the voiceprint lock can mark the voiceprint matching object that has registered registered voiceprint information.
  • the voiceprint matching object "Zesame” After it is determined that the voiceprint matching object "Zesame” has registered voiceprint information, further obtain the registered voiceprint information correspondingly stored in the registered voiceprint information database of the voiceprint matching object "Zesame", and store the acquired voiceprint matching object " Sesame” performs voiceprint matching between the registered voiceprint information stored in the registered voiceprint information database and the currently collected voiceprint information to be recognized, and determines the voiceprint matching result.
  • the obtained matching result includes: in response to the fact that there is no registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the voiceprint information Perform voiceprint matching on any one or more pieces of registered voiceprint information in the registered voiceprint information database stored in the fingerprint lock, and determine the matching result obtained by performing the voiceprint matching.
  • the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Apple”, and extract the voiceprint in the feedback voice Information, as the voiceprint information to be recognized.
  • the main control device 210 judges whether the voiceprint matching object "Apple” has registered voiceprint information. In some embodiments of the present application, it may be determined by comparing the voiceprint matching object "apple” with the voiceprint matching object corresponding to the registered voiceprint information stored in the registered voiceprint information database of the voiceprint lock.
  • the voiceprint lock can mark the voiceprint matching object that has registered registered voiceprint information.
  • the voiceprint matching phase the Whether the voiceprint matching object has registered voiceprint information.
  • the voiceprint matching result may be determined by calculating the similarity between the registered voiceprint information and the voiceprint information to be recognized. For example, if the similarity between the registered voiceprint information and the voiceprint information to be identified is greater than the preset similarity threshold, it can be considered that the registered voiceprint information and the voiceprint information to be identified are successfully matched; otherwise, the registered voiceprint information and the voiceprint information to be identified are considered to be Pattern information matching failed.
  • different similarity thresholds can be set for different situations of whether the voiceprint matching object has registered voiceprint information, so as to reduce the influence of the text content corresponding to the voiceprint information on the voiceprint information similarity calculation. For example, when the voiceprint matching object has registered voiceprint information, and the voiceprint information to be recognized is compared with the registered voiceprint information corresponding to the voiceprint matching object, the preset similarity threshold can be set to the first Threshold; when the voiceprint matching object does not have registered voiceprint information, the voiceprint information to be identified is compared with any piece of registered voiceprint information, and the preset similarity threshold can be set to the second threshold, where the first A threshold is greater than the second threshold.
  • the registered voiceprint information in the registered voiceprint information database includes the registered voiceprint information stored in the original registration stage, and may also include the registered voiceprint information stored in the voiceprint authentication stage when the registered voiceprint information database is updated and maintained. Register voiceprint information.
  • the second solution is to perform segmentation matching on the voiceprint information to be recognized.
  • the voiceprint matching object output by the voiceprint lock can also be a voiceprint matching object composed of multiple voiceprint matching objects with unregistered voiceprint information in the dictionary database (For example, for the voiceprint matching objects "Qing" and “Lu” that have not registered voiceprint information in the dictionary database, they can be combined into the voiceprint matching object "Qinglu"), or unregistered voiceprint information in the dictionary database
  • a voiceprint matching object formed by combining one or more voiceprint matching objects in the registered voiceprint information database with one or more voiceprint matching objects stored in the registered voiceprint information database for example, for a voiceprint that has no registered voiceprint information in the dictionary database
  • the matching object "Qing" and the voiceprint matching object "Sesame” stored in the registered voiceprint information database can be combined into the voiceprint matching object "Qingzhima"), or one or more voiceprint matching objects stored in the registered voiceprint information database.
  • Voiceprint matching objects formed by combining voiceprint matching objects for example, for the voiceprint
  • segmentation matching can be performed on the voiceprint information to be recognized.
  • Combine at least two voiceprint matching objects to generate a composite voiceprint matching object which is used for voiceprint authentication in the voiceprint authentication stage, and randomly combine to generate voiceprint matching objects, which can improve the security of the voiceprint lock.
  • select the voiceprint matching object of unregistered voiceprint information from the dictionary library and the voiceprint matching object selected from the registered voiceprint information database to generate a composite voiceprint matching object and can also realize the silent update of the registered voiceprint information database , thereby further enhancing the security of the voiceprint lock.
  • the following is an example of voiceprint authentication by selecting a voiceprint matching object with unregistered voiceprint information from the dictionary database and a registered voiceprint matching object from the registered voiceprint information database to generate a composite voiceprint matching object.
  • the voiceprint matching object of the registered voiceprint information in the registered voiceprint information database is called "the first voiceprint matching object”
  • the unregistered voiceprint information in the dictionary database is referred to as "first voiceprint matching object”.
  • the voiceprint matching object is called the "second voiceprint matching object”.
  • the first voiceprint matching object and the second voiceprint matching object are basic voiceprint matching units, for example, the first voiceprint matching object and the second voiceprint matching object are a single character or single words.
  • the voiceprint matching object is based on the first voiceprint matching object of the registered voiceprint information stored in the registered voiceprint information database, and the dictionary library stored in the voiceprint lock
  • the second voiceprint matching object in the combination is generated, and the voiceprint matching is performed on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the determined
  • the matching result obtained by voiceprint matching includes: determining the pieces of voiceprint information to be recognized corresponding to each of the first voiceprint matching objects and each of the second voiceprint matching objects in the voiceprint information to be recognized; performing voiceprint matching on the voiceprint information segments to be identified corresponding to each of the first voiceprint matching objects and the corresponding registered voiceprint information; and matching the voiceprint information segments to be identified corresponding to each of the second voiceprint matching objects Perform voiceprint matching on the registered voiceprint information selected in the registered voiceprint information database, and determine the voiceprint information to be identified and the voiceprint matching object (i.e.
  • the selected registered voiceprint information includes: a randomly selected piece of registered voiceprint information corresponding to the first voiceprint matching object whose character distance is closest to the second voiceprint matching object registered voiceprint information.
  • the main control device 210 may simultaneously record the first voiceprint matching object and the second voiceprint matching object that make up the composite voiceprint matching object. Afterwards, when extracting the voiceprint information to be recognized, speech recognition can be performed on the feedback voice used to extract the voiceprint information to be recognized at the same time, to obtain a character sequence, and further match the object and the second voiceprint with the first voiceprint according to the character sequence The character matching result of the matching object is divided into the voiceprint information to be recognized, and the voiceprint information segments to be recognized corresponding to each first voiceprint matching object and each second voiceprint matching object included in the composite voiceprint matching object are determined .
  • the voiceprint matching object is composed of the second voiceprint matching object "Qing" that has no voiceprint information registered in the dictionary database and the first voiceprint matching object "Zesame" stored in the registered voiceprint information database.
  • the voiceprint information will be divided into a piece of voiceprint information to be recognized corresponding to the second voiceprint matching object "Qing" (hereinafter denoted as F1), and a piece of waiting-to-be-recognized voiceprint information corresponding to the first voiceprint matching object "Sesame". Identify the piece of voiceprint information (hereinafter denoted as F2).
  • the voiceprint to be recognized is the voiceprint to be recognized.
  • the voiceprint information segment (such as F2) is matched with the registered voiceprint information correspondingly stored in the registered voiceprint information database corresponding to the first voiceprint matching object (such as "Sesame"), and the voiceprint information segment corresponding to the voiceprint information segment to be identified is determined. Voiceprint matching result.
  • the to-be-identified voiceprint information segment can be The voiceprint information segment (such as F1) performs voiceprint matching with any piece of registered voiceprint information stored in the registered voiceprint information database, and determines the voiceprint matching result corresponding to the voiceprint information segment to be recognized.
  • voiceprint matching can be performed on the piece of voiceprint information to be recognized (such as F1) and the registered voiceprint information correspondingly stored in the registered voiceprint information database of the first voiceprint matching object (such as "Sesame"), and determine the voiceprint information to be identified. Identify the voiceprint matching result corresponding to the voiceprint information segment.
  • the pronunciation of the characters in the voice is continuous when the user inputs a complete voice, therefore, for the piece of voiceprint information to be recognized corresponding to the second voiceprint matching object, the character with the closest distance to the second voiceprint matching object is used.
  • the registration voiceprint information corresponding to the first voiceprint matching object performs voiceprint matching, which can improve the matching accuracy of voiceprint authentication.
  • the information of the first voiceprint matching object and the information of the second voiceprint matching object that make up the compound voiceprint matching object can also be output separately, so that the user can input the information for the first voiceprint matching object respectively.
  • a complex voiceprint matching object is generated by selecting a combination of voiceprint matching objects with unregistered voiceprint information from the dictionary library for voiceprint authentication, or a complex voiceprint matching object is generated by selecting a combination of voiceprint matching objects from the registered voiceprint information database
  • voiceprint authentication only segments of the voiceprint information to be identified corresponding to each first voiceprint matching object are segmented out of the voiceprint information to be identified, or only pieces of voiceprint information corresponding to each second voiceprint information are segmented out.
  • the piece of voiceprint information to be recognized corresponding to the fingerprint matching object For the specific implementation manner of performing voiceprint matching on each piece of voiceprint information to be recognized, refer to the foregoing description, which will not be repeated here.
  • the first voiceprint is considered to be The voiceprint matching of the segment of voiceprint information to be identified corresponding to the matching object is successful; the matching degree determined after voiceprint matching between the registration voiceprint information corresponding to the second voiceprint matching object and the corresponding segment of voiceprint information to be identified is greater than that of the second matching degree threshold, it is considered that the voiceprint of the to-be-recognized voiceprint information segment corresponding to the second voiceprint matching object is successfully matched, wherein the first matching degree threshold is greater than the second matching degree threshold.
  • the voiceprint to be recognized is considered to be recognized only when the pieces of voiceprint information to be recognized corresponding to each of the first voiceprint matching object and the second voiceprint matching object that are combined to generate a composite voiceprint matching object are successfully matched.
  • Information matching is successful. If the segment of voiceprint information to be recognized corresponding to a certain first voiceprint matching object or a certain second voiceprint matching object combined to generate a composite voiceprint matching object fails to match, it is considered that the matching of the entire voiceprint information to be recognized is unsuccessful.
  • Step 140 in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, perform the processing of the registered voiceprint information based on the voiceprint information to be recognized.
  • the main control device 210 After performing voiceprint matching on the user's voiceprint information to be recognized through the aforementioned steps, if the matching is successful, the main control device 210 will control the lock actuator 240 to open the door lock, and if the matching fails, the door lock will not be opened.
  • the main control device 210 will also execute the registration of the registered voiceprint information database based on the voiceprint information to be recognized. update operation.
  • performing a process based on the voiceprint information to be recognized includes: responding to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, updating the voiceprint information to be recognized.
  • the voiceprint information is stored in the registered voiceprint information database as the registered voiceprint information corresponding to the voiceprint matching object, or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  • the main control device 210 first determines whether there is corresponding registered voiceprint information in the voiceprint matching object output to the user. , if the voiceprint matching object does not store corresponding registered voiceprint information in the registered voiceprint information database, then update the registered voiceprint information database with the current voiceprint information to be identified; if the voiceprint matching object is registered If the corresponding registered voiceprint information is stored in the voiceprint information database, the registered voiceprint information database is not updated with the current voiceprint information to be recognized, that is, there is no need to operate the registered voiceprint information database.
  • the registered voiceprint information database when updating the registered voiceprint information database with the current voiceprint information to be identified, if the number of registered voiceprint information stored in the registered voiceprint information database stored in the voiceprint lock is greater than or is equal to the preset number threshold, the registered voiceprint information database is updated and maintained through the current voiceprint information to be recognized. For example, delete a set of correspondence data between voiceprint matching objects and registered voiceprint information according to preset rules, and then use the voiceprint information to be recognized that is currently successfully matched with the voiceprint matching object as the registered voiceprint information corresponding to the voiceprint matching object.
  • the voiceprint information is stored in the registered voiceprint information database corresponding to the voiceprint matching object.
  • the voiceprint information to be recognized that is currently successfully matched with the voiceprint matching object is directly used as the registered voiceprint information corresponding to the voiceprint matching object, and stored in the registration voiceprint corresponding to the voiceprint matching object in the information base.
  • the preset number threshold is determined according to the storage capacity of the registered voiceprint information database in the voiceprint lock.
  • performing a process based on the voiceprint information to be recognized includes: responding to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, updating each of the second voiceprint information.
  • the piece of voiceprint information to be matched corresponding to the fingerprint matching object is stored in the registered voiceprint information database as the registered voiceprint information corresponding to each of the second voiceprint matching objects or for the registered voiceprint information database.
  • the voiceprint matching object is a composite voiceprint matching object including the first voiceprint matching object and/or the second voiceprint matching object
  • update Register voiceprint database when the voiceprint matching object is a composite voiceprint matching object including the first voiceprint matching object and/or the second voiceprint matching object.
  • the voiceprint information segment F2 to be recognized corresponding to the first voiceprint matching object "Zhima” and the voiceprint to be recognized corresponding to the second voiceprint matching object "Qing” After the information fragments F1 are all successfully matched, or when the voiceprint information fragment F2 corresponding to the first voiceprint matching object "Sesame" is successfully matched, it is determined that the voiceprint information matching for the voiceprint matching object "Qing Zhima" is matched.
  • the main control device 210 uses the voiceprint information segment F1 corresponding to the second voiceprint matching object "Qing" to be recognized as the registered voiceprint information of the second voiceprint matching object "Qing", and sends the second voiceprint matching object "Qing"
  • the pattern matching object "Qing" and the voiceprint information fragment F1 to be identified are directly stored in the registered voiceprint information database in the voiceprint lock, or a group of voiceprint matching objects and registered voiceprint information are deleted according to preset rules After that, the to-be-recognized voiceprint information segment F1 is used as the registered voiceprint information corresponding to the second voiceprint matching object, and stored corresponding to the second voiceprint matching object in the registered voiceprint information database.
  • the voiceprint matching object in order to further improve the security of voiceprint authentication, can be split into independent voiceprint matching units in the registration stage, so as to facilitate the flexible combination and generation of multiple composites in the voiceprint authentication stage.
  • the voiceprint matching object in order to further improve the security of voiceprint authentication, can be split into independent voiceprint matching units in the registration stage, so as to facilitate the flexible combination and generation of multiple composites in the voiceprint authentication stage.
  • the registration stage further includes: outputting to the user the perception information of the voiceprint matching object to be registered stored in the dictionary database of the voiceprint lock; collecting the registration voice of the user for the perception information of the voiceprint matching object to be registered, And determine the registration voiceprint information corresponding to the registered voice; split the voiceprint matching object to be registered, and determine the independent voiceprint matching objects that form the voiceprint matching object to be registered; determine the voiceprint matching objects respectively Registering the registered voiceprint information segments corresponding to each of the independent voiceprint matching objects in the registered voiceprint information, and then storing each of the registered voiceprint information segments as the registered voiceprint information of the corresponding independent voiceprint matching objects in In the registered voiceprint information database of the voiceprint lock.
  • the following takes the registered voiceprint information corresponding to the originally registered voiceprint matching object "Zhima" as an example to illustrate the voiceprint registration process.
  • the main control device 210 randomly selects the voiceprint matching object "Sesame” from the dictionary database as the voiceprint matching object to be registered, and displays the text content of the voiceprint matching object "Sesame” to be registered through the sensory information output device 250, and/ Or, play the reading voice of the voiceprint matching object "Zesame” to be registered, so as to output the perceptual information of the voiceprint matching object "Zesame” to be registered; after that, prompt the user for the voiceprint matching object "Zesame” to be registered Register the voiceprint information; then, the main control device 210 controls the voice collection device 220 to collect the user's feedback voice on the perceptual information as the registration voice.
  • the voiceprint registration process described here does not need to combine the collected voiceprint features with the registered voiceprint information stored in the registered voiceprint information database. Therefore, the voiceprint registration process that does not need to compare the collected voiceprint features with the registered voiceprint information stored in the registered voiceprint information database is called the original registration process.
  • the main control device 210 splits the voiceprint matching object "Sesame” to be registered according to preset rules (such as splitting by single character), and determines the components that make up the voiceprint matching object "Sesame” to be registered.
  • Two independent voiceprint matching objects “zhi” and “ma” after that, further split the registered voiceprint information corresponding to the registered voice, and determine that the registered voiceprint information matches the independent voiceprint obtained by splitting
  • the independent voiceprint matching object "Ma” and the corresponding registered voiceprint information fragment obtained by splitting are correspondingly stored in the registered voiceprint information database, and a total of two pieces of registered voiceprint data are generated.
  • the independent voiceprint matching object may only include a single character, or may include both a single character and a word.
  • the registered voiceprint information extracted from the user's registered voice can be split into three parts: “I", “Come back” and "Are".
  • the registered voiceprint information segments corresponding to each of the independent voiceprint matching objects are stored as registered voiceprint information of three independent voiceprint matching objects in the registered voiceprint information database.
  • the voiceprint lock control method disclosed in the embodiment of the present application outputs the perception information of the voiceprint matching object stored in the voiceprint lock to the user; in response to the feedback voice for the perception information collected by the voiceprint lock, the feedback is determined.
  • the voiceprint information to be recognized in the voice is matched with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the voiceprint matching is determined to obtain The matching result; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the registration of the registered voiceprint based on the voiceprint information to be recognized
  • the updating operation of the information base and the execution of the unlocking control operation of the voiceprint lock effectively improve the security of the voiceprint lock.
  • the voiceprint lock control method disclosed in the embodiment of the present application enriches the registered voiceprint information database in the voiceprint lock by updating the registered voiceprint information base in the voiceprint lock based on the currently matched voiceprint information to be identified after the voiceprint is successfully matched.
  • the registered voiceprint information, and the dynamic update of the registered voiceprint information in the registered voiceprint information database is realized, which effectively improves the security of the voiceprint lock.
  • by updating the registered voiceprint information database in the voiceprint lock only based on the voiceprint information to be recognized of the voiceprint matching object that has not registered voiceprint information it can ensure that the registered voiceprint information in the registered voiceprint information database
  • the diversity of fingerprint information further enhances the security of voiceprint locks.
  • a voiceprint lock control method disclosed in another embodiment of the present application is applied to the voiceprint lock shown in FIG. 2 and FIG. 3 , and the method further includes a voice recognition step. As shown in FIG. 5 , the method includes: Step 510 to Step 580 .
  • Step 510 output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
  • Step 520 Responsive to the feedback voice for the perception information collected by the voiceprint lock, perform voice recognition on the feedback voice, and determine a voice recognition result corresponding to the feedback voice.
  • the main control device 210 of the voiceprint lock After the main control device 210 of the voiceprint lock receives the feedback voice for the perceptual information collected by the voice collection device 220, it first performs voice recognition on the feedback voice, and determines the voice recognition corresponding to the feedback voice. As a result, the content of the text spoken by the user is determined.
  • Step 530 perform text matching on the speech recognition result corresponding to the feedback speech and the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock.
  • the voiceprint lock can also perform voice recognition on the registered voice at the same time, and correspond to the voice recognition result of the registered voice and the registered voice
  • the registered voiceprint information and the voiceprint matching object for the registered voice are correspondingly stored in the registered voiceprint information database.
  • the main control device 210 randomly selects the voiceprint matching object "Sesame” from the dictionary database as the voiceprint matching object to be registered, and displays the voiceprint matching object "Sesame” to be registered through the sensory information output device 250
  • the main control device 210 After collecting the registration voice of "Zesame” displayed by the user for the voiceprint lock, extract the voiceprint features in the registration voice as the registration voiceprint information corresponding to the registration voice, that is, as the registration of the voiceprint matching object "Zesame” At the same time, the main control device 210 performs voice recognition on the registered voice, determines the voice recognition result corresponding to the registered voice—the text "Sesame", and matches the currently registered voiceprint with the object (i.e. the word "Sesame"), The speech recognition result corresponding to the registered voice (that is, the text "sesame") and the registered voiceprint information corresponding to the registered voice are associated and stored in the registered voiceprint information database.
  • the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object is user-defined registration text for the voiceprint matching object.
  • the voiceprint registration stage when the voiceprint lock outputs the perception information of the voiceprint matching object whose voiceprint information is to be registered, the user can customize the voice recognition result corresponding to the voiceprint matching object to improve the security of the voiceprint lock sex.
  • the perceptual information output device 250 displays the text content of the voiceprint matching object to be registered "Sesame", and/or plays the reading voice of the voiceprint matching object to be registered, so as to output the voiceprint matching object to be registered perception information; after that, the user is prompted to register voiceprint information for the voiceprint matching object "Zhima” to be registered, and the user can read "kaimen", which is the pronunciation of the text "open the door", as the registered voice.
  • the voiceprint lock will store the voiceprint matching object (that is, the word “sesame”), the speech recognition result corresponding to the registered voice (that is, the text "open the door"), and the registered voiceprint information corresponding to the registered voice (that is, the user reads "kaimen The voiceprint features extracted from the voice of ”) are associated and stored in the registered voiceprint information base.
  • the main control device 210 receives the feedback voice (such as the pronunciation of the text "open the door") collected by the voice collection device 220 for the perceptual information (such as the text content of the displayed voiceprint matching object "Sesame”) ), performing speech recognition on the feedback speech, and determining the speech recognition result corresponding to the feedback speech (such as the recognized speech recognition result being the text “open the door”), after that, the master control device 210 converts the feedback speech corresponding to The speech recognition result is text-matched with the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object "Zesame" in the registered voiceprint information database stored in the voiceprint lock (such as the aforementioned text "open the door”).
  • the feedback voice such as the pronunciation of the text "open the door
  • the voice collection device 220 for the perceptual information (such as the text content of the displayed voiceprint matching object "Sesame")
  • the master control device 210 converts the feedback speech corresponding to
  • the speech recognition result is text-matched with the
  • Step 540 determine whether the speech recognition result corresponding to the feedback speech matches the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object, if so, perform step 550, otherwise, jump to step 580.
  • the determination is performed in response to the text matching result indicating that the speech recognition result corresponding to the feedback voice matches the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object.
  • the registration voice entered by the user for the voiceprint matching object "Zhima” is the pronunciation of the custom text "Open the door”
  • the voiceprint authentication stage if the user still reads "Open the door” for the voiceprint matching object "Zesame”. ", the speech recognition is successful. If the user reads "Sesame" for the voiceprint matching object "Sesame", it is considered that the speech recognition fails.
  • Step 550 determine voiceprint information to be recognized in the feedback voice.
  • Step 560 Perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing the voiceprint matching.
  • Step 570 in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, perform the processing of the registered voiceprint information based on the voiceprint information to be recognized.
  • the update operation of the library, and/or, the unlocking control operation of the voiceprint lock is executed.
  • Step 580 end the current voiceprint unlocking process.
  • the user by adding a voice recognition step before voiceprint authentication, the user can customize the voice recognition text corresponding to the voiceprint matching object in the voiceprint registration stage, thereby enhancing the voiceprint lock.
  • Anti-attack ability improve the security of voiceprint lock.
  • FIG. 6 another embodiment of the present application discloses a voiceprint lock control method, which is applied to the voiceprint lock shown in FIG. 2 and FIG. 3 , and includes: Step 610 to Step 670 .
  • Step 610 output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
  • the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock.
  • the main control device 210 randomly selects a voiceprint matching object from the registered voiceprint information database stored in the voiceprint lock as the current voiceprint matching object, and outputs the current voiceprint matching object through the perceptual information output device 250. Perceptual information of the object.
  • Step 620 In response to the voiceprint lock collecting the feedback voice for the perceptual information, determine voiceprint information to be recognized in the feedback voice.
  • Step 630 Perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing the voiceprint matching.
  • Step 640 In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, output the perception information of unregistered voiceprint matching objects in the dictionary to the user .
  • a further round of voiceprint matching is required. Authentication, that is, two rounds of voiceprint authentication are required in this authentication stage, so that the registered voiceprint information database in the voiceprint lock can be updated and maintained at the same time as the voiceprint authentication, so as to improve the security of the voiceprint lock.
  • the unregistered voiceprint matching object in the dictionary is selected from the dictionary database stored in the voiceprint lock and any voiceprint matching object that has no corresponding registered voiceprint information in the registered voiceprint information database.
  • the main control device 210 After determining the unregistered voiceprint matching object in the dictionary, the main control device 210 outputs the perception information of the unregistered voiceprint matching object in the dictionary through the perception information output device 250 .
  • Step 650 In response to the voiceprint lock collecting the first feedback voice for the perception information of the unregistered voiceprint matching object in the dictionary, determine the first voiceprint information to be recognized in the first feedback voice.
  • the main control device 210 collects the perception information for the unregistered voiceprint matching object in the dictionary through the voice collection device 220, and determines the feedback voice, which is the "first feedback voice” in this embodiment, and further determines the first feedback voice.
  • the voiceprint information in the voice is recorded as "the first voiceprint information to be recognized".
  • Step 660 Perform voiceprint matching on the first to-be-recognized voiceprint information and the currently successfully matched registered voiceprint information, and determine the matching result obtained from the current voiceprint matching.
  • the registered voiceprint information that is currently successfully matched is: the registered voiceprint information in the registered voiceprint information database that is successfully matched with the voiceprint information to be identified. Afterwards, perform voiceprint matching on the first voiceprint information to be recognized and the registered voiceprint information used for voiceprint matching in step 630, and determine the matching result obtained from the current voiceprint matching.
  • the voiceprint information to be recognized in the first round of voiceprint authentication has been successfully matched with the registered voiceprint information in the registered voiceprint information database (such as steps 630, 640), Perform voiceprint matching on the first to-be-recognized voiceprint information of the unregistered voiceprint matching object in the dictionary in the second round of voiceprint authentication and the successfully matched registered voiceprint information in the first round of voiceprint authentication, and obtain the matching result.
  • Step 670 In response to the matching result of the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently successfully matched, the first voiceprint information to be recognized is As the registered voiceprint information corresponding to the unregistered voiceprint matching object in the dictionary, it is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  • the registered voiceprint information is updated and maintained according to the result of the second round of voiceprint authentication. That is, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the matching of the registered voiceprint information database based on the voiceprint information to be recognized
  • the update operation includes: in response to the matching result obtained from the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently matched successfully, updating the first voiceprint information to be recognized
  • the registered voiceprint information is stored in the registered voiceprint information database or updated and maintained in the registered voiceprint information database as registered voiceprint information corresponding to unregistered voiceprint matching objects in the dictionary.
  • the main control device 210 first selects the voiceprint matching object "Sesame” from the registered voiceprint information database, and outputs the perception information of the voiceprint matching object "Zesame” to the user, and starts the first round of voiceprint authentication. After obtaining the user's feedback voice for the voiceprint matching object "Zhima", and determining the voiceprint information to be recognized in the feedback voice (for a clearer description, denoted as "T1"), the voiceprint information to be recognized T1 and registered The registered voiceprint information corresponding to the voiceprint matching object "Zhima" in the voiceprint information database (referred to as "R1" for a clearer description) is used for voiceprint matching.
  • the main control device 210 selects a voiceprint matching object "Apple” from the dictionary database (the voiceprint matching object "Apple” is not stored in the registered voiceprint information database. , that is, the voiceprint matching object "Apple” has not registered voiceprint information), and output the perception information of the voiceprint matching object "Apple” to the user, and start the second round of voiceprint authentication.
  • the voiceprint information to be recognized in the feedback voice for a clearer description, denoted as "T2"
  • T2 the voiceprint information to be recognized T2
  • the registered voiceprint information R1 corresponding to the voiceprint matching object "Zhima" in the registered voiceprint information database performs voiceprint matching, and determines the voiceprint matching result.
  • the voiceprint information T2 to be recognized is successfully matched with the registered voiceprint information R1 corresponding to the voiceprint matching object "Sesame" in the registered voiceprint information database, the voiceprint information T2 to be recognized will be used as the voiceprint information corresponding to the voiceprint matching object "Apple".
  • the registered voiceprint information is directly stored in the registered voiceprint information database. If the number of registered voiceprint information stored in the registered voiceprint information database is greater than the preset quantity threshold, delete an original piece of registered voiceprint information according to a preset policy.
  • the voiceprint lock control method disclosed in the embodiment of the present application sets two rounds of voiceprint authentication, the first round of voiceprint authentication is for the voiceprint matching object whose voiceprint information has been registered, and the second round of voiceprint authentication is for unregistered voiceprint
  • the voiceprint matching object of the information, and the two rounds of voiceprint matching are matched with the same registered voiceprint information in the registered voiceprint information database, so that after the second round of voiceprint authentication is passed, the voiceprint of unregistered voiceprint information can be
  • the fingerprint matching object registers voiceprint information silently, and dynamically updates the registered voiceprint information database stored in the voiceprint lock to improve the security of the voiceprint lock.
  • a voiceprint lock control device the device includes:
  • the collection information guidance module 710 is used to output the perception information of the voiceprint matching object stored in the voiceprint lock to the user;
  • the voiceprint information collection module 720 is used to determine the voiceprint information to be recognized in the feedback voice in response to the voiceprint lock collecting the feedback voice for the perceptual information;
  • the voiceprint matching module 730 is configured to perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the voiceprint obtained by performing voiceprint matching. matching result;
  • the registered voiceprint information database update module 740 configured to respond to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, and execute the voiceprint information based on the voiceprint to be recognized Information update operation on the registered voiceprint information database; and/or,
  • the voiceprint lock control module 750 is configured to execute the unlocking control operation of the voiceprint lock in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database .
  • outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user includes: showing the user the text of the voiceprint matching object stored in the voiceprint lock, and/or, playing the text of the voiceprint matching object stored in the voiceprint lock to the user.
  • the voiceprint stored in the voiceprint lock matches the reading voice of the object.
  • the voiceprint matching module 730 is further used to:
  • the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock In response to the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information database in the registered voiceprint information database.
  • the registered voiceprint information corresponding to the voiceprint matching object is used to perform voiceprint matching, and the matching result obtained by performing the voiceprint matching is determined.
  • the voiceprint matching module 730 is further used to:
  • combining the voiceprint information to be identified with the registered voiceprint information stored in the voiceprint lock Perform voiceprint matching on any one or more pieces of registered voiceprint information in the fingerprint information database, and determine the matching result obtained by performing the voiceprint matching.
  • the registration voiceprint information database update module 740 is further used to:
  • the voiceprint information is stored in the registered voiceprint information database or updated and maintained for the registered voiceprint information in the registered voiceprint information database.
  • the voiceprint matching object is based on the first voiceprint matching object of the registered voiceprint information stored in the registered voiceprint information database, and the dictionary library stored in the voiceprint lock
  • the inner second voiceprint matching object combination is generated, and the voiceprint matching module 730 is further used to:
  • performing voiceprint matching on the unrecognized voiceprint information segments corresponding to each of the first voiceprint matching objects and corresponding registered voiceprint information, and performing voiceprint matching on the unidentified voiceprint information segments corresponding to each of the second voiceprint matching Perform voiceprint matching with the registered voiceprint information selected in the registered voiceprint information database, and determine a voiceprint matching result between the voiceprint information to be recognized and the voiceprint matching object.
  • the selected registered voiceprint information includes: a randomly selected piece of registered voiceprint information, a character corresponding to the first voiceprint matching object whose character distance is closest to the second voiceprint matching object Register voiceprint information.
  • the registration voiceprint information database updating module 740 is further used for:
  • the pieces of voiceprint information to be matched corresponding to each of the second voiceprint matching objects are used as The registered voiceprint information corresponding to each of the second voiceprint matching objects is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  • the device further includes: a voiceprint registration module 700, further used for:
  • the fingerprint information is stored in the registered voiceprint information database stored in the voiceprint lock.
  • the voiceprint registration module 700 is further used to:
  • the registered voiceprint information is stored in the registered voiceprint information database stored in the voiceprint lock as the registered voiceprint information of the voiceprint matching object to be registered.
  • the voiceprint lock control device disclosed in the embodiment of the present application outputs the perception information of the voiceprint matching object stored in the voiceprint lock to the user; in response to the feedback voice for the perception information collected by the voiceprint lock, the feedback is determined
  • the voiceprint information to be recognized in the voice is matched with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the voiceprint matching is determined to obtain The matching result; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the registration of the registered voiceprint based on the voiceprint information to be recognized
  • the update operation of the information base, and/or, the execution of the unlocking control operation of the voiceprint lock effectively improves the security of the voiceprint lock.
  • the voiceprint lock control device disclosed in the embodiment of the present application after the voiceprint matching is successful, updates the registered voiceprint information database in the voiceprint lock based on the currently successfully matched voiceprint information to be recognized, thereby enriching the registered voiceprint information database.
  • Registered voiceprint information, and dynamically updated registered voiceprint information in the registered voiceprint information database effectively improving the security of the voiceprint lock.
  • updating the registered voiceprint information database in the voiceprint lock only based on the voiceprint information to be recognized of the voiceprint matching object that has not registered voiceprint information, it can ensure that the registered voiceprint information in the registered voiceprint information database
  • the diversity of fingerprint information further enhances the security of voiceprint locks.
  • the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and some other implementations of the present application
  • a voiceprint lock control device is disclosed, which is different from the voiceprint lock control device described in the above-mentioned embodiments in that the device further includes: a second round of information collection guidance module 760, a second round of voiceprint information A collection module 770, and a second round of voiceprint matching module 780.
  • the second round of information collection guidance module 760 is configured to output a dictionary to the user in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database
  • the second-round voiceprint information collection module 770 is configured to determine the first feedback voice in the first feedback voice in response to the voiceprint lock collecting the first feedback voice for the perception information of the unregistered voiceprint matching object in the dictionary.
  • the first voiceprint information to be recognized;
  • the second-round voiceprint matching module 780 is configured to perform voiceprint matching on the first voiceprint information to be recognized and the registered voiceprint information that is currently successfully matched, and determine the matching result obtained by the current voiceprint matching, wherein, the registered voiceprint information that is currently successfully matched is: the registered voiceprint information in the registered voiceprint information database that is successfully matched with the voiceprint information to be identified.
  • the registration voiceprint information database updating module 740 is further used for:
  • the first voiceprint information to be recognized is used as the first voiceprint information to be recognized.
  • the registered voiceprint information corresponding to the unregistered voiceprint matching object in the dictionary is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  • the voiceprint lock control device disclosed in the embodiment of the present application sets two rounds of voiceprint authentication, the first round of voiceprint authentication is for voiceprint matching objects that have registered voiceprint information, and the second round of voiceprint authentication is for unregistered voiceprint
  • the voiceprint matching object of the information, and the two rounds of voiceprint matching are matched with the same registered voiceprint information in the registered voiceprint information database, so that after the second round of voiceprint authentication is passed, the voiceprint of unregistered voiceprint information can be
  • the fingerprint matching object registers voiceprint information silently, and dynamically updates the registered voiceprint information database stored in the voiceprint lock to improve the security of the voiceprint lock.
  • a voiceprint lock control device which is different from the voiceprint lock control device described in the above embodiments in that the device further includes: Speech recognition module 790 .
  • the voice recognition module 790 is configured to perform voice recognition on the feedback voice, determine the voice recognition result corresponding to the feedback voice; and compare the voice recognition result corresponding to the feedback voice with the voice recognition result stored in the voiceprint lock Perform text matching on the speech recognition results corresponding to the registered voiceprint information of the voiceprint matching object described in the registered voiceprint information database;
  • the voice recognition module 790 is further configured to respond to the text matching result indicating that the voice recognition result corresponding to the feedback voice matches the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object, and jump to To call the voiceprint matching module 730; otherwise, end the current voiceprint unlocking process;
  • the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object is user-defined registration text for the voiceprint matching object.
  • the voiceprint registration module 700 is further configured to perform voice recognition on the registered voice, and combine the voice recognition result of the registered voice, the registered voiceprint information corresponding to the registered voice, and the voiceprint matching object for the registered voice These kinds of data are correspondingly stored in the registered voiceprint information database.
  • the voiceprint lock control device disclosed in the embodiment of the present application adds a voice recognition step before the voiceprint authentication, so that the user can customize the voice recognition text corresponding to the voiceprint matching object in the voiceprint registration stage, thereby enhancing the voiceprint lock. Anti-attack ability, improve the security of voiceprint lock.
  • the embodiment of the present application discloses a voiceprint lock, the structure of which is shown in Figure 2 and Figure 3, for example, the voiceprint lock includes: a master control device 210, which communicates with the master The voice acquisition device 220, memory 230, lock actuator 240, and sensory information output device 250 connected to the control device, wherein,
  • the memory 230 is used to store a dictionary database and a registered voiceprint information database, wherein the registered voiceprint information database stores: voiceprint matching objects, and registered voiceprint information corresponding to the corresponding voiceprint matching;
  • the perceptual information output device 250 is configured to output the perceptual information presenting the specified voiceprint matching object according to the control of the main control device, wherein the output presenting the perceptual information presenting the specified voiceprint matching object includes: displaying the specified voiceprint matching object the text of the matching object; and/or, play the reading voice of the specified voiceprint matching object;
  • the voice collection device 220 is configured to collect a user's feedback voice for the perceptual information according to the control of the main control device, and send the collected feedback voice to the main control device;
  • the main control device 210 is further configured to determine the voiceprint information to be recognized in the feedback voice, and compare the voiceprint information to be recognized with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock. Perform voiceprint matching on the voiceprint information, determine the matching result obtained by performing the voiceprint matching, and, in response to the matching result, indicate that the voiceprint information to be recognized matches the registered voiceprint information in the registered voiceprint information database If successful, perform an update operation of the registered voiceprint information base based on the voiceprint information to be identified; and/or perform an unlock control operation of the voiceprint lock.
  • this application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the computer program, it implements the The voiceprint lock control method described in the above-mentioned embodiment.
  • the electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, and the like.
  • the present application also discloses a computer-readable storage medium, on which a computer program is stored.
  • the program is executed by a processor, the steps of the voiceprint lock control method described in any one of the above-mentioned embodiments of the present application are realized. .
  • each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
  • the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
  • each embodiment can be implemented by means of software plus a necessary general-purpose hardware platform, and of course can also be implemented by hardware.
  • the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
  • any reference signs placed between parentheses shall not be construed as limiting the claim.
  • the word “comprising” does not exclude the presence of elements or steps not listed in a claim.
  • the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements.
  • the application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware.
  • the use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

Abstract

The present application belongs to the field of security and protection, and discloses a voiceprint lock control method and apparatus, and an electronic device, which helps to improve the security of voiceprint locks. The method comprises: outputting perception information of a voiceprint matching object stored in a voiceprint lock to a user (110); in response to a feedback voice collected by the voiceprint lock regarding the perception information, determining voiceprint information to be recognized in the feedback voice (120); performing voiceprint matching on the voiceprint information and registration voiceprint information in a registration voiceprint information library stored in the voiceprint lock to obtain a matching result (130); in response to the matching result, indicating that matching between the voiceprint information and the registration voiceprint information in the registration voiceprint information library is successful, executing an update operation on the registration voiceprint information library on the basis of the voiceprint information, and/or executing an unlocking control operation on the voiceprint lock (140). According to the present method, once voiceprint matching is successful, a registration voiceprint information library is updated on the basis of current successfully matched voiceprint information to be recognized, and registration voiceprint information is enriched, thus effectively improving the security of the voiceprint lock.

Description

声纹锁控制方法、装置、电子设备Voiceprint lock control method, device, and electronic equipment 技术领域technical field
本申请实施例涉及安防领域,特别是涉及一种声纹锁控制方法、装置、声纹锁及计算机可读存储介质。The embodiments of the present application relate to the security field, and in particular, to a voiceprint lock control method and device, a voiceprint lock, and a computer-readable storage medium.
背景技术Background technique
作为生物特征识别技术的一个分支,声纹识别技术发展迅速。从考勤到智能门禁,再到智能支付,声纹识别技术得到越来越广泛的应用。在一些情形下的声纹识别应用,首先需要建立用户的声纹特征库,然后,在声纹识别阶段,通过采集用户输入的语音,并提取其中的声纹特征,之后,将提取的声纹特征与预先建立的声纹特征库中的声纹特征进行声纹特征比对,从而确定身份识别是否通过。而声纹特征库的建立直接影响声纹识别的效率,如果声纹特征库中存储的用户声纹数量过少,会导致声纹锁安全性降低;采集大量声纹信息建立声纹特征库,又会降低建立声纹特征库的效率。而声纹锁作为一种弱交互的声纹识别应用,为了提升用户使用的便捷性和提升用户体验,往往仅采集有限数量的声纹信息构建声纹特征库,这将给声纹应用带来安全隐患。As a branch of biometric identification technology, voiceprint recognition technology is developing rapidly. From time attendance to smart access control, to smart payment, voiceprint recognition technology has been more and more widely used. In the application of voiceprint recognition in some cases, it is first necessary to establish the user's voiceprint feature library, and then, in the voiceprint recognition stage, by collecting the voice input by the user and extracting the voiceprint features, after that, the extracted voiceprint The feature is compared with the voiceprint feature in the pre-established voiceprint feature library to determine whether the identification is passed. The establishment of the voiceprint feature library directly affects the efficiency of voiceprint recognition. If the number of user voiceprints stored in the voiceprint feature library is too small, the security of the voiceprint lock will be reduced; a large amount of voiceprint information is collected to establish a voiceprint feature library. It will also reduce the efficiency of establishing a voiceprint feature library. Voiceprint lock, as a weakly interactive voiceprint recognition application, often only collects a limited amount of voiceprint information to build a voiceprint feature library in order to improve user convenience and user experience. Security risks.
发明内容Contents of the invention
本申请实施例提供一种声纹锁控制方法,有助于提升声纹锁的安全性。An embodiment of the present application provides a method for controlling a voiceprint lock, which helps to improve the security of the voiceprint lock.
第一方面,本申请实施例提供了一种声纹锁控制方法,包括:向用户输出声纹锁中存储的声纹匹配对象的感知信息;响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,和/或,执行所述声纹锁的开锁控制操作。In the first aspect, the embodiment of the present application provides a voiceprint lock control method, including: outputting to the user the perception information of the voiceprint matching object stored in the voiceprint lock; Feedback the voice, determine the voiceprint information to be recognized in the feedback voice; perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine The matching result obtained by performing the voiceprint matching; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing a process based on the voiceprint to be recognized information to update the registration voiceprint information database, and/or execute the unlocking control operation of the voiceprint lock.
第二方面,本申请实施例提供了一种声纹锁控制装置,包括:采集信息引导模块,用于向用户输出声纹锁中存储的声纹匹配对象的感知信息;声纹信息采集模块,用于响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;声纹匹配模块,用于将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;注册声纹信息库更新模块,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;以及,声纹锁控制模块,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行所述声纹锁的开锁控制操作。In the second aspect, the embodiment of the present application provides a voiceprint lock control device, including: a collection information guidance module, configured to output to the user the perception information of the voiceprint matching object stored in the voiceprint lock; a voiceprint information collection module, It is used to determine the voiceprint information to be recognized in the feedback voice in response to the feedback voice for the perceptual information collected by the voiceprint lock; the voiceprint matching module is used to combine the voiceprint information to be recognized with the voiceprint information The registered voiceprint information in the registered voiceprint information database stored in the fingerprint lock performs voiceprint matching, and determines the matching result obtained by performing the voiceprint matching; the registration voiceprint information database update module is used to indicate in response to the matching result The voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, and an update operation is performed on the registered voiceprint information database based on the voiceprint information to be recognized; and, the voiceprint lock A control module, configured to perform an unlocking control operation of the voiceprint lock in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database.
第三方面,本申请实施例提供了一种声纹锁,包括:主控装置,分别与所述主控装置通信连接的语音采集装置、存储器、锁具执行机构、感知信息输出装置,其中,所述存储器,用于存储字典库和注册声纹信息库,其中,所述注册声纹信息库中存储有:声纹匹配对象,以及所述相应声纹匹配对应的注册声纹信息;所述感知信息输出装置,用于根据所述主控装置的控制,输出呈现指定声纹匹配对象的感知信息,其中,所述输出呈现指定声纹匹配对象的感知信息,包括:显示指定声纹匹配对象的文本;和/或,播放指定声纹匹配对象的朗读语音;所述语音采集装置,用于根据所述主控装置的控制采集用户针对所述感知信息的反馈语音,并将采集的所述反馈语音发送至所述主控装置;所述主控装置,还用于确定所述反馈语音中的待识别声纹信息,并将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结 果,以及,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;和/或,执行所述声纹锁的开锁控制操作。In the third aspect, the embodiment of the present application provides a voiceprint lock, including: a main control device, a voice collection device, a memory, a lock actuator, and a sensory information output device respectively connected to the main control device in communication, wherein the The memory is used to store a dictionary database and a registered voiceprint information database, wherein the registered voiceprint information database stores: voiceprint matching objects, and registration voiceprint information corresponding to the corresponding voiceprint matching; The information output device is configured to output the perceptual information presenting the specified voiceprint matching object according to the control of the main control device, wherein the output presenting the perceptual information of the specified voiceprint matching object includes: displaying the information of the specified voiceprint matching object text; and/or, play the reading voice of the specified voiceprint matching object; the voice collection device is used to collect the user's feedback voice for the perceptual information according to the control of the main control device, and collect the feedback The voice is sent to the main control device; the main control device is also used to determine the voiceprint information to be recognized in the feedback voice, and combine the voiceprint information to be recognized with the registered voiceprint information stored in the voiceprint lock. Perform voiceprint matching on the registered voiceprint information in the voiceprint information database, determine the matching result obtained by performing the voiceprint matching, and indicate the voiceprint information to be recognized and the registered voiceprint information in response to the matching result If the registered voiceprint information in the database is successfully matched, an update operation of the registered voiceprint information database is performed based on the voiceprint information to be recognized; and/or, an unlocking control operation of the voiceprint lock is performed.
第四方面,本申请实施例还公开了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本申请实施例所述的声纹锁控制方法。In the fourth aspect, the embodiment of the present application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, it realizes The voiceprint lock control method described in the embodiment of this application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时本申请实施例公开的声纹锁控制方法的步骤。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program is executed by a processor as the steps of the voiceprint lock control method disclosed in the embodiment of the present application.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solution of the present application. In order to better understand the technical means of the present application, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present application more obvious and understandable , the following specifically cites the specific implementation manner of the present application.
附图说明Description of drawings
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
图1是本申请一个实施例的声纹锁控制方法流程图之一;Fig. 1 is one of the flow charts of the voiceprint lock control method according to an embodiment of the present application;
图2是本申请一个实施例的声纹锁结构示意图之一;Fig. 2 is one of the structural schematic diagrams of the voiceprint lock according to an embodiment of the present application;
图3是本申请一个实施例的声纹锁结构示意图之二;Fig. 3 is the second structural diagram of the voiceprint lock according to an embodiment of the present application;
图4是本申请一个实施例的声纹锁控制方法流程图之二;Fig. 4 is the second flow chart of the voiceprint lock control method according to an embodiment of the present application;
图5是本申请另一实施例声纹锁控制方法流程图;Fig. 5 is a flowchart of a voiceprint lock control method according to another embodiment of the present application;
图6是本申请另一实施例声纹锁控制方法流程图;FIG. 6 is a flow chart of a voiceprint lock control method according to another embodiment of the present application;
图7是本申请另一实施例的声纹锁控制装置结构示意图之一;Fig. 7 is one of the structural schematic diagrams of a voiceprint lock control device according to another embodiment of the present application;
图8是本申请另一实施例的声纹锁控制装置结构示意图之二;Fig. 8 is the second structural diagram of a voiceprint lock control device according to another embodiment of the present application;
图9是本申请另一实施例的声纹锁控制装置结构示意图;Fig. 9 is a schematic structural diagram of a voiceprint lock control device according to another embodiment of the present application;
图10是本申请另一实施例的声纹锁控制装置结构示意图。Fig. 10 is a schematic structural diagram of a voiceprint lock control device according to another embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请一个实施例公开的一种声纹锁控制方法,如图1所示,所述方法包括:步骤110至步骤140。An embodiment of the present application discloses a voiceprint lock control method, as shown in FIG. 1 , the method includes: step 110 to step 140 .
步骤110,向用户输出声纹锁中存储的声纹匹配对象的感知信息。 Step 110, output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
本申请实施例中所述的声纹锁控制方法应用于如图2所示的声纹锁中,参见图2,所述声纹锁包括:主控装置210,分别与所述主控装置210通信连接的语音采集装置220、存储器230、锁具执行机构240和感知信息输出装置250。The voiceprint lock control method described in the embodiment of the present application is applied to the voiceprint lock shown in FIG. A voice collection device 220 , a memory 230 , a lock actuator 240 and a sensory information output device 250 are connected in communication.
本申请的一些实施例中,所述主控装置210可以为带有存储空间的处理器,参见图3,所述存储器230内置于所述主控装置210中。In some embodiments of the present application, the main control device 210 may be a processor with storage space. Referring to FIG. 3 , the memory 230 is built in the main control device 210 .
下面,结合声纹锁控制方法的具体实施方案,说明声纹锁的各个组成部分的作用。In the following, the functions of each component of the voiceprint lock will be described in conjunction with a specific implementation of the voiceprint lock control method.
本申请实施例中所述的声纹匹配对象可以为字符、词语或句子。The voiceprint matching objects described in the embodiments of the present application may be characters, words or sentences.
本申请的一些实施例中,所述声纹锁中预先存储有字典库,所述字典库存储在所述存 储器230中,所述字典库中可以包括字符、词语、句子、音乐片段中一种或多种形式的声纹匹配对象。所述字典库中存储的声纹匹配对象(例如,字符、词语、句子、音乐片段)可以用来在声纹注册阶段作为需要注册声纹信息的声纹匹配对象输出给用户,也可以用来在声纹认证阶段作为提示用户需要进行声纹认证的声纹匹配对象输出给用户。In some embodiments of the present application, a dictionary library is pre-stored in the voiceprint lock, and the dictionary library is stored in the memory 230. The dictionary library may include one of characters, words, sentences, and music clips. or multiple forms of voiceprint matching objects. The voiceprint matching objects (for example, characters, words, sentences, music fragments) stored in the dictionary database can be used to output to the user as voiceprint matching objects that need to register voiceprint information during the voiceprint registration stage, or can be used to In the voiceprint authentication stage, it is output to the user as a voiceprint matching object that prompts the user to perform voiceprint authentication.
在声纹锁开始使用时,需要首先进行声纹注册。如图4所示,向用户输出声纹锁中存储的声纹匹配对象的感知信息之前,还包括:步骤100。When starting to use the voiceprint lock, you need to register the voiceprint first. As shown in FIG. 4 , before outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user, it further includes: Step 100 .
步骤100,注册声纹信息。 Step 100, register voiceprint information.
用户进行声纹注册时生成的一条或多条注册声纹信息将存储在注册声纹信息库中,所述注册声纹信息库存储在声纹锁中,例如,所述注册声纹信息库存储在所述存储器230中。例如,在声纹锁开始使用时,主控装置210随机从字典库中选择一个声纹匹配对象,通过感知信息输出装置250输出感知信息,感知信息的输出至少包含三种方式,包括通过感知信息输出装置250显示选择的声纹匹配对象的文本内容,或播放选择的声纹匹配对象的语音,或显示选择的声纹匹配对象的文本内容并播放对应的语音,并提示用户针对该选择的声纹匹配对象注册声纹信息;然后,主控装置210控制所述语音采集装置220采集用户针对所述感知信息的反馈语音,并提取所述反馈语音中的声纹特征,作为选择的所述声纹匹配对象的注册声纹信息,然后,将选择的声纹匹配对象和提取得到的注册声纹信息对应存储在注册声纹信息库中。One or more pieces of registration voiceprint information generated when the user performs voiceprint registration will be stored in the registration voiceprint information database, and the registration voiceprint information database is stored in the voiceprint lock, for example, the registration voiceprint information database stores in the memory 230 . For example, when the voiceprint lock starts to be used, the main control device 210 randomly selects a voiceprint matching object from the dictionary library, and outputs the perception information through the perception information output device 250. The output of the perception information includes at least three ways, including The output device 250 displays the text content of the selected voiceprint matching object, or plays the voice of the selected voiceprint matching object, or displays the text content of the selected voiceprint matching object and plays the corresponding voice, and prompts the user for the selected voiceprint matching object. Then, the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the perceptual information, and extracts the voiceprint features in the feedback voice, as the selected voice print Then, correspondingly store the selected voiceprint matching object and the extracted registered voiceprint information in the registered voiceprint information database.
本申请的一些实施例中,注册声纹信息库中存储的每条注册声纹信息对应一个不同的声纹匹配对象,所述声纹匹配对象可以为单个字符、单个词语、完整的句子或者音乐片段。例如,本申请的一些实施例中,注册声纹信息库中存储的每条注册声纹信息分别对应一个不同的字符。又例如,本申请的一些实施例中,注册声纹信息库中存储的每条注册声纹信息分别对应一个不同的词语,或者对应一个不同的句子,或者对应一段音乐片段(纯旋律音乐或带有歌词的音乐)。再例如,本申请的一些实施例中,注册声纹信息库中存储的注册声纹信息有的对应字符,有的对应词语,有的对应音乐片段,其中,不同注册声纹信息对应的声纹匹配对象各不相同。In some embodiments of the present application, each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different voiceprint matching object, and the voiceprint matching object can be a single character, a single word, a complete sentence or music fragment. For example, in some embodiments of the present application, each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different character. For another example, in some embodiments of the present application, each piece of registered voiceprint information stored in the registered voiceprint information database corresponds to a different word, or corresponds to a different sentence, or corresponds to a piece of music (pure melody music or music with music with lyrics). For another example, in some embodiments of the present application, some of the registered voiceprint information stored in the registered voiceprint information database correspond to characters, some correspond to words, and some correspond to music clips. Among them, the voiceprint information corresponding to different registered voiceprint information Match objects vary.
声纹锁存储的注册声纹信息库中的每条注册声纹信息和与其对应的声纹匹配对象关联存储。注册声纹信息库中存储的声纹匹配对象,用于在声纹认证阶段作为提示用户需要进行声纹认证的声纹匹配对象输出给用户。Each piece of registered voiceprint information in the registered voiceprint information database stored by the voiceprint lock is stored in association with its corresponding voiceprint matching object. The voiceprint matching object stored in the registered voiceprint information database is used to output to the user as a voiceprint matching object that prompts the user to perform voiceprint authentication during the voiceprint authentication stage.
本申请实施例中所述的声纹匹配对象可以存储在字典库中,也可以存储在注册声纹信息库中,也可以为存储在字典库中的声纹匹配对象和存储在注册声纹信息库中的声纹匹配对象组合而成的声纹匹配对象。例如,声纹匹配对象可以为存储在字典库中的词语,还可以为存储在注册声纹信息库中的字符或词语,还可以为存储在注册声纹信息库中的词语和存储在字典库中的词语组合而成的词语或句子。The voiceprint matching object described in the embodiment of the present application can be stored in the dictionary database, or can be stored in the registered voiceprint information database, or can be the voiceprint matching object stored in the dictionary database and the registered voiceprint information The voiceprint matching object formed by combining the voiceprint matching objects in the library. For example, the voiceprint matching object can be a word stored in a dictionary, or a character or a word stored in a registered voiceprint information database, or a word and a word stored in a registered voiceprint information database. Words or sentences formed by combining the words in .
在声纹锁使用过程中,声纹锁首先向用户输出需要进行声纹认证的声纹匹配对象的感知信息,之后,进一步采集用户针对该声纹匹配对象输入的待识别声纹信息。其中,所述声纹匹配对象的感知信息输出方式包括显示文本、朗读语音,和/或,播放音乐片段。本申请的一些实施例中,所述感知信息输出装置250用于输出所述声纹匹配对象的感知信息,所述语音采集装置220用于采集用户针对该声纹匹配对象输入的反馈语音,便于从采集的反馈语音中提取待识别声纹信息。During the use of the voiceprint lock, the voiceprint lock first outputs to the user the perception information of the voiceprint matching object that requires voiceprint authentication, and then further collects the voiceprint information to be recognized input by the user for the voiceprint matching object. Wherein, the perceptual information output method of the voiceprint matching object includes displaying text, reading voice, and/or playing music clips. In some embodiments of the present application, the perceptual information output device 250 is used to output the perceptual information of the voiceprint matching object, and the voice collection device 220 is used to collect the feedback voice input by the user for the voiceprint matching object, so as to facilitate The voiceprint information to be recognized is extracted from the collected feedback voice.
所述主控装置210用于控制所述感知信息输出装置250向用户输出声纹锁中存储的声纹匹配对象的感知信息。The main control device 210 is used to control the perception information output device 250 to output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
本申请的一些实施例中,向用户输出声纹锁中存储的声纹匹配对象的感知信息,包括:向用户展示声纹锁中存储的声纹匹配对象的文本、向用户播放声纹锁中存储的声纹匹配对象的朗读语音,和/或,向用户播放声纹锁中存储的声纹匹配对象的音乐片段。例如,声纹锁从字典库中任意读取一个声纹匹配对象,并向用户显示该声纹匹配对象的文本,同时, 播放该声纹匹配对象的朗读语音,以提示用户通过朗读的方式输入与该声纹匹配对象对应的待识别声纹信息。又例如,声纹锁从注册声纹信息库中任意选择一个声纹匹配对象,并显示该声纹匹配对象的文本,以提示用户通过朗读文本内容的方式输入与该声纹匹配对象对应的待识别声纹信息。In some embodiments of the present application, outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user includes: showing the user the text of the voiceprint matching object stored in the voiceprint lock, playing the text of the voiceprint matching object stored in the voiceprint lock to the user. The reading voice of the stored voiceprint matching object, and/or, playing the music clip of the voiceprint matching object stored in the voiceprint lock to the user. For example, the voiceprint lock reads any voiceprint matching object from the dictionary library, and displays the text of the voiceprint matching object to the user, and at the same time, plays the reading voice of the voiceprint matching object to prompt the user to input The voiceprint information to be identified corresponding to the voiceprint matching object. For another example, the voiceprint lock arbitrarily selects a voiceprint matching object from the registered voiceprint information database, and displays the text of the voiceprint matching object, so as to prompt the user to input the waiting time corresponding to the voiceprint matching object by reading the text content aloud. Identify voiceprint information.
其中,所述声纹匹配对象的朗读语音可以为字典库中预先存储的该声纹匹配对象的朗读语音,也可以为通过声纹锁中内置的文本转语音模块根据所述声纹匹配对象的文本转换得到的朗读语音。本申请实施例中,对声纹匹配对象的朗读语音的获取方式不做限定。Wherein, the reading voice of the voiceprint matching object may be the reading voice of the voiceprint matching object pre-stored in the dictionary database, or it may be the text-to-speech module built in the voiceprint lock according to the voiceprint matching object's reading voice. The reading voice obtained by text conversion. In the embodiment of the present application, there is no limitation on the manner of acquiring the spoken voice of the voiceprint matching object.
步骤120,响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息。Step 120, in response to the voiceprint lock collecting the feedback voice for the perceptual information, determine voiceprint information to be recognized in the feedback voice.
在输出当前待识别的声纹匹配对象的感知信息之后,所述主控装置210还用于响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息。After outputting the perception information of the currently to-be-recognized voiceprint matching object, the main control device 210 is further configured to determine the voice to be recognized in the feedback voice in response to the feedback voice for the perception information collected by the voiceprint lock. pattern information.
例如,在声纹锁展示待识别声纹匹配对象“芝麻”并播放其朗读语音之后,所述主控装置210控制所述语音采集装置220采集用户针对声纹匹配对象“芝麻”的反馈语音。当用户朗读“zhima”时,所述语音采集装置220将采集到“zhima”的音频数据(即反馈语音),并发送给所述主控装置210。之后,所述主控装置210接收到“zhima”的音频数据之后,通过声纹提取算法确定所述反馈语音中的待识别声纹信息。For example, after the voiceprint locker presents the voiceprint matching object "Sesame" to be recognized and plays its reading voice, the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Zesame". When the user reads "zhima" aloud, the voice collection device 220 will collect the audio data of "zhima" (that is, the feedback voice) and send it to the main control device 210 . Afterwards, after the main control device 210 receives the audio data of "zhima", it determines the voiceprint information to be recognized in the feedback voice through a voiceprint extraction algorithm.
本申请的实施例中,所述主控装置210还可以采用现有技术中的其他技术手段确定反馈语音中的待识别声纹信息,本申请对从反馈语音中确定所述反馈语音中的待识别声纹信息的具体实施方式不做限定。In the embodiment of this application, the main control device 210 can also use other technical means in the prior art to determine the voiceprint information to be recognized in the feedback voice. The specific implementation manner of recognizing the voiceprint information is not limited.
步骤130,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。Step 130, perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by the voiceprint matching.
在确定了用户针对当前声纹匹配对象输入的待识别声纹信息之后,所述主控装置210,还用于将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。After determining the voiceprint information to be recognized input by the user for the current voiceprint matching object, the main control device 210 is further configured to combine the voiceprint information to be recognized with the registered voiceprint information stored in the voiceprint lock Perform voiceprint matching on the registered voiceprint information in the library, and determine the matching result obtained from the voiceprint matching.
本申请的一些实施例中,可以采用多种声纹匹配手段对待识别声纹信息与已经注册的声纹信息进行声纹匹配。下面分别举例说明。In some embodiments of the present application, multiple voiceprint matching means can be used to perform voiceprint matching between the voiceprint information to be recognized and the registered voiceprint information. Examples are given below.
第一种方案,对待识别声纹信息进行整体匹配。The first solution is to perform overall matching on the voiceprint information to be recognized.
在对待识别声纹信息进行整体匹配时,根据反馈语音针对的当前声纹匹配对象是否已经注册对应的声纹信息,采用不同策略选择注册声纹信息库中存储的注册声纹信息,用于与所述待识别声纹信息进行匹配。下面对反馈语音针对的当前声纹匹配对象已经注册对应的声纹信息,和未注册对应的声纹信息两种情况下的整体匹配方案分别举例说明。When performing overall matching on the voiceprint information to be recognized, according to whether the current voiceprint matching object for which the feedback voice is targeted has already registered the corresponding voiceprint information, different strategies are used to select the registered voiceprint information stored in the registered voiceprint information database for use with The to-be-recognized voiceprint information is matched. In the following, the overall matching schemes in the two cases where the corresponding voiceprint information has been registered for the current voiceprint matching object of the feedback voice and the corresponding voiceprint information has not been registered are illustrated respectively.
本申请的一些实施例中,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,包括:响应于所述声纹锁中存储的注册声纹信息库中有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述注册声纹信息库中与所述声纹匹配对象对应的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In some embodiments of the present application, performing voiceprint matching on the voiceprint information to be identified and registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining that performing voiceprint matching The obtained matching result includes: in response to the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information performing voiceprint matching on registered voiceprint information corresponding to the voiceprint matching object in the voiceprint information database, and determining a matching result obtained by performing voiceprint matching.
以声纹锁中已经注册了声纹匹配对象“芝麻”的注册声纹信息为例,举例说明一轮整体匹配方案。当声纹锁输出声纹匹配对象“芝麻”文本之后,所述主控装置210控制所述语音采集装置220采集用户针对声纹匹配对象“芝麻”的反馈语音,并提取反馈语音中的声纹信息,作为待识别声纹信息。接下来,所述主控装置210判断声纹匹配对象“芝麻”是否已经注册了声纹信息。本申请的一些实施例中,可以通过将声纹匹配对象“芝麻”与所述声纹锁的注册声纹信息库中存储的注册声纹信息对应的声纹匹配对象进行一一比对,确定声纹匹配对象“芝麻”是否已经注册了声纹信息。若比对成功,则可以认为声纹匹配对象“芝麻”已经注册了声纹信息,否则,可以认为声纹匹配对象“芝麻”未注册声纹信息。本申请的另一些实施例中,在注册阶段,声纹锁可以对已经注册了注册声纹信息的声纹匹配对象进行标 记,相应的,在声纹匹配阶段,可以根据所述标记,确定该声纹匹配对象是否已经注册了声纹信息。Taking the registered voiceprint information of the voiceprint matching object "Sesame" in the voiceprint lock as an example, an example of a round of overall matching scheme is illustrated. After the voiceprint lock outputs the text of the voiceprint matching object "Sesame", the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Sesame", and extract the voiceprint in the feedback voice Information, as the voiceprint information to be recognized. Next, the main control device 210 judges whether the voiceprint matching object "Sesame" has registered voiceprint information. In some embodiments of the present application, it can be determined by comparing the voiceprint matching object "Zesame" with the voiceprint matching object corresponding to the registered voiceprint information stored in the registered voiceprint information database of the voiceprint lock. Whether the voiceprint matching object "Zhima" has registered voiceprint information. If the comparison is successful, it can be considered that the voiceprint matching object "Sesame" has registered voiceprint information, otherwise, it can be considered that the voiceprint matching object "Zesame" has not registered voiceprint information. In other embodiments of the present application, during the registration phase, the voiceprint lock can mark the voiceprint matching object that has registered registered voiceprint information. Correspondingly, during the voiceprint matching phase, the Whether the voiceprint matching object has registered voiceprint information.
在确定声纹匹配对象“芝麻”已经注册了声纹信息之后,进一步获取声纹匹配对象“芝麻”在注册声纹信息库中对应存储的注册声纹信息,并将获取的声纹匹配对象“芝麻”在注册声纹信息库中对应存储的注册声纹信息与当前采集的待识别声纹信息进行声纹匹配,确定声纹匹配结果。After it is determined that the voiceprint matching object "Zesame" has registered voiceprint information, further obtain the registered voiceprint information correspondingly stored in the registered voiceprint information database of the voiceprint matching object "Zesame", and store the acquired voiceprint matching object " Sesame” performs voiceprint matching between the registered voiceprint information stored in the registered voiceprint information database and the currently collected voiceprint information to be recognized, and determines the voiceprint matching result.
本申请的一些实施例中,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,包括:响应于所述声纹锁中存储的注册声纹信息库中没有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中任意一条或多条注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In some embodiments of the present application, performing voiceprint matching on the voiceprint information to be identified and registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining that performing voiceprint matching The obtained matching result includes: in response to the fact that there is no registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the voiceprint information Perform voiceprint matching on any one or more pieces of registered voiceprint information in the registered voiceprint information database stored in the fingerprint lock, and determine the matching result obtained by performing the voiceprint matching.
以声纹锁中未注册的声纹匹配对象“苹果”的注册声纹信息为例,举例说明一轮整体匹配方案。当声纹锁输出声纹匹配对象“苹果”文本之后,所述主控装置210控制所述语音采集装置220采集用户针对声纹匹配对象“苹果”的反馈语音,并提取反馈语音中的声纹信息,作为待识别声纹信息。接下来,所述主控装置210判断声纹匹配对象“苹果”是否已经注册了声纹信息。本申请的一些实施例中,可以通过将声纹匹配对象“苹果”与所述声纹锁的注册声纹信息库中存储的注册声纹信息对应的声纹匹配对象进行一一比对,确定声纹匹配对象“苹果”是否已经注册了声纹信息。若比对成功,则可以认为声纹匹配对象“苹果”已经注册了声纹信息,否则,可以认为声纹匹配对象“苹果”未注册声纹信息。本申请的另一些实施例中,在注册阶段,声纹锁可以对已经注册了注册声纹信息的声纹匹配对象进行标记,相应的,在声纹匹配阶段,可以根据所述标记,确定该声纹匹配对象是否已经注册了声纹信息。Taking the registered voiceprint information of the unregistered voiceprint matching object "Apple" in the voiceprint lock as an example, an example of a round of overall matching scheme is illustrated. After the voiceprint lock outputs the text of the voiceprint matching object "Apple", the main control device 210 controls the voice collection device 220 to collect the user's feedback voice for the voiceprint matching object "Apple", and extract the voiceprint in the feedback voice Information, as the voiceprint information to be recognized. Next, the main control device 210 judges whether the voiceprint matching object "Apple" has registered voiceprint information. In some embodiments of the present application, it may be determined by comparing the voiceprint matching object "apple" with the voiceprint matching object corresponding to the registered voiceprint information stored in the registered voiceprint information database of the voiceprint lock. Whether the voiceprint matching object "Apple" has registered voiceprint information. If the comparison is successful, it can be considered that the voiceprint matching object "Apple" has registered voiceprint information; otherwise, it can be considered that the voiceprint matching object "Apple" has not registered voiceprint information. In other embodiments of the present application, during the registration phase, the voiceprint lock can mark the voiceprint matching object that has registered registered voiceprint information. Correspondingly, during the voiceprint matching phase, the Whether the voiceprint matching object has registered voiceprint information.
在确定声纹匹配对象“苹果”未注册声纹信息之后,进一步获取注册声纹信息库中存储的任意一条注册声纹信息,并将获取的注册声纹信息与当前采集的待识别声纹信息进行声纹匹配,确定声纹匹配结果。After determining the unregistered voiceprint information of the voiceprint matching object "Apple", further obtain any piece of registered voiceprint information stored in the registered voiceprint information database, and combine the acquired registered voiceprint information with the currently collected voiceprint information to be recognized Perform voiceprint matching and determine the voiceprint matching result.
本申请的一些实施例中,可以通过计算注册声纹信息与待识别声纹信息的相似度的方式,确定声纹匹配结果。例如,若注册声纹信息与待识别声纹信息的相似度大于预设相似度阈值,则可以认为注册声纹信息与待识别声纹信息匹配成功,否则,认为注册声纹信息与待识别声纹信息匹配失败。In some embodiments of the present application, the voiceprint matching result may be determined by calculating the similarity between the registered voiceprint information and the voiceprint information to be recognized. For example, if the similarity between the registered voiceprint information and the voiceprint information to be identified is greater than the preset similarity threshold, it can be considered that the registered voiceprint information and the voiceprint information to be identified are successfully matched; otherwise, the registered voiceprint information and the voiceprint information to be identified are considered to be Pattern information matching failed.
本申请的一些实施例中,对于声纹匹配对象是否已经注册声纹信息的不同情况,可以设置不同的相似度阈值,以降低声纹信息对应的文本内容对声纹信息相似度计算的影响。例如,当声纹匹配对象已经注册声纹信息时,待识别声纹信息与该声纹匹配对象对应的注册声纹信息进行相似度比对,则可以设置所述预设相似度阈值为第一阈值;当声纹匹配对象未注册声纹信息时,待识别声纹信息与任意一条注册声纹信息进行相似度比对,则可以设置所述预设相似度阈值为第二阈值,其中,第一阈值大于第二阈值。In some embodiments of the present application, different similarity thresholds can be set for different situations of whether the voiceprint matching object has registered voiceprint information, so as to reduce the influence of the text content corresponding to the voiceprint information on the voiceprint information similarity calculation. For example, when the voiceprint matching object has registered voiceprint information, and the voiceprint information to be recognized is compared with the registered voiceprint information corresponding to the voiceprint matching object, the preset similarity threshold can be set to the first Threshold; when the voiceprint matching object does not have registered voiceprint information, the voiceprint information to be identified is compared with any piece of registered voiceprint information, and the preset similarity threshold can be set to the second threshold, where the first A threshold is greater than the second threshold.
本申请的一些实施例中,注册声纹信息库中的注册声纹信息包括原始注册阶段存储的注册声纹信息,还可以包括声纹认证阶段通过对注册声纹信息库进行更新维护时存储的注册声纹信息。In some embodiments of the present application, the registered voiceprint information in the registered voiceprint information database includes the registered voiceprint information stored in the original registration stage, and may also include the registered voiceprint information stored in the voiceprint authentication stage when the registered voiceprint information database is updated and maintained. Register voiceprint information.
第二种方案,对待识别声纹信息进行分段匹配。The second solution is to perform segmentation matching on the voiceprint information to be recognized.
本申请的一些实施例中,在声纹认证阶段,声纹锁输出的声纹匹配对象还可以为字典库中的未注册声纹信息的多个声纹匹配对象组合而成的声纹匹配对象(例如,对于字典库中没有注册过声纹信息的声纹匹配对象“清”和“路”,可以组合为声纹匹配对象“清路”),或者为字典库中的未注册声纹信息的一个或多个声纹匹配对象与注册声纹信息库中存储的一个或多个声纹匹配对象组合而成的声纹匹配对象(例如,对于字典库中没有注册过声纹信息的声纹匹配对象“清”和注册声纹信息库中存储的声纹匹配对象“芝麻”,可以组合为 声纹匹配对象“清芝麻”),又或者为注册声纹信息库中存储的一个或多个声纹匹配对象组合而成的声纹匹配对象(例如,对于注册声纹信息库中存储的声纹匹配对象“芝麻”和“橘子”,可以组合为声纹匹配对象“芝麻橘子”)。In some embodiments of the present application, in the voiceprint authentication stage, the voiceprint matching object output by the voiceprint lock can also be a voiceprint matching object composed of multiple voiceprint matching objects with unregistered voiceprint information in the dictionary database (For example, for the voiceprint matching objects "Qing" and "Lu" that have not registered voiceprint information in the dictionary database, they can be combined into the voiceprint matching object "Qinglu"), or unregistered voiceprint information in the dictionary database A voiceprint matching object formed by combining one or more voiceprint matching objects in the registered voiceprint information database with one or more voiceprint matching objects stored in the registered voiceprint information database (for example, for a voiceprint that has no registered voiceprint information in the dictionary database The matching object "Qing" and the voiceprint matching object "Sesame" stored in the registered voiceprint information database can be combined into the voiceprint matching object "Qingzhima"), or one or more voiceprint matching objects stored in the registered voiceprint information database. Voiceprint matching objects formed by combining voiceprint matching objects (for example, for the voiceprint matching objects "Sesame" and "Orange" stored in the registered voiceprint information database, they can be combined into the voiceprint matching object "Sesame Orange").
针对于可以组合声纹匹配对象生成复合的声纹匹配对象的场景,本申请的一些实施例中,可以对待识别声纹信息进行分段匹配。组合至少两个声纹匹配对象生成复合的声纹匹配对象,用于声纹认证阶段进行声纹认证,随机组合生成声纹匹配对象,可以提升声纹锁的安全性。进一步的,分别从字典库中选择未注册声纹信息的声纹匹配对象和注册声纹信息库中选择声纹匹配对象组合生成复合的声纹匹配对象,还可以实现静默更新注册声纹信息库,从而进一步提升声纹锁的安全性。For scenarios where voiceprint matching objects can be combined to generate a composite voiceprint matching object, in some embodiments of the present application, segmentation matching can be performed on the voiceprint information to be recognized. Combine at least two voiceprint matching objects to generate a composite voiceprint matching object, which is used for voiceprint authentication in the voiceprint authentication stage, and randomly combine to generate voiceprint matching objects, which can improve the security of the voiceprint lock. Further, select the voiceprint matching object of unregistered voiceprint information from the dictionary library and the voiceprint matching object selected from the registered voiceprint information database to generate a composite voiceprint matching object, and can also realize the silent update of the registered voiceprint information database , thereby further enhancing the security of the voiceprint lock.
下面以分别从字典库中选择未注册声纹信息的声纹匹配对象和注册声纹信息库中选择已注册的声纹匹配对象组合生成复合的声纹匹配对象,进行声纹认证为例,说明对待识别声纹信息进行分段识别的具体技术方案。本申请的实施例中,为了使描述更清楚,将注册声纹信息库中已注册声纹信息的声纹匹配对象称为“第一声纹匹配对象”,将字典库中未注册声纹信息的声纹匹配对象称为“第二声纹匹配对象”。其中,例如,所述第一声纹匹配对象和所述第二声纹匹配对象为基本声纹匹配单元,例如,所述第一声纹匹配对象和所述第二声纹匹配对象为单个字符或单个词语。The following is an example of voiceprint authentication by selecting a voiceprint matching object with unregistered voiceprint information from the dictionary database and a registered voiceprint matching object from the registered voiceprint information database to generate a composite voiceprint matching object. A specific technical solution for segmented recognition of voiceprint information to be recognized. In the embodiments of this application, in order to make the description clearer, the voiceprint matching object of the registered voiceprint information in the registered voiceprint information database is called "the first voiceprint matching object", and the unregistered voiceprint information in the dictionary database is referred to as "first voiceprint matching object". The voiceprint matching object is called the "second voiceprint matching object". Wherein, for example, the first voiceprint matching object and the second voiceprint matching object are basic voiceprint matching units, for example, the first voiceprint matching object and the second voiceprint matching object are a single character or single words.
本申请的一些实施例中,所述声纹匹配对象根据所述注册声纹信息库中存储的已注册声纹信息的第一声纹匹配对象,以及,所述声纹锁中存储的字典库内的第二声纹匹配对象组合生成,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,包括:确定所述待识别声纹信息中分别与各所述第一声纹匹配对象和各所述第二声纹匹配对象对应的待识别声纹信息片段;将各所述第一声纹匹配对象对应的待识别声纹信息片段与相应的注册声纹信息进行声纹匹配,以及,将各所述第二声纹匹配对象对应的待识别声纹信息片段与所述注册声纹信息库中选定的注册声纹信息进行声纹匹配,确定所述待识别声纹信息与所述声纹匹配对象(即第一声纹匹配对象、第二声纹匹配对象)的声纹匹配结果。本申请的一些实施例中,所述选定的注册声纹信息包括:随机选择的一条注册声纹信息、与所述第二声纹匹配对象字符距离最近的所述第一声纹匹配对象对应的注册声纹信息。In some embodiments of the present application, the voiceprint matching object is based on the first voiceprint matching object of the registered voiceprint information stored in the registered voiceprint information database, and the dictionary library stored in the voiceprint lock The second voiceprint matching object in the combination is generated, and the voiceprint matching is performed on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the determined The matching result obtained by voiceprint matching includes: determining the pieces of voiceprint information to be recognized corresponding to each of the first voiceprint matching objects and each of the second voiceprint matching objects in the voiceprint information to be recognized; performing voiceprint matching on the voiceprint information segments to be identified corresponding to each of the first voiceprint matching objects and the corresponding registered voiceprint information; and matching the voiceprint information segments to be identified corresponding to each of the second voiceprint matching objects Perform voiceprint matching on the registered voiceprint information selected in the registered voiceprint information database, and determine the voiceprint information to be identified and the voiceprint matching object (i.e. the first voiceprint matching object, the second voiceprint matching object) ) voiceprint matching results. In some embodiments of the present application, the selected registered voiceprint information includes: a randomly selected piece of registered voiceprint information corresponding to the first voiceprint matching object whose character distance is closest to the second voiceprint matching object registered voiceprint information.
本申请的一些实施例中,在生成输出给用户的复合声纹匹配对象时,主控装置210可以同时记录组成该复合声纹匹配对象的第一声纹匹配对象和第二声纹匹配对象。之后,在提取待识别声纹信息时,可以同时对用于提取待识别声纹信息的反馈语音进行语音识别,得到字符序列,并进一步根据字符序列与第一声纹匹配对象和第二声纹匹配对象的字符匹配结果,对待识别声纹信息进行切分,确定该复合声纹匹配对象中包括的各第一声纹匹配对象和各第二声纹匹配对象各自对应的待识别声纹信息片段。以声纹匹配对象由字典库中没有注册过声纹信息的第二声纹匹配对象“清”和注册声纹信息库中存储的第一声纹匹配对象“芝麻”组合而成为例,待识别声纹信息将切分为与第二声纹匹配对象“清”对应的一个待识别声纹信息片段(下文中记为F1),以及,与第一声纹匹配对象“芝麻”对应的一个待识别声纹信息片段(下文中记为F2)。In some embodiments of the present application, when generating a composite voiceprint matching object to be output to the user, the main control device 210 may simultaneously record the first voiceprint matching object and the second voiceprint matching object that make up the composite voiceprint matching object. Afterwards, when extracting the voiceprint information to be recognized, speech recognition can be performed on the feedback voice used to extract the voiceprint information to be recognized at the same time, to obtain a character sequence, and further match the object and the second voiceprint with the first voiceprint according to the character sequence The character matching result of the matching object is divided into the voiceprint information to be recognized, and the voiceprint information segments to be recognized corresponding to each first voiceprint matching object and each second voiceprint matching object included in the composite voiceprint matching object are determined . As an example, the voiceprint matching object is composed of the second voiceprint matching object "Qing" that has no voiceprint information registered in the dictionary database and the first voiceprint matching object "Zesame" stored in the registered voiceprint information database. The voiceprint information will be divided into a piece of voiceprint information to be recognized corresponding to the second voiceprint matching object "Qing" (hereinafter denoted as F1), and a piece of waiting-to-be-recognized voiceprint information corresponding to the first voiceprint matching object "Sesame". Identify the piece of voiceprint information (hereinafter denoted as F2).
接下来,分别确定与切分得到的每个待识别声纹信息片段进行声纹匹配的注册声纹信息。Next, determine the registered voiceprint information for voiceprint matching with each piece of voiceprint information to be recognized after segmentation.
本申请的一些实施例中,对于每个与第一声纹匹配对象(如前述“芝麻”)对应的待识别声纹信息片段(如前述待识别声纹信息片段F2),将该待识别声纹信息片段(如F2)与对应第一声纹匹配对象(如“芝麻”)在注册声纹信息库中对应存储的注册声纹信息进行声纹匹配,确定该待识别声纹信息片段对应的声纹匹配结果。In some embodiments of the present application, for each piece of voiceprint information to be recognized (such as the piece of voiceprint information to be recognized F2) corresponding to the first voiceprint matching object (such as the aforementioned "Sesame"), the voiceprint to be recognized is The voiceprint information segment (such as F2) is matched with the registered voiceprint information correspondingly stored in the registered voiceprint information database corresponding to the first voiceprint matching object (such as "Sesame"), and the voiceprint information segment corresponding to the voiceprint information segment to be identified is determined. Voiceprint matching result.
本申请的一些实施例中,对于每个与第二声纹匹配对象(如前述“清”)对应的待识别声纹信息片段(如前述待识别声纹信息片段F1),可以将该待识别声纹信息片段(如F1) 与注册声纹信息库中存储的任意一条注册声纹信息进行声纹匹配,确定该待识别声纹信息片段对应的声纹匹配结果。例如,可以将该待识别声纹信息片段(如F1)与第一声纹匹配对象(如“芝麻”)在注册声纹信息库中对应存储的注册声纹信息进行声纹匹配,确定该待识别声纹信息片段对应的声纹匹配结果。In some embodiments of the present application, for each voiceprint information segment to be recognized (such as the voiceprint information segment F1 to be recognized) corresponding to the second voiceprint matching object (such as the aforementioned "Qing"), the to-be-identified voiceprint information segment can be The voiceprint information segment (such as F1) performs voiceprint matching with any piece of registered voiceprint information stored in the registered voiceprint information database, and determines the voiceprint matching result corresponding to the voiceprint information segment to be recognized. For example, voiceprint matching can be performed on the piece of voiceprint information to be recognized (such as F1) and the registered voiceprint information correspondingly stored in the registered voiceprint information database of the first voiceprint matching object (such as "Sesame"), and determine the voiceprint information to be identified. Identify the voiceprint matching result corresponding to the voiceprint information segment.
由于用户在输入一段完整的语音时,语音中的字符读音具有连续性,因此,对于与第二声纹匹配对象对应的待识别声纹信息片段,采用与第二声纹匹配对象字符距离最近的第一声纹匹配对象对应的注册声纹信息进行声纹匹配,可以提升声纹认证匹配准确度。Since the pronunciation of the characters in the voice is continuous when the user inputs a complete voice, therefore, for the piece of voiceprint information to be recognized corresponding to the second voiceprint matching object, the character with the closest distance to the second voiceprint matching object is used. The registration voiceprint information corresponding to the first voiceprint matching object performs voiceprint matching, which can improve the matching accuracy of voiceprint authentication.
本申请的一些实施例中,还可以对组成复合声纹匹配对象的第一声纹匹配对象的信息和第二声纹匹配对象的信息分别输出,使得用户可以分别输入针对第一声纹匹配对象的信息的反馈语音,以及针对第二声纹匹配对象的反馈语音,这样,主控装置210可以直接获取第一声纹匹配对象对应的待识别声纹信息片段,以及,第二声纹匹配对象对应的待识别声纹信息片段。In some embodiments of the present application, the information of the first voiceprint matching object and the information of the second voiceprint matching object that make up the compound voiceprint matching object can also be output separately, so that the user can input the information for the first voiceprint matching object respectively. The feedback voice of the information, and the feedback voice for the second voiceprint matching object, so that the main control device 210 can directly obtain the voiceprint information segment corresponding to the first voiceprint matching object, and the second voiceprint matching object The corresponding piece of voiceprint information to be recognized.
当以从字典库中选择未注册声纹信息的声纹匹配对象组合生成复杂的声纹匹配对象,进行声纹认证,或者,以注册声纹信息库中选择声纹匹配对象组合生成复杂的声纹匹配对象,进行声纹认证时,所述待识别声纹信息中仅切分出与各第一声纹匹配对象对应的待识别声纹信息片段,或者,仅切分出与各第二声纹匹配对象对应的待识别声纹信息片段。对每个待识别声纹信息片段进行声纹匹配的具体实施方式参见前文描述,此处不再赘述。When a complex voiceprint matching object is generated by selecting a combination of voiceprint matching objects with unregistered voiceprint information from the dictionary library for voiceprint authentication, or a complex voiceprint matching object is generated by selecting a combination of voiceprint matching objects from the registered voiceprint information database When performing voiceprint authentication, only segments of the voiceprint information to be identified corresponding to each first voiceprint matching object are segmented out of the voiceprint information to be identified, or only pieces of voiceprint information corresponding to each second voiceprint information are segmented out. The piece of voiceprint information to be recognized corresponding to the fingerprint matching object. For the specific implementation manner of performing voiceprint matching on each piece of voiceprint information to be recognized, refer to the foregoing description, which will not be repeated here.
本申请的一些实施例中,第一声纹匹配对象对应的注册声纹信息与相应待识别声纹信息片段分别进行声纹匹配后确定的匹配度大于第一匹配度阈值,则认为第一声纹匹配对象对应的待识别声纹信息片段声纹匹配成功;第二声纹匹配对象对应的注册声纹信息与相应待识别声纹信息片段分别进行声纹匹配后确定的匹配度大于第二匹配度阈值,则认为第二声纹匹配对象对应的待识别声纹信息片段声纹匹配成功,其中,第一匹配度阈值大于第二匹配度阈值。In some embodiments of the present application, if the registered voiceprint information corresponding to the first voiceprint matching object is matched with the corresponding piece of voiceprint information to be identified and the matching degree determined after voiceprint matching is greater than the first matching degree threshold, the first voiceprint is considered to be The voiceprint matching of the segment of voiceprint information to be identified corresponding to the matching object is successful; the matching degree determined after voiceprint matching between the registration voiceprint information corresponding to the second voiceprint matching object and the corresponding segment of voiceprint information to be identified is greater than that of the second matching degree threshold, it is considered that the voiceprint of the to-be-recognized voiceprint information segment corresponding to the second voiceprint matching object is successfully matched, wherein the first matching degree threshold is greater than the second matching degree threshold.
本申请的一些实施例中,只有组合生成复合声纹匹配对象的每个第一声纹匹配对象和第二声纹匹配对象对应的待识别声纹信息片段均匹配成功,才认为待识别声纹信息匹配成功。如果组合生成复合声纹匹配对象的某个第一声纹匹配对象或某个第二声纹匹配对象对应的待识别声纹信息片段匹配失败,则认为整个待识别声纹信息匹配不成功。In some embodiments of the present application, the voiceprint to be recognized is considered to be recognized only when the pieces of voiceprint information to be recognized corresponding to each of the first voiceprint matching object and the second voiceprint matching object that are combined to generate a composite voiceprint matching object are successfully matched. Information matching is successful. If the segment of voiceprint information to be recognized corresponding to a certain first voiceprint matching object or a certain second voiceprint matching object combined to generate a composite voiceprint matching object fails to match, it is considered that the matching of the entire voiceprint information to be recognized is unsuccessful.
本申请的另一些实施例中,还可以在组合生成复合声纹匹配对象的每个第一声纹匹配对象对应的待识别声纹信息片段均匹配成功时,即认为待识别声纹信息匹配成功。In some other embodiments of the present application, when the pieces of voiceprint information to be identified corresponding to each first voiceprint matching object that are combined to generate a composite voiceprint matching object are successfully matched, it is considered that the voiceprint information to be identified is matched successfully .
步骤140,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,以及,执行所述声纹锁的开锁控制操作。 Step 140, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, perform the processing of the registered voiceprint information based on the voiceprint information to be recognized. An update operation of the library, and an unlock control operation of the voiceprint lock.
经过前述步骤对用户的待识别声纹信息进行声纹匹配之后,如果匹配成功,所述主控装置210将控制锁具执行机构240开启门锁,如果匹配失败则不开启门锁。After performing voiceprint matching on the user's voiceprint information to be recognized through the aforementioned steps, if the matching is successful, the main control device 210 will control the lock actuator 240 to open the door lock, and if the matching fails, the door lock will not be opened.
同时,如果待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,所述主控装置210还将执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作。At the same time, if the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, the main control device 210 will also execute the registration of the registered voiceprint information database based on the voiceprint information to be recognized. update operation.
本申请的一些实施例中,所述响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,包括:响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将所述待识别声纹信息作为与所述声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。例如,在待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功之后,主控装置210首先判断输出给用户的所述声纹匹配对象是否存在对应的注册声纹信息,如果所述声纹匹配对象在注册声纹信息库中没有存储对应的注册声纹信息,则通过当前待识别声纹信息更新所述注册声纹信息库;如果所述声纹匹配对象在注册声纹信息 库中存储有对应的注册声纹信息,则不通过当前待识别声纹信息更新所述注册声纹信息库,即无需对所述注册声纹信息库进行操作。In some embodiments of the present application, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing a process based on the voiceprint information to be recognized The update operation of the registered voiceprint information database includes: responding to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, updating the voiceprint information to be recognized The voiceprint information is stored in the registered voiceprint information database as the registered voiceprint information corresponding to the voiceprint matching object, or the registered voiceprint information in the registered voiceprint information database is updated and maintained. For example, after the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, the main control device 210 first determines whether there is corresponding registered voiceprint information in the voiceprint matching object output to the user. , if the voiceprint matching object does not store corresponding registered voiceprint information in the registered voiceprint information database, then update the registered voiceprint information database with the current voiceprint information to be identified; if the voiceprint matching object is registered If the corresponding registered voiceprint information is stored in the voiceprint information database, the registered voiceprint information database is not updated with the current voiceprint information to be recognized, that is, there is no need to operate the registered voiceprint information database.
本申请的一些实施例中,在通过当前待识别声纹信息更新所述注册声纹信息库时,如果所述声纹锁中存储的注册声纹信息库中已存储注册声纹信息数量大于或等于预设数量阈值,则通过当前待识别声纹信息更新维护所述注册声纹信息库。例如,按照预设规则删除一组声纹匹配对象与注册声纹信息的对应关系数据,之后,将当前与该声纹匹配对象匹配成功的待识别声纹信息作为该声纹匹配对象对应的注册声纹信息,与该声纹匹配对象对应存储至所述注册声纹信息库中。In some embodiments of the present application, when updating the registered voiceprint information database with the current voiceprint information to be identified, if the number of registered voiceprint information stored in the registered voiceprint information database stored in the voiceprint lock is greater than or is equal to the preset number threshold, the registered voiceprint information database is updated and maintained through the current voiceprint information to be recognized. For example, delete a set of correspondence data between voiceprint matching objects and registered voiceprint information according to preset rules, and then use the voiceprint information to be recognized that is currently successfully matched with the voiceprint matching object as the registered voiceprint information corresponding to the voiceprint matching object. The voiceprint information is stored in the registered voiceprint information database corresponding to the voiceprint matching object.
本申请的另一些实施例中,在通过当前待识别声纹信息更新所述注册声纹信息库时,如果所述声纹锁中存储的注册声纹信息库中已存储注册声纹信息数量小于预设数量阈值,则直接将当前与该声纹匹配对象匹配成功的待识别声纹信息作为该声纹匹配对象对应的注册声纹信息,与该声纹匹配对象对应存储至所述注册声纹信息库中。In other embodiments of the present application, when updating the registered voiceprint information database with the current voiceprint information to be identified, if the number of registered voiceprint information stored in the registered voiceprint information database stored in the voiceprint lock is less than If the number threshold is preset, the voiceprint information to be recognized that is currently successfully matched with the voiceprint matching object is directly used as the registered voiceprint information corresponding to the voiceprint matching object, and stored in the registration voiceprint corresponding to the voiceprint matching object in the information base.
其中,所述预设数量阈值根据所述声纹锁中注册声纹信息库的存储容量确定。Wherein, the preset number threshold is determined according to the storage capacity of the registered voiceprint information database in the voiceprint lock.
本申请的一些实施例中,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,包括:响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将各所述第二声纹匹配对象对应的待匹配声纹信息片段作为与各所述第二声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In some embodiments of the present application, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing a process based on the voiceprint information to be recognized The update operation of the registered voiceprint information database includes: responding to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, updating each of the second voiceprint information The piece of voiceprint information to be matched corresponding to the fingerprint matching object is stored in the registered voiceprint information database as the registered voiceprint information corresponding to each of the second voiceprint matching objects or for the registered voiceprint information database. Register voiceprint information for update and maintenance.
例如,当声纹匹配对象是包括第一声纹匹配对象和/或第二声纹匹配对象的复合声纹匹配对象时,仅基于第二声纹匹配对象对应的待识别声纹信息片段,更新注册声纹信息库。仍以前述复合声纹匹配对象“清芝麻”为例,当第一声纹匹配对象“芝麻”对应的待识别声纹信息片段F2和第二声纹匹配对象“清”对应的待识别声纹信息片段F1均匹配成功之后,或者,当第一声纹匹配对象“芝麻”对应的待识别声纹信息片段F2匹配成功之后,确定针对声纹匹配对象“清芝麻”的待识别声纹信息匹配成功,此时,主控装置210将第二声纹匹配对象“清”对应的待识别声纹信息片段F1,作为第二声纹匹配对象“清”的注册声纹信息,并将第二声纹匹配对象“清”和待识别声纹信息片段F1直接对应存储在所述声纹锁中的注册声纹信息库中,或者,按照预设规则删除一组声纹匹配对象与注册声纹信息的对应关系数据,之后,将待识别声纹信息片段F1作为第二声纹匹配对象对应的注册声纹信息,与第二声纹匹配对象对应存储至所述注册声纹信息库中。For example, when the voiceprint matching object is a composite voiceprint matching object including the first voiceprint matching object and/or the second voiceprint matching object, update Register voiceprint database. Still taking the aforementioned compound voiceprint matching object "Qing Zhima" as an example, when the voiceprint information segment F2 to be recognized corresponding to the first voiceprint matching object "Zhima" and the voiceprint to be recognized corresponding to the second voiceprint matching object "Qing" After the information fragments F1 are all successfully matched, or when the voiceprint information fragment F2 corresponding to the first voiceprint matching object "Sesame" is successfully matched, it is determined that the voiceprint information matching for the voiceprint matching object "Qing Zhima" is matched. If it succeeds, at this time, the main control device 210 uses the voiceprint information segment F1 corresponding to the second voiceprint matching object "Qing" to be recognized as the registered voiceprint information of the second voiceprint matching object "Qing", and sends the second voiceprint matching object "Qing" The pattern matching object "Qing" and the voiceprint information fragment F1 to be identified are directly stored in the registered voiceprint information database in the voiceprint lock, or a group of voiceprint matching objects and registered voiceprint information are deleted according to preset rules After that, the to-be-recognized voiceprint information segment F1 is used as the registered voiceprint information corresponding to the second voiceprint matching object, and stored corresponding to the second voiceprint matching object in the registered voiceprint information database.
本申请的一些实施例中,为了进一步提升声纹认证的安全性,可以在注册阶段,将声纹匹配对象拆分为独立的声纹匹配单元,便于在声纹认证阶段灵活组合生成多种复合的声纹匹配对象。其中,所述注册阶段,进一步包括:向用户输出声纹锁的字典库中存储的待注册声纹匹配对象的感知信息;采集用户针对所述待注册声纹匹配对象的感知信息的注册语音,并确定所述注册语音对应的注册声纹信息;对所述待注册声纹匹配对象进行拆分处理,确定组成所述待注册声纹匹配对象的各独立的声纹匹配对象;分别确定所述注册声纹信息中与每个所述独立的声纹匹配对象对应的注册声纹信息片段,之后,将各所述注册声纹信息片段作为相应独立的声纹匹配对象的注册声纹信息存储至所述声纹锁的注册声纹信息库中。In some embodiments of the present application, in order to further improve the security of voiceprint authentication, the voiceprint matching object can be split into independent voiceprint matching units in the registration stage, so as to facilitate the flexible combination and generation of multiple composites in the voiceprint authentication stage. The voiceprint matching object. Wherein, the registration stage further includes: outputting to the user the perception information of the voiceprint matching object to be registered stored in the dictionary database of the voiceprint lock; collecting the registration voice of the user for the perception information of the voiceprint matching object to be registered, And determine the registration voiceprint information corresponding to the registered voice; split the voiceprint matching object to be registered, and determine the independent voiceprint matching objects that form the voiceprint matching object to be registered; determine the voiceprint matching objects respectively Registering the registered voiceprint information segments corresponding to each of the independent voiceprint matching objects in the registered voiceprint information, and then storing each of the registered voiceprint information segments as the registered voiceprint information of the corresponding independent voiceprint matching objects in In the registered voiceprint information database of the voiceprint lock.
下面以原始注册的声纹匹配对象“芝麻”对应的注册声纹信息为例,阐述声纹注册过程。The following takes the registered voiceprint information corresponding to the originally registered voiceprint matching object "Zhima" as an example to illustrate the voiceprint registration process.
首先,主控装置210随机从字典库中选择声纹匹配对象“芝麻”作为待注册声纹匹配对象,并通过感知信息输出装置250显示待注册声纹匹配对象“芝麻”的文本内容,和/或,播放所述待注册声纹匹配对象“芝麻”的朗读语音,以输出所述待注册声纹匹配对象“芝麻”的感知信息;之后,提示用户针对该待注册声纹匹配对象“芝麻”注册声纹信息;然后,主控装置210控制所述语音采集装置220采集用户针对所述感知信息的反馈语音作为注册语 音。在采集到用户针对声纹锁呈现的“芝麻”的注册语音之后,提取所述注册语音中的声纹特征,作为注册语音对应的注册声纹信息,即作为声纹匹配对象“芝麻”的注册声纹信息。First, the main control device 210 randomly selects the voiceprint matching object "Sesame" from the dictionary database as the voiceprint matching object to be registered, and displays the text content of the voiceprint matching object "Sesame" to be registered through the sensory information output device 250, and/ Or, play the reading voice of the voiceprint matching object "Zesame" to be registered, so as to output the perceptual information of the voiceprint matching object "Zesame" to be registered; after that, prompt the user for the voiceprint matching object "Zesame" to be registered Register the voiceprint information; then, the main control device 210 controls the voice collection device 220 to collect the user's feedback voice on the perceptual information as the registration voice. After collecting the registration voice of "Zesame" presented by the user for the voiceprint lock, extract the voiceprint features in the registration voice as the registration voiceprint information corresponding to the registration voice, that is, as the registration of the voiceprint matching object "Zesame". Voiceprint information.
本申请的实施例中,区分于声纹认证阶段的静默声纹注册过程,此处所述的声纹注册过程不需要将采集的声纹特征与注册声纹信息库中存储的注册声纹信息进行比对,因此,将不需要将采集的声纹特征与注册声纹信息库中存储的注册声纹信息进行比对的声纹注册过程称为原始注册过程。In the embodiment of this application, different from the silent voiceprint registration process in the voiceprint authentication stage, the voiceprint registration process described here does not need to combine the collected voiceprint features with the registered voiceprint information stored in the registered voiceprint information database. Therefore, the voiceprint registration process that does not need to compare the collected voiceprint features with the registered voiceprint information stored in the registered voiceprint information database is called the original registration process.
进一步的,主控装置210对所述待注册声纹匹配对象“芝麻”按照预设规则(如按照单字符拆分)进行拆分处理,确定组成所述待注册声纹匹配对象“芝麻”的两个独立的声纹匹配对象“芝”和“麻”,之后,进一步对注册语音对应的注册声纹信息进行拆分,确定所述注册声纹信息中与拆分得到的独立的声纹匹配对象“芝”和“麻”分别对应的注册声纹信息片段;然后,主控装置210将拆分得到的独立的声纹匹配对象“芝”和对应的注册声纹信息片段对应存储至注册声纹信息库中,将拆分得到的独立的声纹匹配对象“麻”和对应的注册声纹信息片段对应存储至注册声纹信息库中,共生成两条注册声纹数据。Further, the main control device 210 splits the voiceprint matching object "Sesame" to be registered according to preset rules (such as splitting by single character), and determines the components that make up the voiceprint matching object "Sesame" to be registered. Two independent voiceprint matching objects "zhi" and "ma", after that, further split the registered voiceprint information corresponding to the registered voice, and determine that the registered voiceprint information matches the independent voiceprint obtained by splitting The registered voiceprint information segments corresponding to the objects "Zhi" and "Ma" respectively; then, the main control device 210 stores the split independent voiceprint matching object "Zhi" and the corresponding registered voiceprint information segments in the registered voiceprint In the information database of the registered voiceprint, the independent voiceprint matching object "Ma" and the corresponding registered voiceprint information fragment obtained by splitting are correspondingly stored in the registered voiceprint information database, and a total of two pieces of registered voiceprint data are generated.
本申请的一些实施例中,所述独立的声纹匹配对象可以仅包括:单个字符,也可以既包括单个字符又包括词语。例如,当对字典库中的声纹匹配对象“我回来了”进行声纹注册时,可以将用户注册语音中提取的注册声纹信息拆分为“我”、“回来”、“了”三个独立的声纹匹配对象各自对应的注册声纹信息片段,存储为注册声纹信息库中的三个独立的声纹匹配对象的注册声纹信息。In some embodiments of the present application, the independent voiceprint matching object may only include a single character, or may include both a single character and a word. For example, when performing voiceprint registration on the voiceprint matching object "I'm back" in the dictionary database, the registered voiceprint information extracted from the user's registered voice can be split into three parts: "I", "Come back" and "Are". The registered voiceprint information segments corresponding to each of the independent voiceprint matching objects are stored as registered voiceprint information of three independent voiceprint matching objects in the registered voiceprint information database.
本申请实施例公开的声纹锁控制方法,通过向用户输出声纹锁中存储的声纹匹配对象的感知信息;响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,以及,执行所述声纹锁的开锁控制操作,有效提升了声纹锁的安全性。The voiceprint lock control method disclosed in the embodiment of the present application outputs the perception information of the voiceprint matching object stored in the voiceprint lock to the user; in response to the feedback voice for the perception information collected by the voiceprint lock, the feedback is determined. The voiceprint information to be recognized in the voice; the voiceprint information to be recognized is matched with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the voiceprint matching is determined to obtain The matching result; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the registration of the registered voiceprint based on the voiceprint information to be recognized The updating operation of the information base and the execution of the unlocking control operation of the voiceprint lock effectively improve the security of the voiceprint lock.
本申请实施例公开的声纹锁控制方法,通过在声纹匹配成功后,基于当前匹配成功的待识别声纹信息更新声纹锁中的注册声纹信息库,丰富了注册声纹信息库中的注册声纹信息,以及,实现了动态更新注册声纹信息库中的注册声纹信息,有效提升了声纹锁的安全性。进一步的,通过仅基于与未注册过声纹信息的声纹匹配对象的待识别声纹信息,对声纹锁中的注册声纹信息库进行更新,可以保证注册声纹信息库中的注册声纹信息的多样性,从而进一步提升声纹锁的安全性。The voiceprint lock control method disclosed in the embodiment of the present application enriches the registered voiceprint information database in the voiceprint lock by updating the registered voiceprint information base in the voiceprint lock based on the currently matched voiceprint information to be identified after the voiceprint is successfully matched. The registered voiceprint information, and the dynamic update of the registered voiceprint information in the registered voiceprint information database is realized, which effectively improves the security of the voiceprint lock. Further, by updating the registered voiceprint information database in the voiceprint lock only based on the voiceprint information to be recognized of the voiceprint matching object that has not registered voiceprint information, it can ensure that the registered voiceprint information in the registered voiceprint information database The diversity of fingerprint information further enhances the security of voiceprint locks.
参见图5,本申请另一实施例公开的一种声纹锁控制方法,应用于如图2和图3所示的声纹锁,所述方法还包括语音识别步骤。如图5所示,所述方法包括:步骤510至步骤580。Referring to FIG. 5 , a voiceprint lock control method disclosed in another embodiment of the present application is applied to the voiceprint lock shown in FIG. 2 and FIG. 3 , and the method further includes a voice recognition step. As shown in FIG. 5 , the method includes: Step 510 to Step 580 .
步骤510,向用户输出声纹锁中存储的声纹匹配对象的感知信息。 Step 510, output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
向用户输出声纹锁中存储的声纹匹配对象的感知信息的具体实施方式参见上述实施例,本实施例中不再赘述。For a specific implementation manner of outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user, refer to the above-mentioned embodiments, and details will not be repeated in this embodiment.
步骤520,响应于声纹锁采集到针对所述感知信息的反馈语音,对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果。Step 520: Responsive to the feedback voice for the perception information collected by the voiceprint lock, perform voice recognition on the feedback voice, and determine a voice recognition result corresponding to the feedback voice.
所述声纹锁的主控装置210在接收到所述语音采集装置220采集的针对所述感知信息的反馈语音之后,首先对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果,即确定用户朗读的文本内容。After the main control device 210 of the voiceprint lock receives the feedback voice for the perceptual information collected by the voice collection device 220, it first performs voice recognition on the feedback voice, and determines the voice recognition corresponding to the feedback voice. As a result, the content of the text spoken by the user is determined.
对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果的具体实施方式,参照现有技术中的语音识别方法,本申请对反馈语音的语音识别方法不做限定。For a specific implementation manner of performing speech recognition on the feedback speech and determining a speech recognition result corresponding to the feedback speech, refer to speech recognition methods in the prior art, and this application does not limit the speech recognition method of the feedback speech.
步骤530,将所述反馈语音对应的语音识别结果与所述声纹锁中存储的注册声纹信息 库中所述声纹匹配对象的注册声纹信息对应的语音识别结果进行文本匹配。 Step 530, perform text matching on the speech recognition result corresponding to the feedback speech and the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock.
本申请的一些实施例中,在如上述实施例中所述的用户注册声纹信息的阶段,声纹锁还可以同时对注册语音进行语音识别,并将注册语音的语音识别结果、注册语音对应的注册声纹信息,以及,注册语音针对的声纹匹配对象三种数据对应存储在注册声纹信息库中。In some embodiments of the present application, at the stage of the user registering voiceprint information as described in the above-mentioned embodiments, the voiceprint lock can also perform voice recognition on the registered voice at the same time, and correspond to the voice recognition result of the registered voice and the registered voice The registered voiceprint information and the voiceprint matching object for the registered voice are correspondingly stored in the registered voiceprint information database.
例如,在声纹注册阶段,主控装置210随机从字典库中选择声纹匹配对象“芝麻”作为待注册声纹匹配对象,并通过感知信息输出装置250显示待注册声纹匹配对象“芝麻”的文本内容,和/或,播放所述待注册声纹匹配对象的朗读语音,以输出所述待注册声纹匹配对象的感知信息;之后,提示用户针对该待注册声纹匹配对象“芝麻”注册声纹信息;然后,主控装置210控制所述语音采集装置220采集用户针对所述感知信息的反馈语音作为注册语音。在采集到用户针对声纹锁显示的“芝麻”的注册语音之后,提取所述注册语音中的声纹特征,作为注册语音对应的注册声纹信息,即作为声纹匹配对象“芝麻”的注册声纹信息,同时,主控装置210对所述注册语音进行语音识别,确定注册语音对应的语音识别结果—文本“芝麻”,并将当前注册的声纹匹配对象(即词语“芝麻”)、注册语音对应的语音识别结果(即文本“芝麻”),以及注册语音对应的注册声纹信息关联地存储在注册声纹信息库中。For example, in the voiceprint registration stage, the main control device 210 randomly selects the voiceprint matching object "Sesame" from the dictionary database as the voiceprint matching object to be registered, and displays the voiceprint matching object "Sesame" to be registered through the sensory information output device 250 The text content of the voiceprint matching object to be registered, and/or, playing the reading voice of the voiceprint matching object to be registered, so as to output the perceptual information of the voiceprint matching object to be registered; Register the voiceprint information; then, the main control device 210 controls the voice collection device 220 to collect the user's feedback voice on the perceptual information as the registration voice. After collecting the registration voice of "Zesame" displayed by the user for the voiceprint lock, extract the voiceprint features in the registration voice as the registration voiceprint information corresponding to the registration voice, that is, as the registration of the voiceprint matching object "Zesame" At the same time, the main control device 210 performs voice recognition on the registered voice, determines the voice recognition result corresponding to the registered voice—the text "Sesame", and matches the currently registered voiceprint with the object (i.e. the word "Sesame"), The speech recognition result corresponding to the registered voice (that is, the text "sesame") and the registered voiceprint information corresponding to the registered voice are associated and stored in the registered voiceprint information database.
本申请的一些实施例中,所述声纹匹配对象的注册声纹信息对应的语音识别结果为用户针对所述声纹匹配对象的自定义注册文本。例如,在声纹注册阶段,当声纹锁输出待注册声纹信息的声纹匹配对象的感知信息时,用户可以自定义对应该声纹匹配对象的语音识别结果,以提升声纹锁的安全性。例如,当感知信息输出装置250显示待注册声纹匹配对象“芝麻”的文本内容,和/或,播放所述待注册声纹匹配对象的朗读语音,以输出所述待注册声纹匹配对象的感知信息;之后,提示用户针对该待注册声纹匹配对象“芝麻”注册声纹信息,用户可以朗读“kaimen”,即文本“开门”的读音,作为注册语音。这样,声纹锁中将存储声纹匹配对象(即词语“芝麻”)、注册语音对应的语音识别结果(即文本“开门”),以及注册语音对应的注册声纹信息(即用户朗读“kaimen”的语音中提取的声纹特征)关联地存储在注册声纹信息库中。In some embodiments of the present application, the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object is user-defined registration text for the voiceprint matching object. For example, in the voiceprint registration stage, when the voiceprint lock outputs the perception information of the voiceprint matching object whose voiceprint information is to be registered, the user can customize the voice recognition result corresponding to the voiceprint matching object to improve the security of the voiceprint lock sex. For example, when the perceptual information output device 250 displays the text content of the voiceprint matching object to be registered "Sesame", and/or plays the reading voice of the voiceprint matching object to be registered, so as to output the voiceprint matching object to be registered perception information; after that, the user is prompted to register voiceprint information for the voiceprint matching object "Zhima" to be registered, and the user can read "kaimen", which is the pronunciation of the text "open the door", as the registered voice. In this way, the voiceprint lock will store the voiceprint matching object (that is, the word "sesame"), the speech recognition result corresponding to the registered voice (that is, the text "open the door"), and the registered voiceprint information corresponding to the registered voice (that is, the user reads "kaimen The voiceprint features extracted from the voice of ") are associated and stored in the registered voiceprint information base.
在声纹认证阶段,当主控装置210接收到语音采集装置220采集到针对所述感知信息(如显示的声纹匹配对象“芝麻”的文本内容)的反馈语音(如文本“开门”的读音)之后,对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果(如识别得到的语音识别结果为文本“开门”),之后,主控装置210将所述反馈语音对应的语音识别结果与所述声纹锁中存储的注册声纹信息库中声纹匹配对象“芝麻”的注册声纹信息对应的语音识别结果(如前述文本“开门”)进行文本匹配。In the voiceprint authentication stage, when the main control device 210 receives the feedback voice (such as the pronunciation of the text "open the door") collected by the voice collection device 220 for the perceptual information (such as the text content of the displayed voiceprint matching object "Sesame") ), performing speech recognition on the feedback speech, and determining the speech recognition result corresponding to the feedback speech (such as the recognized speech recognition result being the text “open the door”), after that, the master control device 210 converts the feedback speech corresponding to The speech recognition result is text-matched with the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object "Zesame" in the registered voiceprint information database stored in the voiceprint lock (such as the aforementioned text "open the door").
步骤540,确定所述反馈语音对应的语音识别结果与所述声纹匹配对象的注册声纹信息对应的语音识别结果是否匹配成功,若是,执行步骤550,否则,跳转至步骤580。 Step 540, determine whether the speech recognition result corresponding to the feedback speech matches the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object, if so, perform step 550, otherwise, jump to step 580.
本申请的一些实施例中,响应于进行文本匹配得到的结果指示所述反馈语音对应的语音识别结果与所述声纹匹配对象的注册声纹信息对应的语音识别结果匹配成功,执行所述确定所述反馈语音中的待识别声纹信息的步骤;否则,结束当前声纹解锁流程。例如,若注册阶段,用户针对声纹匹配对象“芝麻”输入的注册语音为自定义的文本“开门”的读音,在声纹认证阶段,若用户针对声纹匹配对象“芝麻”依然朗读“开门”,则语音识别成功,若用户针对声纹匹配对象“芝麻”朗读为“芝麻”,则认为语音识别失败。In some embodiments of the present application, the determination is performed in response to the text matching result indicating that the speech recognition result corresponding to the feedback voice matches the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object. The step of feeding back the voiceprint information to be recognized in the voice; otherwise, ending the current voiceprint unlocking process. For example, if during the registration stage, the registration voice entered by the user for the voiceprint matching object "Zhima" is the pronunciation of the custom text "Open the door", in the voiceprint authentication stage, if the user still reads "Open the door" for the voiceprint matching object "Zesame". ", the speech recognition is successful. If the user reads "Sesame" for the voiceprint matching object "Sesame", it is considered that the speech recognition fails.
若语音识别成功,则继续后续的声纹认证步骤,否则,结束当前声纹认证流程。If the voice recognition is successful, continue to the subsequent voiceprint authentication steps, otherwise, end the current voiceprint authentication process.
步骤550,确定所述反馈语音中的待识别声纹信息。 Step 550, determine voiceprint information to be recognized in the feedback voice.
确定所述反馈语音中的待识别声纹信息的具体实施方式参见上述实施例,本实施例不再赘述。For a specific implementation manner of determining the to-be-recognized voiceprint information in the feedback voice, refer to the foregoing embodiments, and details are not repeated in this embodiment.
步骤560,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。Step 560: Perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing the voiceprint matching.
将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的具体实施方式参见上述实施例,本实施例不再赘述。Perform voiceprint matching on the voiceprint information to be identified with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing voiceprint matching, refer to the above Embodiment, this embodiment will not be repeated.
步骤570,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,和/或,执行所述声纹锁的开锁控制操作。Step 570, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, perform the processing of the registered voiceprint information based on the voiceprint information to be recognized. The update operation of the library, and/or, the unlocking control operation of the voiceprint lock is executed.
响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,和/或,执行所述声纹锁的开锁控制操作的具体实施方式参见上述实施例,本实施例不再赘述。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing an update of the registered voiceprint information database based on the voiceprint information to be recognized Operation, and/or, specific implementation manners of performing the unlocking control operation of the voiceprint lock refer to the above-mentioned embodiments, and details are not repeated in this embodiment.
步骤580,结束当前声纹解锁流程。 Step 580, end the current voiceprint unlocking process.
本申请实施例公开的声纹锁控制方法,通过在声纹认证之前增加语音识别步骤,使得用户可以通过在声纹注册阶段自定义声纹匹配对象对应的语音识别文本,从而增强声纹锁的抗攻击能力,提升声纹锁的安全性。In the voiceprint lock control method disclosed in the embodiment of the present application, by adding a voice recognition step before voiceprint authentication, the user can customize the voice recognition text corresponding to the voiceprint matching object in the voiceprint registration stage, thereby enhancing the voiceprint lock. Anti-attack ability, improve the security of voiceprint lock.
参见图6,本申请的另一实施例公开的一种声纹锁控制方法,应用于如图2和图3所示的声纹锁,所述包括:步骤610至步骤670。Referring to FIG. 6 , another embodiment of the present application discloses a voiceprint lock control method, which is applied to the voiceprint lock shown in FIG. 2 and FIG. 3 , and includes: Step 610 to Step 670 .
步骤610,向用户输出声纹锁中存储的声纹匹配对象的感知信息。 Step 610, output the perception information of the voiceprint matching object stored in the voiceprint lock to the user.
本申请的一些实施例中,所述声纹匹配对象选自于所述声纹锁中存储的注册声纹信息库中的注册声纹信息对应的声纹匹配对象。例如,主控装置210从声纹锁存储的注册声纹信息库中随机选择一个声纹匹配对象作为当前待匹配的声纹匹配对象,并通过感知信息输出装置250输出当前待匹配的声纹匹配对象的感知信息。In some embodiments of the present application, the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock. For example, the main control device 210 randomly selects a voiceprint matching object from the registered voiceprint information database stored in the voiceprint lock as the current voiceprint matching object, and outputs the current voiceprint matching object through the perceptual information output device 250. Perceptual information of the object.
声纹锁输出指定声纹匹配对象的感知信息的具体实施方式参见上述实施例,本实施例中不再赘述。For the specific implementation manner of the voiceprint lock outputting the perception information of the specified voiceprint matching object, refer to the above-mentioned embodiments, and details will not be repeated in this embodiment.
步骤620,响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息。Step 620: In response to the voiceprint lock collecting the feedback voice for the perceptual information, determine voiceprint information to be recognized in the feedback voice.
响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息的具体实施方式参见上述实施例,本实施例中不再赘述。For specific implementation manners of determining the voiceprint information to be recognized in the feedback voice in response to the voiceprint lock collecting the feedback voice for the perceptual information, refer to the above-mentioned embodiments, which will not be repeated in this embodiment.
步骤630,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。Step 630: Perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing the voiceprint matching.
将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的具体实施方式参见上述实施例,本实施例中不再赘述。Perform voiceprint matching on the voiceprint information to be identified with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing voiceprint matching, refer to the above Embodiment, which will not be repeated in this embodiment.
步骤640,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,向所述用户输出字典内未注册声纹匹配对象的感知信息。Step 640: In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, output the perception information of unregistered voiceprint matching objects in the dictionary to the user .
在本实施例中,当所述声纹匹配对象选自于所述声纹锁中存储的注册声纹信息库中的注册声纹信息对应的声纹匹配对象时,还需要进行一轮声纹认证,即该认证阶段需进行两轮声纹认证,以便在声纹认证同时对声纹锁中的注册声纹信息库进行更新维护,以提升声纹锁的安全性。In this embodiment, when the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, a further round of voiceprint matching is required. Authentication, that is, two rounds of voiceprint authentication are required in this authentication stage, so that the registered voiceprint information database in the voiceprint lock can be updated and maintained at the same time as the voiceprint authentication, so as to improve the security of the voiceprint lock.
其中,所述字典内未注册声纹匹配对象选自于所述声纹锁中存储的字典库中且在所述注册声纹信息库中没有对应注册声纹信息的任意一声纹匹配对象。Wherein, the unregistered voiceprint matching object in the dictionary is selected from the dictionary database stored in the voiceprint lock and any voiceprint matching object that has no corresponding registered voiceprint information in the registered voiceprint information database.
确定字典内未注册声纹匹配对象之后,主控装置210通过感知信息输出装置250输出字典内未注册声纹匹配对象的感知信息。After determining the unregistered voiceprint matching object in the dictionary, the main control device 210 outputs the perception information of the unregistered voiceprint matching object in the dictionary through the perception information output device 250 .
步骤650,响应于声纹锁采集到针对所述字典内未注册声纹匹配对象的感知信息的第一反馈语音,确定所述第一反馈语音中的第一待识别声纹信息。Step 650: In response to the voiceprint lock collecting the first feedback voice for the perception information of the unregistered voiceprint matching object in the dictionary, determine the first voiceprint information to be recognized in the first feedback voice.
之后,主控装置210通过语音采集装置220采集针对字典内未注册声纹匹配对象的感知信息,确定所述反馈语音,本实施例中即为“第一反馈语音”,并进一步确定第一反馈语 音中声纹信息,记为“第一待识别声纹信息”。Afterwards, the main control device 210 collects the perception information for the unregistered voiceprint matching object in the dictionary through the voice collection device 220, and determines the feedback voice, which is the "first feedback voice" in this embodiment, and further determines the first feedback voice. The voiceprint information in the voice is recorded as "the first voiceprint information to be recognized".
步骤660,将所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息进行声纹匹配,确定当前进行声纹匹配得到的匹配结果。Step 660: Perform voiceprint matching on the first to-be-recognized voiceprint information and the currently successfully matched registered voiceprint information, and determine the matching result obtained from the current voiceprint matching.
其中,所述当前匹配成功的所述注册声纹信息为:与所述待识别声纹信息匹配成功的所述注册声纹信息库中的注册声纹信息。之后,将所述第一待识别声纹信息与步骤630中用于进行声纹匹配的所述注册声纹信息进行声纹匹配,确定当前进行声纹匹配得到的匹配结果。即在该认证阶段的两轮声纹认证中,第一轮声纹认证的待识别声纹信息与所述注册声纹信息库中的注册声纹信息已匹配成功(如步骤630、640),将第二轮声纹认证中的字典内未注册声纹匹配对象的第一待识别声纹信息与第一轮声纹认证中匹配成功的注册声纹信息进行声纹匹配,并得到匹配结果。Wherein, the registered voiceprint information that is currently successfully matched is: the registered voiceprint information in the registered voiceprint information database that is successfully matched with the voiceprint information to be identified. Afterwards, perform voiceprint matching on the first voiceprint information to be recognized and the registered voiceprint information used for voiceprint matching in step 630, and determine the matching result obtained from the current voiceprint matching. That is, in the two rounds of voiceprint authentication in this authentication stage, the voiceprint information to be recognized in the first round of voiceprint authentication has been successfully matched with the registered voiceprint information in the registered voiceprint information database (such as steps 630, 640), Perform voiceprint matching on the first to-be-recognized voiceprint information of the unregistered voiceprint matching object in the dictionary in the second round of voiceprint authentication and the successfully matched registered voiceprint information in the first round of voiceprint authentication, and obtain the matching result.
步骤670,响应于当前进行声纹匹配得到的所述匹配结果指示所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息匹配成功,将所述第一待识别声纹信息作为与所述字典内未注册声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。Step 670: In response to the matching result of the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently successfully matched, the first voiceprint information to be recognized is As the registered voiceprint information corresponding to the unregistered voiceprint matching object in the dictionary, it is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
在第二轮声纹认证通过后,根据第二轮的声纹认证结果执行注册声纹信息的更新维护。即响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,包括:响应于当前进行声纹匹配得到的所述匹配结果指示所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息匹配成功,将所述第一待识别声纹信息作为与所述字典内未注册声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。After the second round of voiceprint authentication is passed, the registered voiceprint information is updated and maintained according to the result of the second round of voiceprint authentication. That is, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the matching of the registered voiceprint information database based on the voiceprint information to be recognized The update operation includes: in response to the matching result obtained from the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently matched successfully, updating the first voiceprint information to be recognized The registered voiceprint information is stored in the registered voiceprint information database or updated and maintained in the registered voiceprint information database as registered voiceprint information corresponding to unregistered voiceprint matching objects in the dictionary.
例如,主控装置210首先从注册声纹信息库中选择声纹匹配对象“芝麻”,并将声纹匹配对象“芝麻”的感知信息输出给用户,启动第一轮声纹认证。在获取到用户针对声纹匹配对象“芝麻”的反馈语音,并确定反馈语音中的待识别声纹信息(为了描述更清楚,记为“T1”)之后,将待识别声纹信息T1与注册声纹信息库中声纹匹配对象“芝麻”对应的注册声纹信息(为了描述更清楚,记为“R1”)进行声纹匹配。For example, the main control device 210 first selects the voiceprint matching object "Sesame" from the registered voiceprint information database, and outputs the perception information of the voiceprint matching object "Zesame" to the user, and starts the first round of voiceprint authentication. After obtaining the user's feedback voice for the voiceprint matching object "Zhima", and determining the voiceprint information to be recognized in the feedback voice (for a clearer description, denoted as "T1"), the voiceprint information to be recognized T1 and registered The registered voiceprint information corresponding to the voiceprint matching object "Zhima" in the voiceprint information database (referred to as "R1" for a clearer description) is used for voiceprint matching.
对声纹匹配对象“芝麻”进行声纹匹配成功之后,主控装置210再从字典库中选择一个声纹匹配对象“苹果”(声纹匹配对象“苹果”没有存储在注册声纹信息库中,即声纹匹配对象“苹果”未注册过声纹信息),并将声纹匹配对象“苹果”的感知信息输出给用户,启动第二轮声纹认证。在获取到用户针对声纹匹配对象“苹果”的反馈语音,并确定反馈语音中的待识别声纹信息(为了描述更清楚,记为“T2”),之后,将待识别声纹信息T2与注册声纹信息库中声纹匹配对象“芝麻”对应的注册声纹信息R1进行声纹匹配,并确定声纹匹配结果。After the voiceprint matching object "Zesame" is successfully matched, the main control device 210 selects a voiceprint matching object "Apple" from the dictionary database (the voiceprint matching object "Apple" is not stored in the registered voiceprint information database. , that is, the voiceprint matching object "Apple" has not registered voiceprint information), and output the perception information of the voiceprint matching object "Apple" to the user, and start the second round of voiceprint authentication. After obtaining the user's feedback voice for the voiceprint matching object "Apple", and determining the voiceprint information to be recognized in the feedback voice (for a clearer description, denoted as "T2"), after that, the voiceprint information to be recognized T2 and The registered voiceprint information R1 corresponding to the voiceprint matching object "Zhima" in the registered voiceprint information database performs voiceprint matching, and determines the voiceprint matching result.
若待识别声纹信息T2与注册声纹信息库中声纹匹配对象“芝麻”对应的注册声纹信息R1匹配成功,则将待识别声纹信息T2作为与声纹匹配对象“苹果”对应的注册声纹信息,直接存储在所述注册声纹信息库中。若注册声纹信息库中存储的注册声纹信息数量大于预设数量阈值,则按照预设策略删除一条原有的注册声纹信息。If the voiceprint information T2 to be recognized is successfully matched with the registered voiceprint information R1 corresponding to the voiceprint matching object "Sesame" in the registered voiceprint information database, the voiceprint information T2 to be recognized will be used as the voiceprint information corresponding to the voiceprint matching object "Apple". The registered voiceprint information is directly stored in the registered voiceprint information database. If the number of registered voiceprint information stored in the registered voiceprint information database is greater than the preset quantity threshold, delete an original piece of registered voiceprint information according to a preset policy.
本申请实施例公开的声纹锁控制方法,通过设置两轮声纹认证,第一轮声纹认证针对已经注册了声纹信息的声纹匹配对象,第二轮声纹认证针对未注册声纹信息的声纹匹配对象,并且两轮声纹匹配与注册声纹信息库中的同一条注册声纹信息进行匹配,使得在第二轮声纹认证通过后,可以对未注册声纹信息的声纹匹配对象静默注册声纹信息,动态更新声纹锁中存储的注册声纹信息库,以提升声纹锁的安全性。The voiceprint lock control method disclosed in the embodiment of the present application sets two rounds of voiceprint authentication, the first round of voiceprint authentication is for the voiceprint matching object whose voiceprint information has been registered, and the second round of voiceprint authentication is for unregistered voiceprint The voiceprint matching object of the information, and the two rounds of voiceprint matching are matched with the same registered voiceprint information in the registered voiceprint information database, so that after the second round of voiceprint authentication is passed, the voiceprint of unregistered voiceprint information can be The fingerprint matching object registers voiceprint information silently, and dynamically updates the registered voiceprint information database stored in the voiceprint lock to improve the security of the voiceprint lock.
参考图7,本申请的另一实施例公开的一种声纹锁控制装置,所述装置包括:Referring to Fig. 7, another embodiment of the present application discloses a voiceprint lock control device, the device includes:
采集信息引导模块710,用于向用户输出声纹锁中存储的声纹匹配对象的感知信息;The collection information guidance module 710 is used to output the perception information of the voiceprint matching object stored in the voiceprint lock to the user;
声纹信息采集模块720,用于响应于声纹锁采集到针对所述感知信息的反馈语音,确 定所述反馈语音中的待识别声纹信息;The voiceprint information collection module 720 is used to determine the voiceprint information to be recognized in the feedback voice in response to the voiceprint lock collecting the feedback voice for the perceptual information;
声纹匹配模块730,用于将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;The voiceprint matching module 730 is configured to perform voiceprint matching on the voiceprint information to be recognized and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the voiceprint obtained by performing voiceprint matching. matching result;
注册声纹信息库更新模块740,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;和/或,The registered voiceprint information database update module 740, configured to respond to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, and execute the voiceprint information based on the voiceprint to be recognized Information update operation on the registered voiceprint information database; and/or,
声纹锁控制模块750,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行所述声纹锁的开锁控制操作。The voiceprint lock control module 750 is configured to execute the unlocking control operation of the voiceprint lock in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database .
本申请的一些实施例中,向用户输出声纹锁中存储的声纹匹配对象的感知信息,包括:向用户展示声纹锁中存储的声纹匹配对象的文本,和/或,向用户播放声纹锁中存储的声纹匹配对象的朗读语音。In some embodiments of the present application, outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user includes: showing the user the text of the voiceprint matching object stored in the voiceprint lock, and/or, playing the text of the voiceprint matching object stored in the voiceprint lock to the user. The voiceprint stored in the voiceprint lock matches the reading voice of the object.
本申请的一些实施例中,所述声纹匹配模块730,进一步用于:In some embodiments of the present application, the voiceprint matching module 730 is further used to:
响应于所述声纹锁中存储的注册声纹信息库中有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述注册声纹信息库中与所述声纹匹配对象对应的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In response to the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information database in the registered voiceprint information database The registered voiceprint information corresponding to the voiceprint matching object is used to perform voiceprint matching, and the matching result obtained by performing the voiceprint matching is determined.
本申请的另一些实施例中,所述声纹匹配模块730,进一步用于:In other embodiments of the present application, the voiceprint matching module 730 is further used to:
响应于所述声纹锁中存储的注册声纹信息库中没有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中任意一条或多条注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In response to no registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information stored in the voiceprint lock Perform voiceprint matching on any one or more pieces of registered voiceprint information in the fingerprint information database, and determine the matching result obtained by performing the voiceprint matching.
相应的,本申请的一些实施例中,所述注册声纹信息库更新模块740,进一步用于:Correspondingly, in some embodiments of the present application, the registration voiceprint information database update module 740 is further used to:
响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将所述待识别声纹信息作为与所述声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, using the voiceprint information to be recognized as the registered voiceprint information corresponding to the voiceprint matching object The voiceprint information is stored in the registered voiceprint information database or updated and maintained for the registered voiceprint information in the registered voiceprint information database.
本申请的一些实施例中,所述声纹匹配对象根据所述注册声纹信息库中存储的已注册声纹信息的第一声纹匹配对象,以及,所述声纹锁中存储的字典库内第二声纹匹配对象组合生成,所述声纹匹配模块730,进一步用于:In some embodiments of the present application, the voiceprint matching object is based on the first voiceprint matching object of the registered voiceprint information stored in the registered voiceprint information database, and the dictionary library stored in the voiceprint lock The inner second voiceprint matching object combination is generated, and the voiceprint matching module 730 is further used to:
确定所述待识别声纹信息中分别与各所述第一声纹匹配对象和各所述第二声纹匹配对象对应的待识别声纹信息片段;以及,Determining pieces of voiceprint information to be identified in the voiceprint information to be identified that correspond to each of the first voiceprint matching objects and each of the second voiceprint matching objects; and,
将各所述第一声纹匹配对象对应的待识别声纹信息片段与相应的注册声纹信息进行声纹匹配,以及,将各所述第二声纹匹配对象对应的待识别声纹信息片段与所述注册声纹信息库中选定的注册声纹信息进行声纹匹配,确定所述待识别声纹信息与所述声纹匹配对象的声纹匹配结果。performing voiceprint matching on the unrecognized voiceprint information segments corresponding to each of the first voiceprint matching objects and corresponding registered voiceprint information, and performing voiceprint matching on the unidentified voiceprint information segments corresponding to each of the second voiceprint matching Perform voiceprint matching with the registered voiceprint information selected in the registered voiceprint information database, and determine a voiceprint matching result between the voiceprint information to be recognized and the voiceprint matching object.
本申请的一些实施例中,所述选定注册声纹信息包括:随机选择的一条注册声纹信息、与所述第二声纹匹配对象字符距离最近的所述第一声纹匹配对象对应的注册声纹信息。In some embodiments of the present application, the selected registered voiceprint information includes: a randomly selected piece of registered voiceprint information, a character corresponding to the first voiceprint matching object whose character distance is closest to the second voiceprint matching object Register voiceprint information.
相应的,所述注册声纹信息库更新模块740,进一步用于:Correspondingly, the registration voiceprint information database updating module 740 is further used for:
响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将各所述第二声纹匹配对象对应的待匹配声纹信息片段作为与各所述第二声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, the pieces of voiceprint information to be matched corresponding to each of the second voiceprint matching objects are used as The registered voiceprint information corresponding to each of the second voiceprint matching objects is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
参见图8,本申请的一些实施例中,所述装置还包括:声纹注册模块700,进一步用于:Referring to FIG. 8, in some embodiments of the present application, the device further includes: a voiceprint registration module 700, further used for:
向用户输出声纹锁的字典库中存储的待注册声纹匹配对象的感知信息;Output to the user the perception information of the voiceprint matching object to be registered stored in the dictionary library of the voiceprint lock;
采集用户针对所述待注册声纹匹配对象的感知信息的注册语音,并确定所述注册语音对应的注册声纹信息;collecting the registration voice of the user for the perceptual information of the voiceprint matching object to be registered, and determining the registration voiceprint information corresponding to the registration voice;
对所述待注册声纹匹配对象进行拆分处理,确定组成所述待注册声纹匹配对象的各独 立的声纹匹配对象;Splitting the voiceprint matching object to be registered, and determining each independent voiceprint matching object forming the voiceprint matching object to be registered;
分别确定所述注册声纹信息中与每个所述独立的声纹匹配对象对应的注册声纹信息片段,之后,将各所述注册声纹信息片段作为相应独立的声纹匹配对象的注册声纹信息存储至所述声纹锁中存储的注册声纹信息库中。Respectively determine the registered voiceprint information segments corresponding to each of the independent voiceprint matching objects in the registered voiceprint information, and then use each of the registered voiceprint information segments as the registered voiceprint information of the corresponding independent voiceprint matching objects. The fingerprint information is stored in the registered voiceprint information database stored in the voiceprint lock.
本申请的另一些实施例中,所述声纹注册模块700,进一步用于:In other embodiments of the present application, the voiceprint registration module 700 is further used to:
向用户输出声纹锁的字典库中存储的待注册声纹匹配对象的感知信息;Output to the user the perception information of the voiceprint matching object to be registered stored in the dictionary library of the voiceprint lock;
采集用户针对所述待注册声纹匹配对象的感知信息的注册语音,并确定所述注册语音对应的注册声纹信息;以及,Collecting the registration voice of the user for the perceptual information of the voiceprint matching object to be registered, and determining the registration voiceprint information corresponding to the registration voice; and,
将所述注册声纹信息作为所述待注册声纹匹配对象的注册声纹信息存储至所述声纹锁中存储的注册声纹信息库中。The registered voiceprint information is stored in the registered voiceprint information database stored in the voiceprint lock as the registered voiceprint information of the voiceprint matching object to be registered.
本申请实施例公开的声纹锁控制装置,通过向用户输出声纹锁中存储的声纹匹配对象的感知信息;响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,和/或,执行所述声纹锁的开锁控制操作,有效提升了声纹锁的安全性。The voiceprint lock control device disclosed in the embodiment of the present application outputs the perception information of the voiceprint matching object stored in the voiceprint lock to the user; in response to the feedback voice for the perception information collected by the voiceprint lock, the feedback is determined The voiceprint information to be recognized in the voice; the voiceprint information to be recognized is matched with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the voiceprint matching is determined to obtain The matching result; in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the registration of the registered voiceprint based on the voiceprint information to be recognized The update operation of the information base, and/or, the execution of the unlocking control operation of the voiceprint lock effectively improves the security of the voiceprint lock.
本申请实施例公开的声纹锁控制装置,通过在声纹匹配成功后,基于当前匹配成功的待识别声纹信息更新声纹锁中的注册声纹信息库,丰富注册声纹信息库中的注册声纹信息,以及,实现了动态更新注册声纹信息库中的注册声纹信息,有效提升了声纹锁的安全性。进一步的,通过仅基于与未注册过声纹信息的声纹匹配对象的待识别声纹信息,对声纹锁中的注册声纹信息库进行更新,可以保证注册声纹信息库中的注册声纹信息的多样性,从而进一步提升声纹锁的安全性。The voiceprint lock control device disclosed in the embodiment of the present application, after the voiceprint matching is successful, updates the registered voiceprint information database in the voiceprint lock based on the currently successfully matched voiceprint information to be recognized, thereby enriching the registered voiceprint information database. Registered voiceprint information, and dynamically updated registered voiceprint information in the registered voiceprint information database, effectively improving the security of the voiceprint lock. Further, by updating the registered voiceprint information database in the voiceprint lock only based on the voiceprint information to be recognized of the voiceprint matching object that has not registered voiceprint information, it can ensure that the registered voiceprint information in the registered voiceprint information database The diversity of fingerprint information further enhances the security of voiceprint locks.
参见图9,基于上述实施例,所述声纹匹配对象选自于所述声纹锁中存储的注册声纹信息库中的注册声纹信息对应的声纹匹配对象,本申请的又一些实施例中,公开了一种声纹锁控制装置,与上述实施例中所述的声纹锁控制装置区别在于,所述装置还包括:第二轮采集信息引导模块760、第二轮声纹信息采集模块770,以及,第二轮声纹匹配模块780。其中,Referring to Fig. 9, based on the above embodiment, the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and some other implementations of the present application In the example, a voiceprint lock control device is disclosed, which is different from the voiceprint lock control device described in the above-mentioned embodiments in that the device further includes: a second round of information collection guidance module 760, a second round of voiceprint information A collection module 770, and a second round of voiceprint matching module 780. in,
所述第二轮采集信息引导模块760,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,向所述用户输出字典内未注册声纹匹配对象的感知信息,其中,所述字典内未注册声纹匹配对象选自于所述声纹锁中存储的字典库中且在所述注册声纹信息库中没有对应注册声纹信息的任意一声纹匹配对象;The second round of information collection guidance module 760 is configured to output a dictionary to the user in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database The perception information of the unregistered voiceprint matching object in the dictionary, wherein the unregistered voiceprint matching object in the dictionary is selected from the dictionary library stored in the voiceprint lock and has no corresponding registration in the registered voiceprint information database Any voiceprint matching object of voiceprint information;
所述第二轮声纹信息采集模块770,用于响应于声纹锁采集到针对所述字典内未注册声纹匹配对象的感知信息的第一反馈语音,确定所述第一反馈语音中的第一待识别声纹信息;The second-round voiceprint information collection module 770 is configured to determine the first feedback voice in the first feedback voice in response to the voiceprint lock collecting the first feedback voice for the perception information of the unregistered voiceprint matching object in the dictionary. The first voiceprint information to be recognized;
所述第二轮声纹匹配模块780,用于将所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息进行声纹匹配,确定当前进行声纹匹配得到的匹配结果,其中,所述当前匹配成功的所述注册声纹信息为:与所述待识别声纹信息匹配成功的所述注册声纹信息库中的注册声纹信息。The second-round voiceprint matching module 780 is configured to perform voiceprint matching on the first voiceprint information to be recognized and the registered voiceprint information that is currently successfully matched, and determine the matching result obtained by the current voiceprint matching, Wherein, the registered voiceprint information that is currently successfully matched is: the registered voiceprint information in the registered voiceprint information database that is successfully matched with the voiceprint information to be identified.
相应的,所述注册声纹信息库更新模块740,进一步用于:Correspondingly, the registration voiceprint information database updating module 740 is further used for:
响应于当前进行声纹匹配得到的所述匹配结果指示所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息匹配成功,将所述第一待识别声纹信息作为与所述字典内未注册声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result obtained from the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently matched successfully, the first voiceprint information to be recognized is used as the The registered voiceprint information corresponding to the unregistered voiceprint matching object in the dictionary is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
本申请实施例公开的声纹锁控制装置,通过设置两轮声纹认证,第一轮声纹认证针对 已经注册了声纹信息的声纹匹配对象,第二轮声纹认证针对未注册声纹信息的声纹匹配对象,并且两轮声纹匹配与注册声纹信息库中的同一条注册声纹信息进行匹配,使得在第二轮声纹认证通过后,可以对未注册声纹信息的声纹匹配对象静默注册声纹信息,动态更新声纹锁中存储的注册声纹信息库,以提升声纹锁的安全性。The voiceprint lock control device disclosed in the embodiment of the present application sets two rounds of voiceprint authentication, the first round of voiceprint authentication is for voiceprint matching objects that have registered voiceprint information, and the second round of voiceprint authentication is for unregistered voiceprint The voiceprint matching object of the information, and the two rounds of voiceprint matching are matched with the same registered voiceprint information in the registered voiceprint information database, so that after the second round of voiceprint authentication is passed, the voiceprint of unregistered voiceprint information can be The fingerprint matching object registers voiceprint information silently, and dynamically updates the registered voiceprint information database stored in the voiceprint lock to improve the security of the voiceprint lock.
参见图10,基于上述实施例,本申请的又一些实施例中,公开了一种声纹锁控制装置,与上述实施例中所述的声纹锁控制装置区别在于,所述装置还包括:语音识别模块790。Referring to Fig. 10, based on the above embodiments, in some other embodiments of the present application, a voiceprint lock control device is disclosed, which is different from the voiceprint lock control device described in the above embodiments in that the device further includes: Speech recognition module 790 .
所述语音识别模块790,用于对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果;以及,将所述反馈语音对应的语音识别结果与所述声纹锁中存储的注册声纹信息库中所述声纹匹配对象的注册声纹信息对应的语音识别结果进行文本匹配;The voice recognition module 790 is configured to perform voice recognition on the feedback voice, determine the voice recognition result corresponding to the feedback voice; and compare the voice recognition result corresponding to the feedback voice with the voice recognition result stored in the voiceprint lock Perform text matching on the speech recognition results corresponding to the registered voiceprint information of the voiceprint matching object described in the registered voiceprint information database;
所述语音识别模块790,还用于响应于进行文本匹配得到的结果指示所述反馈语音对应的语音识别结果与所述声纹匹配对象的注册声纹信息对应的语音识别结果匹配成功,跳转至调用所述声纹匹配模块730;否则,结束当前声纹解锁流程;The voice recognition module 790 is further configured to respond to the text matching result indicating that the voice recognition result corresponding to the feedback voice matches the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object, and jump to To call the voiceprint matching module 730; otherwise, end the current voiceprint unlocking process;
其中,所述声纹匹配对象的注册声纹信息对应的语音识别结果为用户针对所述声纹匹配对象的自定义注册文本。Wherein, the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object is user-defined registration text for the voiceprint matching object.
相应的,所述声纹注册模块700还用于,对注册语音进行语音识别,并将注册语音的语音识别结果、注册语音对应的注册声纹信息,以及,注册语音针对的声纹匹配对象三种数据对应存储在注册声纹信息库中。Correspondingly, the voiceprint registration module 700 is further configured to perform voice recognition on the registered voice, and combine the voice recognition result of the registered voice, the registered voiceprint information corresponding to the registered voice, and the voiceprint matching object for the registered voice These kinds of data are correspondingly stored in the registered voiceprint information database.
本申请实施例公开的声纹锁控制装置,通过在声纹认证之前增加语音识别步骤,使得用户可以通过在声纹注册阶段自定义声纹匹配对象对应的语音识别文本,从而增强声纹锁的抗攻击能力,提升声纹锁的安全性。The voiceprint lock control device disclosed in the embodiment of the present application adds a voice recognition step before the voiceprint authentication, so that the user can customize the voice recognition text corresponding to the voiceprint matching object in the voiceprint registration stage, thereby enhancing the voiceprint lock. Anti-attack ability, improve the security of voiceprint lock.
相应的,本申请实施例公开的一种声纹锁,所述声纹锁的结构如图2和图3所示,例如,所述声纹锁包括:主控装置210,分别与所述主控装置通信连接的语音采集装置220、存储器230、锁具执行机构240、感知信息输出装置250,其中,Correspondingly, the embodiment of the present application discloses a voiceprint lock, the structure of which is shown in Figure 2 and Figure 3, for example, the voiceprint lock includes: a master control device 210, which communicates with the master The voice acquisition device 220, memory 230, lock actuator 240, and sensory information output device 250 connected to the control device, wherein,
所述存储器230,用于存储字典库和注册声纹信息库,其中,所述注册声纹信息库中存储有:声纹匹配对象,以及所述相应声纹匹配对应的注册声纹信息;The memory 230 is used to store a dictionary database and a registered voiceprint information database, wherein the registered voiceprint information database stores: voiceprint matching objects, and registered voiceprint information corresponding to the corresponding voiceprint matching;
所述感知信息输出装置250,用于根据所述主控装置的控制,输出呈现指定声纹匹配对象的感知信息,其中,所述输出呈现指定声纹匹配对象的感知信息,包括:显示指定声纹匹配对象的文本;和/或,播放指定声纹匹配对象的朗读语音;The perceptual information output device 250 is configured to output the perceptual information presenting the specified voiceprint matching object according to the control of the main control device, wherein the output presenting the perceptual information presenting the specified voiceprint matching object includes: displaying the specified voiceprint matching object the text of the matching object; and/or, play the reading voice of the specified voiceprint matching object;
所述语音采集装置220,用于根据所述主控装置的控制采集用户针对所述感知信息的反馈语音,并将采集的所述反馈语音发送至所述主控装置;The voice collection device 220 is configured to collect a user's feedback voice for the perceptual information according to the control of the main control device, and send the collected feedback voice to the main control device;
所述主控装置210,还用于确定所述反馈语音中的待识别声纹信息,并将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,以及,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;和/或,执行所述声纹锁的开锁控制操作。The main control device 210 is further configured to determine the voiceprint information to be recognized in the feedback voice, and compare the voiceprint information to be recognized with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock. Perform voiceprint matching on the voiceprint information, determine the matching result obtained by performing the voiceprint matching, and, in response to the matching result, indicate that the voiceprint information to be recognized matches the registered voiceprint information in the registered voiceprint information database If successful, perform an update operation of the registered voiceprint information base based on the voiceprint information to be identified; and/or perform an unlock control operation of the voiceprint lock.
所述确定所述反馈语音中的待识别声纹信息,并将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,以及,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作的具体实施方式,参见上述实施例中的相关描述,此处不再赘述。Determining the voiceprint information to be recognized in the feedback voice, and performing voiceprint matching on the voiceprint information to be recognized with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining The matching result obtained by performing the voiceprint matching, and, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing For a specific implementation manner of updating the registered voiceprint information database by the voiceprint information, refer to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
相应的,本申请还公开了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请的上述实施例所述的声纹锁控制方法。所述电子设备可以为PC机、移动终端、个人数字助理、平板电脑等。Correspondingly, this application also discloses an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, it implements the The voiceprint lock control method described in the above-mentioned embodiment. The electronic device may be a PC, a mobile terminal, a personal digital assistant, a tablet computer, and the like.
本申请还公开了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器 执行时实现如本申请的上述实施例中任意一实施例所述的声纹锁控制方法的步骤。The present application also discloses a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the voiceprint lock control method described in any one of the above-mentioned embodiments of the present application are realized. .
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上对本申请提供的一种声纹锁控制方法及装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to a voiceprint lock control method and device provided by this application. In this article, specific examples are used to illustrate the principle and implementation of this application. The description of the above embodiment is only used to help understand the application. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. Application Restrictions.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件实现。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general-purpose hardware platform, and of course can also be implemented by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本申请的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。Reference herein to "one embodiment," "an embodiment," or "one or more embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Additionally, please note that examples of the word "in one embodiment" herein do not necessarily all refer to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本申请的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本申请可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
本申请要求于2021年07月01日递交的中国专利申请第202110747765.1号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。This application claims the priority of Chinese Patent Application No. 202110747765.1 submitted on July 01, 2021, and the content disclosed in the above Chinese patent application is cited in its entirety as a part of this application.

Claims (15)

  1. 一种声纹锁控制方法,其中,包括:A method for controlling a voiceprint lock, comprising:
    向用户输出声纹锁中存储的声纹匹配对象的感知信息;Output the perception information of the voiceprint matching object stored in the voiceprint lock to the user;
    响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;In response to the voiceprint lock collecting the feedback voice for the perceptual information, determine the voiceprint information to be recognized in the feedback voice;
    将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;performing voiceprint matching on the voiceprint information to be identified and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining the matching result obtained by performing the voiceprint matching;
    响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,和/或,执行所述声纹锁的开锁控制操作。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing an update of the registered voiceprint information database based on the voiceprint information to be recognized operation, and/or, perform the unlocking control operation of the voiceprint lock.
  2. 根据权利要求1所述的方法,其中,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的步骤,包括:The method according to claim 1, wherein performing voiceprint matching on the voiceprint information to be identified and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining the The steps of the matching result obtained by voiceprint matching include:
    响应于所述声纹锁中存储的注册声纹信息库中有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述注册声纹信息库中与所述声纹匹配对象对应的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In response to the registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information database in the registered voiceprint information database The registered voiceprint information corresponding to the voiceprint matching object is used to perform voiceprint matching, and the matching result obtained by performing the voiceprint matching is determined.
  3. 根据权利要求1所述的方法,其中,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的步骤,包括:The method according to claim 1, wherein performing voiceprint matching on the voiceprint information to be identified and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determining the The steps of the matching result obtained by voiceprint matching include:
    响应于所述声纹锁中存储的注册声纹信息库中没有与所述声纹匹配对象对应的注册声纹信息,将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中任意一条或多条注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果。In response to no registered voiceprint information corresponding to the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock, combining the voiceprint information to be identified with the registered voiceprint information stored in the voiceprint lock Perform voiceprint matching on any one or more pieces of registered voiceprint information in the fingerprint information database, and determine the matching result obtained by performing the voiceprint matching.
  4. 根据权利要求3所述的方法,其中,所述响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作,包括:The method according to claim 3, wherein, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing The update operation of the voiceprint information to the registered voiceprint information database includes:
    响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将所述待识别声纹信息作为与所述声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, using the voiceprint information to be recognized as the registered voiceprint information corresponding to the voiceprint matching object The voiceprint information is stored in the registered voiceprint information database or updated and maintained for the registered voiceprint information in the registered voiceprint information database.
  5. 根据权利要求1所述的方法,其中,所述声纹匹配对象选自于所述声纹锁中存储的注册声纹信息库中的注册声纹信息对应的声纹匹配对象,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的步骤之后,还包括:The method according to claim 1, wherein the voiceprint matching object is selected from the voiceprint matching object corresponding to the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the Perform voiceprint matching on the voiceprint information to be identified and the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and after determining the matching result obtained by performing the voiceprint matching, further include:
    响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,向所述用户输出字典内未注册声纹匹配对象的感知信息,其中,所述字典内未注册声纹匹配对象选自于所述声纹锁中存储的字典库中且在所述注册声纹信息库中没有对应注册声纹信息的任意一声纹匹配对象;In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, outputting to the user the perception information of unregistered voiceprint matching objects in the dictionary, wherein, The unregistered voiceprint matching object in the dictionary is selected from the dictionary database stored in the voiceprint lock and any voiceprint matching object that has no corresponding registered voiceprint information in the registered voiceprint information database;
    响应于声纹锁采集到针对所述字典内未注册声纹匹配对象的感知信息的第一反馈语音,确定所述第一反馈语音中的第一待识别声纹信息;In response to the first feedback voice collected by the voiceprint lock for the perception information of the unregistered voiceprint matching object in the dictionary, determine the first voiceprint information to be recognized in the first feedback voice;
    将所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息进行声纹匹配,确定当前进行声纹匹配得到的匹配结果,其中,所述当前匹配成功的所述注册声纹信息为:与所述待识别声纹信息匹配成功的所述注册声纹信息库中的注册声纹信息;performing voiceprint matching on the first voiceprint information to be identified and the currently successfully matched registered voiceprint information, and determining the matching result obtained from the current voiceprint matching, wherein the currently successfully matched registered voiceprint information The information is: registered voiceprint information in the registered voiceprint information database that successfully matches the voiceprint information to be identified;
    所述响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作的步骤,包括:In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing the process of performing a process based on the voiceprint information to be recognized in the registered voiceprint information database. The steps of the update operation include:
    响应于当前进行声纹匹配得到的所述匹配结果指示所述第一待识别声纹信息与当前匹配成功的所述注册声纹信息匹配成功,将所述第一待识别声纹信息作为与所述字典内未注册声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result obtained from the current voiceprint matching indicating that the first voiceprint information to be recognized is successfully matched with the registered voiceprint information that is currently matched successfully, the first voiceprint information to be recognized is used as the The registered voiceprint information corresponding to the unregistered voiceprint matching object in the dictionary is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  6. 根据权利要求1所述的方法,其中,所述声纹匹配对象根据所述注册声纹信息库中存储的已注册声纹信息的第一声纹匹配对象,以及,所述声纹锁中存储的字典库内第二声纹匹配对象组合生成,所述将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果的步骤,包括:The method according to claim 1, wherein the voiceprint matching object is based on the first voiceprint matching object of the registered voiceprint information stored in the registered voiceprint information database, and the voiceprint lock stored in the voiceprint lock The second voiceprint matching object combination in the dictionary database is generated, and the voiceprint matching is performed on the voiceprint information to be recognized with the registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and the determined Describe the steps of the matching result obtained by voiceprint matching, including:
    确定所述待识别声纹信息中分别与各所述第一声纹匹配对象和各所述第二声纹匹配对象对应的待识别声纹信息片段;Determining pieces of voiceprint information to be identified that correspond to each of the first voiceprint matching objects and each of the second voiceprint matching objects in the voiceprint information to be identified;
    将各所述第一声纹匹配对象对应的待识别声纹信息片段与相应的注册声纹信息进行声纹匹配,以及,将各所述第二声纹匹配对象对应的待识别声纹信息片段与所述注册声纹信息库中选定的注册声纹信息进行声纹匹配,确定所述待识别声纹信息与所述声纹匹配对象的声纹匹配结果。performing voiceprint matching on the unrecognized voiceprint information segments corresponding to each of the first voiceprint matching objects and corresponding registered voiceprint information, and performing voiceprint matching on the unidentified voiceprint information segments corresponding to each of the second voiceprint matching Perform voiceprint matching with the registered voiceprint information selected in the registered voiceprint information database, and determine a voiceprint matching result between the voiceprint information to be recognized and the voiceprint matching object.
  7. 根据权利要求6所述的方法,其中,所述选定注册声纹信息包括:随机选择的一条注册声纹信息、与所述第二声纹匹配对象字符距离最近的所述第一声纹匹配对象对应的注册声纹信息。The method according to claim 6, wherein the selected registered voiceprint information includes: a piece of registered voiceprint information selected at random, the first voiceprint matching character with the closest distance to the second voiceprint matching object character, Registered voiceprint information corresponding to the object.
  8. 根据权利要求6所述的方法,其中,所述响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作的步骤,包括:The method according to claim 6, wherein, in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, performing The step of updating the registered voiceprint information base by the voiceprint information includes:
    响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,将各所述第二声纹匹配对象对应的待匹配声纹信息片段作为与各所述第二声纹匹配对象对应的注册声纹信息,存储在所述注册声纹信息库中或对所述注册声纹信息库中的注册声纹信息进行更新维护。In response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, the pieces of voiceprint information to be matched corresponding to each of the second voiceprint matching objects are used as The registered voiceprint information corresponding to each of the second voiceprint matching objects is stored in the registered voiceprint information database or the registered voiceprint information in the registered voiceprint information database is updated and maintained.
  9. 根据权利要求1所述的方法,其中,所述向用户输出声纹锁中存储的声纹匹配对象的感知信息的步骤之前,还包括:The method according to claim 1, wherein, before the step of outputting the perception information of the voiceprint matching object stored in the voiceprint lock to the user, further comprising:
    向用户输出声纹锁的字典库中存储的待注册声纹匹配对象的感知信息;Output to the user the perception information of the voiceprint matching object to be registered stored in the dictionary library of the voiceprint lock;
    采集用户针对所述待注册声纹匹配对象的感知信息的注册语音,并确定所述注册语音对应的注册声纹信息;collecting the registration voice of the user for the perceptual information of the voiceprint matching object to be registered, and determining the registration voiceprint information corresponding to the registration voice;
    对所述待注册声纹匹配对象进行拆分处理,确定组成所述待注册声纹匹配对象的各独立的声纹匹配对象;performing split processing on the voiceprint matching object to be registered, and determining each independent voiceprint matching object forming the voiceprint matching object to be registered;
    分别确定所述注册声纹信息中与每个所述独立的声纹匹配对象对应的注册声纹信息片段,之后,将各所述注册声纹信息片段作为相应独立的声纹匹配对象的注册声纹信息存储至所述声纹锁中存储的注册声纹信息库中。Respectively determine the registered voiceprint information segments corresponding to each of the independent voiceprint matching objects in the registered voiceprint information, and then use each of the registered voiceprint information segments as the registered voiceprint information of the corresponding independent voiceprint matching objects. The fingerprint information is stored in the registered voiceprint information database stored in the voiceprint lock.
  10. 根据权利要求1至9任一项所述的方法,其中,所述确定所述反馈语音中的待识别声纹信息之前,还包括:The method according to any one of claims 1 to 9, wherein, before determining the voiceprint information to be recognized in the feedback voice, further comprising:
    对所述反馈语音进行语音识别,确定所述反馈语音对应的语音识别结果;performing speech recognition on the feedback speech, and determining a speech recognition result corresponding to the feedback speech;
    将所述反馈语音对应的语音识别结果与所述声纹锁中存储的注册声纹信息库中所述声纹匹配对象的注册声纹信息对应的语音识别结果进行文本匹配;performing text matching on the speech recognition result corresponding to the feedback speech and the speech recognition result corresponding to the registered voiceprint information of the voiceprint matching object in the registered voiceprint information database stored in the voiceprint lock;
    响应于进行文本匹配得到的结果指示所述反馈语音对应的语音识别结果与所述声纹匹配对象的注册声纹信息对应的语音识别结果匹配成功,执行所述确定所述反馈语音中的待识别声纹信息的步骤;否则,结束当前声纹解锁流程;In response to the text matching result indicating that the voice recognition result corresponding to the feedback voice successfully matches the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object, performing the determining the to-be-recognized voice in the feedback voice Steps for voiceprint information; otherwise, end the current voiceprint unlocking process;
    其中,所述声纹匹配对象的注册声纹信息对应的语音识别结果为用户针对所述声纹匹配对象的自定义注册文本。Wherein, the voice recognition result corresponding to the registered voiceprint information of the voiceprint matching object is user-defined registration text for the voiceprint matching object.
  11. 一种声纹锁控制装置,包括:A voiceprint lock control device, comprising:
    采集信息引导模块,用于向用户输出声纹锁中存储的声纹匹配对象的感知信息;The information collection guidance module is used to output the perception information of the voiceprint matching object stored in the voiceprint lock to the user;
    声纹信息采集模块,用于响应于声纹锁采集到针对所述感知信息的反馈语音,确定所述反馈语音中的待识别声纹信息;A voiceprint information collection module, configured to determine the voiceprint information to be recognized in the feedback voice in response to the feedback voice collected by the voiceprint lock for the perceptual information;
    声纹匹配模块,用于将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果;A voiceprint matching module, configured to perform voiceprint matching on the voiceprint information to be identified and registered voiceprint information in the registered voiceprint information database stored in the voiceprint lock, and determine the matching result obtained by performing voiceprint matching. result;
    注册声纹信息库更新模块,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;和/或,A registered voiceprint information library update module, configured to respond to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database, and perform a process based on the voiceprint information to be recognized. An update operation on the registered voiceprint information database; and/or,
    声纹锁控制模块,用于响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行所述声纹锁的开锁控制操作。The voiceprint lock control module is configured to execute the unlocking control operation of the voiceprint lock in response to the matching result indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database.
  12. 一种声纹锁,包括:主控装置,分别与所述主控装置通信连接的语音采集装置、存储器、锁具执行机构、感知信息输出装置,其中,A voiceprint lock, comprising: a main control device, a voice collection device, a memory, a lock actuator, and a sensory information output device respectively connected to the main control device in communication, wherein,
    所述存储器,用于存储字典库和注册声纹信息库,其中,所述注册声纹信息库中存储有:声纹匹配对象,以及所述相应声纹匹配对应的注册声纹信息;The memory is used to store a dictionary database and a registered voiceprint information database, wherein the registered voiceprint information database stores: voiceprint matching objects, and registered voiceprint information corresponding to the corresponding voiceprint matching;
    所述感知信息输出装置,用于根据所述主控装置的控制,输出呈现指定声纹匹配对象的感知信息,其中,所述输出呈现指定声纹匹配对象的感知信息,包括:显示指定声纹匹配对象的文本;和/或,播放指定声纹匹配对象的朗读语音;The perceptual information output device is configured to output perceptual information presenting the specified voiceprint matching object according to the control of the main control device, wherein the output presenting perceptual information presenting the specified voiceprint matching object includes: displaying the specified voiceprint The text of the matching object; and/or, play the reading voice of the specified voiceprint matching object;
    所述语音采集装置,用于根据所述主控装置的控制采集用户针对所述感知信息的反馈语音,并将采集的所述反馈语音发送至所述主控装置;The voice collection device is configured to collect a user's feedback voice for the perceptual information according to the control of the main control device, and send the collected feedback voice to the main control device;
    所述主控装置,还用于确定所述反馈语音中的待识别声纹信息,并将所述待识别声纹信息与所述声纹锁中存储的注册声纹信息库中的注册声纹信息进行声纹匹配,确定所述进行声纹匹配得到的匹配结果,以及,响应于所述匹配结果指示所述待识别声纹信息与所述注册声纹信息库中的注册声纹信息匹配成功,执行基于所述待识别声纹信息对所述注册声纹信息库的更新操作;和/或,执行所述声纹锁的开锁控制操作。The main control device is also used to determine the voiceprint information to be recognized in the feedback voice, and combine the voiceprint information to be recognized with the registered voiceprint in the registered voiceprint information database stored in the voiceprint lock. performing voiceprint matching on the information, determining the matching result obtained by performing the voiceprint matching, and indicating that the voiceprint information to be recognized is successfully matched with the registered voiceprint information in the registered voiceprint information database in response to the matching result performing an update operation of the registered voiceprint information base based on the voiceprint information to be identified; and/or performing an unlocking control operation of the voiceprint lock.
  13. 根据权利要求12所述的声纹锁,其中,所述存储器内置于所述主控装置中。The voiceprint lock according to claim 12, wherein the memory is built in the main control device.
  14. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在处理器上运行的程序代码,所述处理器执行所述程序代码时实现权利要求1至10任意一项所述的声纹锁控制方法。An electronic device, comprising a memory, a processor, and program codes stored in the memory and operable on the processor, when the processor executes the program code, the method described in any one of claims 1 to 10 is realized. Voiceprint lock control method.
  15. 一种计算机可读存储介质,其上存储有程序代码,该程序代码被处理器执行时实现权利要求1至10任意一项所述的声纹锁控制方法的步骤。A computer-readable storage medium, on which program codes are stored, and when the program codes are executed by a processor, the steps of the voiceprint lock control method described in any one of claims 1 to 10 are realized.
PCT/CN2022/100787 2021-07-01 2022-06-23 Voiceprint lock control method and apparatus, and electronic device WO2023274028A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110747765.1 2021-07-01
CN202110747765.1A CN113570754B (en) 2021-07-01 2021-07-01 Voiceprint lock control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023274028A1 true WO2023274028A1 (en) 2023-01-05

Family

ID=78163421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/100787 WO2023274028A1 (en) 2021-07-01 2022-06-23 Voiceprint lock control method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113570754B (en)
WO (1) WO2023274028A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570754B (en) * 2021-07-01 2022-04-29 汉王科技股份有限公司 Voiceprint lock control method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506524A (en) * 2016-11-30 2017-03-15 百度在线网络技术(北京)有限公司 Method and apparatus for verifying user
CN106920303A (en) * 2017-01-21 2017-07-04 云丁网络技术(北京)有限公司 A kind of method for unlocking and its intelligent door lock system based on speech recognition
CN107180632A (en) * 2017-06-19 2017-09-19 微鲸科技有限公司 Sound control method, device and readable storage medium storing program for executing
WO2020007495A1 (en) * 2018-07-06 2020-01-09 Veridas Digital Authentication Solutions, S.L. Authenticating a user
CN111341326A (en) * 2020-02-18 2020-06-26 RealMe重庆移动通信有限公司 Voice processing method and related product
CN111599074A (en) * 2020-06-09 2020-08-28 苏州思必驰信息科技有限公司 Building entrance guard registration method, use method and device
CN113570754A (en) * 2021-07-01 2021-10-29 汉王科技股份有限公司 Voiceprint lock control method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760434A (en) * 2012-07-09 2012-10-31 华为终端有限公司 Method for updating voiceprint feature model and terminal
CN106098068B (en) * 2016-06-12 2019-07-16 腾讯科技(深圳)有限公司 A kind of method for recognizing sound-groove and device
CN106782572B (en) * 2017-01-22 2020-04-07 清华大学 Voice password authentication method and system
CN107610709B (en) * 2017-08-01 2021-03-19 百度在线网络技术(北京)有限公司 Method and system for training voiceprint recognition model
CN112863009B (en) * 2019-11-08 2022-08-05 北京声智科技有限公司 Door lock control method, device, equipment and computer storage medium
CN111091837A (en) * 2019-12-27 2020-05-01 中国人民解放军陆军工程大学 Time-varying voiceprint authentication method and system based on online learning
CN112309406A (en) * 2020-09-21 2021-02-02 北京沃东天骏信息技术有限公司 Voiceprint registration method, voiceprint registration device and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506524A (en) * 2016-11-30 2017-03-15 百度在线网络技术(北京)有限公司 Method and apparatus for verifying user
CN106920303A (en) * 2017-01-21 2017-07-04 云丁网络技术(北京)有限公司 A kind of method for unlocking and its intelligent door lock system based on speech recognition
CN107180632A (en) * 2017-06-19 2017-09-19 微鲸科技有限公司 Sound control method, device and readable storage medium storing program for executing
WO2020007495A1 (en) * 2018-07-06 2020-01-09 Veridas Digital Authentication Solutions, S.L. Authenticating a user
CN111341326A (en) * 2020-02-18 2020-06-26 RealMe重庆移动通信有限公司 Voice processing method and related product
CN111599074A (en) * 2020-06-09 2020-08-28 苏州思必驰信息科技有限公司 Building entrance guard registration method, use method and device
CN113570754A (en) * 2021-07-01 2021-10-29 汉王科技股份有限公司 Voiceprint lock control method and device and electronic equipment

Also Published As

Publication number Publication date
CN113570754B (en) 2022-04-29
CN113570754A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
US7447632B2 (en) Voice authentication system
JP6394709B2 (en) SPEAKER IDENTIFYING DEVICE AND FEATURE REGISTRATION METHOD FOR REGISTERED SPEECH
JP6567040B2 (en) Voiceprint login method and device based on artificial intelligence
KR101757990B1 (en) Method and device for voiceprint indentification
WO2017113658A1 (en) Artificial intelligence-based method and device for voiceprint authentication
WO2017162053A1 (en) Identity authentication method and device
JP2007133414A (en) Method and apparatus for estimating discrimination capability of voice and method and apparatus for registration and evaluation of speaker authentication
JP2004101901A (en) Speech interaction system and speech interaction program
CN111091837A (en) Time-varying voiceprint authentication method and system based on online learning
WO2023274028A1 (en) Voiceprint lock control method and apparatus, and electronic device
JP4318475B2 (en) Speaker authentication device and speaker authentication program
JP2001331801A (en) Device and method for personal identification and recording medium
JP7339116B2 (en) Voice authentication device, voice authentication system, and voice authentication method
WO2018088534A1 (en) Electronic device, control method for electronic device, and control program for electronic device
WO2021139182A1 (en) Effective intelligent voice detection method and apparatus, device and computer-readable storage medium
JP2003302999A (en) Individual authentication system by voice
JP4245948B2 (en) Voice authentication apparatus, voice authentication method, and voice authentication program
JP2001265385A (en) Speaker recognizing device
JP2000099090A (en) Speaker recognizing method using symbol string
JP3098157B2 (en) Speaker verification method and apparatus
WO2000058947A1 (en) User authentication for consumer electronics
CN112307181A (en) Corpus-specific-corpus-based corpus extraction method and corpus extractor
JPWO2006027844A1 (en) Speaker verification device
JPH11344992A (en) Voice dictionary creating method, personal authentication device and record medium
JP2000181490A (en) Method and device for user collation

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: 22831844

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE