WO2021233272A1 - 一种语音密码的修改方法及装置 - Google Patents

一种语音密码的修改方法及装置 Download PDF

Info

Publication number
WO2021233272A1
WO2021233272A1 PCT/CN2021/094259 CN2021094259W WO2021233272A1 WO 2021233272 A1 WO2021233272 A1 WO 2021233272A1 CN 2021094259 W CN2021094259 W CN 2021094259W WO 2021233272 A1 WO2021233272 A1 WO 2021233272A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
password
signal
modification
voice password
Prior art date
Application number
PCT/CN2021/094259
Other languages
English (en)
French (fr)
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 WO2021233272A1 publication Critical patent/WO2021233272A1/zh

Links

Images

Classifications

    • 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
    • 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
    • G10L17/24Interactive procedures; Man-machine interfaces the user being prompted to utter a password or a predefined phrase

Definitions

  • This application relates to the field of smart home technology, and in particular to a method and device for modifying a voice password.
  • the voice passwords of the voice-controlled household products currently on the market are usually set uniformly at the factory. If different users buy products from the same manufacturer, their voice passwords are often the same. It is an urgent need of consumers to modify the factory voice password into a personalized voice password according to user preferences to protect personal privacy.
  • this application provides a method for modifying a voice password, which includes the following steps:
  • the first control signal is a key signal
  • the key signal is used to wake up the modification mode.
  • the method for modifying the voice password further includes:
  • a first voice reminder signal is issued, and the first voice reminder signal is used to remind the user to input the voice password before modification.
  • the method for modifying the voice password further includes:
  • a second voice reminder signal is issued, and the second voice reminder signal is used to remind the user to input a new voice password.
  • the method for modifying the voice password further includes:
  • a third voice reminder signal is issued, and the third voice reminder signal is used to remind the user that the password is successfully modified.
  • the method for modifying the voice password further includes:
  • a fourth voice reminder signal is issued, and the fourth voice reminder signal is used to remind the user to re-enter the voice password before modification.
  • the method for modifying the voice password further includes:
  • this application provides a voice password modification device, including:
  • a signal acquisition unit for acquiring the first control signal to enter the modification mode
  • the voice password verification unit is used to obtain the current voice password and determine whether the current voice password is correct, and if it is correct, proceed to the next step;
  • the voice password modification unit is used to obtain a new voice password and retrieve it in the voice model library. If there is a voice analog signal matching the voice password in the voice model library, the voice in the voice model library is directly called The analog signal is used as the modified voice password; if there is no voice analog signal matching the voice password in the voice model library, search in the offline vocabulary to generate a voice analog signal matching the voice password and call it to all The voice model library is used as the modified voice password.
  • the signal acquisition unit includes a first button, the first control signal is a button signal, and the button signal is used to wake up the modification mode.
  • the device for modifying the voice password further includes:
  • the voice prompt unit is used to send out a first voice reminder signal after entering the modification mode, and the first voice reminder signal is used to remind the user to input the voice password before modification.
  • the voice prompt unit is further configured to issue a second voice reminder signal after judging that the current voice password is correct, and the second voice reminder signal is used to remind the user to input a new voice password.
  • the voice prompt unit is further configured to send a third voice reminder signal after completing the voice password modification, and the third voice reminder signal is used to remind the user that the password is successfully modified.
  • the voice prompt unit is further configured to send a fourth voice reminder signal if the current voice password is incorrect, and the fourth voice reminder signal is used to remind the user to re-enter the voice password before modification.
  • the signal acquisition unit further includes a second button for acquiring a second control signal to restore factory settings, wherein the second control signal is a button signal.
  • the present application also provides a voice control system, including: a processor, a memory, and a bus, where:
  • the processor and the memory communicate with each other through the bus;
  • the memory stores program instructions that can be executed by the processor, and the processor invokes the program instructions to execute any of the methods described above.
  • this application also provides a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute any of the above method.
  • This application provides a method for modifying the voice password. You only need to press a button without using any smart device or screen. The user can modify the voice password on the spot at any time, and the operation is simple.
  • Figure 1 is a flowchart of a method for modifying a voice password in an embodiment of the application
  • Figure 2 is a schematic diagram of a voice password modification device in an embodiment of the application
  • FIG. 3 is a schematic circuit diagram of a voice password modification device in an embodiment of the application.
  • Figure 4 is a schematic diagram of a voice control system in an embodiment of the application.
  • FIG. 5 is a schematic diagram of the application of a voice password modification device in an embodiment of the application.
  • FIG. 1 it is a flowchart of a method for modifying a voice password in an embodiment of this application, including the steps:
  • the first control signal may be a key signal from a key.
  • the user can press the button to generate the first control signal, and the controller connected to the button receives the button signal to wake up the modification mode configured in the controller, so that the controller enters the modification mode.
  • the user can wake up the modification mode by long pressing the button, for example, the long pressing time is not less than 3 seconds.
  • the user can also wake up the modification mode by continuously pressing the button twice.
  • the way of pressing the keys can be set according to the specific situation, which is not limited here.
  • the method further includes: after entering the modification mode, sending a first voice reminder signal, where the first voice reminder signal is used to remind the user to input the voice password before modification. After hearing this voice prompt, the user speaks the voice password.
  • the voice collection component can obtain the current voice password, convert it into a voice signal and send it to the controller, and the controller judges whether the current voice password is correct according to this.
  • voice password recognition and determination belong to the prior art in this field. Those skilled in the art can retrieve a large number of patents and related documents on how to perform speech recognition and judgment. The specific speech recognition method does not belong to the focus of this application, and this application will not be expanded in detail.
  • voice password recognition and determination includes two steps: voice training and voice recognition.
  • voice training stage a large amount of speech corpus needs to be collected, and feature vector parameters are obtained after preprocessing and feature extraction.
  • feature vector parameters are obtained after preprocessing and feature extraction.
  • the purpose of establishing a reference model library for training speech is achieved through feature modeling.
  • the feature vector parameters of the input speech and the reference model in the reference model library are compared for similarity, and then the input vector with the highest similarity is output as the recognition result, and finally the goal of speech recognition is achieved.
  • the method further includes: after judging that the current voice password is correct, sending a second voice reminder signal, the second voice reminder signal being used to remind the user to input a new voice password.
  • the method further includes: after judging that the current voice password is wrong, issuing a voice reminder signal to remind the user to re-enter the voice password before modification; if the user does not operate within a certain period of time, Exit the modification mode.
  • the modification mode can be exited by default if there is no operation within 5 seconds.
  • the length of time can be adjusted according to the actual situation, which is not limited here.
  • the voice password is obtained and converted into a voice signal, which is searched and compared in the voice model library. If the voice password has been used before, the voice analog signal that accompanies the voice password can be retrieved in the voice model library, and the voice analog signal can be directly used as the modified voice password when it is modified. If the voice password has not been used before, there is no voice analog signal matching the voice password in the voice model library. At this time, search in the offline vocabulary to generate a voice analog signal matching the voice password, and call to The voice model library is used as the modified voice password. For different countries or regions where the product is sold, all the acoustic symbols of that country are stored in the offline thesaurus.
  • Acoustic symbols can be syllables or smaller-grained phonemes; or consonants, as in Chinese. For example, if the user sets the voice password to "Open Sesame", then this voice input will be converted into an acoustic output, or more accurately, the probability that the voice belongs to a certain acoustic symbol is given, and then a voice analog signal is generated as an update After the voice password.
  • the method for modifying the voice password further includes: sending a third voice reminder signal after completing the voice password modification, and the third voice reminder signal is used to remind the user that the password is successfully modified.
  • the method for modifying the voice password further includes: acquiring a second control signal to restore factory settings, wherein the second control signal is a key signal.
  • the user can press the button to generate the second control signal, and the controller connected to the button receives the button signal to restore the factory settings.
  • This application provides a method for modifying the voice password. You only need to press a button without using any smart device or screen. The user can modify the voice password on the spot at any time, and the operation is simple.
  • FIG. 2 is a schematic diagram of a device for modifying a voice password in an embodiment of this application, it includes:
  • the signal acquisition unit 101 is configured to acquire the first control signal to enter the modification mode
  • the voice password verification unit 102 is used to obtain the current voice password and determine whether the current voice password is correct, and if it is correct, proceed to the next step;
  • the voice password modification unit 103 is used to obtain a new voice password and search it in the voice model library. If there is a voice analog signal matching the voice password in the voice model library, directly call the voice model library in the voice model library. The voice analog signal is used as the modified voice password; if there is no voice analog signal matching the voice password in the voice model library, search in the offline lexicon, generate a voice analog signal matching the voice password, and call to The voice model library is used as the modified voice password.
  • the signal acquisition unit 101 includes a first button, the first control signal is a button signal, and the button signal is used to wake up the modification mode.
  • the modification device further includes:
  • the voice prompt unit 104 is configured to send out a first voice reminder signal after entering the modification mode.
  • the first voice reminder signal is used to remind the user to input the voice password before modification; after judging that the current voice password is correct, send out
  • the second voice reminder signal the second voice reminder signal is used to remind the user to enter a new voice password; after completing the voice password modification, a third voice reminder signal is issued, the third voice reminder signal is used to remind the user to modify the password Success; or if the current voice password is incorrect, a fourth voice reminder signal is issued, and the fourth voice reminder signal is used to remind the user to re-enter the voice password before modification.
  • the signal acquisition unit 101 further includes a second button for acquiring a second control signal to restore factory settings, wherein the second control signal is a button signal.
  • the device for modifying a voice password provided by the embodiment of the present application can execute the embodiment of the above method, and its implementation principle and technical effect are similar, and will not be repeated here.
  • a device for modifying a voice password is disclosed.
  • FIG. 3 a schematic circuit diagram of a device for modifying a voice password in an embodiment of this application, including a first input circuit 201, Voice collection circuit 202 and controller 203.
  • the first input circuit 201 includes a key 1, a capacitor C5, and resistors R4 and R5. Specifically, the user can long press the key 1, the capacitor C5 is discharged through the key 1, and the external 3.3V power supply is connected to the P0.1 pin of the controller through the resistor R5. At this time, the pin inputs a high level. If the user does not press the key 1, the P0.1 pin of the controller is connected to the ground through the resistors R4 and R5, at this time, the pin inputs a low level.
  • the voice collection circuit 202 includes capacitors C1 to C4, resistors R1 to R3 and microphones.
  • the controller P0.1 pin inputs a low level, and the controller 203 controls the pin MICP to output a high level, so as to wake up the microphone and start collecting sound.
  • the microphone converts the collected voice into a voice signal and sends it to the controller 203.
  • the controller 203 obtains the current voice signal, and determines whether the current voice password is correct, and if it is correct, enters the next step.
  • the microphone collects the sound, converts it into a voice signal and sends it to the controller 203.
  • the controller 203 obtains the new voice password and searches it in the voice model library. If there is a voice analog signal matching the voice password in the voice model library, it directly calls the voice analog signal in the voice model library as a modification After the voice password; if there is no voice analog signal matching the voice password in the voice model library, search in the offline lexicon to generate a voice analog signal matching the voice password and call it to the voice model library As the modified voice password.
  • the device for modifying the voice password further includes a reset circuit 204.
  • the reset circuit 204 includes a button RESET, a resistor R6 and a capacitor C6. Specifically, the user can press the RESET button, the capacitor C6 is discharged through the RESET button, and the P0.0 pin of the controller is connected to the ground through the RESET button. At this time, the pin inputs a low level. If the user does not press the RESET button, the P0.0 pin of the controller is connected to the external 3.3V power supply through the resistor R6, and the pin inputs a high level at this time. After the controller 203 obtains the signal input by the RESET button, it restores the factory settings.
  • FIG. 4 is a schematic diagram of a voice control system in an embodiment of this application, including: a central processing unit (CPU) 301, which can Various appropriate actions and processing are performed according to a program stored in a read only memory (ROM) 302 or a program loaded from a storage section into a random access memory (RAM) 303.
  • ROM read only memory
  • RAM random access memory
  • various programs and data required for system operation are also stored.
  • the CPU 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304.
  • An input/output (I/O) interface 305 is also connected to the bus 304.
  • the following components are connected to the I/O interface 305: the input section 306 including buttons and microphones; the output section including speakers, etc.; the storage section 308 including hard disks, etc.; and the communication including network interface cards such as LAN cards, modems, etc. Part 309.
  • the communication section 309 performs communication processing via a network such as the Internet.
  • the drive is also connected to the I/O interface 305 as needed.
  • the process described above with reference to flowchart 1 can be implemented as a computer software program.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication part, and/or installed from a removable medium.
  • the central processing unit (CPU) 301 the above-mentioned functions defined in the system of the present application are executed.
  • this application also provides a computer-readable medium.
  • the computer-readable medium may be included in the electronic device described in the above-mentioned embodiment; or it may exist alone without being assembled into the electronic device. middle.
  • the above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device realizes the method for modifying the voice password as described in the above-mentioned embodiment.
  • the electronic device may implement the steps shown in Figure 1: S111. Obtain the first control signal to enter the modification mode; S112. Obtain the current voice password, and determine whether the current voice password is correct, and if it is correct, Go to the next step; S113. Obtain a new voice password and retrieve it in the voice model library. If there is a voice simulation signal matching the voice password in the voice model library, directly call the voice simulation in the voice model library The signal is used as the modified voice password; if there is no voice analog signal matching the voice password in the voice model library, search in the offline vocabulary to generate a voice analog signal matching the voice password, and call it to the The voice model library is used as the modified voice password.
  • an application of a voice password modification device in controlling the switch of a cabinet door is disclosed.
  • the system includes a power supply 104, a voice control device 402, a motor drive module 403, a motor 404 and a door opening and closing mechanism 405.
  • the power supply 401 is connected to the voice control device 402 for providing power.
  • the power supply 401 can be one or more of the mains power, the storage battery, and the mobile power supply, which is not limited here.
  • the voice control device 402 is used to identify the user's voice password, and then control the motor drive module 403.
  • the voice control device 402 may be any device for modifying the voice password in the above-mentioned embodiments, and can execute the method for modifying the voice password in the above-mentioned embodiments, so as to achieve the purpose of modifying the voice password on site.
  • the working principle and effect of the voice control device 402 will not be repeated here.
  • the motor drive module 403 is controlled under the control of the voice control module 402, and sends a drive signal to the motor 404 after receiving the control signal of the voice control module 402, so as to drive the motor 404 to rotate.
  • the motor 404 is used to drive the door opening and closing mechanism 405 to perform door opening or closing actions.
  • the door opening and closing mechanism 405 is connected to the cabinet door, and the cabinet door is closed or opened under the driving of the door opening and closing mechanism 405.
  • modules usually include hardware and/or a combination of hardware and software (such as firmware). These modules may also include computer-readable media (for example, permanent media) containing instructions (for example, software instructions). When the processor executes these instructions, various functional features of the present invention can be executed. Accordingly, unless explicitly required, the scope of the present invention is not limited by the specific hardware and/or software characteristics in the modules explicitly mentioned in the embodiments.
  • processors such as microprocessors, digital signal processors, baseband processors, microcontrollers
  • software instructions such as stored in non-permanent Storage and/or permanent storage.
  • the present invention can also be implemented by an application specific integrated circuit (ASIC) and/or other hardware elements.
  • ASIC application specific integrated circuit
  • the division into these modules is for clarity of illustration. However, in actual implementation, the boundaries of various modules may be blurred.
  • any or all functional modules in this document can share various hardware and/or software elements.
  • any and/or all functional modules in this document may be implemented in whole or in part by executing software instructions by a common processor.
  • various software sub-modules executed by one or more processors can be shared among various software modules. Accordingly, unless expressly required, the scope of the present invention is not limited by mandatory boundaries between various hardware and/or software elements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

