Interaction method and device of smart door lock

By communicating with a third-party voice server and combining the voice module with the server to recognize voice information, the problem of limited voice interaction languages ​​in smart locks is solved, achieving multilingual compatibility and a rich interactive experience.

CN122369148APending Publication Date: 2026-07-10HANGZHOU JIEFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610831371.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-10
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing smart locks support a limited number of languages ​​during voice interaction, making it difficult to include multiple dialects. Furthermore, the high cost of upgrading the voice module hardware results in poor scalability and a reduced user experience.

Method used

By establishing communication between the smart door lock and a third-party voice server, and combining the voice module with the third-party voice server to recognize voice information, multilingual compatibility and interaction can be achieved, enriching interactive content and avoiding hardware upgrades.

Benefits of technology

It achieves multilingual compatibility and rich voice interaction functions, enhances user experience, and supports multiple interaction methods such as chatting and checking the weather, without the need to upgrade the voice module hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122369148A_ABST
    Figure CN122369148A_ABST
Patent Text Reader

Abstract

This invention provides an interaction method and device for a smart lock, relating to the technical field of smart locks. The method includes: responding to the smart lock being woken up by receiving voice information acting on the smart lock; recognizing the voice information through a voice module and a third-party voice server communicating with the smart lock to obtain response information; and responding to the received response information output by either the voice module or the third-party voice server in response to the voice information, and presenting the response information. The interaction method and device for a smart lock provided by this invention can realize a mechanism for simultaneous interaction between the voice module and the third-party voice server, thereby achieving multi-language compatibility and interaction through the third-party voice server. Furthermore, it eliminates the need for hardware upgrades to the voice module, enriching the interactive content of the smart lock, facilitating its expansion and upgrade, and ultimately improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of smart locks, and in particular to an interaction method and device for a smart door lock. Background Technology

[0002] With the rapid development of IoT and AI technologies, smart locks are gradually evolving towards higher levels of intelligence. Simultaneously, voice interaction technology is increasingly being applied to smart locks. However, existing smart locks often support a limited range of languages ​​for voice interaction, frequently requiring users to input in Mandarin, making it difficult to cover a wide range of dialects. Furthermore, as functions increase and voice commands expand, hardware upgrades to the voice module are often necessary, leading to higher costs, poor scalability, and a relatively limited range of recognizable language commands, all of which negatively impact the user experience. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide an interaction method and device for a smart door lock to alleviate the above-mentioned technical problems.

[0004] In a first aspect, embodiments of the present invention provide an interaction method for a smart lock, applied to a smart lock, wherein the smart lock is equipped with a voice module and also establishes communication with a third-party voice server. The method includes: receiving voice information acting on the smart lock in response to the smart lock being woken up; identifying the voice information through the voice module and the third-party voice server communicating with the smart lock to obtain response information of the voice information; and responding to receiving the response information output by either the voice module or the third-party voice server in response to the voice information, and presenting the response information.

[0005] In conjunction with the first aspect, the present invention provides a first possible implementation of the first aspect, wherein the step of identifying the voice information through the voice module and a third-party voice server communicating with the smart lock to obtain response information of the voice information includes: the voice module receiving and identifying the voice information in real time through a built-in microphone device, and outputting the first response information after identifying the first response information corresponding to the voice information; and sending the received voice information to the third-party voice server, identifying the voice information through the third-party voice server, and generating a second response information corresponding to the voice information, wherein the third-party voice server is further configured to send the second response information to the smart lock.

[0006] In conjunction with the first aspect, this embodiment of the invention provides a second possible implementation of the first aspect, wherein the step of identifying the voice information through the voice module and a third-party voice server communicating with the smart lock to obtain response information of the voice information includes: identifying the information type of the voice information; if the information type is instruction information, receiving first response information returned by the voice module according to the instruction information; if the information type is interactive information, identifying the voice information through the third-party voice server and receiving second response information returned by the third-party voice server that matches the voice information.

[0007] In conjunction with the first aspect, this embodiment of the invention provides a third possible implementation of the first aspect, wherein the step of receiving the response information output by either the voice module or the third-party voice server for the voice information includes: if the response information of the voice module is received first, then the interaction with the third-party voice server is interrupted, and the response information of the voice module is presented; if the response information of the third-party voice server is received first, then the response information of the third-party voice server is presented.

