CN113470226A - Control method and device of intelligent lock, storage medium and electronic device - Google Patents

Control method and device of intelligent lock, storage medium and electronic device Download PDF

Info

Publication number
CN113470226A
CN113470226A CN202110725023.9A CN202110725023A CN113470226A CN 113470226 A CN113470226 A CN 113470226A CN 202110725023 A CN202110725023 A CN 202110725023A CN 113470226 A CN113470226 A CN 113470226A
Authority
CN
China
Prior art keywords
target
intelligent lock
voiceprint
password
voice content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110725023.9A
Other languages
Chinese (zh)
Inventor
郭凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110725023.9A priority Critical patent/CN113470226A/en
Publication of CN113470226A publication Critical patent/CN113470226A/en
Pending legal-status Critical Current

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/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • 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
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/22Interactive procedures; Man-machine interfaces
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a control method and a control device of an intelligent lock, a storage medium and an electronic device, wherein the method comprises the following steps: the method comprises the steps that under the condition that an opening operation of an intelligent lock is detected, first voice data collected by the intelligent lock are obtained; performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics; matching the first voiceprint characteristics with target voiceprint characteristics corresponding to the intelligent lock, and matching the first voice content with target opening passwords corresponding to the intelligent lock; and controlling the intelligent lockset to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner. By adopting the technical scheme, the problems that the control safety of the intelligent lock is low and the like in the related technology are solved.

Description

