An intercom method and system based on tag door lock collaboration

Through door lock detection, Bluetooth tag exit broadcast binding information, neighbor door lock status detection and select call establishment, solving the problem of low door lock status determination and connection efficiency in the existing technology, realizing seamless voice call switching between smart door locks, and improving user communication experience.

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

Patent Information

Application Number
CN202510773808.1
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 lock intercom system lacks an effective door lock binding information broadcast mechanism, making it difficult to determine the door lock status, and it is less efficient to quickly identify idle door locks and establish connections in a multi-door lock environment. There is a challenge to seamlessly switch between call connections when the user moves.

Method used

The departure of the Bluetooth tag Tag-DID is detected through door lock A, and binding information is generated and broadcasted. The neighbor door lock detects the status and displays the idle door lock ID. The user selects and establishes a call connection, realizes voice calls, and automatically switches calls when moving.

Benefits of technology

It improves the collaborative working ability between door locks, optimizes users' communication experience in smart home environment, and realizes seamless voice call switching between door locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343535B_ABST
    Figure CN120343535B_ABST
Patent Text Reader

Abstract

The present invention discloses an intercom method and system based on tag-based door lock collaboration. The method includes: broadcasting door lock binding information: upon door lock A detecting that the Bluetooth tag Tag-DID carried by owner A has left the communication range, a broadcast result of the door lock binding information is obtained; detecting neighbor door lock status: upon owner A pressing the call button on the Bluetooth tag, a query request is sent to determine who is available, and a response result of an available door lock is obtained; door lock selection and call establishment: upon owner A selecting the door lock ID displayed on the display screen of door lock Z, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining a result of establishing a call connection between the door locks; and voice call and handoff management: upon the established call connection, a voice call is established between door lock Z and door lock A, obtaining a result of handoff of the cross-door lock voice call. By using the embodiments of the present invention, the collaborative working capability between door locks can be improved, optimizing the user's communication experience 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 technical field of smart door locks, and in particular to an intercom method and system based on tag door lock collaboration. Background Art

[0002] With the continuous development of IoT technology, the functionality of smart door locks has gradually expanded. Beyond traditional security features, they now integrate complex functions such as voice communication and information transmission, becoming a vital component of smart homes. Against this backdrop, Bluetooth tag-based intercom technology has emerged, enabling users to interact with smart door locks in their homes by carrying Bluetooth tags, thereby improving family communication efficiency. However, current intercom systems still face some technical bottlenecks. For example, the lack of an effective mechanism for broadcasting door lock binding information makes it difficult for users to determine the door lock status when they leave home. In environments with multiple door locks, the efficiency of quickly identifying idle door locks and establishing connections is low. Furthermore, seamless switching of established call connections while users are on the move presents challenges. Summary of the Invention

[0003] The purpose of the present invention is to provide an intercom method and system based on tag door lock collaboration to address the deficiencies in the prior art, improve the collaborative working capabilities between door locks, and optimize the user's communication experience in a smart home environment.

[0004] An embodiment of the present application provides an intercom method based on tag-door lock collaboration, the method comprising:

[0005] Door lock binding information broadcast: When door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, it generates an owner leaving broadcast message containing the door lock ID, IP address, and Tag-DID. This message is then sent to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information.

[0006] Neighbor door lock status detection: When owner A presses the call button on the Bluetooth tag to send a request to find out who is available, the nearby door lock Z receives the request and detects its own status. If it is available, the display lights up and displays the door lock ID, and then receives a response from the available door lock.

[0007] Door lock selection and call establishment: When owner A selects the door lock ID displayed on the display of door lock Z, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining the result of establishing the call connection between the door locks.

[0008] Voice call and handover management: Based on the established call connection, a voice call is realized between door lock Z and door lock A. When owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically continues the call, obtaining the voice call handover result across door locks.

[0009] Optionally, the door lock binding information broadcast includes:

[0010] Tag departure detection: Door lock A periodically scans Bluetooth signals. If no Tag-DID is detected for five consecutive times, it is determined that owner A has left home.

[0011] Broadcast message generation: Generates a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the exit detection result;

[0012] Message sending and caching: Based on the generated broadcast message, it is multicast to all door locks in the community through the local area network. The receiving door locks cache the message and set a validity period of 30 seconds.

[0013] Optionally, the neighbor door lock status detection includes:

[0014] Query request reception: The Bluetooth module of door lock Z receives the available request sent by Tag-DID and extracts the door lock ID;

[0015] Status self-check: Based on the current task load of door lock Z, if there is no person in front of the outer panel and the inner panel is not in a call state, [Jian Ye 1] is determined to be in an idle state;

[0016] Response feedback: Based on the idle judgment result, the display screen lights up and displays the door lock ID, and at the same time starts a 30-second countdown to automatically turn off the display.