一种语音密码的修改方法,包括如下步骤:获取第一控制信号,以进入修改模式(S111);获取当前语音密码,并判断当前语音密码是否正确,若正确则进入下一步(S112);获取新的语音密码,并在语音模型库中进行检索,若语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用语音模型库中的语音模拟信号作为修改后的语音密码;若语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到语音模型库中作为修改后的语音密码(S113)。该语音密码修改方法,无需使用任何智能设备或屏幕,用户可随时现场修改语音密码,操作简单。

Description

一种语音密码的修改方法及装置 技术领域
本申请涉及智能家居技术领域,具体涉及一种语音密码的修改方法及装置。
背景技术
随着智能化程度的提高,很多家居产品都做成了智能产品。例如,传统的柜子,要么是不带锁的,要么是配置了传统的机械钥匙,要么是配置了指纹锁。而智能柜子,往往可以用语音控制其开启或关闭。
目前市场上的语音控制的家居产品,其语音密码通常都是出厂统一设置的。不同的用户,如果买了同一个厂家生产的产品,其语音密码往往都是一样的。将出厂的语音密码根据用户喜好,修改成个性化的语音密码是消费者的一个迫切需求,以保护个人的隐私。
在现有技术中,修改语音密码的方式通常有两种,一种是通过生产厂家修改语音控制装置的内部程序,从而修改语音密码;另一种是通过电脑、手机或触摸屏等工具进行修改。这两种修改方式对使用者来说都不太方便,尤其是对年龄较大的使用者来说更加不方便。
发明内容
鉴于现有技术中的上述缺陷或不足,期望提供一种语音密码的修改方法及装置,能够解决现有技术对语音密码修改不方便的问题,以实现随意修改语音密码的目的。
第一方面,本申请提供了一种语音密码的修改方法,包括如下步骤:
获取第一控制信号,以进入修改模式;
获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;
获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
优选地,所述第一控制信号为按键信号,所述按键信号用于唤醒所述修改模式。
优选地,所述语音密码的修改方法,还包括:
进入修改模式后,发出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码。
优选地,所述语音密码的修改方法,还包括:
在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码。
优选地,所述语音密码的修改方法,还包括:
在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功。
优选地,所述语音密码的修改方法,还包括:
若所述当前语音密码不正确,则发出第四语音提醒信号,所述第四语音提醒信号用于提醒用户重新输入修改前的语音密码。
优选地,所述语音密码的修改方法,还包括:
获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。
第二方面,本申请提供了一种语音密码的修改装置,包括:
信号获取单元,用于获取第一控制信号,以进入修改模式;
语音密码验证单元,用于获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;
语音密码修改单元,用于获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密 码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
优选地,所述信号获取单元包括第一按键,所述第一控制信号为按键信号,所述按键信号用于唤醒所述修改模式。
优选地,所述语音密码的修改装置,还包括:
语音提示单元,用于进入修改模式后,发出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码。
优选地,所述语音提示单元还用于在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码。
优选地,所述语音提示单元还用于在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功。
优选地,所述语音提示单元还用于若所述当前语音密码不正确,则发出第四语音提醒信号,所述第四语音提醒信号用于提醒用户重新输入修改前的语音密码。
优选地,所述信号获取单元还包括第二按键,用于获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。
第三方面,本申请还提供了一种语音控制系统,包括:处理器、存储器和总线,其中,
所述处理器和所述存储器通过对所述总线完成相互间的通信;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令执行上述任一项所述的方法。
第四方面,本申请还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使得所述计算机执行上述任一项所述的方法。
本申请提供语音密码的修改方法,只需要通过按键,无需使用任何智能设备或屏幕,用户可随时现场修改语音密码,操作简单。
附图说明
图1为本申请的实施例中一种语音密码的修改方法的流程图;
图2为本申请的实施例中一种语音密码的修改装置的示意图;
图3为本申请的实施例中一种语音密码的修改装置的电路示意图;
图4为本申请的实施例中一种语音控制系统的示意图;
图5为本申请的实施例中一种语音密码修改装置的应用示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
如图1所示,为本申请的实施例中一种语音密码的修改方法的流程图,包括步骤:
S111.获取第一控制信号,以进入修改模式。具体地,所述第一控制信号可为来自按键的按键信号。用户可以按下该按键,以产生所述第一控制信号,与该按键连接的控制器接收到该按键信号,从而唤醒控制器内配置的修改模式,从而控制器进入修改模式。
在本申请的一个实施例中,用户可以通过长按该按键唤醒修改模式,例如长按时间不低于3s。在本申请的另一个实施例中,用户也可以通过连续按该按键两次唤醒修改模式。按键的方式可以根据具体情况设置,在此并不限制。
S112.获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步。
在本申请的一个实施例中,该方法还包括:进入修改模式后,发 出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码。用户在听到这个语音提示后,说出语音密码。语音采集元件可以获取当前的语音密码,并将其转换成语音信号发送给控制器,控制器据此判断当前的语音密码是否正确。
语音密码识别与判定在本领域来说属于现有技术。本领域技术人员可以检索到大量的关于如何进行语音识别和判定的专利及相关文件。具体的语音识别方法并不属于本申请的重点,本申请不详细展开。在本申请的一个实施例中,语音密码识别与判定包括语音训练和语音识别两个步骤。语音训练阶段需要收集大量的语音语料,经过预处理和特征提取后得到特征矢量参数,最后通过特征建模达到建立训练语音的参考模型库的目的。语音识别阶段将输入语音的特征矢量参数和参考模型库中的参考模型进行相似度比较,然后把相似度最高的输入矢量作为识别结果输出,最终就达到了语音识别的目的。
在本申请的一个实施例中,该方法还包括:在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码。
在本申请的一个实施例中,该方法还包括:在判断所述当前语音密码是错误的后,发出语音提醒信号,提醒用户重新输入修改前的语音密码;若用户在一定时间内无操作,则退出修改模式。在本申请的实施例中,可以默认5s内无操作则退出修改模式。当然,时间的长短可以根据实际情况进行调整,在此并不限制。
S113.获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
在本申请的实施例中,获取到语音密码后转换成语音信号,在语音模型库中进行检索和比对。若之前使用过该语音密码,则语音模型库中可以检索到陪陪该语音密码的语音模拟信号,修改时可以直接调 用该语音模拟信号作为修改后的语音密码。若之前没有使用过该语音密码,则所述语音模型库中不存在匹配该语音密码的语音模拟信号,此时到离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。针对产品销售的不同国家或地区,离线词库中存储了该国的所有的声学符号。声学符号可以是音节或者更小颗粒度的音素;或者是如中文中的声韵母。例如,如果用户将语音密码设置为“芝麻开门”,那么这个语音输入会转换成声学表示的输出,更准确地说是给出语音属于某个声学符号的概率,然后生成语音模拟信号,作为更新后的语音密码。
在本申请的实施例中,所述语音密码的修改方法还包括:在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功。
在本发明的一个实施例中,所述语音密码的修改方法还包括:获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。用户可以按下该按键,以产生所述第二控制信号,与该按键连接的控制器接收到该按键信号,从而恢复出厂设置。
本申请提供语音密码的修改方法,只需要通过按键,无需使用任何智能设备或屏幕,用户可随时现场修改语音密码,操作简单。
在本申请的一个实施例中,公开了一种语音密码的修改装置,如图2所示,为本申请的实施例中一种语音密码的修改装置的示意图,包括:
信号获取单元101,用于获取第一控制信号,以进入修改模式;
语音密码验证单元102,用于获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;
语音密码修改单元103,用于获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
具体地,所述信号获取单元101包括第一按键,所述第一控制信号为按键信号,所述按键信号用于唤醒所述修改模式。
进一步地,如图2所示,所述修改装置还包括:
语音提示单元104,用于进入修改模式后,发出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码;在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码;在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功;或若所述当前语音密码不正确,则发出第四语音提醒信号,所述第四语音提醒信号用于提醒用户重新输入修改前的语音密码。
具体地,所述信号获取单元101还包括第二按键,用于获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。
本申请的实施例所提供的一种语音密码的修改装置,可以执行上述方法的实施例,其实现原理和技术效果类似,在此不再赘述。
本申请的一个实施例中,公开了一种语音密码的修改装置,如图3所示,为本申请的实施例中的一种语音密码的修改装置的电路示意图,包括第一输入电路201,语音采集电路202和控制器203。
所述第一输入电路201包括按键key 1,电容C5,电阻R4和R5。具体地,用户可以长按该按键key 1,电容C5通过按键key 1放电,外部3.3V的电源通过电阻R5连接至控制器P0.1引脚,此时该引脚输入高电平。若用户未按下按键key 1,控制器P0.1引脚通过电阻R4和R5连接至地,此时该引脚输入低电平。
所述语音采集电路202包括电容C1~C4,电阻R1~R3和咪头。按键key 1被按下后,控制器P0.1引脚输入低电平,控制器203控制引脚MICP输出高电平,从而唤醒咪头,开始采集声音。咪头将采集的语音转换成语音信号,发送给控制器203。
控制器203获取当前语音信号,并判断所述当前语音密码是否正确,若正确则进入下一步。
在用户输入新的语音密码后,咪头采集声音,并将其转换成语音信号发送给控制器203。控制器203获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
在本发明的一个实施例中,如图3所示,所述语音密码的修改装置还包括:重置电路204。
所述重置电路204包括按键RESET,电阻R6和电容C6。具体地,用户可以按下按键RESET,电容C6通过按键RESET放电,控制器P0.0引脚通过按键RESET连接至地,此时该引脚输入低电平。若用户未按下按键RESET,控制器P0.0引脚通过电阻R6连接至外部3.3V电源,此时该引脚输入高电平。控制器203获取到按键RESET输入的信号后,恢复出厂设置。
在本申请的一个实施例中,公开的一种语音控制系统,如图4所示,为本申请的实施例中一种语音控制系统的示意图,包括:中央处理单元(CPU)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储部分加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM303中,还存储有系统操作所需的各种程序和数据。CPU 301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。
以下部件连接至I/O接口305:包括按键、咪头的输入部分306;包括诸如扬声器等的输出部分;包括硬盘等的存储部分308;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分309。通信部分309经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至I/O接口305。可拆卸介质311,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器310上,以便于从其上读出的计算机程序根据需要被安装入存储部分308。
特别地,根据本申请的实施例,上文参考流程图1所描述的过程 可以被实现为计算机软件程序。例如,本申请的实施例中包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机程序被中央处理单元(CPU)301执行时,执行本申请的系统中限定的上述功能。
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现如上述实施例中所述的语音密码的修改方法。
例如,所述电子设备可以实现如图1中所示的步骤:S111.获取第一控制信号,以进入修改模式;S112.获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;S113.获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
在本申请的一个实施例中,公开的一种语音密码的修改装置在控制柜门开关中的应用。如图4所示,该系统包括电源104,语音控制装置402,电机驱动模块403,电机404和开关门机构405。
电源401连接至语音控制装置402,用于提供电源。该电源401可以为市电、蓄电池、移动电源中的一种或几种,在此并不限制。
语音控制装置402用于识别用户的语音密码,进而控制电机驱动模块403。该语音控制装置402可以为上述实施例中的任何一种语音密码的修改装置,能执行上述实施例中的语音密码的修改方法,以达到现场修改语音密码的目的。语音控制装置402的工作原理和效果在此不再赘述。
电机驱动模块403在语音控制模块402的控制下控制,在接收到语音控制模块402的控制信号后向电机404发出驱动信号,从而驱动电机404转动。
电机404用于带动开关门机构405执行开门或关门的动作。
开关门机构405连接至柜门,柜门在开关门机构405的带动下关闭或打开。
上述描述涉及各种模块。这些模块通常包括硬件和/或硬件与软件的组合(例如固化软件)。这些模块还可以包括包含指令(例如,软件指令)的计算机可读介质(例如,永久性介质),当处理器执行这些指令时,就可以执行本发明的各种功能性特点。相应地,除非明确要求,本发明的范围不受实施例中明确提到的模块中的特定硬件和/或软件特性的限制。作为非限制性例子,本发明在实施例中可以由一种或多种处理器(例如微处理器、数字信号处理器、基带处理器、微控制器)执行软件指令(例如存储在非永久性存储器和/或永久性存储器)。另外,本发明还可以用专用集成电路(ASIC)和/或其他硬件元件执行。需要指出的是,上文对各种模块的描述中,分割成这些模块,是为了说明清楚。然而,在实际实施中,各种模块的界限可以是模糊的。例如,本文中的任意或所有功能性模块可以共享各种硬件和/或软件元件。又例如,本文中的任何和/或所有功能模块可以由共有的处理器执行软件指令来全部或部分实施。另外,由一个或多个处理器执行的各种软件子模块可以在各种软件模块间共享。相应地,除非明确要求,本发明的范围不受各种硬件和/或软件元件间强制性界限的限制。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (10)

  1. 一种语音密码的修改方法,其特征在于,包括如下步骤:
    获取第一控制信号,以进入修改模式;
    获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;
    获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
  2. 根据权利要求1所述的修改方法,其特征在于,所述第一控制信号为按键信号,所述按键信号用于唤醒所述修改模式。
  3. 根据权利要求1所述的修改方法,其特征在于,还包括:
    进入修改模式后,发出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码;
    在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码;
    在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功;或
    若所述当前语音密码不正确,则发出第四语音提醒信号,所述第四语音提醒信号用于提醒用户重新输入修改前的语音密码。
  4. 根据权利要求1所述的修改方法,其特征在于,还包括:
    获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。
  5. 一种语音密码的修改装置,其特征在于,包括:
    信号获取单元,用于获取第一控制信号,以进入修改模式;
    语音密码验证单元,用于获取当前语音密码,并判断所述当前语音密码是否正确,若正确则进入下一步;
    语音密码修改单元,用于获取新的语音密码,并在语音模型库中进行检索,若所述语音模型库中存在匹配该语音密码的语音模拟信号,则直接调用所述语音模型库中的语音模拟信号作为修改后的语音密码;若所述语音模型库中不存在匹配该语音密码的语音模拟信号,则在离线词库中进行搜索,生成匹配该语音密码的语音模拟信号,并调用到所述语音模型库中作为修改后的语音密码。
  6. 根据权利要求5所述的修改装置,其特征在于,所述信号获取单元包括第一按键,所述第一控制信号为按键信号,所述按键信号用于唤醒所述修改模式。
  7. 根据权利要求5所述的修改装置,其特征在于,还包括:
    语音提示单元,用于进入修改模式后,发出第一语音提醒信号,所述第一语音提醒信号用于提醒用户输入修改前的语音密码;在判断所述当前语音密码是正确的后,发出第二语音提醒信号,所述第二语音提醒信号用于提醒用户输入新的语音密码;在完成语音密码修改后,发出第三语音提醒信号,所述第三语音提醒信号用于提醒用户密码修改成功;或若所述当前语音密码不正确,则发出第四语音提醒信号,所述第四语音提醒信号用于提醒用户重新输入修改前的语音密码。
  8. 根据权利要求5所述的修改装置,其特征在于,所述信号获取单元还包括第二按键,用于获取第二控制信号,以恢复出厂设置,其中所述第二控制信号为按键信号。
  9. 一种语音控制系统,其特征在于,包括:处理器、存储器和总线,其中,
    所述处理器和所述存储器通过对所述总线完成相互间的通信;
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令执行1-4任一项所述的方法。
  10. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使得所述计算机执行如权利要求1-4任一项所述的方法。