Control method and device of intelligent lock, storage medium and electronic device
Technical Field
The invention relates to the field of communication, in particular to a control method and device of an intelligent lock, a storage medium and an electronic device.
Background
The existing intelligent lockset (such as an intelligent door lock equipped for an entrance door) generally provides a contact unlocking method such as fingerprint unlocking, password unlocking, key unlocking and the like. Contact unlocking can bring bad experience in some scenes. Such as: may affect the physical health of the user, resulting in a reduction in the safety of the user.
Aiming at the problems of low control safety and the like of an intelligent lock in the related art, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a control method and device of an intelligent lock, a storage medium and an electronic device, and at least solves the problems that in the related art, the control safety of the intelligent lock is low and the like.
According to an embodiment of the present invention, a method for controlling an intelligent lock is provided, including: the method comprises the steps that under the condition that an opening operation of an intelligent lock is detected, first voice data collected by the intelligent lock are obtained; performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics; matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlocking password corresponding to the intelligent lock; and controlling the intelligent lockset to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
In an exemplary embodiment, the matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and the matching the first voice content with a target unlock password corresponding to the intelligent lock include: the intelligent lockset is bound with one or more voiceprint features; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features, the first voiceprint features are determined to be matched with the target voiceprint features, and the voiceprint features matched with the first voiceprint features are determined to be the target voiceprint features; acquiring a target account corresponding to the target voiceprint feature; determining an opening password corresponding to the target account as the target opening password; and matching the first voice content with the target opening password.
In an exemplary embodiment, the matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and the matching the first voice content with a target unlock password corresponding to the intelligent lock include: matching the first voice content with one or more opening passwords corresponding to the intelligent lockset one by one; under the condition that an opening password matched with the first voice content is obtained from the one or more opening passwords, determining that the first voice content is matched with the target opening password in a consistent manner, and determining the opening password matched with the first voice content in a consistent manner as the target opening password; acquiring a target account corresponding to the target opening password; determining the voiceprint feature corresponding to the target account as the target voiceprint feature; and matching the first voiceprint feature with the target voiceprint feature.
In an exemplary embodiment, the matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and the matching the first voice content with a target unlock password corresponding to the intelligent lock include: matching the first voiceprint features with one or more voiceprint features corresponding to the intelligent lock one by one, and matching the first voice content with one or more opening passwords corresponding to the intelligent lock one by one; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features and the opening passwords matched with the first voice content are obtained from the one or more opening passwords, obtaining a first account corresponding to the voiceprint features matched with the first voiceprint features and a second account corresponding to the opening passwords matched with the first voice content; and under the condition that the first account and the second account are the same, determining that the first voiceprint feature is matched with the target voiceprint feature consistently, and the first voice content is matched with the target opening password consistently.
In an exemplary embodiment, before the matching the first voiceprint feature with the target voiceprint feature corresponding to the intelligent lock and the matching the first voice content with the target unlock password corresponding to the intelligent lock, the method further includes: receiving a password request, wherein the password request is used for requesting to distribute an opening password for a target account, and the target account is an account bound with the intelligent lock; under the condition that the target account number is determined to correspond to the target voiceprint feature, responding to the password request to randomly distribute the target opening password to the target account number; responding the password request and sending the target opening password to the target account; and recording the target account number, the target voiceprint characteristics and the target opening password which have the corresponding relationship.
In an exemplary embodiment, before acquiring the first voice data collected by the intelligent lock, the method further includes: acquiring second voice data acquired by the intelligent lock; performing voice recognition on the second voice data to obtain second voice content; detecting whether the second voice content carries a target awakening word corresponding to the intelligent lock or not; and under the condition that the second voice content is detected to carry the target awakening word, determining that the unlocking operation is performed on the intelligent lock.
In an exemplary embodiment, the detecting whether the second voice content carries a target wake-up word corresponding to the intelligent lock includes: extracting keywords from the second voice content; and matching the keyword with the target awakening word, wherein the target awakening word is determined to be carried in the second voice content under the condition that the keyword is matched with the target awakening word.
According to another embodiment of the present invention, there is also provided a control device for an intelligent lock, including: the intelligent lock comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first voice data acquired by the intelligent lock under the condition that the intelligent lock is detected to be unlocked; the processing module is used for carrying out voice recognition on the first voice data to obtain first voice content and carrying out voiceprint recognition on the first voice data to obtain first voiceprint characteristics; the matching module is used for matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock and matching the first voice content with a target unlocking password corresponding to the intelligent lock; and the control module is used for controlling the intelligent lockset to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above control method of the intelligent lock when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the control method of the intelligent lock through the computer program.
In the embodiment of the invention, under the condition that the unlocking operation of the intelligent lock is detected, first voice data collected by the intelligent lock is obtained; performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics; matching the first voiceprint characteristics with target voiceprint characteristics corresponding to the intelligent lock, and matching the first voice content with target opening passwords corresponding to the intelligent lock; at first voiceprint characteristic and target voiceprint characteristic matching unanimity, and, under the unanimous condition of password matching is opened with the target to first pronunciation content, control intelligent tool to lock and open, carry out speech recognition and voiceprint recognition to the first speech data that intelligent tool to lock gathered promptly, and use speech recognition's result and the target that intelligent tool to lock corresponds to open the password and match, match the result of voiceprint recognition and the target voiceprint characteristic that intelligent tool to lock corresponds, if the two all matches unanimously, then control the tool to lock and open, the control process of intelligent tool to lock all adopts contactless mode, avoid leading to user's health impaired because of contacting with intelligent tool to lock. By adopting the technical scheme, the problems that the control safety of the intelligent lock is low and the like in the related technology are solved, and the technical effect of improving the control safety of the intelligent lock is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal of a control method for an intelligent lock according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of controlling an intelligent lockset according to an embodiment of the invention;
fig. 3 is a schematic diagram of a process of acquiring an opening code of an intelligent lock according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a control method of an intelligent lockset according to an embodiment of the invention;
fig. 5 is a block diagram of a control device of an intelligent lock according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the invention can be executed in a computer terminal, a computer terminal or a similar arithmetic device. Taking the operation on a computer terminal as an example, fig. 1 is a hardware structure block diagram of the computer terminal of the control method of the intelligent lock according to the embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the control method of the intelligent lock in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a control method of an intelligent lock is provided, which is applied to the computer terminal, and fig. 2 is a flowchart of the control method of the intelligent lock according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, under the condition that the unlocking operation of the intelligent lock is detected, first voice data collected by the intelligent lock is obtained;
step S204, carrying out voice recognition on the first voice data to obtain first voice content, and carrying out voiceprint recognition on the first voice data to obtain first voiceprint characteristics;
step S206, matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlocking password corresponding to the intelligent lock;
and S208, controlling the intelligent lock to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
Through the steps, under the condition that the unlocking operation of the intelligent lock is detected, first voice data collected by the intelligent lock are obtained; performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics; matching the first voiceprint characteristics with target voiceprint characteristics corresponding to the intelligent lock, and matching the first voice content with target opening passwords corresponding to the intelligent lock; at first voiceprint characteristic and target voiceprint characteristic matching unanimity, and, under the unanimous condition of password matching is opened with the target to first pronunciation content, control intelligent tool to lock and open, carry out speech recognition and voiceprint recognition to the first speech data that intelligent tool to lock gathered promptly, and use speech recognition's result and the target that intelligent tool to lock corresponds to open the password and match, match the result of voiceprint recognition and the target voiceprint characteristic that intelligent tool to lock corresponds, if the two all matches unanimously, then control the tool to lock and open, the control process of intelligent tool to lock all adopts contactless mode, avoid leading to user's health impaired because of contacting with intelligent tool to lock. By adopting the technical scheme, the problems that the control safety of the intelligent lock is low and the like in the related technology are solved, and the technical effect of improving the control safety of the intelligent lock is realized.
In the technical solution provided in step S202, the intelligent lock may include, but is not limited to: intelligent lock, intelligent safe deposit box, intelligent drawer lock etc..
Optionally, in this embodiment, the first voice data may be, but is not limited to, a voice that exists in an environment where the intelligent lock is located and is collected by a sound pickup device configured on the intelligent lock.
Optionally, in this embodiment, the unlocking operation is used to instruct the intelligent lock to detect whether to unlock the lock, or to say, to wake up the intelligent lock. The unlocking operation performed on the intelligent lock can be, but is not limited to, performed on the intelligent lock, or performed on a mobile terminal corresponding to the intelligent lock.
In an exemplary embodiment, before the step S202, the unlocking operation may also be performed on the smart lock device, but is not limited to, by: acquiring second voice data acquired by the intelligent lock; performing voice recognition on the second voice data to obtain second voice content; detecting whether the second voice content carries a target awakening word corresponding to the intelligent lock or not; and under the condition that the second voice content is detected to carry the target awakening word, determining that the unlocking operation is performed on the intelligent lock.
In an exemplary embodiment, it may be, but is not limited to, detected whether the second voice content carries a target wake word corresponding to the intelligent lock by the following means: extracting keywords from the second voice content; and matching the keyword with the target awakening word, wherein the target awakening word is determined to be carried in the second voice content under the condition that the keyword is matched with the target awakening word.
In the technical solution provided in step S204, the first voice data is subjected to voice recognition and voiceprint recognition, respectively.
Alternatively, in the present embodiment, speech recognition is a technique for a machine to convert a speech signal into a corresponding text or command through a recognition and understanding process. The voice recognition technology mainly comprises three aspects of a feature extraction technology, a pattern matching criterion and a model training technology. The general scheme for voice unlocking is to use a voice recognition technology to collect voice sent by a user, judge whether the voice is an unlocking instruction after voice recognition, and execute unlocking if the voice is the unlocking instruction.
Alternatively, in this embodiment, like a fingerprint, voiceprint recognition is one of biometric identification technologies, also called speaker recognition, which is a technology for discriminating the identity of a speaker by voice. The theoretical basis for voiceprint recognition is that each sound has a unique characteristic by which it is possible to effectively distinguish between different human voices. Differentiation can be made, but is not limited to, by: pitch spectrum and envelope, energy of pitch frame, frequency of occurrence of pitch formants and locus thereof, and the like.
Voiceprint recognition is a broad concept, and the technical aspects are divided into two categories: namely speaker identification technology and speaker recognition technology, wherein the speaker identification technology is used for judging whether an unknown speaker is a certain appointed person; the latter is used to identify which of the unknown speakers is among the recorded speakers.
Speaker identification technology is often applied to criminal investigation solution, criminal tracking, national defense monitoring, personalized application and the like, and speaker confirmation technology is often applied to security transaction, bank transaction, public security evidence obtaining, personal computer sound control lock, automobile sound control lock, identity card, credit card identification and the like.
Alternatively, in the present embodiment, a speaker recognition technique may be employed for voiceprint recognition. Which user is recognized from the control speech uttered by the user. Voiceprint recognition is divided into two flows: voiceprint enrollment and voiceprint verification. The voiceprint registration is to collect voice data of a user in advance, calculate corresponding voiceprint characteristics according to a voiceprint recognition algorithm and establish a database to store the voiceprint characteristic data. The voiceprint verification is that voiceprint characteristics are calculated in real time after voice signals of a user are collected, then the voiceprint characteristics are compared with existing voiceprint characteristics in a database, and the user can be found if the voiceprint characteristics are matched with the existing voiceprint characteristics in the database.
In the technical solution provided in step S206, the target voiceprint feature corresponding to the intelligent lock is a voiceprint feature of a user who is stored in advance and allowed to control the intelligent lock, and the target unlocking password is a password that is obtained in advance and used for unlocking the intelligent lock.
In an exemplary embodiment, in the above step S206, the first voiceprint feature can be matched with the target voiceprint feature corresponding to the intelligent lock, and the first voice content can be matched with the target unlock password corresponding to the intelligent lock, but not limited to, by one of the following manners:
in a first mode, one or more voiceprint features are bound to the intelligent lockset; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features, the first voiceprint features are determined to be matched with the target voiceprint features, and the voiceprint features matched with the first voiceprint features are determined to be the target voiceprint features; acquiring a target account corresponding to the target voiceprint feature; determining an opening password corresponding to the target account as the target opening password; and matching the first voice content with the target opening password.
Optionally, in this embodiment, but not limited to, the voiceprint feature may be matched to obtain the target voiceprint feature, and then the first voice content is matched with the opening password of the target account corresponding to the target voiceprint feature, if both matching processes pass, it is determined that the first voiceprint feature matches the target voiceprint feature consistently, and the first voice content matches the target opening password consistently.
In a second mode, the first voice content is matched with one or more unlocking passwords corresponding to the intelligent lock one by one; under the condition that an opening password matched with the first voice content is obtained from the one or more opening passwords, determining that the first voice content is matched with the target opening password in a consistent manner, and determining the opening password matched with the first voice content in a consistent manner as the target opening password; acquiring a target account corresponding to the target opening password; determining the voiceprint feature corresponding to the target account as the target voiceprint feature; and matching the first voiceprint feature with the target voiceprint feature.
Optionally, in this embodiment, but not limited to, the first voice content and the opening password may be matched to obtain the target opening password, and then the first voiceprint feature and the voiceprint feature of the target account corresponding to the target opening password are matched, if both matching processes pass, it is determined that the first voiceprint feature matches the target voiceprint feature consistently, and the first voice content matches the target opening password consistently.
In a third mode, the first voiceprint features are matched with one or more voiceprint features corresponding to the intelligent lock one by one, and the first voice content is matched with one or more unlocking passwords corresponding to the intelligent lock one by one; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features and the opening passwords matched with the first voice content are obtained from the one or more opening passwords, obtaining a first account corresponding to the voiceprint features matched with the first voiceprint features and a second account corresponding to the opening passwords matched with the first voice content; and under the condition that the first account and the second account are the same, determining that the first voiceprint feature is matched with the target voiceprint feature consistently, and the first voice content is matched with the target opening password consistently.
Optionally, in this embodiment, the voice content and the voiceprint feature may be matched together, and then it is determined whether the matched accounts are the same account, if so, it is determined that the first voiceprint feature matches the target voiceprint feature consistently, and the first voice content matches the target open password consistently.
In an exemplary embodiment, before the step S206, the target unlock password may be obtained by, but is not limited to, the following method: receiving a password request, wherein the password request is used for requesting to distribute an opening password for a target account, and the target account is an account bound with the intelligent lock; under the condition that the target account number is determined to correspond to the target voiceprint feature, responding to the password request to randomly distribute the target opening password to the target account number; responding the password request and sending the target opening password to the target account; and recording the target account number, the target voiceprint characteristics and the target opening password which have the corresponding relationship.
Optionally, in this embodiment, the target open password may be, but is not limited to, randomly allocated to the target account, so as to ensure that the password used by the target account is basically different each time, and avoid the password being heard by others and lost.
Optionally, in this embodiment, the manner of sending the target open password to the target account may include, but is not limited to, sending the target open password to a client logged in by the target account, sending the target open password to the mobile device bound to the target account in a form of a short message, sending the target open password to a mailbox bound to the target account in a form of an email, and the like.
In an alternative embodiment, a process of obtaining a target unlock password is provided, and fig. 3 is a schematic diagram of a process of obtaining an unlock password of an intelligent lock according to an embodiment of the present invention, as shown in fig. 3, taking a user controlling an intelligent door lock installed on an entrance door as an example, the user applies for the entrance password (i.e., the target unlock password) from a server through an app installed on a mobile phone. This process may be a user manually issuing an application by operating the app. And the distance from the home can be calculated according to the longitude and latitude, and the automatic application is carried out when the distance is less than a certain distance. Or automatically applying according to the set time. And after receiving the password request of the app, the server generates a random password. This random password may have a time limit beyond which it is invalid. The server returns the random password to the app. And can also return to the mobile phone of the user through other forms such as short messages, pushing and the like.
In the technical solution provided in step S208, if the first voiceprint feature is matched with the target voiceprint feature and the first voice content is matched with the target unlocking password, the intelligent lock may be controlled to be unlocked in response to the unlocking operation performed on the intelligent lock.
In order to better understand the process of the control method of the intelligent lock, the following describes an implementation method flow of the control process of the intelligent lock with reference to an optional embodiment, but the implementation method flow is not limited to the technical solution of the embodiment of the present invention.
In this embodiment, a control method of an intelligent lock is provided, and fig. 4 is a schematic diagram of the control method of the intelligent lock according to the embodiment of the present invention, as shown in fig. 4, taking a user controlling an intelligent door lock installed on an entrance door as an example, the entrance door is equipped with a microphone and has a voice recognition function. Before the user reaches the entrance, the entrance is wakened up and the applied password is input in a voice mode. The entrance door transmits the collected sound signal to the server. The server performs two processes simultaneously, namely recognizing the input password by using a voice recognition technology and recognizing the identity information of the user by using a voiceprint recognition technology. And verifying the identified password and the identified user identity. And performing logical AND operation on the two verification results. The returned result after passing must be checked at the same time, otherwise, the returned result is false. And the entrance door executes unlocking according to the result returned by the server if the result is true, and does not execute unlocking according to other results.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 5 is a block diagram of a control device of an intelligent lock according to an embodiment of the invention; as shown in fig. 5, includes:
the first obtaining module 52 is configured to obtain first voice data collected by the intelligent lock when it is detected that an unlocking operation is performed on the intelligent lock;
the processing module 54 is configured to perform voice recognition on the first voice data to obtain first voice content, and perform voiceprint recognition on the first voice data to obtain a first voiceprint feature;
a matching module 56, configured to match the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and match the first voice content with a target unlocking password corresponding to the intelligent lock;
and the control module 58 is configured to control the intelligent lock to unlock when the first voiceprint feature matches the target voiceprint feature consistently and the first voice content matches the target unlocking password consistently.
Through the embodiment, under the condition that the unlocking operation of the intelligent lock is detected, the first voice data collected by the intelligent lock is obtained; performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics; matching the first voiceprint characteristics with target voiceprint characteristics corresponding to the intelligent lock, and matching the first voice content with target opening passwords corresponding to the intelligent lock; at first voiceprint characteristic and target voiceprint characteristic matching unanimity, and, under the unanimous condition of password matching is opened with the target to first pronunciation content, control intelligent tool to lock and open, carry out speech recognition and voiceprint recognition to the first speech data that intelligent tool to lock gathered promptly, and use speech recognition's result and the target that intelligent tool to lock corresponds to open the password and match, match the result of voiceprint recognition and the target voiceprint characteristic that intelligent tool to lock corresponds, if the two all matches unanimously, then control the tool to lock and open, the control process of intelligent tool to lock all adopts contactless mode, avoid leading to user's health impaired because of contacting with intelligent tool to lock. By adopting the technical scheme, the problems that the control safety of the intelligent lock is low and the like in the related technology are solved, and the technical effect of improving the control safety of the intelligent lock is realized.
In an exemplary embodiment, the matching module is configured to:
the intelligent lockset is bound with one or more voiceprint features; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features, the first voiceprint features are determined to be matched with the target voiceprint features, and the voiceprint features matched with the first voiceprint features are determined to be the target voiceprint features;
acquiring a target account corresponding to the target voiceprint feature;
determining an opening password corresponding to the target account as the target opening password;
and matching the first voice content with the target opening password.
In an exemplary embodiment, the matching module is configured to:
matching the first voice content with one or more opening passwords corresponding to the intelligent lockset one by one;
under the condition that an opening password matched with the first voice content is obtained from the one or more opening passwords, determining that the first voice content is matched with the target opening password in a consistent manner, and determining the opening password matched with the first voice content in a consistent manner as the target opening password;
acquiring a target account corresponding to the target opening password;
determining the voiceprint feature corresponding to the target account as the target voiceprint feature;
and matching the first voiceprint feature with the target voiceprint feature.
In an exemplary embodiment, the matching module is configured to:
matching the first voiceprint features with one or more voiceprint features corresponding to the intelligent lock one by one, and matching the first voice content with one or more opening passwords corresponding to the intelligent lock one by one;
under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features and the opening passwords matched with the first voice content are obtained from the one or more opening passwords, obtaining a first account corresponding to the voiceprint features matched with the first voiceprint features and a second account corresponding to the opening passwords matched with the first voice content;
and under the condition that the first account and the second account are the same, determining that the first voiceprint feature is matched with the target voiceprint feature consistently, and the first voice content is matched with the target opening password consistently.
In one exemplary embodiment, the apparatus further comprises:
a receiving module, configured to receive a password request before matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock and matching the first voice content with a target unlocking password corresponding to the intelligent lock, where the password request is used to request an unlocking password to be allocated to a target account, and the target account is an account bound to the intelligent lock;
the allocation module is used for responding to the password request and randomly allocating the target opening password to the target account under the condition that the target account is determined to correspond to the target voiceprint feature;
the sending module is used for responding the password request and sending the target opening password to the target account;
and the recording module is used for recording the target account number, the target voiceprint characteristics and the target opening password which have the corresponding relationship.
In one exemplary embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring second voice data acquired by the intelligent lock before acquiring the first voice data acquired by the intelligent lock;
the recognition module is used for carrying out voice recognition on the second voice data to obtain second voice content;
the detection module is used for detecting whether the second voice content carries a target awakening word corresponding to the intelligent lock or not;
and the determining module is used for determining that the unlocking operation is performed on the intelligent lock under the condition that the target awakening word is detected to be carried in the second voice content.
In an exemplary embodiment, the detection module is configured to:
extracting keywords from the second voice content;
and matching the keyword with the target awakening word, wherein the target awakening word is determined to be carried in the second voice content under the condition that the keyword is matched with the target awakening word.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, acquiring first voice data acquired by the intelligent lock when the intelligent lock is detected to be unlocked;
s2, performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics;
s3, matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlocking password corresponding to the intelligent lock;
s4, controlling the intelligent lock to be unlocked when the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring first voice data acquired by the intelligent lock when the intelligent lock is detected to be unlocked;
s2, performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics;
s3, matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlocking password corresponding to the intelligent lock;
s4, controlling the intelligent lock to be unlocked when the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A control method of an intelligent lock is characterized by comprising the following steps:
the method comprises the steps that under the condition that an opening operation of an intelligent lock is detected, first voice data collected by the intelligent lock are obtained;
performing voice recognition on the first voice data to obtain first voice content, and performing voiceprint recognition on the first voice data to obtain first voiceprint characteristics;
matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlocking password corresponding to the intelligent lock;
and controlling the intelligent lockset to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
2. The method for controlling an intelligent lock according to claim 1, wherein the matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock and the matching the first voice content with a target unlock password corresponding to the intelligent lock comprise:
the intelligent lockset is bound with one or more voiceprint features; under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features, the first voiceprint features are determined to be matched with the target voiceprint features, and the voiceprint features matched with the first voiceprint features are determined to be the target voiceprint features;
acquiring a target account corresponding to the target voiceprint feature;
determining an opening password corresponding to the target account as the target opening password;
and matching the first voice content with the target opening password.
3. The method for controlling an intelligent lock according to claim 1, wherein the matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock and the matching the first voice content with a target unlock password corresponding to the intelligent lock comprise:
matching the first voice content with one or more opening passwords corresponding to the intelligent lockset one by one;
under the condition that an opening password matched with the first voice content is obtained from the one or more opening passwords, determining that the first voice content is matched with the target opening password in a consistent manner, and determining the opening password matched with the first voice content in a consistent manner as the target opening password;
acquiring a target account corresponding to the target opening password;
determining the voiceprint feature corresponding to the target account as the target voiceprint feature;
and matching the first voiceprint feature with the target voiceprint feature.
4. The method for controlling the intelligent lock according to claim 1, wherein matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock, and matching the first voice content with a target unlock password corresponding to the intelligent lock comprise:
matching the first voiceprint features with one or more voiceprint features corresponding to the intelligent lock one by one, and matching the first voice content with one or more opening passwords corresponding to the intelligent lock one by one;
under the condition that the voiceprint features matched with the first voiceprint features are obtained from the one or more voiceprint features and the opening passwords matched with the first voice content are obtained from the one or more opening passwords, obtaining a first account corresponding to the voiceprint features matched with the first voiceprint features and a second account corresponding to the opening passwords matched with the first voice content;
and under the condition that the first account and the second account are the same, determining that the first voiceprint feature is matched with the target voiceprint feature consistently, and the first voice content is matched with the target opening password consistently.
5. The method for controlling an intelligent lock according to claim 1, wherein before the matching the first voiceprint feature with the target voiceprint feature corresponding to the intelligent lock and the matching the first voice content with the target unlock code corresponding to the intelligent lock, the method further comprises:
receiving a password request, wherein the password request is used for requesting to distribute an opening password for a target account, and the target account is an account bound with the intelligent lock;
under the condition that the target account number is determined to correspond to the target voiceprint feature, responding to the password request to randomly distribute the target opening password to the target account number;
responding the password request and sending the target opening password to the target account;
and recording the target account number, the target voiceprint characteristics and the target opening password which have the corresponding relationship.
6. The method for controlling the intelligent lock according to claim 1, wherein before the obtaining the first voice data collected by the intelligent lock, the method further comprises:
acquiring second voice data acquired by the intelligent lock;
performing voice recognition on the second voice data to obtain second voice content;
detecting whether the second voice content carries a target awakening word corresponding to the intelligent lock or not;
and under the condition that the second voice content is detected to carry the target awakening word, determining that the unlocking operation is performed on the intelligent lock.
7. The method for controlling an intelligent lock according to claim 6, wherein the detecting whether the second voice content carries a target wake-up word corresponding to the intelligent lock includes:
extracting keywords from the second voice content;
and matching the keyword with the target awakening word, wherein the target awakening word is determined to be carried in the second voice content under the condition that the keyword is matched with the target awakening word.
8. The utility model provides a controlling means of intelligence tool to lock which characterized in that includes:
the intelligent lock comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first voice data acquired by the intelligent lock under the condition that the intelligent lock is detected to be unlocked;
the processing module is used for carrying out voice recognition on the first voice data to obtain first voice content and carrying out voiceprint recognition on the first voice data to obtain first voiceprint characteristics;
the matching module is used for matching the first voiceprint feature with a target voiceprint feature corresponding to the intelligent lock and matching the first voice content with a target unlocking password corresponding to the intelligent lock;
and the control module is used for controlling the intelligent lockset to be unlocked under the condition that the first voiceprint feature is matched with the target voiceprint feature in a consistent manner and the first voice content is matched with the target unlocking password in a consistent manner.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202110725023.9A 2021-06-29 2021-06-29 Control method and device of intelligent lock, storage medium and electronic device Pending CN113470226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110725023.9A CN113470226A (en) 2021-06-29 2021-06-29 Control method and device of intelligent lock, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110725023.9A CN113470226A (en) 2021-06-29 2021-06-29 Control method and device of intelligent lock, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113470226A true CN113470226A (en) 2021-10-01