[0017] Optionally, the door lock selection and call establishment include:

[0018] User selection processing: extract the cached IP based on the door lock ID selection operation received by the door lock Z touch screen;

[0019] Call request generation: Generates a call request message containing Tag-DID based on IP;

[0020] Connection establishment: After verifying the validity of the Tag-DID according to door lock A, a TCP voice channel is established with door lock Z and duplex audio transmission is started.

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

[0022] Motion detection: The Bluetooth module of door lock Y detects that the Tag-DID signal strength continues to increase, and determines that owner A is approaching;

[0023] Call connection: Door lock Y queries the cached owner's outgoing message and sends a connection request containing Tag-DID to door lock A;

[0024] Seamless switching: Door lock A disconnects from door lock Z and establishes a new voice channel with door lock Y to maintain call continuity.

[0025] Optionally, the method further includes:

[0026] Parallel processing of internal and external panels: When the internal panel of the door lock is in a call, the external panel can still respond to new availability query requests and independently process two voice data streams through a time-division multiplexing mechanism.

[0027] Another embodiment of the present application provides an intercom system based on tag door lock collaboration, the system comprising:

[0028] The broadcast module is used to broadcast door lock binding information: when door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, it generates a broadcast message containing the door lock ID, IP address and Tag-DID, and sends it to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information;

[0029] The detection module is used to detect the status of neighboring door locks: when owner A presses the call button on the Bluetooth tag to send a request for availability, the nearby door lock Z receives the request and detects its own status. If it is available, the display lights up and displays the door lock ID, and then receives the response result of the available door lock;

[0030] Establishment module for door lock selection and call establishment: according to the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP and initiates a call request to door lock A, and obtains the establishment result of the call connection between the door locks;

[0031] The management module is used for voice call and handover management: based on the established call connection, a voice call between door lock Z and door lock A is realized; when owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the voice call handover result across door locks.

[0032] 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.

[0033] 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.

[0034] Compared with the prior art, the present invention provides an intercom method based on tag door lock collaboration, door lock binding information broadcast: according to door lock A detecting that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the broadcast result of door lock binding information is obtained; neighbor door lock status detection: according to owner a pressing the call button of the Bluetooth tag, a query request for who is available is sent, and a response result of an idle door lock is obtained; door lock selection and call establishment: according to owner a selecting the door lock ID displayed on the display screen of door lock Z, door lock Z extracts the cached IP and initiates a call request to door lock A, and obtains the establishment result of the call connection between door locks; voice call and switching management: according to the established call connection, a voice call between door lock Z and door lock A is realized, and the voice call switching result across door locks is obtained, thereby improving the collaborative working ability between door locks and optimizing the user's communication experience in the smart home environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A hardware structure block diagram of a computer terminal for an intercom method based on tag door lock collaboration provided by an embodiment of the present invention;

[0036] Figure 2 A flowchart of an intercom method based on tag door lock collaboration provided by an embodiment of the present invention;

[0037] Figure 3 A schematic structural diagram of an intercom system based on tag door lock collaboration provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] 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.

[0039] The embodiment of the present invention first provides an intercom method based on tag-door lock collaboration, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, etc.

[0040] 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 an intercom method based on tag door lock collaboration 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.

[0041] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, which, when executed, can enable the processor to execute any one of the tag-based door lock collaboration intercom methods.

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

[0043] 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 intercom method based on the collaboration of the tag door lock.

[0044] 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.

[0045] 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.

[0046] See also Figure 2 The embodiment of the present invention provides an intercom method based on tag door lock collaboration, which may include the following steps:

[0047] S201, door lock binding information broadcast: Door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, generates an owner leaving broadcast message containing the door lock ID, IP address, and Tag-DID, and sends it to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information; specifically, the door lock binding information broadcast includes:

[0048] Tag departure detection: Door lock A periodically scans Bluetooth signals. If no Tag-DID is detected for five consecutive times, it is determined that owner A has left home.

[0049] Broadcast message generation: Generates a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the exit detection result;

[0050] Message sending and caching: Based on the generated broadcast message, it is multicast to all door locks in the community through the local area network. The receiving door locks cache the message and set a validity period of 30 seconds.

[0051] S202, neighbor door lock status detection: based on the owner A pressing the call button of the Bluetooth tag to send a query request for who is available, the nearby door lock Z receives the request and detects its own status. If it is available, it lights up the display and displays the door lock ID, and obtains the response result of the available door lock; specifically, the neighbor door lock status detection includes:

[0052] Query request reception: The Bluetooth module of door lock Z receives the available request sent by Tag-DID and extracts the door lock ID;

[0053] Status self-check: Based on the current task load of door lock Z, if there is no one on the outer panel and the inner panel is not in a call state, it is determined to be in idle state;