[0008] In conjunction with the first aspect, this embodiment of the invention provides a fourth possible implementation of the first aspect, wherein the method further includes: receiving a wake word applied to the smart lock, controlling the smart lock to be in a woken-up state; and controlling the smart lock to respond to the corresponding wake-up prompt word.

[0009] In conjunction with the fourth possible implementation of the first aspect, this embodiment of the invention provides a fifth possible implementation of the first aspect, wherein the smart lock includes a first interaction unit and a second interaction unit, wherein the first interaction unit is an outdoor-facing interaction unit and the second interaction unit is an indoor-facing interaction unit; the first interaction unit is connected to the voice module, the second interaction unit is connected to the first interaction unit, and the second interaction unit is further provided with a network connection unit, and the second interaction unit is connected to the third-party voice server through the network connection unit; the step of receiving a wake-up word applied to the smart lock and controlling the smart lock to be in a woken-up state includes: identifying the wake-up word applied to the smart lock through the voice module and sending a wake-up signal to the first interaction unit to wake up the first interaction unit; and sending a wake-up signal to the second interaction unit through the first interaction unit to wake up the second interaction unit; after the second interaction unit is woken up, it is determined that the smart lock is in a woken-up state.

[0010] In conjunction with the fifth possible implementation of the first aspect, this embodiment of the invention provides a sixth possible implementation of the first aspect, wherein the smart lock is further configured with a device server, the second interaction unit is connected to the device server through the network connection unit, and the device server interacts with the third-party voice server; the method further includes: the second interaction unit sending the voice information to the device server, the device server calling the third-party voice server to send the voice information to the third-party voice server, and creating a dialogue with the third-party voice server on the device server; obtaining response information of the voice information, including: receiving second response information fed back by the third-party voice server through the device server, and the device server sending the second response information to the second interaction unit; and the second interaction unit notifying the first interaction unit so that the first interaction unit presents the second response information.

[0011] In conjunction with the fifth possible implementation of the first aspect, this embodiment of the invention provides a seventh possible implementation of the first aspect, wherein the above method further includes: after the smart lock is woken up, if it is recognized that the instruction information contained in the voice information is to start the chat mode, then the state of the smart lock is set to chat mode; receiving a wake word acting on the smart lock, and stopping the chat mode.

[0012] In conjunction with the fifth possible implementation of the first aspect, this embodiment of the invention provides an eighth possible implementation of the first aspect, wherein the above method further includes: waking up the second interaction unit in response to a second wake-up word acting on the second interaction unit; and receiving voice information acting on the smart lock through the second interaction unit.

[0013] Secondly, embodiments of the present invention also provide an interactive device for a smart lock, applied to a smart lock, wherein the smart lock is equipped with a voice module and also establishes communication with a third-party voice server. The device includes: a receiving module, used to receive voice information acting on the smart lock in response to the smart lock being woken up; a recognition module, used to recognize the voice information through the voice module and the third-party voice server communicating with the smart lock to obtain response information of the voice information; and a response module, used to respond to the response information received from either the voice module or the third-party voice server in response to the voice information, and to present the response information.

[0014] The embodiments of the present invention bring the following beneficial effects: This invention provides an interactive method and apparatus for a smart lock, which can receive voice information acting on the smart lock after the smart lock is woken up; identify the voice information through a voice module and a third-party voice server communicating with the smart lock to obtain response information; respond to the received response information from either the voice module or the third-party voice server, and present the response information. During the voice information recognition process, a mechanism for simultaneous interaction between the voice module and the third-party voice server can be implemented, thereby achieving multilingual compatibility and interaction through the third-party voice server. This eliminates the need for hardware upgrades to the voice module, enriches the interactive content of the smart lock, facilitates its expansion and upgrade, and ultimately improves the user experience.

[0015] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0016] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating an interaction method for a smart door lock provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating an application scenario of a smart door lock provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of an interactive device for a smart door lock provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Currently, the voice interaction supported by smart locks is limited in the number of languages ​​supported, making it difficult to meet the needs of various voice types, such as regional dialects. Furthermore, adding voice commands to smart locks often requires upgrading the voice module, resulting in poor scalability. In addition, the voice interaction function of current smart locks does not support interactions beyond commands, such as chatting or encyclopedia Q&A, which reduces the user experience.