Family

ID=77873601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110725023.9A Pending CN113470226A (en) 2021-06-29 2021-06-29 Control method and device of intelligent lock, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113470226A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08190684A (en) * 1995-01-06 1996-07-23 Nippon Avionics Co Ltd Entrance/exit controller
JP2000080828A (en) * 1998-09-07 2000-03-21 Denso Corp Vehicle control device
CN109493855A (en) * 2017-09-11 2019-03-19 中国电信股份有限公司 Speech-sound intelligent locks method and system
CN109493494A (en) * 2018-12-15 2019-03-19 深圳壹账通智能科技有限公司 Method for unlocking, device, equipment and medium based on smart lock
CN109671185A (en) * 2017-10-17 2019-04-23 杭州海康威视数字技术股份有限公司 A kind of Door-access control method and device
CN111429908A (en) * 2020-03-30 2020-07-17 北京声智科技有限公司 Intelligent electronic lock control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08190684A (en) * 1995-01-06 1996-07-23 Nippon Avionics Co Ltd Entrance/exit controller
JP2000080828A (en) * 1998-09-07 2000-03-21 Denso Corp Vehicle control device
CN109493855A (en) * 2017-09-11 2019-03-19 中国电信股份有限公司 Speech-sound intelligent locks method and system
CN109671185A (en) * 2017-10-17 2019-04-23 杭州海康威视数字技术股份有限公司 A kind of Door-access control method and device
CN109493494A (en) * 2018-12-15 2019-03-19 深圳壹账通智能科技有限公司 Method for unlocking, device, equipment and medium based on smart lock
CN111429908A (en) * 2020-03-30 2020-07-17 北京声智科技有限公司 Intelligent electronic lock control method and device