PCT/CN2021/094259 2020-05-22 2021-05-18 一种语音密码的修改方法及装置 WO2021233272A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010439260.4 2020-05-22
CN202010439260.4A CN113707155A (zh) 2020-05-22 2020-05-22 一种语音密码的修改方法及装置

Publications (1)

Publication Number Publication Date
WO2021233272A1 true WO2021233272A1 (zh) 2021-11-25

Family

ID=78646240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/094259 WO2021233272A1 (zh) 2020-05-22 2021-05-18 一种语音密码的修改方法及装置

Country Status (2)

Country Link
CN (1) CN113707155A (zh)
WO (1) WO2021233272A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774858A (en) * 1995-10-23 1998-06-30 Taubkin; Vladimir L. Speech analysis method of protecting a vehicle from unauthorized accessing and controlling
CN107193391A (zh) * 2017-04-25 2017-09-22 北京百度网讯科技有限公司 一种上屏显示文本信息的方法和装置
CN108305624A (zh) * 2018-01-25 2018-07-20 芜湖应天光电科技有限责任公司 一种学习机的智能语音交互控制系统
CN108650135A (zh) * 2018-05-16 2018-10-12 四川斐讯信息技术有限公司 一种基于智能音箱修改路由器WiFi信息的方法及系统
CN110445754A (zh) * 2019-07-02 2019-11-12 平安科技(深圳)有限公司 Windows域账号处理方法、服务器及计算机可读存储介质
CN111182483A (zh) * 2019-12-16 2020-05-19 紫光展讯通信(惠州)有限公司 终端及其呼叫限制补充业务重置密码的方法和系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172296A (ja) * 1998-12-08 2000-06-23 Matsushita Electric Ind Co Ltd 話者照合装置および電子メールシステム
CN102722662A (zh) * 2012-05-14 2012-10-10 深圳职业技术学院 一种计算机的声控锁屏和解屏系统及方法
CN107229868A (zh) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 一种基于存储管理系统的信息安全管控方法和系统
CN108091332A (zh) * 2017-12-27 2018-05-29 盯盯拍(深圳)技术股份有限公司 基于行车记录仪的语音处理方法以及基于行车记录仪的语音处理装置
CN209249073U (zh) * 2018-10-31 2019-08-13 东莞市华庄电子有限公司 兼具语音交互和屏幕交互控制方式的智能无线路由器
CN209799618U (zh) * 2018-11-22 2019-12-17 南宁职业技术学院 语音密码锁
CN109493494A (zh) * 2018-12-15 2019-03-19 深圳壹账通智能科技有限公司 基于智能锁的开锁方法、装置、设备及介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774858A (en) * 1995-10-23 1998-06-30 Taubkin; Vladimir L. Speech analysis method of protecting a vehicle from unauthorized accessing and controlling
CN107193391A (zh) * 2017-04-25 2017-09-22 北京百度网讯科技有限公司 一种上屏显示文本信息的方法和装置
CN108305624A (zh) * 2018-01-25 2018-07-20 芜湖应天光电科技有限责任公司 一种学习机的智能语音交互控制系统
CN108650135A (zh) * 2018-05-16 2018-10-12 四川斐讯信息技术有限公司 一种基于智能音箱修改路由器WiFi信息的方法及系统
CN110445754A (zh) * 2019-07-02 2019-11-12 平安科技(深圳)有限公司 Windows域账号处理方法、服务器及计算机可读存储介质
CN111182483A (zh) * 2019-12-16 2020-05-19 紫光展讯通信(惠州)有限公司 终端及其呼叫限制补充业务重置密码的方法和系统

Also Published As

Publication number Publication date
CN113707155A (zh) 2021-11-26

Similar Documents

Publication Publication Date Title
WO2021093449A1 (zh) 基于人工智能的唤醒词检测方法、装置、设备及介质
TWI525532B (zh) Set the name of the person to wake up the name for voice manipulation
CN108335695A (zh) 语音控制方法、装置、计算机设备和存储介质
CN105575395A (zh) 语音唤醒方法及装置、终端及其处理方法
CN108766441A (zh) 一种基于离线声纹识别和语音识别的语音控制方法及装置
CN110265011B (zh) 一种电子设备的交互方法及其电子设备
CN111105796A (zh) 无线耳机控制装置及控制方法、语音控制设置方法和系统
CN106981290A (zh) 语音控制装置和语音控制方法
US20200380971A1 (en) Method of activating voice assistant and electronic device with voice assistant
CN103886236A (zh) 声控解锁屏方法和移动终端
CN105913842A (zh) 一种语音自定义唤醒手机的方法
CN110544468A (zh) 应用唤醒方法、装置、存储介质及电子设备
KR20210090588A (ko) 가전기기 및 이의 제어 방법
CN112084478A (zh) 多用户账户的切换方法、装置、电子设备以及存储介质
WO2021169711A1 (zh) 指令执行方法、装置、存储介质及电子设备
WO2021233272A1 (zh) 一种语音密码的修改方法及装置
CN110674482B (zh) 一种多场景应用计算机
CN109544745A (zh) 一种智能门锁控制方法、装置及系统
WO2019041871A1 (zh) 语音对象识别方法及装置
CN112417412A (zh) 一种银行账户余额查询方法、装置及系统
US9626967B2 (en) Information processing method and electronic device
CN113077798B (zh) 一种居家老人呼救设备
CN113421573B (zh) 身份识别模型训练方法、身份识别方法及装置
WO2019051668A1 (zh) 一种智能终端的启动控制方法及启动控制系统
CN114387968A (zh) 语音解锁方法、装置、电子设备及存储介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21809422

Country of ref document: EP

Kind code of ref document: A1