[0021] Based on this, the intelligent door lock interaction method and device provided in this embodiment of the invention can solve the language compatibility problem and support rich language interaction functions, thereby improving the user experience.

[0022] To facilitate understanding of this embodiment, a detailed description of the interaction method of a smart door lock disclosed in this embodiment of the invention will be provided first.

[0023] In one possible implementation, this invention provides an interaction method for a smart door lock. Specifically, the smart door lock in this embodiment is equipped with a voice module, enabling voice interaction between the user and the smart door lock. Furthermore, the smart door lock in this embodiment also establishes communication with a third-party voice server. For example, the smart door lock connects to network devices in the home environment, such as routers, to achieve network connectivity and thus establish communication with the third-party voice server.

[0024] Specifically, for ease of understanding, Figure 1 A flowchart illustrating an interaction method for a smart door lock is shown, the method comprising the following steps: Step S102: In response to the smart lock being woken up, receive voice information acting on the smart lock; Smart locks are usually in a dormant state and only interact with the user when they need to be unlocked or locked. Therefore, in this embodiment of the invention, when the user interacts with the smart lock, they usually need to wake up the smart lock first. After confirming that the smart lock has been woken up, the user sends voice information to the smart lock. In the woken-up state, after the smart lock receives the voice information, it can execute the interaction method of the smart lock in this embodiment of the invention.

[0025] Step S104: Recognize voice information through the voice module and a third-party voice server that communicates with the smart door lock to obtain response information for the voice information; In this step S104, the recognition process is usually performed simultaneously by the voice module. That is, the voice module receives and recognizes voice information in real time through its built-in microphone device, and outputs the first response information after recognizing the first response information corresponding to the voice information. At the same time, after the smart door lock receives the voice information, it sends the received voice information to a third-party voice server. The third-party voice server recognizes the voice information and generates the second response information corresponding to the voice information. The third-party voice server is also used to send the second response information to the smart door lock.

[0026] Step S106: Response information is received from either the voice module or the third-party voice server for the voice information output, and the response information is presented.

[0027] In this invention, the third-party voice server typically refers to a cloud server and usually possesses AI voice recognition and interaction capabilities. For example, it can integrate large language models, dialect-specific recognition models, voice recognition and processing technologies, and support cloud-based voice services to enable interaction in multiple languages ​​and dialects. For instance, language compatibility can be achieved through server configuration. Furthermore, when more commands need to be added, corresponding settings can be added to the third-party voice server to recognize the new commands. It also supports a variety of non-command interactions, such as chatting, checking the weather, and searching encyclopedias, providing users with greater emotional value. The specific third-party voice server can be configured according to actual usage, and this invention does not impose any limitations on this.

[0028] Furthermore, the voice module in this embodiment refers to a voice recognition module installed in the smart lock, which can recognize the voice information input by the user. Therefore, this embodiment can simultaneously support the interaction between the voice module and a third-party voice server, thereby ensuring that all voice information input by the user can be responded to, thus enhancing the user's interactive experience. In addition, the smart lock in this embodiment is also equipped with a microphone and speaker for interaction, etc., to facilitate voice interaction with the user. For example, in step S106 above, when presenting the response information, the response information can be played through the speaker to achieve voice interaction with the user. Furthermore, if the voice information sent by the user is a command to configure the smart lock, in step S106 above, when presenting the response information, the corresponding configuration interface can be directly displayed on the smart lock's interactive interface. The specific implementation depends on the actual usage, and this embodiment does not impose any limitations on this.

[0029] This invention provides an interaction method for a smart lock, which receives voice information acting on the smart lock after it is woken up; identifies the voice information through a voice module and a third-party voice server communicating with the smart lock to obtain response information; responds to the received response information from either the voice module or the third-party voice server, and presents the response information. During the voice information recognition process, a mechanism for simultaneous interaction between the voice module and the third-party voice server can be implemented, thereby achieving multilingual compatibility and interaction through the third-party voice server. This eliminates the need for hardware upgrades to the voice module, enriches the interactive content of the smart lock, facilitates its expansion and upgrade, and ultimately improves the user experience.