Similar Documents

Publication Publication Date Title
CN107886958A (en) A kind of express delivery cabinet pickup method and device based on vocal print
CN107578519A (en) A kind of intelligent access control system and intelligent entrance guard method for unlocking
CN108074310A (en) Voice interactive method and intelligent lock administration system based on sound identification module
CN107886957A (en) The voice awakening method and device of a kind of combination Application on Voiceprint Recognition
US7415410B2 (en) Identification apparatus and method for receiving and processing audible commands
CN102005070A (en) Voice identification gate control system
CN106888204B (en) Implicit identity authentication method based on natural interaction
CN105991593A (en) Method and device for identifying risk of user
CN107680221A (en) Door opening method and device, entrance guard device and computer-readable recording medium
CN103078828A (en) Cloud-model voice authentication system
CN104348621A (en) Authentication system based on voiceprint recognition and method thereof
CN110399708A (en) A kind of dual-identity authentication method, apparatus and electronic equipment
CN107958520A (en) The smart lock that a kind of vocal print bluetooth method for unlocking and application this method are opened
CN110149618B (en) Intelligent device access method, device, equipment and medium based on voiceprint authorization
CN108091016A (en) The smart lock that a kind of vocal print method for unlocking and application this method are opened
CN112489276A (en) Gate inhibition control method and device based on gait recognition and storage medium
CN108540357B (en) Voice control method and device and sound equipment
CN113628367A (en) Lock control method, device and system, storage medium and electronic equipment
CN210627300U (en) Low-power-consumption intelligent door lock
Vitabile et al. A real-time network architecture for biometric data delivery in Ambient Intelligence
CN113470226A (en) Control method and device of intelligent lock, storage medium and electronic device
CN107615299A (en) For assessing the method and system of fingerprint template
CN110796770A (en) Access control method and device, storage medium and electronic device
CN206788947U (en) Access control system based on body shape
CN112232443B (en) Identity authentication method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination