A method and system for collaborative voice transfer between door locks

Through Bluetooth tag status monitoring and neighbor door lock collaboration technology, seamless voice interconnection between smart door locks is achieved, solving the problems of low communication efficiency and insufficient neighbor door lock collaboration in the existing technology, and improving communication efficiency and security in smart home environments.

CN120302271BActive Publication Date: 2025-08-12DESSMANN CHINA MACHINERY & ELECTRONICS +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510773839.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-08-12
Estimated Expiration
2045-06-11

AI Technical Summary

Technical Problem

The existing smart door locks have problems with low communication efficiency and insufficient coordination functions of neighboring door locks in terms of voice communication, resulting in poor information transmission and delayed response, and security and reliability need to be improved.

Method used

Through Bluetooth tag status monitoring and broadcast requests, neighbor door lock Bluetooth tag matching and reminder, transfer authorization and connection establishment, voice data flow and call management, seamless voice interconnection between smart door locks is realized.

Benefits of technology

It realizes seamless voice interconnection between smart door locks, meets users' efficient communication needs in smart home environment, and improves communication efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302271B_ABST
    Figure CN120302271B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for collaborative voice transfer between door locks. The method includes: Bluetooth tag status monitoring and broadcast request: when door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, the tag's exit status information is cached, and a broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: when door lock Z receives the broadcast message and senses that the Tag-DID has entered its communication range, a reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: when owner A presses the answer button of the Bluetooth tag, a transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A, and owner B's mobile phone APP, and a complete process result of voice transfer is obtained. By using the embodiments of the present invention, seamless voice interconnection between smart door locks can be achieved, meeting the user's demand for efficient communication in a smart home environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of voice technology, and in particular to a method and system for collaborative voice transfer between door locks. Background Art

[0002] With the continuous development of smart home systems, smart door locks not only offer traditional mechanical unlocking functions but also integrate wireless communication technology, enabling remote control and status monitoring. However, existing smart door locks still have shortcomings in voice communication, especially when the owner is away from home, which can lead to missed calls from home, affecting communication efficiency. Furthermore, current smart door locks lack the ability to coordinate with neighboring door locks, resulting in poor information transmission and delayed responses. Furthermore, the security and reliability of existing voice communication systems are in urgent need of improvement. Summary of the Invention

[0003] The purpose of the present invention is to provide a method and system for collaborative voice transfer between door locks to address the deficiencies in the prior art, enable seamless voice interconnection between smart door locks, and meet users' needs for efficient communication in a smart home environment.

[0004] An embodiment of the present application provides a method for collaborative voice transfer between door locks, the method comprising:

[0005] Bluetooth tag status monitoring and broadcast request: When door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information. When door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks.

[0006] Neighbor door lock Bluetooth tag matching and reminder: When door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call;

[0007] Transfer authorization and connection establishment: When owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A;

[0008] Voice data flow and call management: Based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

[0009] Optionally, the Bluetooth tag status monitoring and broadcast request includes:

[0010] Bluetooth tag departure detection: Door lock A periodically monitors Bluetooth advertising packets. If no paired Tag-DID is detected for N consecutive times, it is determined that owner A has left home with the tag and the exit status information is cached.

[0011] Call response timeout judgment: When door lock A receives a call from owner B’s mobile phone APP, a 30-second countdown starts; if no one answers the call through the inner panel of door lock A during this period, the transfer process is triggered;

[0012] Broadcast message generation and sending: Based on the timeout result, a broadcast message containing the ID, IP and Tag-DID of door lock A is generated and sent to other door locks via the local area network. The validity period is set to 30 seconds.

[0013] Optionally, the neighbor door lock Bluetooth tag matching and reminder includes:

[0014] Broadcast message reception and caching: Receive and parse broadcast messages based on door lock Z, extract the Tag-DID and door lock A's IP address, and cache them in a local queue;

[0015] Tag dynamic sensing and matching: The Bluetooth module of door lock Z detects that the Tag-DID enters the communication range, and successfully matches it with the cache queue, triggering a voice reminder;

[0016] Reminder mode control: Based on the matching results, the door lock Z starts the voice module to play the preset reminder tone and lights up the LED indicator on the outer panel.

[0017] Optionally, the transfer authorization and connection establishment include:

[0018] Bluetooth tag answer command analysis: Based on the answer button signal sent by the Tag-DID received by the door lock Z, its Tag-DID and authorization timestamp are extracted;

[0019] Transfer request generation and sending: Based on the authorization information, door lock Z sends a connection request to the IP address of door lock A, including the event ID and Tag-DID;

[0020] Connection verification and channel establishment: The validity of the event ID and Tag-DID is verified according to door lock A. If they match and the call has not timed out, a TCP / IP voice channel is established with door lock Z.

[0021] Optionally, the voice data flow and call management includes:

[0022] Voice data packet transmission: Based on the established channel, door lock A splits the voice stream of the mobile phone APP into data packets and forwards them to door lock Z via the local area network;

[0023] Real-time two-way communication: Receive and play voice data based on door lock Z, and collect owner a's voice and transmit it back to door lock A and mobile phone APP;

[0024] Call termination processing: Based on the hang-up signal from the mobile phone app or door lock Z, door lock A closes the channel, deletes the cached event ID, and generates a call log.

[0025] Another embodiment of the present application provides a system for collaborative voice transfer between door locks, the system comprising:

[0026] The request module is used for Bluetooth tag status monitoring and broadcasting requests: when door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information; when door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks;

[0027] The reminder module is used for Bluetooth tag matching and reminder of neighbor door locks: when door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call;

[0028] Establishment module, used for transfer authorization and connection establishment: when owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A;

[0029] The management module is used for voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

[0030] Yet another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when run.

[0031] Yet another embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the above methods.

[0032] Compared with the prior art, the present invention provides a method for collaborative voice transfer between door locks, Bluetooth tag status monitoring and broadcast request: based on door lock A detecting that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the tag's exit status information is cached, and the broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: based on door lock Z receiving the broadcast message and sensing that the Tag-DID enters its communication range, a reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: based on owner a pressing the answer button of the Bluetooth tag, the transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner b's mobile phone APP, and the complete process result of voice transfer is obtained, thereby realizing seamless voice interconnection between smart door locks and meeting users' efficient communication needs in a smart home environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A hardware structure block diagram of a computer terminal for a method of collaborative voice transfer between door locks provided by an embodiment of the present invention;

[0034] Figure 2 A flowchart of a method for collaborative voice transfer between door locks provided by an embodiment of the present invention;

[0035] Figure 3 A schematic structural diagram of a system for collaborative voice transfer between door locks provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limiting the present invention.

[0037] The embodiment of the present invention first provides a method for collaborative voice transfer between door locks. The method can be applied to electronic devices, such as computer terminals, specifically ordinary computers.

[0038] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 The hardware structure block diagram of a computer terminal for a method of collaborative voice transfer between door locks provided by an embodiment of the present invention. Figure 1 As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.

[0039] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, which, when executed, can cause the processor to execute any method for collaborative voice transfer between door locks.

[0040] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0041] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any method of collaborative voice transfer between door locks.

[0042] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0043] It should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0044] See also Figure 2 , an embodiment of the present invention provides a method for collaborative voice transfer between door locks, which may include the following steps:

[0045] S201, Bluetooth tag status monitoring and broadcast request: When door lock A detects that owner a's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information; when door lock A receives a call from owner b's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks; specifically, the Bluetooth tag status monitoring and broadcast request includes:

[0046] Bluetooth tag departure detection: Door lock A periodically monitors Bluetooth advertising packets. If no paired Tag-DID is detected for N consecutive times, it is determined that owner A has left home with the tag and the exit status information is cached.

[0047] Call response timeout judgment: When door lock A receives a call from owner B’s mobile phone APP, a 30-second countdown starts; if no one answers the call through the inner panel of door lock A during this period, the transfer process is triggered;

[0048] Broadcast message generation and sending: Based on the timeout result, a broadcast message containing the ID, IP and Tag-DID of door lock A is generated and sent to other door locks via the local area network. The validity period is set to 30 seconds.

[0049] S202, Neighbor door lock Bluetooth tag matching and reminder: When door lock Z receives the forwarding request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call; specifically, the neighbor door lock Bluetooth tag matching and reminder includes:

[0050] Broadcast message reception and caching: Receive and parse broadcast messages based on door lock Z, extract the Tag-DID and door lock A's IP address, and cache them in a local queue;

[0051] Tag dynamic sensing and matching: The Bluetooth module of door lock Z detects that the Tag-DID enters the communication range, and successfully matches it with the cache queue, triggering a voice reminder;

[0052] Reminder mode control: Based on the matching results, the door lock Z starts the voice module to play the preset reminder tone and lights up the LED indicator on the outer panel.

[0053] S203, transfer authorization and connection establishment: When owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A to establish a voice channel with door lock A. Specifically, the transfer authorization and connection establishment include:

[0054] Bluetooth tag answer command analysis: Based on the answer button signal sent by the Tag-DID received by the door lock Z, its Tag-DID and authorization timestamp are extracted;

[0055] Transfer request generation and sending: Based on the authorization information, door lock Z sends a connection request to the IP address of door lock A, including the event ID and Tag-DID;

[0056] Connection verification and channel establishment: The validity of the event ID and Tag-DID is verified according to door lock A. If they match and the call has not timed out, a TCP / IP voice channel is established with door lock Z.

[0057] S204, Voice Data Transfer and Call Management: Based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A, and owner B's mobile terminal. When the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call. Specifically, the voice data transfer and call management includes:

[0058] Voice data packet transmission: Based on the established channel, door lock A splits the voice stream of the mobile phone APP into data packets and forwards them to door lock Z via the local area network;

[0059] Real-time two-way communication: Receive and play voice data based on door lock Z, and collect owner a's voice and transmit it back to door lock A and mobile phone APP;

[0060] Call termination processing: Based on the hang-up signal from the mobile phone app or door lock Z, door lock A closes the channel, deletes the cached event ID, and generates a call log.

[0061] In actual applications, owners who are away from home can use the smart door lock's mobile app to call their own door lock and make voice / video calls with other owners at home to provide remote care and understand the family situation. However, sometimes when family members are away from home, they cannot answer the calls and intercoms made through the mobile app.

[0062] A Bluetooth tag is a wireless short-range communication device based on Bluetooth technology. Its implementation principle is based on Bluetooth Low Energy (BLE). BLE can transmit data in low-power mode, thereby extending the device's battery life. Bluetooth tags are active devices, and their operation can be turned on or off using a switch on the tag. Bluetooth tags are assigned a unique DID (Bluetooth-Tag Declaration ID, or Tag-DID) at the factory. This Tag-DID is the Bluetooth tag's identifier, similar to the MAC address of a WiFi device. This unique ID ensures that the Bluetooth tag can be accurately identified and tracked.

[0063] 1. Core Concept: When home door lock A receives a call from family member B, member A can answer the call and communicate on the door lock, but if member A is out, they cannot answer the call. The improved design is as follows: When member A is out with a Bluetooth tag; when member B calls their own door lock, and no one answers for 30 seconds, it broadcasts a message to all door locks in the community, including the IDs of all Bluetooth tags successfully paired with them and their room number. When door lock Z senses member A's Bluetooth tag, it calls member A, including their room number, to attract their attention. Member A presses the answer button on door lock Z, which establishes a connection with door lock A, enabling voice data to flow and interact between door lock Z, door lock A, and member B. Improvement 1. When the home door lock receives the call, it simultaneously asks other door locks who has found one of the Bluetooth IDs. If a door lock senses one of the Bluetooth IDs, it reminds that member to answer the call, thus speeding up the answer process. Improvement 2: If a member of the family goes out with a Bluetooth tag and the lock senses it, the lock will only carry that Bluetooth ID in its broadcasts. Improvement 3: The lock will pre-announce the set of Bluetooth IDs associated with it. When other locks discover this, they proactively notify the lock in real time. If the lock receives a voice call, it will immediately connect to that lock. If multiple Bluetooth IDs are outside and multiple other locks report the call, the lock can also make a point-to-multipoint call.

[0064] 2. The complete process of technical implementation is as follows:

[0065] (1) Prerequisites:

[0066] The owner's entrance door is equipped with a smart door lock, which stores a table of family member information, including name, facial image / feature vector, mobile phone APP-ID, and the Tag-DID of the Bluetooth tag that is successfully paired with the door lock. The door locks are connected to a network and record a list of door locks, including the door lock IDs of other smart door locks, the Tag-DID of the Bluetooth tag that is successfully paired with the door lock (there can be multiple tags), etc. (Generally speaking, the pairing process is as follows: both the Bluetooth tag and the door lock are turned on, the Bluetooth tag is in peripheral mode, and the door lock is in central mode. When the door lock monitors the advertising data packet of the Bluetooth tag, it can extract the MAC address (i.e., Tag-DID) of the tag. The sensed Tag-DID is manually selected on the door lock panel and the pairing is confirmed one by one. This pairing process is not the focus of the present invention and will not be expanded).

[0067] The owner's mobile phone installs the smart door lock APP, which has an independent APP-ID.

[0068] (2) The owner of door lock A, a, goes out with a Bluetooth tag: a carries a powered-on Bluetooth tag, Tag-DID (1), when going out. When a passes by the smart door lock and leaves home, door lock A continuously and periodically (once every 2 seconds) monitors Bluetooth advertising messages (at this time, if Tag-DID (1) is within the Bluetooth communication range, it can be sensed). If it cannot sense Tag-DID (1), it immediately caches the exit information of Tag-DID (1), including Tag-DID (1). A also caches other Bluetooth tags that it senses (at this time, other tags in the home have not been taken out of the home and are still in the home and can be sensed by A).

[0069] Note: Each home may have multiple Bluetooth tags, each of which is paired with a smart door lock. For example, door lock A has three Bluetooth tags (e.g., Tag-DID (1), Tag-DID (2), and Tag-DID (3)). This is like a mechanical lock at home having three mechanical keys, and owner A can use any one of them to go out. When all other tags are at home (3), owner B of door lock A calls door lock A from a different location via a mobile phone app. After a 30-second delay without a response, door lock A sends a broadcast message requesting neighboring door locks to forward the call.

[0070] Owner B, who is away from home, calls door lock A through the smart door lock's mobile phone APP. If C is at home, he can answer owner B's call through the smart door lock's inner panel (at this time, the inner panel will ring) and establish a video / voice call. After the call ends, either party can hang up the video / voice call and the process ends. If owner B calls door lock A and no one answers the call at home after 30 seconds (this may be because no one else in the house is at home), door lock A maintains the call establishment wait with owner B and sends a "Who will transfer" request message to all door locks, including the event ID number (which can be numbered by door lock ID number + current clock), door lock ID (A), door lock IP (A), Bluetooth tag Tag-DID (1), Tag-DID (2), Tag-DID (3), timestamp, etc. Other door locks (such as door lock Z) receive and cache A's broadcast message, and automatically delete it after 30 seconds (generally speaking, when the owner calls his own door lock through the APP, the waiting time is not too long, and generally the call will be hung up if no connection is made within 30 seconds). If door lock A maintains the call with owner B and waits for 30 seconds without receiving a response, it will automatically hang up owner B's call, ending the process. If owner B disconnects and calls again within 30 seconds after door lock A sends the broadcast message, the "Who will transfer?" request message will not be resent.

[0071] Description: Anyone in the home (e.g., A, C, D, etc.) can answer a video / voice call with owner B through the smart door lock's inner panel. The broadcast message sent by door lock A includes the Tag-DIDs of all successfully paired Bluetooth tags. This ensures that any family member with a Bluetooth tag can access the present invention's call forwarding feature. The broadcast message is automatically deleted after 30 seconds of buffering to ensure the call's validity, for example, if the family member has returned home or is out of the neighborhood, and the mobile app initiating the call is unlikely to disconnect after a long wait. Multiple calls can then be made. If no one answers multiple calls, the process ends.

[0072] (4) Family members carrying Bluetooth tags answer the calls made by their own owners to their own door locks at the neighbor’s door through the neighbor’s door lock.

[0073] When owner a leaves his home door lock A and passes by door lock Z, Z senses the Bluetooth tag Tag-DID (1) carried by owner a. After successfully comparing it with the Bluetooth tag Tag-DID number in the "Who is forwarding?" broadcast message sent by door lock A, Z extracts the door lock ID (A) number in the broadcast message and immediately issues a voice prompt "Door lock A calling" on the outer panel of door lock Z to attract a's attention. If a does not notice the voice prompt on the outer panel of Z and leaves the area (no longer passing by any door locks), and the process ends after more than 30 seconds, the process ends. If a hears the voice prompt on the outer panel of Z, then press the answer button of the Bluetooth tag Tag-DID (1) carried by it (a button on the Bluetooth tag, set to "answer", can confirm the establishment of communication with Z) and send an "answer" authorization message, the content of which includes Tag-DID (1), etc. Door lock Z receives the "answer" authorization information of the Bluetooth tag Tag-DID (1), queries the door lock list according to Tag-DID (1) and finds the door lock IP (A) of door lock A, and initiates a transfer connection request with door lock A. The request message includes the event ID number sent by A, etc. If door lock A is in the process of maintaining a call establishment with owner b, A receives Z's connection request and establishes a connection with Z. Door lock Z transfers the call of door lock A's owner b. At this time, door lock A's owner a can have a video / voice conversation with door lock A's owner b on the outer panel of door lock Z. If owner B of door lock A hangs up the call while door lock Z is establishing a connection with door lock A, the process ends after 30 seconds, and door lock A disconnects the connection between door lock Z and door lock A. To end the video / audio conversation during an established call, owner A can notify owner B to end the call, or owner B can simply hang up. At this point, door lock A disconnects both the connection between door lock Z and owner A, as well as the connection between door lock A and owner B. Door lock A caches the call history for this call, which includes the event ID number.

[0074] Note: The transfer connection can use the other party's door lock to answer the video / voice conversation. For example, after Z and A establish a transfer connection, Z can replace A to have a video / voice conversation with owner B.

[0075] (5) If the owner calls his door lock again through the mobile phone APP within the set time limit of 30 seconds, the door lock does not need to send a broadcast request transfer message again. The family members carrying the Bluetooth tag in the broadcast message within the validity period can answer the call transfer from the owner to their door lock through the transfer of the neighbor's door lock at the neighbor's door.

[0076] If owner a ends the call with owner b through door lock Z and comes to door lock Y again within 30 seconds after door lock A sends the "Who is transferring?" request message broadcast, door lock Y will sense the Bluetooth tag Tag-DID (1) carried by owner a of A, and after successfully comparing it with the Bluetooth tag Tag-DID number in the cached "Who is transferring" broadcast message sent by door lock A, it will immediately issue a voice prompt "Door lock A calling" on the outer panel of door lock Y to attract a's attention. At this time, if owner a has just finished the call, he will no longer pay attention to the voice prompt and leave directly, and the process ends. At this time, if owner a wants to talk to owner b again, he can press the answer button of the Bluetooth tag Tag-DID (1) according to the method in step (4). Door lock Y receives the "answer" information of the Bluetooth tag Tag-DID (1), queries the door lock list according to Tag-DID (1) and queries the door lock IP (A) of door lock A, and initiates a request to establish a transfer connection with door lock A. The request message contains the event ID number sent by A, etc. When door lock A receives a connection request from door lock Y, it extracts the event ID number and compares it with the cached call record transferred by door lock Z. It finds that there is already a call connection record. If owner B initiates a call after ending the call transferred by door lock Z, door lock A establishes a connection with Y and builds a video / voice conversation transferred by door lock Y according to the method of step (4); if owner B does not initiate a call at this time, door lock A rejects door lock Y's connection request and sends a "reject connection" reply message containing the event ID number sent by A, etc. Door lock Y receives the "reject connection" message and a voice prompt "unable to connect" is displayed on the door lock external panel. Owner A leaves Y after hearing the voice prompt and the process ends.

[0077] Note: If the aforementioned call ends and owner B initiates another call within 30 seconds after door lock A broadcasts the "Who will transfer?" request message, then if owner A is sensed by door lock Y, the call can be reestablished and transferred through door lock Y.

[0078] (6) Further improvement: When the door lock receives a call from its own owner, it broadcasts the ID numbers of all successfully paired Bluetooth tags to other door locks. If a door lock senses the Bluetooth tag ID number, it reminds the person carrying the Bluetooth tag to answer the call, thereby speeding up the answering process (no need to wait 30 seconds).

[0079] In steps (3) and (4), when the owner b of door lock A calls his own door lock A through a mobile phone APP in a different place, door lock A sends a broadcast message of "Who will transfer" to all door locks at the same time as the panel inside the door lock rings the call (at this time, it no longer delays for 30 seconds to wait for a family member to respond, but sends a broadcast message while waiting), including the event ID number (which can be numbered by the door lock ID number + the current clock), door lock ID (A), door lock IP (A), Bluetooth tag Tag-DID (at this time, it contains all Bluetooth tag ID numbers that the door lock has successfully paired with), timestamp, etc. Other door locks receive and cache the broadcast message for 30 seconds and then delete it. At this time, for example, door lock Z senses Bluetooth tag Tag-DID (1) (at this time, the Bluetooth tag Tag-DID (1) carried by owner a of A passes through door lock Z), and immediately reminds owner a's attention according to the method of steps (3) and (4), and realizes the dialogue with the mobile phone APP of owner b of A through Z's transfer.

[0080] If Z queries the door lock list based on Tag-DID (1) and finds the door lock IP (A) of door lock A, and initiates a transfer connection request with door lock A (the request message includes the event ID number sent by A, etc.), if there is someone at home (such as family member c) and has answered b's call on the inner panel first, then after receiving Z's transfer connection request, A sends a "reject" reply message to Z, including the event ID number, door lock ID (A), door lock IP (A), and Bluetooth tag Tag-DID (1) (at this time, door lock A has been answered on the inner panel by member c at home). After Z receives the "reject" reply message, the process ends. If door lock A establishes a transfer connection and is already in a state of communicating with the mobile phone APP of A's owner b through Z's transfer, A immediately stops the ringing of the door lock inner panel and no longer receives the call from the inner panel. If family member c just hears the ringing and comes to answer the call, he will not be able to answer the call.

[0081] (7) Further improvement: When the door lock sends a "Who will forward" request message to all door locks, it only sends the Bluetooth tag Tag-DID in the cache that has clearly left home. This can reduce the amount of information sent by door lock A in the broadcast message, and can also save the cache space of other door locks that receive the broadcast message and the comparison overhead of the Tag-DID number after sensing the Bluetooth tag.

[0082] In step (4), after the door lock receives a call from owner B via a mobile phone APP in a different location, it sends a request message of "Who will forward the call" to all door locks, including the event ID number (which can be numbered by the door lock ID number + the current clock), the door lock ID (A), the door lock IP (A), the Bluetooth tag Tag-DID (1), the timestamp, etc. (At this time, only the Bluetooth tag Tag-DID (1) cached by the door lock that has left the house is sent, because according to step (2), the door lock recognizes that Tag-DID (1) is not at home; if according to step (2) multiple Bluetooth tags Tag-DIDs that have left the house have been cached, then multiple Tag-DIDs need to be sent at this time). When other door locks (such as door lock Z) receive the broadcast message of "Who will forward the call", they cache the message. When the Bluetooth tag is sensed, according to step (4), a conversation between door lock A transferred by Z and its owner B in a different location via a mobile phone APP can be established. This method can reduce the amount of information that door lock A sends in broadcast messages, and can also save the cache space of the door lock that receives the broadcast message and the tag-DID comparison overhead (because at this time A only sends the Bluetooth tags that have clearly left home, rather than all the Bluetooth tags that A has successfully paired with).

[0083] (8) Further improvement: Door lock A sends all the Bluetooth tag IDs that have been successfully paired with its own door locks to other door locks in advance through broadcast messages for storage. When a door lock senses its own Bluetooth tag, it will send a message to inform this lock. When there is a call forwarding request from the owner's mobile phone APP, it will automatically query the door lock that has sent the message and is within the time limit, and connect with it to realize call forwarding. If there are multiple door locks that can be connected, multiple connections are established in a point-to-multipoint manner, and finally a door lock selected by the person who is away from home is selected to communicate with the door lock to realize conversation call forwarding.

[0084] The door lock announces the collection of all successfully paired Bluetooth tags Tag-DID to all other door locks: First, door lock A pairs with its own Bluetooth tags one by one and stores them in the door lock list, including the door lock ID, door lock IP, Tag-DID of the Bluetooth tags successfully paired with the door lock (there can be multiple), etc.; when door lock A is first started or restarted, it sends a "My Paired Bluetooth" broadcast message to all other door locks for all successfully paired Bluetooth tags Tag-DID, including the door lock ID (A), door lock IP (A), Tag-DID of the Bluetooth tags successfully paired with the door lock (this time it contains multiple tag ID numbers), etc. Other door locks (such as door lock Z) receive A's "My Paired Bluetooth" broadcast message, extract the information and write it into the door lock list of this lock, including door lock ID (A), door lock IP (A), Tag-DID of the Bluetooth tag successfully paired with door lock A (there can be multiple), etc. (other door locks use the same method to send and receive successfully paired Bluetooth tags. At this time, door lock Z has stored all other door lock IDs in the community and their successfully paired Bluetooth tags).

[0085] When the owner a leaves his door lock A and carries a successfully paired Bluetooth tag Tag-DID (1) passing by door lock Z, Z senses Tag-DID (1) and compares it with the Bluetooth tag Tag-DID number in the door lock list saved by this lock. If the comparison is successful, Z extracts the door lock ID (A) and door lock IP (A) corresponding to Tag-DID (1) and actively sends a "discover tag" message to door lock A, including door lock ID (Z), door lock IP (Z), and the Tag-DID (1) of the detected Bluetooth tag. Door lock A receives and caches the message and deletes it after saving it for 30 seconds. If, within the next 30 seconds, door lock A receives "discover tags" sent by multiple door locks, it caches the multiple messages at the same time and saves them for 30 seconds each before deleting them (the saving time starts from the moment the message is received).

[0086] If the owner b of door lock A calls door lock A from a different location through a mobile phone APP at this time, door lock A will immediately check whether there is a "discovered tag" message in the cache. If so, it will extract the door lock ID (Z) and door lock IP (Z) in the "discovered tag" message record (the message is within 30 seconds at this time, such as door lock Z). Then A will actively initiate a connection request to door lock Z and establish a connection with Z, and transfer the owner b's mobile phone APP call to door lock Z. At this time, owner a can communicate with owner b's mobile phone APP in front of door lock Z. If door lock A finds multiple "discovery tag" messages (such as door lock X, door lock Y, and door lock Z) when querying whether there is a "discovery tag" message in the cache, it will call door lock X, door lock Y, and door lock Z simultaneously in a point-to-multipoint manner and establish connections with door locks X, door lock Y, and door lock Z. According to the method in step (4), if owner a presses the answer button on the door lock (such as door lock Z), A will use the connection with door lock Z as a transfer to the mobile phone APP of owner b for a conversation link, and at the same time disconnect the connection with other door locks (such as door lock X and door lock Y at this time). After the call between owner a and door lock B ends, door lock A disconnects the connection between A and Z and the connection between A and owner b's mobile phone APP, and the process ends.

[0087] Beneficial effect: Family members can establish a call between their own door lock and their own door lock through the induction and confirmation of the Bluetooth tag Tag-DID on the neighbor's door lock, which is forwarded by the neighbor's door lock, solving the problem of family members answering calls from their own door lock after leaving home.

[0088] It can be seen that Bluetooth tag status monitoring and broadcast request: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the tag's exit status information is cached, and the broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: based on the reception of the broadcast message by door lock Z and the sensing of the Tag-DID entering its communication range, the reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: based on the owner a pressing the answer button of the Bluetooth tag, the transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner b's mobile phone APP, and the complete process result of voice transfer is obtained, thereby realizing seamless voice interconnection between smart door locks and meeting users' efficient communication needs in a smart home environment.

[0089] Another embodiment of the present invention provides a system for coordinated voice transfer between door locks, see Figure 3 , the system may include:

[0090] Request module 301 is used for Bluetooth tag status monitoring and broadcasting requests: when door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information; when door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks;

[0091] The reminder module 302 is used for Bluetooth tag matching and reminder of neighbor door locks: when door lock Z receives the forwarding request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call;

[0092] Establishment module 303, for transfer authorization and connection establishment: When owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A;

[0093] Management module 304 is used for voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

[0094] It can be seen that Bluetooth tag status monitoring and broadcast request: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the tag's exit status information is cached, and the broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: based on the reception of the broadcast message by door lock Z and the sensing of the Tag-DID entering its communication range, the reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: based on the owner a pressing the answer button of the Bluetooth tag, the transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner b's mobile phone APP, and the complete process result of voice transfer is obtained, thereby realizing seamless voice interconnection between smart door locks and meeting users' efficient communication needs in a smart home environment.

[0095] An embodiment of the present invention further provides a storage medium storing a computer program, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.

[0096] Specifically, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

[0097] S201, Bluetooth tag status monitoring and broadcast request: When door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information. When door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks.

[0098] S202, Neighbor door lock Bluetooth tag matching and reminder: When door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call;

[0099] S203, transfer authorization and connection establishment: When owner a presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A;

[0100] S204, voice data flow and call management: Based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

[0101] It can be seen that Bluetooth tag status monitoring and broadcast request: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the tag's exit status information is cached, and the broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: based on the reception of the broadcast message by door lock Z and the sensing of the Tag-DID entering its communication range, the reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: based on the owner a pressing the answer button of the Bluetooth tag, the transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner b's mobile phone APP, and the complete process result of voice transfer is obtained, thereby realizing seamless voice interconnection between smart door locks and meeting users' efficient communication needs in a smart home environment.

[0102] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

[0103] Specifically, the electronic device 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.

[0104] Specifically, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0105] S201, Bluetooth tag status monitoring and broadcast request: When door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information. When door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks.

[0106] S202, Neighbor door lock Bluetooth tag matching and reminder: When door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call;

[0107] S203, transfer authorization and connection establishment: When owner a presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A;

[0108] S204, voice data flow and call management: Based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

[0109] It can be seen that Bluetooth tag status monitoring and broadcast request: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the tag's exit status information is cached, and the broadcast result of the transfer request is obtained; neighbor door lock Bluetooth tag matching and reminder: based on the reception of the broadcast message by door lock Z and the sensing of the Tag-DID entering its communication range, the reminder result of the person carrying the Bluetooth tag is obtained; transfer authorization and connection establishment: based on the owner a pressing the answer button of the Bluetooth tag, the transfer connection result between the door locks is obtained; voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner b's mobile phone APP, and the complete process result of voice transfer is obtained, thereby realizing seamless voice interconnection between smart door locks and meeting users' efficient communication needs in a smart home environment.

[0110] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the scope of implementation of the present invention is not limited to what is shown in the drawings. Any changes made in accordance with the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which do not exceed the spirit covered by the description and drawings, should be within the scope of protection of the present invention.

Claims

1. A method for collaborative voice transfer between door locks, characterized in that: The method comprises: Bluetooth tag status monitoring and broadcast request: When door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information. When door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks. Neighbor door lock Bluetooth tag matching and reminder: When door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call; Transfer authorization and connection establishment: When owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A; Voice data flow and call management: Based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

2. The method according to claim 1, characterized in that The Bluetooth tag status monitoring and broadcast request includes: Bluetooth tag departure detection: Door lock A periodically monitors Bluetooth advertising packets. If no paired Tag-DID is detected for N consecutive times, it is determined that owner A has left home with the tag and the exit status information is cached. Call response timeout judgment: When door lock A receives a call from owner B’s mobile phone APP, a 30-second countdown starts; if no one answers the call through the inner panel of door lock A during this period, the transfer process is triggered; Broadcast message generation and sending: Based on the timeout result, a broadcast message containing the ID, IP and Tag-DID of door lock A is generated and sent to other door locks via the local area network. The validity period is set to 30 seconds.

3. The method according to claim 2, characterized in that The neighbor door lock Bluetooth tag matching and reminder includes: Broadcast message reception and caching: Receive and parse broadcast messages based on door lock Z, extract the Tag-DID and door lock A's IP address, and cache them in a local queue; Tag dynamic sensing and matching: The Bluetooth module of door lock Z detects that the Tag-DID enters the communication range, and successfully matches it with the cache queue, triggering a voice reminder; Reminder mode control: Based on the matching results, the door lock Z starts the voice module to play the preset reminder tone and lights up the LED indicator on the outer panel.

4. The method according to claim 3, characterized in that The transfer authorization and connection establishment include: Bluetooth tag answer command analysis: Based on the answer button signal sent by the Tag-DID received by the door lock Z, its Tag-DID and authorization timestamp are extracted; Transfer request generation and sending: Based on the authorization information, door lock Z sends a connection request to the IP address of door lock A, including the event ID and Tag-DID; Connection verification and channel establishment: The validity of the event ID and Tag-DID is verified according to door lock A. If they match and the call has not timed out, a TCP / IP voice channel is established with door lock Z.

5. The method according to claim 4, characterized in that The voice data flow and call management include: Voice data packet transmission: Based on the established channel, door lock A splits the voice stream of the mobile phone APP into data packets and forwards them to door lock Z via the local area network; Real-time two-way communication: Receive and play voice data based on door lock Z, and collect owner a's voice and transmit it back to door lock A and mobile phone APP; Call termination processing: Based on the hang-up signal from the mobile phone app or door lock Z, door lock A closes the channel, deletes the cached event ID, and generates a call log.

6. A system for collaborative voice transfer between door locks, characterized in that: The system comprises: The request module is used for Bluetooth tag status monitoring and broadcasting requests: when door lock A detects that owner A's Bluetooth tag Tag-DID has left the communication range, it caches the tag's away status information; when door lock A receives a call from owner B's mobile terminal and no one at home answers, it generates a forwarding request broadcast message containing door lock A's ID, IP address, and the Bluetooth tag Tag-DID of the owner who has left home, and sends it to other door locks; The reminder module is used for Bluetooth tag matching and reminder of neighbor door locks: when door lock Z receives the transfer request broadcast message and senses the Tag-DID of owner a, it prompts door lock A to call; Establishment module, used for transfer authorization and connection establishment: when owner A presses the answer button corresponding to the Bluetooth tag Tag-DID, door lock Z initiates a transfer connection request to door lock A and establishes a voice channel with door lock A; The management module is used for voice data flow and call management: based on the established voice channel, voice data is transmitted in real time between door lock Z, door lock A and owner B's mobile terminal; when the voice call ends, door lock A disconnects from door lock Z and the mobile terminal, completing the voice transfer call.

7. The system according to claim 6, characterized in that The request module is specifically used to: Bluetooth tag departure detection: Door lock A periodically monitors Bluetooth advertising packets. If no paired Tag-DID is detected for N consecutive times, it is determined that owner A has left home with the tag and the exit status information is cached. Call response timeout judgment: When door lock A receives a call from owner B’s mobile phone APP, a 30-second countdown starts; if no one answers the call through the inner panel of door lock A during this period, the transfer process is triggered; Broadcast message generation and sending: Based on the timeout result, a broadcast message containing the ID, IP and Tag-DID of door lock A is generated and sent to other door locks via the local area network. The validity period is set to 30 seconds.

8. The system according to claim 7, characterized in that The reminder module is specifically used to: Broadcast message reception and caching: Receive and parse broadcast messages based on door lock Z, extract the Tag-DID and door lock A's IP address, and cache them in a local queue; Tag dynamic sensing and matching: The Bluetooth module of door lock Z detects that the Tag-DID enters the communication range, and successfully matches it with the cache queue, triggering a voice reminder; Reminder mode control: Based on the matching results, the door lock Z starts the voice module to play the preset reminder tone and lights up the LED indicator on the outer panel.

9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when run.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent door lock control method and device, updating method and device, and intelligent door lock

    CN110246245A

  • Bluetooth intelligent lock system and use method thereof

    CN113112650A