[0030] In practical use, the interaction process in this embodiment of the invention is performed when the smart lock is in a woke-up state. Therefore, the user needs to wake up the smart lock before interacting. Specifically, the smart lock can be equipped with a wake-up control, which the user can trigger to wake up the smart lock. Furthermore, since the smart lock in this embodiment of the invention is equipped with a voice module, it supports voice wake-up. Specifically, it can receive a wake-up word applied to the smart lock, control the smart lock to be in a woke-up state, and control the smart lock to respond to the corresponding wake-up prompt word.

[0031] In practice, for ease of understanding, Figure 2 A schematic diagram of an application scenario for a smart door lock is shown, such as... Figure 2 As shown, a voice module 201 is illustrated, and the smart door lock in this embodiment includes a first interaction unit 202 and a second interaction unit 203. The first interaction unit 202 is an outdoor-facing interaction unit, and the second interaction unit 203 is an indoor-facing interaction unit. The first interaction unit 202 is connected to the voice module 201, and the second interaction unit 203 is connected to the first interaction unit 202. The second interaction unit also has a network connection unit, which connects to a third-party voice server. For example, taking a smart door lock installed in a home or office setting, the first interaction unit is essentially the interaction unit corresponding to the front lock (outdoor-facing), and the second interaction unit is essentially the interaction unit corresponding to the rear lock (indoor-facing). Furthermore, the smart door lock in this embodiment is also equipped with a device server. Figure 2 The device server 204 shown in the figure is connected to the second interaction unit 203 through the network connection unit, and the device server 204 interacts with the third-party voice server 205.

[0032] For ease of explanation, Figure 2The diagram also shows a network device 206, such as a router, through which the network connection unit of the second interaction unit establishes communication with the device server.

[0033] For ease of understanding, the following is based on Figure 2 The application scenarios shown further illustrate the interaction process of the smart door lock provided in this embodiment of the invention, specifically including the following: When the smart lock is used for the first time, it needs to be initialized. In this embodiment of the invention, the first interaction unit 202 is connected to the voice module 201. Therefore, during the initialization process, the first interaction unit can pull high the power supply pin of the voice module to power on the voice module and parse the initialization protocol information of the voice module. Further, the second interaction unit connects to a network device via Wi-Fi, and then connects to the device server, reporting its own device serial number to the device server. At this time, the device server can assign a product ID to the smart lock and determine the role ID of the smart lock. Simultaneously, the device server calls a third-party interface and initializes the interaction channel with the third-party voice server. Furthermore, for security reasons, the interaction channel with the third-party voice server can also be encrypted, depending on the actual usage. This embodiment of the invention does not impose any restrictions on this.

[0034] After the initialization process is complete, the user can wake up the smart lock. For example, when the user is outdoors, they can wake up the smart lock using a wake word. The voice module can then recognize the wake word and put the smart lock into a woken-up state. Specifically, the voice module recognizes the wake word applied to the smart lock. Once successfully recognized, it sends a wake-up signal to the first interaction unit to wake it up; and then sends a wake-up signal to the second interaction unit to wake it up. After the second interaction unit is woken up, it confirms that the smart lock is in a woken-up state. At this point, the smart lock responds with the corresponding wake-up prompt. For example, the user says the wake word "XX" or "XX," and after confirming the smart lock is in a woken-up state, it plays the response wake-up prompt "I'm here," "Here," or "Please give instructions," etc., and sends a dialogue creation protocol to the device server. This protocol carries the current dialogue ID. Simultaneously, the device server can use a third-party interface to call a third-party voice server and create a dialogue.

[0035] Furthermore, for the smart lock, once it is determined that the smart lock is in an awakened state, the unlocking control is displayed through the first interaction unit; for example, an interaction interface is displayed on the outdoor interaction unit, and the interface displays unlocking controls for inputting unlocking commands, such as fingerprint controls, password controls, etc. Then, the unlocking operation applied to the unlocking control is responded to, and the legality of the unlocking operation is verified; if the unlocking operation is verified as legal, the smart lock is unlocked. That is, once it is determined that the smart lock is in an awakened state, the user can unlock it normally and also interact with the smart lock. Moreover, after the smart lock is awakened, the user can interact with the smart lock from a certain distance away outdoors, or even from inside the house, depending on the actual usage; this embodiment of the invention does not impose any limitations on this.