[0054] Response feedback: Based on the idle judgment result, the display screen lights up and displays the door lock ID, and at the same time starts a 30-second countdown to automatically turn off the display.

[0055] S203, Door Lock Selection and Call Establishment: Based on the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining the result of establishing the call connection between the door locks. Specifically, the door lock selection and call establishment include:

[0056] User selection processing: extract the cached IP based on the door lock ID selection operation received by the door lock Z touch screen;

[0057] Call request generation: Generates a call request message containing Tag-DID based on IP;

[0058] Connection establishment: After verifying the validity of the Tag-DID according to door lock A, a TCP voice channel is established with door lock Z and duplex audio transmission is started.

[0059] S204, Voice Call and Handoff Management: Based on the established call connection, a voice call is established between door lock Z and door lock A. When owner A moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the result of the cross-door lock voice call handoff. Specifically, the voice call and handoff management includes:

[0060] Motion detection: The Bluetooth module of door lock Y detects that the Tag-DID signal strength continues to increase, and determines that owner A is approaching;

[0061] Call connection: Door lock Y queries the cached owner's outgoing message and sends a connection request containing Tag-DID to door lock A;

[0062] Seamless switching: Door lock A disconnects from door lock Z and establishes a new voice channel with door lock Y to maintain call continuity.

[0063] Specifically, the method also includes: parallel processing of inner and outer panels: when the inner panel of the door lock is in a call, the outer panel can still respond to new available query requests and independently process two voice data streams through a time-division multiplexing mechanism.

[0064] In actual applications, the owner can call the door lock through the mobile phone APP to establish a video / voice call with the door lock, but when the owner is not at home and does not carry the mobile phone, he cannot call his own door lock for a video / voice call.

[0065] 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.

[0066] 1. Core Concept: When member A is away from home and doesn't have their phone with them, but they have a Bluetooth tag, they want to call and intercom with their door lock A. The design is as follows: Door lock A broadcasts its successfully paired Bluetooth ID to all other door locks in the community, and the other door locks store the bindings between these Bluetooth IDs and door lock A. When member A goes out and uses Bluetooth, they press the call button on door lock Z. Door lock Z senses member A's Bluetooth ID, discovers it's bound to door lock A, and calls A, establishing voice communication. However, if door lock Z detects multiple Bluetooth IDs, it displays the room numbers corresponding to those IDs on the screen, prompting member A to select the corresponding room number, thereby establishing voice communication with the selected room.

[0067] Further improvements:

[0068] Improvement 1: To prevent the door lock from being busy with other business, you can first press the Bluetooth tag button to advertise the query message "Who is available?". The unoccupied door lock will first determine whether it has received announcements from other door locks. If so, it will light up as a feedback;

[0069] Improvement 2: The room number of an empty lock is displayed on the Bluetooth tag screen;

[0070] Improvement point 3: The door lock is separated into inside and outside, and calls from the outside do not affect calls received from the inside;

[0071] Improvement point 4: Allow members to walk in the corridor. These door locks will sense the movement of Bluetooth tags and automatically switch calls between door locks.

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

[0073] (1) Prerequisites:

[0074] The owner's entrance door is equipped with a smart door lock, which stores a table of family member information, including name, face image / feature vector, and the tag-DID of the Bluetooth tag that is successfully paired with the door lock. The door locks are connected to each other and a list of door locks is recorded, including the door lock ID of other smart door locks, the door lock room number (door lock address), the door lock IP address, and the tag-DID of the Bluetooth tag that is successfully paired with the door lock (there can be multiple tags).

[0075] The Bluetooth tag has a display screen and an independent Tag-DID that can communicate with the door lock.

[0076] (2) When the owner goes out with the Bluetooth tag, the door lock broadcasts the door lock ID and the Tag-DID of the paired Bluetooth tag to other door locks in the community.

[0077] When owner A leaves their home door lock A, carrying a Bluetooth tag (Tag-DID (A1)), A sends a broadcast message "Owner Out" to all door locks in the community. This message contains the event ID, door lock ID (A), door lock IP (A), Tag-DID (A1), and so on. Other door locks (such as door lock Z) receive and cache the "Owner Out" broadcast message sent by A. Later, if owner A returns to their home door lock A, door lock A senses the Bluetooth tag (Tag-DID (A1)) and sends a broadcast message "Owner Returns Home" to all door locks in the community, containing the door lock ID (A), door lock IP (A), Tag-DID (A1), and so on. Other door locks (such as door lock Z) receive and extract the "owner returns home" broadcast message and compare it with the cached "owner goes out" broadcast message (Z may receive "owner goes out" broadcast messages from multiple door locks). If a match is found, the "owner goes out" broadcast message that matches is deleted (for example, A sends a "owner goes out" broadcast message) and the "owner returns home" broadcast message is also deleted, and the process ends. If a door lock receives a "owner returns home" broadcast message and compares it with the cached "owner goes out" broadcast messages and does not match any "owner goes out" broadcast message, the "owner returns home" broadcast message is deleted (in this case, it may be that the door lock has not received or cached the "owner goes out" broadcast message, and the owner has already returned home, so the "owner returns home" broadcast message can be ignored).