[0036] Furthermore, in this embodiment of the invention, the user's voice information is typically collected from the second interaction unit side. However, in other embodiments, voice information can also be collected from the first interaction unit side, depending on the actual usage. This embodiment of the invention does not impose any limitations on this. In this embodiment, the collection of the user's voice information from the second interaction unit side is used as an example. Specifically, when the user interacts with the smart lock, the start and end of the voice information can be determined. For example, the second interaction unit continuously collects audio in units of 20 milliseconds, caches the most recent 500 milliseconds of audio data, and detects human voice within these 500 milliseconds. This indicates the start of speaking, and the recording status is "speaking begins." The cached 500 milliseconds of audio is first sent to the device server, and the collected audio is then directly sent to the device server. The device server forwards the received audio to a third-party voice server. When the second interaction unit detects 500 consecutive milliseconds without human voice, it sends a prompt message to the device server indicating the end of speaking and stops collecting audio. Furthermore, on the device server side, a maximum duration threshold for no audio can be preset, such as 5 seconds. When this maximum duration threshold is exceeded and no new voice information is received, the device server can push a pre-set audio message to the smart lock, such as "I didn't hear you clearly, please say it again." If no new voice information is received, the conversation is considered to have ended.

[0037] Meanwhile, during this process, the voice module can also collect and recognize the audio of the voice information on its own, and at this time, neither the first interaction unit nor the second interaction unit needs to send audio to the voice module.

[0038] Furthermore, the voice module in this embodiment of the invention is typically configured to recognize commands from the smart lock. For example, the voice module can pre-store a certain number of commands. After recognizing a command, it can compare it with its stored commands. If the confidence level is high, it indicates that the corresponding command has been recognized, such as speaking louder or bringing up the configuration interface. In this case, the smart lock can execute the action corresponding to the command. For interactive voice information, a third-party voice server is usually used for recognition to obtain more appropriate response information.

[0039] Therefore, in this embodiment of the invention, in step S104 above, after receiving the voice information, the information type of the voice information can be identified. If the information type is instruction information, the voice module can return a first response information based on the instruction information. However, if the information type is interactive information, the voice module usually has difficulty recognizing it. Since the voice information has been sent to a third-party voice server, the voice information can be recognized by the third-party voice server, and a second response information matching the voice information returned by the third-party voice server can be received. That is, in this embodiment of the invention, the first response information represents the response information recognized and fed back by the voice module, and the second response information represents the voice information recognized and fed back by the third-party voice server. The voice module can recognize instruction information; therefore, the corresponding first response information can be action information or sound information. If it is action information, the first interactive unit or the second interactive unit can be notified to perform the corresponding action, such as calling up the corresponding interface, etc. If it is sound information, the sound can be played directly through the speaker. The second response information fed back by the third-party voice server is usually the sound information generated by the interaction with the user. Therefore, it can be played directly through the speaker. Of course, the first or second response information can also be image information, such as image information captured by the smart door lock at a certain moment or time period. In this case, the image information can be presented through the interactive interface of the first or second interactive unit. The specific presentation method depends on the actual use. This embodiment of the invention does not limit this.

[0040] Furthermore, in step S106 above, when responding to the received response information, if a response is received from either the voice module or the third-party voice server, it is determined that the voice information response information has been obtained. Specifically, if the response information from the voice module is received first, the interaction with the third-party voice server is interrupted, and the response information from the voice module is presented; if the response information from the third-party voice server is received first, the response information from the third-party voice server is presented, and at this time the voice module is in a state of only receiving wake words.

[0041] In practical use, when sending voice information to a third-party voice server that communicates with the smart lock, the second interaction unit typically sends the voice information to the device server first. The device server then calls the third-party voice server to send the voice information there and establishes a dialogue between the device server and the third-party voice server. The voice module, on the other hand, can collect and recognize voice information in real time. Therefore, when voice information is received, the latency to the voice module is shorter. If the voice module can recognize the voice information, it can provide a response earlier, which is the official response to the voice information. If the voice module cannot recognize the voice information, the third-party voice server can recognize it and provide a response. If responses are received from both the voice module and the third-party voice server simultaneously, it means that both the voice module and the third-party voice server have recognized the voice information and provided responses. Usually, the response from the voice module takes precedence, and the interaction with the third-party voice server is interrupted.

[0042] Furthermore, for the second response information fed back by the third-party voice server, the device server can receive the second response information fed back by the third-party voice server, and the device server can send the second response information to the second interaction unit; the second interaction unit can then notify the first interaction unit so that the first interaction unit can present the second response information.

[0043] Furthermore, in this embodiment of the invention, to facilitate interaction with the smart lock, after the smart lock is woken up, if the voice information contains the instruction to open chat mode, the smart lock's state is set to chat mode; then, a wake-up word applied to the smart lock is received, and the chat mode is stopped. For example, the voice module or a third-party voice server can recognize the aforementioned instruction to open chat mode. In this case, both the first and second interaction units can be set to chat mode. In this chat mode, the voice module or the third-party voice server does not process the instruction information; that is, even if the voice module or the third-party voice server parses the instruction information, such as setting the smart lock, it will not respond to the instruction information. In this chat mode, in addition to recognizing the interaction information, the voice module or the third-party voice server is configured to only process the wake-up word; that is, if a wake-up word applied to the smart lock is received, the chat mode is stopped. For example, in this chat mode, if the smart lock recognizes a wake word while playing interactive or response information, it will stop playing other audio and then perform the recognition of the voice information following the wake word. Furthermore, the response information fed back by the voice module or third-party voice server in the previous chat mode can be discarded, and the user can re-enter the chat mode and continue the subsequent chat content.

[0044] Furthermore, in this embodiment of the invention, considering that users typically spend time indoors and have a need to interact with the smart lock indoors, a separate wake-up word can be set for the second interaction unit facing indoors, i.e., the second wake-up word in this embodiment of the invention. The second interaction unit is then activated in response to the second wake-up word. At this time, an interactive interface can be displayed on the second interaction unit, and voice information acting on the smart lock can be received through the second interaction unit. Similarly, the acquired voice information can be recognized and responded to through the voice module and a third-party voice server communicating with the smart lock, and the response information can be presented.

[0045] In practical use, in this embodiment of the invention, all audio that needs to be played can be placed in the circular buffer of the smart lock. Furthermore, an interface for clearing the buffer can be set up to quickly interrupt the playing audio. Additionally, a separate thread can be used to retrieve data from the circular buffer and decode it for playback. Moreover, audio data that needs to be sent to the device server can also be placed in the circular buffer first, and a separate thread can be used to determine whether to send or discard the data based on the dialogue status. The specific data storage method can be set according to actual usage, and this embodiment of the invention does not impose any restrictions on it.

[0046] Furthermore, based on the above embodiments, this invention also provides an interactive device for a smart door lock, applied to a smart door lock. The smart door lock is equipped with a voice module, and the smart door lock also establishes communication with a third-party voice server, such as... Figure 3 The diagram shows the structure of an interactive device for a smart door lock. The device includes: The receiving module 30 is used to receive voice information applied to the smart lock in response to the smart lock being woken up; The recognition module 32 is used to recognize the voice information through the voice module and a third-party voice server communicating with the smart door lock, so as to obtain the response information of the voice information; The response module 34 is used to respond to the response information received from either the voice module or the third-party voice server in response to the voice information, and to present the response information.

[0047] The interactive device for the smart door lock provided in this embodiment of the invention has the same technical features as the interactive method for the smart door lock provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.

[0048] Furthermore, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above method.

[0049] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the above-described method.

[0050] Furthermore, embodiments of the present invention also provide a schematic diagram of the structure of an electronic device, such as... Figure 4 The diagram shows the structure of the electronic device, which includes a processor 41 and a memory 40. The memory 40 stores computer-executable instructions that can be executed by the processor 41, and the processor 41 executes the computer-executable instructions to implement the above-described method.

[0051] exist Figure 4 In the illustrated embodiment, the electronic device further includes a bus 42 and a communication interface 43, wherein the processor 41, the communication interface 43, and the memory 40 are connected via the bus 42.

[0052] The memory 40 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 43 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 42 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 42 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0053] Processor 41 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 41 or by software instructions. Processor 41 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this invention can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory, and the processor 41 reads the information in the memory and uses its hardware to complete the aforementioned method.

[0054] The computer program product of the interaction method and device for a smart door lock provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0055] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0056] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0057] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0058] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0059] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An interaction method for a smart door lock, characterized in that, The method, applied to a smart door lock equipped with a voice module and communicating with a third-party voice server, includes: In response to the smart lock being woken up, the system receives voice information applied to the smart lock. The voice information is identified by the voice module and a third-party voice server that communicates with the smart lock to obtain the response information of the voice information; The system receives the response information from either the voice module or the third-party voice server in response to the voice information, and then presents the response information.

2. The method according to claim 1, characterized in that, The step of identifying the voice information through the voice module and a third-party voice server communicating with the smart lock to obtain response information for the voice information includes: The voice module receives and recognizes the voice information in real time through its built-in microphone, and after recognizing the first response information corresponding to the voice information, outputs the first response information; and, The received voice information is sent to the third-party voice server, which recognizes the voice information and generates a second response information corresponding to the voice information. The third-party voice server is also used to send the second response information to the smart door lock.

3. The method according to claim 1, characterized in that, The step of identifying the voice information through the voice module and a third-party voice server communicating with the smart lock to obtain response information for the voice information includes: Identify the information type of the voice information; If the information type is instruction information, then the first response information returned by the voice module according to the instruction information is received; If the information type is interactive information, then the third-party voice server identifies the voice information and receives a second response information returned by the third-party voice server that matches the voice information.

4. The method according to claim 1, characterized in that, The step of responding to receiving the response information output by either the voice module or the third-party voice server in response to the voice information includes: If a response is received from the voice module first, the interaction with the third-party voice server is interrupted, and the response from the voice module is presented. If a response from the third-party voice server is received first, then the response from the third-party voice server is presented.

5. The method according to claim 1, characterized in that, The method further includes: The system receives a wake-up word applied to the smart lock and controls the smart lock to be in a woken-up state; and controls the smart lock to respond to the corresponding wake-up prompt word.

6. The method according to claim 5, characterized in that, The smart door lock includes a first interaction unit and a second interaction unit, wherein the first interaction unit is an outdoor-facing interaction unit and the second interaction unit is an indoor-facing interaction unit; The first interactive unit is connected to the voice module, the second interactive unit is connected to the first interactive unit, and the second interactive unit is also provided with a network connection unit, through which the second interactive unit connects to the third-party voice server. The step of receiving a wake word applied to the smart lock and controlling the smart lock to be in a woken-up state includes: The voice module identifies the wake word applied to the smart lock and sends a wake-up signal to the first interaction unit to wake up the first interaction unit; and the first interaction unit sends a wake-up signal to the second interaction unit to wake up the second interaction unit. After the second interaction unit is activated, it determines that the smart door lock is in an activated state.

7. The method according to claim 6, characterized in that, The smart door lock is also equipped with a device server. The second interaction unit is connected to the device server through the network connection unit. The device server interacts with the third-party voice server. The method further includes: The second interaction unit sends the voice information to the device server, and through the device server calls the third-party voice server to send the voice information to the third-party voice server, and creates a dialogue with the third-party voice server on the device server; The response information for obtaining the voice information includes: The device server receives the second response information from the third-party voice server and then sends the second response information to the second interaction unit. The second interaction unit notifies the first interaction unit so that the first interaction unit can present the second response information.

8. The method according to claim 6, characterized in that, The method further includes: After the smart lock is woken up, if the voice message contains the instruction to start chat mode, then the smart lock is set to chat mode. Receive the wake word applied to the smart lock and stop the chat mode.

9. The method according to claim 6, characterized in that, The method further includes: The second interaction unit is activated in response to the second wake word applied to it. The second interaction unit receives voice information applied to the smart lock.

10. An interactive device for a smart door lock, characterized in that, An application in smart door locks, wherein the smart door lock is equipped with a voice module and also communicates with a third-party voice server, the device includes: A receiving module is used to receive voice information applied to the smart lock in response to the smart lock being woken up; The recognition module is used to recognize the voice information through the voice module and a third-party voice server that communicates with the smart door lock, so as to obtain the response information of the voice information; The response module is used to respond to the response information received from either the voice module or the third-party voice server in response to the voice information, and to present the response information.