[0078] (3) Owner a carries the Bluetooth tag to the neighbor's door lock Z and uses door lock Z to call his own door lock A.

[0079] Owner A, carrying a Bluetooth tag, approaches a neighbor's door lock Z. Z senses the Bluetooth tag (tag number Tag-DID (A1)) carried by owner A. If A simply leaves, Z does nothing and the process ends. If A presses the visitor call button on Z's exterior panel, Z first collects an image of A's face and compares it with the faces in the family member information table to see if the similarity exceeds a threshold (typically 80%) to determine whether A is the owner of Z. If the face comparison is successful (indicating that A is the owner of both Z and A, meaning that A has authorization for two residential door locks), Z unlocks the door and the process ends. If A's face fails to be detected, Z searches for a cached "owner leaving" broadcast message based on the Bluetooth tag number Tag-DID (A1) carried by A. If no cached "owner leaving" broadcast message is found (in this case, the sensed Bluetooth tag may not belong to a resident of the community), Z does not respond and the process ends. If the broadcast message "owner is out" sent by cache A is found, the door lock IP (A) of the message is extracted and door lock A is called. Door lock A receives Z's call and establishes a video / voice call. A can then talk to the person at his own door lock A through Z. After the call, a leaves Z, the call between Z and A is terminated, and the process ends.

[0080] At this time, if the door lock Z senses multiple Tag-DIDs, the door lock room numbers corresponding to all the sensed Tag-DIDs will be displayed on the door lock display screen at the same time. At this time, if the owner a sees multiple door lock room numbers on the door lock Z display screen, he will select his own room number and make a call according to the above method.

[0081] (4) Further improvement: The owner uses the Bluetooth tag to send a broadcast message to find an idle neighbor door lock. The idle door lock lights up the door lock screen to prompt the owner.

[0082] In step (3), if a comes near multiple door locks and wants to call door lock A, but some door locks are busy (for example, door lock B is on a call) and cannot accept a's call to door lock A, then a hopes to find an idle door lock (for example, door lock C) to help him call his own door lock A. In order to find an idle door lock, the optimization is as follows:

[0083] Owner a of A is near multiple door locks (for example, door locks B, C, D, and E are nearby). a presses the "Call" button on the Bluetooth tag to send a broadcast message of "Who is available?", which contains the door lock ID (A), door lock IP (A), Tag-DID (A1), etc. The nearby door locks B, C, D, and E receive a's call via Bluetooth communication. The "Who is free" broadcast message is sent, and the Tag-DID (A1) in the message is extracted to query the cached "Master out" broadcast message. If the cached "Master out" broadcast message is found (at this time, the sensed Bluetooth tag belongs to a resident of this community) and is in idle state, the display screen on the outer panel of the door lock is lit to attract the attention of a (for example, there are door locks B, C, D, and E nearby, and the display screen of door locks C and D is in idle state, while the display screen of B and E is not lit because they are busy). After the display screen is lit, it will automatically turn off after 30 seconds. When a sees the door lock with the lit display screen, he selects one of them (for example, door lock C), and establishes a call with his own door lock A through door lock C according to step (3).

[0084] (5) Further improvement: The owner uses the Bluetooth tag to send a broadcast message to find an idle neighbor door lock. The idle door lock displays the door lock ID number corresponding to different Bluetooth tags on the screen of the door panel outside the door to prompt the owner. The owner selects his own door lock ID number to establish a dialogue with his own door lock.

[0085] In step (4), if a comes near multiple door locks and wants to call door lock A, and the owner of door lock F, f, is also nearby and wants to call his own door lock F, then if a and f both press the "call" button on their respective Bluetooth tags, then after the idle door locks light up their displays, a and f will not be able to distinguish whether these lit door locks are lit in response to their calls. If they call rashly, they may call the wrong door lock. In order to make the door locks correctly respond to the "Who is free" call of the Bluetooth tag, the following optimization is performed:

[0086] Owners a of door lock A and f of door lock F (this example uses two people. If there are multiple owners of door locks, the same method applies) are near multiple door locks (for example, door locks B, C, D, and E). a and f press the "Call" button on their Bluetooth tags to send a "Who's available?" broadcast message, which includes the door lock ID (A / F), door lock IP (A / F), Tag-DID (A1 / F1), etc. Nearby door locks B, C, D, and E receive the "Who's available" broadcast message sent by a and f through Bluetooth communication, extract the Tag-DID (A1 / F1) in the message, and query the cached "Owner Out" broadcast message. If a cached "Owner Out" broadcast message is found (at this time, the sensed Bluetooth tag may not belong to a resident of the community) and is in idle state, the door lock's external panel display lights up and displays the door lock ID (A / F) to attract a. and f (for example, there are door locks B, C, D, and E nearby, and door locks C and D are in idle state so the display screen is lit, while B and E are busy so the display screen is not lit). The display screen lights up and displays the door lock ID (A / F) for 30 seconds and then turns off automatically. a sees the door lock with the lit display screen and selects one of them (for example, door lock C is selected). He sees that one of the two door lock ID numbers (door lock ID (A), door lock ID (F)) on the door lock display screen is the ID number of his home door lock (if it is not the ID (A) number of his home door lock, then This means that someone else also wants to query an idle door lock at this time. Then, after 30 seconds, a can press the "Call" button on the Bluetooth tag again to find an idle door lock). By clicking the door lock ID (A) on the door lock display, he selects his own door lock. According to step (3), he establishes a call with his own door lock A through door lock C. And f sees the door locks with the lighted display, selects one of them (for example, door lock D), selects his own door lock by clicking the door lock ID (F) on the door lock display, and establishes a call with his own door lock F through door lock D according to step (3).

[0087] (6) Further improvement: The owner uses the Bluetooth tag to send a broadcast message to find an idle neighbor door lock. The Bluetooth tag receives the idle door lock and displays the corresponding room number on the Bluetooth tag screen to prompt the owner. The owner clicks on the door lock through the Bluetooth tag and establishes a dialogue with his own door lock on the selected door lock.

[0088] In step (5), if a comes near multiple door locks and wants to call door lock A, and the owner of door lock F, f, is also nearby and wants to call his own door lock F, then if a and f both press the "call" button on their respective Bluetooth tags, then after the idle door locks light up their displays, a and f will not be able to distinguish whether these lit door locks are lit in response to their calls. If they call rashly, they may call the wrong door lock. In order to make the door locks correctly respond to the "Who is free" call of the Bluetooth tag, the following optimization is performed:

[0089] Owners a of door lock A and f of door lock F (note: this example uses two people as an example. If there are multiple owners of door locks, the same method should be used) are near multiple door locks (for example, door locks B, C, D, and E). a and f press the "Call" button on their Bluetooth tag to send a "Who's free?" broadcast message (the tag's "Call" button is set to broadcast "Who's free?" messages via Bluetooth communication). The message includes the door lock ID (A / F), door lock IP (A / F), Tag-DID (A1 / F1), etc. Nearby door locks B, C, D, and E receive the "Who's free?" broadcast message sent by a and f via Bluetooth communication, extract the Tag-DID (A1 / F1) in the message, and compare it with the cached "Owner Out" broadcast message. If a cached "Owner Out" broadcast message is found and is in the idle state, a unicast message "I'm free" is sent to door lock a in reply. F carries a Bluetooth tag, which receives the reply message "I'm free" and displays it on the Bluetooth tag's display screen in the order in which the messages are received. The displayed content includes the room numbers of the available door locks (for example, if door locks B, C, D, and E are available, it will be displayed as room number (door lock B), room number (door lock C), room number (door lock D), and room number (door lock E)). The displayed information is automatically deleted after 30 seconds. If it needs to be displayed again, you need to press the "Call" button of the Bluetooth tag again to send a broadcast message "Who is free" to obtain the door lock's reply message.

[0090] The owner of door lock A, a, and the owner of door lock F, f, select the door lock they intend to use based on the room number on the Bluetooth tag display (at this time, a and f can choose according to their respective preferences. If they choose the same door lock and walk towards it, the later person can choose another door lock after seeing that the door lock they selected is occupied). For example, if owner A of door lock A selects and clicks room number (door lock B) on the Bluetooth tag display, the Bluetooth tag sends a "Selected" message to door lock B, including the Tag-DID (A). The user then walks to the door lock in room number (door lock B). Upon receiving the "Selected" message from the Bluetooth tag, door lock B waits for owner A to press the call button. Once owner A presses the call button, door lock B searches the stored list of door locks for the IP address (A) of door lock A based on the Tag-DID (A) in the "Selected" message and calls door lock A. Door lock A receives B's call and establishes a video / voice call. A can then communicate with the person at door lock A through B. After the call ends, A leaves B, and the call between B and A is terminated, completing the process. At this point, owner F discovers that the previously selected door lock (for example, door lock B) is occupied by owner A. They press the Bluetooth tag's "Call" button again, sending a "Who's available?" broadcast message to reselect a door lock.

[0091] (7) Further improvement: The inner and outer panels of the door lock can process two tasks in parallel. For example, when the inner panel is answering a call, the outer panel can establish a call with another door lock.

[0092] In step (4) or (5), if all nearby door locks are busy (for example, in a voice / video conversation), it is impossible to establish a conversation with your own door lock. To this end, the optimization is as follows:

[0093] Prerequisite: The inner and outer panels of the door lock are configured to handle different calls and receive video / voice conversations simultaneously. That is, the outer and inner panels can each independently handle one call and receive video / voice conversation. (For example, if the inner panel of door lock Z is receiving a video / voice conversation from the mobile app of Z's owner, the outer panel can simultaneously receive a video / voice conversation from door attendant A calling door lock A.)

[0094] In step (4) or (5), when the owner a of door lock A (note, a is used as an example here, if there are multiple owners of door locks, the same method is used), a presses the "Call" button of the Bluetooth tag to send a broadcast message of "Who is available", the content includes the door lock ID (A), door lock IP (A), Tag-DID (A1), etc., the nearby door locks B, C, D, E receive the broadcast message of "Who is available" sent by a through Bluetooth communication, extract the Tag-DID (A1) in the message, and query the cached broadcast message of "Owner goes out". If the cached broadcast message of "Owner goes out" is found, if there is a person in front of the door lock (at this time the outer panel is processing the person in front of the door lock), the outer panel will process the person in front of the door lock. If there is no one in front of the door lock (if there is a call in progress on the inner panel, it will not affect the outer panel's reception and response to a's call), the outer panel display of this door lock will be lit up and the door lock ID (A) will be displayed to attract a's attention. After 30 seconds, the outer panel display will be automatically turned off. When a sees the door lock with the lit display, he will select one of them (for example, door lock C) and follow step (3) to establish a call with his own door lock A through door lock C.

[0095] Note: When there is someone in front of the door lock's outer panel, the outer panel needs to prioritize tasks such as identifying and matching people in front of the door lock, and cannot accept calls from nearby A via Bluetooth tags. If there is no one in front of the door lock's outer panel, since the inner and outer panels of the door lock can support different tasks respectively, regardless of whether the inner panel is in video / voice conversation status, it can respond to calls from nearby A via Bluetooth tags.

[0096] (8) Further improvement: Using Bluetooth tags, you can freely switch between multiple door locks in the corridor and call your own door lock.

[0097] In step (3), when the owner a of door lock A is in a video / voice conversation with his own door lock A through Z, if the owner a moves in front of door lock Y, the conversation between Z and his own door lock A will not be maintained. To this end, the optimization is as follows:

[0098] According to step (3), the owner a of door lock A carries a Bluetooth tag Tag-DID (A1) and communicates with the person at his own door lock A through door lock Z. If owner a leaves door lock Z during the call, and since neither owner a (for example, by actively pressing the button on the panel of door lock Z) nor the person at his own door lock A actively ends the call, door lock Z immediately sends a broadcast message of "Who will continue?" to other door locks, the content of which includes door lock ID (Z), door lock IP (Z), door lock ID (A), door lock IP (A), Tag-DID (A1), etc. Other door locks (for example, door lock Y) receive and cache the broadcast message of "Who will continue?" sent by Z, and automatically delete the message after a delay of 30 seconds. After door lock Z sends the broadcast message of "Who will continue?", the call connection between door lock Z and door lock A is automatically disconnected (at this time, a has left door lock Z, and after a delay of 30 seconds, no response is received from other door locks, indicating that there is no need to continue the conversation connection), and the process ends.

[0099] If owner a does not reach any other door lock within 30 seconds of leaving door lock Z, the process ends. If after 30 seconds, he reaches door lock X and wants to talk to the person at his own door lock A, he will re-establish the conversation with the person at his own door lock A through door lock X as described in step (3).

[0100] If owner a arrives at door lock Y within 30 seconds of leaving door lock Z, Y senses owner a's Bluetooth tag, Tag-DID (A1), and matches the cached broadcast message "Who will take over?" sent by Z based on Tag-DID (A1) (Z caches the broadcast message and has not automatically deleted it, indicating that it has not been more than 30 seconds). It then extracts the IP address (A) and IP address (Z) of door lock Z from the broadcast message and immediately sends a unicast message "I will take over" to door locks A and Z, containing the contents of door lock (Y), Tag-DID (A1), etc. After receiving the "I will take over" message from Y, door locks A and Z immediately disconnect the call between door lock Z and door lock A, and door lock A replies with a unicast message "Please take over" to door lock Y. After receiving a "Please connect" message from door lock A, door lock Y automatically calls door lock A. Door lock A accepts Y's call and establishes a video / voice call. A can then continue the conversation with the person at door lock A through Y. After the call, A leaves Y. If he or she no longer wants to talk, he or she can press the button on door lock Z's panel, and the process ends. If A wants to continue the call, he or she can continue the call with door lock A by following the above steps.

[0101] Beneficial effect: Smart door locks can establish a video / voice call connection between neighbor door locks and their own door locks with the help of the Bluetooth tags they carry, and can even automatically switch between multiple door locks.

[0102] It can be seen that the door lock binding information broadcast: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the broadcast result of the door lock binding information is obtained; the neighbor door lock status detection: based on the owner a pressing the call button of the Bluetooth tag to send a query request on who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: based on the selection of the door lock ID displayed on the display screen of door lock Z by owner a, door lock Z extracts the cached IP and initiates a call request to door lock A, and the establishment result of the call connection between door locks is obtained; voice call and switching management: based on the established call connection, the voice call between door lock Z and door lock A is realized, and the voice call switching result across door locks is obtained, thereby improving the collaborative working ability between door locks and optimizing the user's communication experience in the smart home environment.

[0103] Another embodiment of the present invention provides an intercom system based on tag door lock collaboration, see Figure 3 , the system may include:

[0104] Broadcast module 301 is used to broadcast door lock binding information: when door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, it generates a broadcast message containing the door lock ID, IP address and Tag-DID, and sends it to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information;

[0105] Detection module 302 is used to detect the status of neighbor door locks: when owner A presses the call button of the Bluetooth tag to send a query request about who is available, the nearby door lock Z receives the request and detects its own status. If it is available, the display screen lights up and displays the door lock ID, and the response result of the available door lock is obtained;

[0106] Establishment module 303, for door lock selection and call establishment: according to the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP and initiates a call request to door lock A, obtaining the establishment result of the call connection between the door locks;

[0107] Management module 304 is used for voice call and handover management: based on the established call connection, a voice call between door lock Z and door lock A is realized; when owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the voice call handover result across door locks.

[0108] It can be seen that the door lock binding information broadcast: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the broadcast result of the door lock binding information is obtained; the neighbor door lock status detection: based on the owner a pressing the call button of the Bluetooth tag to send a query request on who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: based on the selection of the door lock ID displayed on the display screen of door lock Z by owner a, door lock Z extracts the cached IP and initiates a call request to door lock A, and the establishment result of the call connection between door locks is obtained; voice call and switching management: based on the established call connection, the voice call between door lock Z and door lock A is realized, and the voice call switching result across door locks is obtained, thereby improving the collaborative working ability between door locks and optimizing the user's communication experience in the smart home environment.

[0109] 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.

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

[0111] S201, door lock binding information broadcast: Door lock A detects that the Bluetooth tag Tag-DID carried by owner a has left the communication range, and generates an owner leaving broadcast message containing the door lock ID, IP address and Tag-DID. This message is sent to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information;

[0112] S202, neighbor door lock status detection: owner A presses the call button of the Bluetooth tag to send a query request for who is available. After receiving the request, the nearby door lock Z detects its own status. If it is available, the display screen lights up and displays the door lock ID, and the response result of the available door lock is obtained;

[0113] S203, door lock selection and call establishment: Based on the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining the result of establishing the call connection between the door locks;

[0114] S204, voice call and switching management: Based on the established call connection, a voice call is realized between door lock Z and door lock A; when owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the voice call switching result across door locks.

[0115] It can be seen that the door lock binding information broadcast: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the broadcast result of the door lock binding information is obtained; the neighbor door lock status detection: based on the owner a pressing the call button of the Bluetooth tag to send a query request on who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: based on the selection of the door lock ID displayed on the display screen of door lock Z by owner a, door lock Z extracts the cached IP and initiates a call request to door lock A, and the establishment result of the call connection between door locks is obtained; voice call and switching management: based on the established call connection, the voice call between door lock Z and door lock A is realized, and the voice call switching result across door locks is obtained, thereby improving the collaborative working ability between door locks and optimizing the user's communication experience in the smart home environment.

[0116] 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.

[0117] 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.

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

[0119] S201, door lock binding information broadcast: Door lock A detects that the Bluetooth tag Tag-DID carried by owner a has left the communication range, and generates an owner leaving broadcast message containing the door lock ID, IP address and Tag-DID. This message is sent to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information;

[0120] S202, neighbor door lock status detection: owner A presses the call button of the Bluetooth tag to send a query request for who is available. After receiving the request, the nearby door lock Z detects its own status. If it is available, the display screen lights up and displays the door lock ID, and the response result of the available door lock is obtained;

[0121] S203, door lock selection and call establishment: Based on the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining the result of establishing the call connection between the door locks;

[0122] S204, voice call and switching management: Based on the established call connection, a voice call is realized between door lock Z and door lock A; when owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the voice call switching result across door locks.

[0123] It can be seen that the door lock binding information broadcast: based on the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, the broadcast result of the door lock binding information is obtained; the neighbor door lock status detection: based on the owner a pressing the call button of the Bluetooth tag to send a query request on who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: based on the selection of the door lock ID displayed on the display screen of door lock Z by owner a, door lock Z extracts the cached IP and initiates a call request to door lock A, and the establishment result of the call connection between door locks is obtained; voice call and switching management: based on the established call connection, the voice call between door lock Z and door lock A is realized, and the voice call switching result across door locks is obtained, thereby improving the collaborative working ability between door locks and optimizing the user's communication experience in the smart home environment.

[0124] 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 tag-based door lock collaboration intercom method, characterized in that: The method comprises: Door lock binding information broadcast: When door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, it generates an owner leaving broadcast message containing the door lock ID, IP address, and Tag-DID. This message is then sent to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information. Neighbor door lock status detection: When owner A presses the call button on the Bluetooth tag to send a request to find out who is available, the nearby door lock Z receives the request and detects its own status. If it is available, the display lights up and displays the door lock ID, and then receives a response from the available door lock. Door lock selection and call establishment: When owner A selects the door lock ID displayed on the display of door lock Z, door lock Z extracts the cached IP address and initiates a call request to door lock A, obtaining the result of establishing the call connection between the door locks. Voice call and handover management: Based on the established call connection, a voice call is realized between door lock Z and door lock A. When owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically continues the call, obtaining the voice call handover result across door locks.

2. The method according to claim 1, characterized in that The door lock binding information broadcast includes: Tag departure detection: Door lock A periodically scans Bluetooth signals. If no Tag-DID is detected for five consecutive times, it is determined that owner A has left home. Broadcast message generation: Generates a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the exit detection result; Message sending and caching: Based on the generated broadcast message, it is multicast to all door locks in the community through the local area network. The receiving door locks cache the message and set a validity period of 30 seconds.

3. The method according to claim 2, characterized in that The neighbor door lock status detection includes: Query request reception: The Bluetooth module of door lock Z receives the available request sent by Tag-DID and extracts the door lock ID; Status self-check: Based on the current task load of door lock Z, if there is no one on the outer panel and the inner panel is not in a call state, it is determined to be in idle state; Response feedback: Based on the idle judgment result, the display screen lights up and displays the door lock ID, and at the same time starts a 30-second countdown to automatically turn off the display.

4. The method according to claim 3, characterized in that The door lock selection and call establishment include: User selection processing: extract the cached IP based on the door lock ID selection operation received by the door lock Z touch screen; Call request generation: Generates a call request message containing Tag-DID based on IP; Connection establishment: After verifying the validity of the Tag-DID according to door lock A, a TCP voice channel is established with door lock Z and duplex audio transmission is started.

5. The method according to claim 4, characterized in that The voice call and handover management includes: Motion detection: The Bluetooth module of door lock Y detects that the Tag-DID signal strength continues to increase, and determines that owner A is approaching; Call connection: Door lock Y queries the cached owner's outgoing message and sends a connection request containing Tag-DID to door lock A; Seamless switching: Door lock A disconnects from door lock Z and establishes a new voice channel with door lock Y to maintain call continuity.

6. The method according to claim 1, characterized in that The method further comprises: Parallel processing of internal and external panels: When the internal panel of the door lock is in a call, the external panel can still respond to new availability query requests and independently process two voice data streams through a time-division multiplexing mechanism.

7. An intercom system based on tag door lock collaboration, characterized in that: The system comprises: The broadcast module is used to broadcast door lock binding information: when door lock A detects that the Bluetooth tag Tag-DID carried by owner A has left the communication range, it generates a broadcast message containing the door lock ID, IP address and Tag-DID, and sends it to other door locks in the community via the local area network to obtain the broadcast result of the door lock binding information; The detection module is used to detect the status of neighboring door locks: when owner A presses the call button on the Bluetooth tag to send a request to query who is available, the nearby door lock Z receives the request and detects its own status. If it is available, the display lights up and displays the door lock ID, and then receives the response result of the available door lock; Establishment module for door lock selection and call establishment: according to the door lock ID displayed on the display screen of door lock Z selected by owner A, door lock Z extracts the cached IP and initiates a call request to door lock A, and obtains the establishment result of the call connection between the door locks; The management module is used for voice call and handover management: based on the established call connection, a voice call between door lock Z and door lock A is realized; when owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, obtaining the voice call handover result across door locks.

8. The system according to claim 7, characterized in that The broadcast module is specifically used to: Tag departure detection: Door lock A periodically scans Bluetooth signals. If no Tag-DID is detected for five consecutive times, it is determined that owner A has left home. Broadcast message generation: Generates a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the exit detection result; Message sending and caching: Based on the generated broadcast message, it is multicast to all door locks in the community through the local area network. The receiving door locks cache the message and set a validity period of 30 seconds.

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 6 when executed.

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 6.

Citation Information

Patent Citations

  • Internet-based intelligent door lock interconnection communication method

    CN106886189A

  • Visual intercom method and device based on intelligent door lock and intelligent door lock

    CN115412697A