Talkback method and system based on label door lock cooperation

Through Bluetooth tag collaboration technology, the door lock system detects the user's departure to generate broadcast messages, neighbor door lock status detection and select call establishment, which realizes seamless voice calls and mobile switching in a multi-door lock environment, solves the problem of low door lock status determination and connection efficiency in the existing technology, and improves user communication experience.

CN120343535AActive Publication Date: 2025-07-18DESSMANN CHINA MACHINERY & ELECTRONICS +1

Patent Information

Application Number
CN202510773808.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-07-18
Estimated Expiration
2045-06-11

AI Technical Summary

Technical Problem

The existing smart door lock system is difficult to determine the door lock status when the user leaves the home. It is inefficient to quickly identify the free door lock and establish a connection in a multi-door lock environment, and it is difficult to seamlessly switch between call connections when the user moves.

Method used

Through Bluetooth tag collaboration technology, door lock detects the exit of the tag carried by the user to generate broadcast messages, neighbor door lock status detection and select call establishment, and voice call and switching management is realized, including tag exit detection, broadcast message generation, neighbor door lock status detection, door lock selection and call establishment, voice call and switching management.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343535A_ABST
    Figure CN120343535A_ABST
Patent Text Reader

Abstract

The invention discloses a talkback method and system based on label door lock cooperation, and the method comprises the steps: broadcasting door lock binding information: obtaining a broadcasting result of the door lock binding information according to the fact that a door lock A detects that a Bluetooth label Tag-DID carried by an owner a leaves a communication range; neighbor door lock state detection: sending an empty query request according to a call button of a Bluetooth tag pressed by an owner a, and obtaining a response result of an idle door lock; door lock selection and call establishment: selecting a door lock ID displayed on a display screen of a door lock Z according to the owner a, extracting the cached IP by the door lock Z and initiating a call request to the door lock A by the door lock Z to obtain an establishment result of call connection between the door locks; and voice communication and switching management: realizing voice communication between the door lock Z and the door lock A according to the established call connection, and obtaining a cross-door-lock voice communication switching result. By utilizing the embodiment of the invention, the cooperative work capability between the door locks can be improved, and the communication experience of a user in an intelligent home environment is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent 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 Internet of Things technology, the functions of smart door locks have gradually expanded. In addition to traditional security, they have also integrated complex functions such as voice communication and information transmission, becoming an important part of smart homes. In this context, intercom technology based on Bluetooth tags has emerged, allowing users to interact with smart door locks in their homes by carrying Bluetooth tags, thereby improving the efficiency of family communication. However, the current intercom system still has some technical bottlenecks, such as the lack of an effective door lock binding information broadcast mechanism, which makes it difficult for users to determine the door lock status when they leave home; in a multi-door lock environment, the efficiency of quickly identifying idle door locks and establishing connections is low; at the same time, there are also challenges in seamlessly switching the established call connection when the user moves. 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 solve the deficiencies in the prior art, improve the collaborative working ability 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: Door lock binding information broadcast: Door lock A detects that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; 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; 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 door locks; Voice call and switching 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 continues the call, obtaining the voice call switching result across door locks.

[0005] Optionally, the door lock binding information broadcast includes: Tag departure detection: According to the door lock A scanning the Bluetooth signal periodically, when the Tag-DID is not detected continuously for 5 times, it is determined that the owner a has left home; Broadcast message generation: According to the departure detection result, generate a broadcast message including the door lock ID, IP, Tag-DID and timestamp; Message sending and caching: According to the generated broadcast message, multicast it to all door locks in the community through the local area network. The receiving door lock caches the message and sets a validity period of 30 seconds.

[0006] Optionally, the neighbor door lock status detection includes: Query request reception: According to the who-is-free request sent by the Tag-DID received by the Bluetooth module of the door lock Z, extract the door lock ID therein; Status self-check: According to the current task load of the door lock Z, if there is no one in front of the outer panel and the inner panel is not in a call state, [Jianye 1] then it is determined to be in an idle state; Response feedback: According to the idle determination result, light up the display screen and display the door lock ID, and at the same time start a 30-second countdown to automatically turn off the display.

[0007] Optionally, the door lock selection and call establishment include: User selection processing: According to the selection operation of the door lock ID received by the touch screen of the door lock Z, extract the cached IP; Call request generation: Generate a call request message including the Tag-DID according to the IP; Connection establishment: After the door lock A verifies the validity of the Tag-DID, establish a TCP voice channel with the door lock Z and start duplex audio transmission.

[0008] Optionally, the voice call and handover management include: Movement detection: According to the Bluetooth module of the door lock Y detecting that the Tag-DID signal strength continues to increase, it is determined that the owner a is approaching; Call continuation: According to the cached owner's going-out message queried by the door lock Y, send a continuation request including the Tag-DID to the door lock A; Seamless handover: According to the door lock A disconnecting the connection with the door lock Z and establishing a new voice channel with the door lock Y to maintain the continuity of the call.

[0009] Optionally, the method further includes: Parallel processing of the inner and outer panels: When the inner panel of the door lock is in a call, the outer panel can still respond to a new who-is-free query request and independently process two-way voice data streams through a time-division multiplexing mechanism.

[0010] Another embodiment of the present application provides an intercom system based on tag door lock collaboration, and the system includes: Broadcast module, used for door lock binding information broadcast: according to the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, it generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through 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 neighbor door locks: the 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 free, the display screen lights up and displays the door lock ID, and the response result of the free door lock is obtained; Establish a 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 door locks; Management module, used for voice call and switching management: based on the established call connection, realize the voice call between door lock Z and door lock A; when the owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, and obtains the voice call switching result across door locks.

[0011] 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 running.

[0012] Yet another embodiment of the present application provides an electronic device, including 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 methods described above.

[0013] Compared with the prior art, the present invention provides an intercom method based on tag door lock collaboration, including: 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 to send a query request on who is available, 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 the establishment result of the call connection between door locks is obtained; 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 a smart home environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1Hardware 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 2 Flow schematic diagram of an intercom method based on tag-door lock collaboration provided by an embodiment of the present invention; Figure 3 Structure schematic diagram of an intercom system based on tag-door lock collaboration provided by an embodiment of the present invention. Detailed implementation manners

[0015] The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0016] An embodiment of the present invention first provides an intercom method based on tag-door lock collaboration, which can be applied to an electronic device, such as a computer terminal, specifically, a general computer, etc.

[0017] The following takes running on a computer terminal as an example to describe it in detail. Figure 1 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. As Figure 1 shown, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory may include a non-volatile storage medium and an internal memory.

[0018] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any intercom method based on tag-door lock collaboration.

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

[0020] 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 tag-door lock collaboration.

[0021] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 1 the structure shown in is only a block diagram of some structures 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 those shown in the figure, or combine some components, or have different component arrangements.

[0022] It should be understood that the processor can be a Central Processing Unit (CPU), and the processor can also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0023] See Figure 2 , an embodiment of the present invention provides an intercom method based on tag-door lock collaboration, which may include the following steps: S201, Door lock binding information broadcast: According to the door lock A detecting that the Bluetooth tag Tag-DID carried by the owner a leaves the communication range, generate a master going out broadcast message including the door lock ID, IP, and Tag-DID, and send it to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; specifically, the door lock binding information broadcast includes: Tag departure detection: According to the door lock A scanning the Bluetooth signal periodically, when Tag-DID is not detected continuously for 5 times, it is determined that the owner a has left home; Broadcast message generation: According to the departure detection result, generate a broadcast message including the door lock ID, IP, Tag-DID, and timestamp; Message sending and caching: According to the generated broadcast message, multicast it to all door locks in the community through the local area network, and the receiving door locks cache the message and set a validity period of 30 seconds.

[0024] S202, Neighbor door lock status detection: According to the owner a pressing the call button of the Bluetooth tag to send a who is available query request, after the nearby door lock Z receives the request, it detects its own status. If it is idle, it lights up the display screen and displays the door lock ID to obtain the response result of the idle door lock; specifically, the neighbor door lock status detection includes: Query request reception: According to the Bluetooth module of the door lock Z receiving the who is available request sent by Tag-DID, extract the door lock ID therein; Status self-check: According to the current task load of the 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 an idle state; Response feedback: According to the idle determination result, light up the display screen and display the door lock ID, and at the same time start a 30-second countdown to automatically turn off the display.

[0025] S203, Door lock selection and call establishment: According to the selection of the door lock ID displayed on the display screen of door lock Z by the host a, door lock Z extracts the cached IP and initiates a call request to door lock A to obtain the establishment result of the call connection between door locks; specifically, the door lock selection and call establishment includes: User selection processing: According to the selection operation of the door lock ID received by the touch screen of door lock Z, extract the cached IP; Call request generation: Generate a call request message containing Tag-DID according to the IP; Connection establishment: After verifying the validity of Tag-DID by door lock A, establish a TCP voice channel with door lock Z and start duplex audio transmission.

[0026] S204, Voice call and handover management: According to the established call connection, implement the voice call between door lock Z and door lock A; when the host a moves near door lock Y, after door lock Y detects Tag-DID, it automatically continues the call to obtain the voice call handover result across door locks. Specifically, the voice call and handover management includes: Movement detection: According to the Bluetooth module of door lock Y detecting that the signal strength of Tag-DID continues to increase, it is determined that the host a is approaching; Call continuation: According to door lock Y querying the cached host going out message, send a continuation request containing Tag-DID to door lock A; Seamless handover: According to door lock A disconnecting the connection with door lock Z and establishing a new voice channel with door lock Y to maintain call continuity.

[0027] Specifically, the method further includes: Inner and outer panel parallel processing: When the inner panel of the door lock is in a call, the outer panel can still respond to a new "who is available" query request and independently process two-way voice data streams through a time-division multiplexing mechanism.

[0028] In practical applications, the host can call the door lock through the mobile phone APP to establish a video / voice call with the door lock. However, when the host goes out and is not at home and does not carry the mobile phone, it is impossible to call the home door lock for video / voice calls.

[0029] A Bluetooth tag is a wireless short-range communication device based on Bluetooth technology. Its implementation principle is based on Bluetooth Low Energy (BLE) technology, which can transmit data in low-power mode, thus extending the battery life of the device. The Bluetooth tag is an active device, and the working status of the tag can be turned on or off through the switch on the tag. When the Bluetooth tag leaves the factory, it will be assigned a unique DID (Bluetooth-Tag Declaration ID, the Bluetooth tag declaration ID, hereinafter referred to as Tag-DID). This Tag-DID is the identity identifier of the Bluetooth tag, similar to the MAC address of a WiFi device. This unique ID ensures that the Bluetooth tag can be accurately identified and tracked.

[0030] 1. Core idea: When member A is not at home and does not bring a mobile phone but carries a Bluetooth tag and hopes to make a call and intercom with the household door lock A at home. The design is as follows: The household door lock A broadcasts the Bluetooth ID successfully paired with itself to all the door locks in the community, and other door locks save the binding relationship between these Bluetooth IDs and the door lock A; when member A goes out with the Bluetooth tag and presses the button on the door lock Z to make a call; the door lock Z senses the Bluetooth ID of member A and finds that this ID is bound to the door lock A, then it calls the door lock A to establish a voice communication. However, if the door lock Z senses multiple Bluetooth IDs at this time, it will display the room numbers corresponding to these Bluetooth IDs on the screen, prompting member A to select the corresponding room number, so as to establish a voice communication with the selected room number.

[0031] Further improvement: Improvement point 1: To prevent the door lock from being busy with other services, you can first press the button on the Bluetooth tag to send an advertisement query message "Who is available". The available door lock first judges whether it has received an announcement from other door locks before. If so, it gives a feedback by lighting up the lamp. Improvement point 2: The room numbers of the available locks are displayed on the screen of the Bluetooth tag. Improvement point 3: The inside and outside of the door lock are separated, and the outside call does not affect the inside from receiving calls. Improvement point 4: Allow members to walk in the corridor. When these door locks sense the movement of the Bluetooth tag, they will automatically switch the call between door locks. 2. The complete technical implementation process is as follows: (1) Prerequisites: The smart door lock is installed on the main entrance door of the owner's house, and the family member information table is saved, including name, face image / feature vector, Tag-DID of the Bluetooth tag successfully paired with the door lock, etc. The door locks are connected to the network, and the door lock list is recorded, including the door lock ID, door lock room number (door lock address), door lock IP address, Tag-DID of the Bluetooth tag successfully paired with the door lock (there can be multiple), etc. The Bluetooth tag is equipped with a display screen and has an independent Tag-DID, which can communicate with the door lock.

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

[0033] Owner a leaves his own door lock A with the Bluetooth tag (tag number is Tag-DID(A1)). A sends a broadcast message of "owner goes out" to each door lock in the community, including the event ID, door lock ID (A), door lock IP (A), Tag-DID(A1), etc. Other door locks (such as door lock Z) receive and cache the broadcast message of "owner goes out" sent by A. After that, if owner a returns to his own door lock A and the door lock A senses the carried Bluetooth tag (tag number is Tag-DID(A1)), it sends a broadcast message of "owner comes home" to each door lock in the community, including the door lock ID (A), door lock IP (A), Tag-DID(A1), etc. Other door locks (such as door lock Z) receive and extract the broadcast message of "owner comes home" and compare it with the cached broadcast message of "owner goes out" (Z may receive broadcast messages of "owner goes out" from multiple door locks). If there is a match, the matched broadcast message of "owner goes out" (such as the broadcast message of "owner goes out" sent by A) is deleted, and at the same time, the broadcast message of "owner comes home" is deleted, and the process ends. If the door lock receives the broadcast message of "owner comes home" and after comparing it with the cached broadcast message of "owner goes out", it does not match any of the broadcast messages of "owner goes out", then the broadcast message of "owner comes home" is deleted (at this time, it may be that this door lock has not received or cached the broadcast message of "owner goes out", and the owner has already come home, so the broadcast message of "owner comes home" can be ignored).

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

[0035] Master a brings a Bluetooth tag to the front of the neighbor's door lock Z. Z senses the Bluetooth tag (tag number is Tag-DID(A1)) carried by master a. If a leaves directly, then Z will not take any action and the process ends. If a presses the visitor call button on the outer panel of Z, first Z compares the face image of a collected with the faces in the family member information table to see if the similarity exceeds the threshold (usually, the similarity threshold can be set at 80%). If the face comparison is successful (indicating that a is the owner of Z and also the owner of A, that is, a has the authorization for the door locks of two residences), then Z unlocks the door and the process ends. If the face recognition of a fails, then Z queries and compares the cached broadcast message of "master going out" based on the Bluetooth tag number Tag-DID(A1) sensed from a. If the cached broadcast message of "master going out" is not found (at this time, the sensed Bluetooth tag may not belong to a resident in this community), then Z does not respond and the process ends. If the cached broadcast message of "master going out" sent by A is found, then the door lock IP(A) of this message is extracted and door lock A is called. Door lock A receives the call from Z and establishes a video / voice call. Then a can communicate with the person at his own door lock A through Z. After the call ends, a leaves Z and the call between Z and A is terminated, and the process ends.

[0036] At this time, if door lock Z senses multiple Tag-DIDs, the door lock room numbers corresponding to all the sensed Tag-DIDs will be displayed simultaneously on the door lock display screen. At this time, if master a sees multiple door lock room numbers on the display screen of door lock Z, then the room number of his own home is selected and the call is made according to the above method.

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

[0038] In step (3), if a comes near multiple door locks and a wants to call door lock A, but some door locks are busy (such as B is in a call) and cannot accept a's call to door lock A. At this time, a hopes to find an idle door lock (such as door lock C) to help him call his own door lock A. To find an idle door lock, the following optimization is made: The owner a of A is near multiple door locks (for example, there are door locks B, C, D, and E 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), the door lock IP (A), the Tag-DID (A1), etc. The nearby door locks B, C, D, and 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 and compare the cached broadcast message of "The owner has gone out". If the cached broadcast message of "The owner has gone out" is found (at this time, the sensed Bluetooth tag belongs to a household in this community) and it is in the idle state, then the outer panel display screen of this door lock is lit to attract a's attention (for example, at this time, there are door locks B, C, D, and E nearby. Among them, the door locks C and D are in the idle state and the display screens are lit, while B and E are not lit because they are busy). After the display screen is lit, it automatically turns off after 30 seconds. a sees the door lock with the lit display screen, selects one of them (for example, selects door lock C), and constructs a call with his own door lock A according to step (3).

[0039] (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 numbers corresponding to different Bluetooth tags on the screen of the outer panel of the door facade to prompt the owner, and the owner selects the door lock ID number belonging to himself to construct a conversation with his own door lock.

[0040] In step (4), if a comes near multiple door locks and a wants to call door lock A, and the owner f of door lock F is also nearby and wants to call his own door lock F. At this time, if both a and f press the "Call" button on their respective Bluetooth tags, then after the idle door lock lights up the display screen, a and f cannot distinguish whether these lit door locks are lit in response to their own calls. If they call rashly, they may call the wrong door lock. To make the door lock correctly respond to the "Who is available" call of the Bluetooth tag, the optimization is as follows: The owners a of door lock A and f of door lock F are simultaneously (here, it is exemplified by 2 people. If there are owners of multiple door locks, handle them in the same way) near multiple door locks (for example, there are door locks B, C, D, and E nearby). A and f press the "Call" button of the Bluetooth tag to send a broadcast message of "Who is available", the content of which includes the door lock ID (A / F), the door lock IP (A / F), the Tag-DID (A1 / F1), etc. The nearby door locks B, C, D, and E receive the broadcast message of "Who is available" sent by a and f through Bluetooth communication, extract the Tag-DID (A1 / F1) in the message, and query and compare the cached broadcast message of "Owner is out". If the cached broadcast message of "Owner is out" is found (at this time, the Bluetooth tag sensed may not belong to the residents of this community), and it is in the idle state, then the outer panel display screen of this door lock is lit and the door lock ID (A / F) is displayed to attract the attention of a and f (for example, at this time, there are door locks B, C, D, and E nearby, and the display screens of door locks C and D are lit because they are in the idle state, while B and E are not lit because they are busy). After the display screen is lit and the door lock ID (A / F) is displayed, it automatically closes after 30 seconds. When a sees the door lock with the lit display screen, selects one of them (for example, selects door lock C), and sees that one of the 2 door lock ID numbers (door lock ID (A), door lock ID (F)) on the door lock display screen is exactly the ID number of his own door lock (if it is not the ID number of his own door lock (A), it means that at this time, someone else also hopes to query the idle door lock, so a can press the "Call" button of the Bluetooth tag again after 30 seconds to find an idle door lock). By clicking on the door lock ID (A) on the door lock display screen, a selects his own door lock and constructs a call with his own door lock A according to step (3); when f sees the door lock with the lit display screen, selects one of them (for example, selects door lock D), and selects his own door lock by clicking on the door lock ID (F) on the door lock display screen, and constructs a call with his own door lock F according to step (3).

[0041] (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 constructs a conversation with his own door lock on the selected door lock.

[0042] In step (5), if a comes near multiple door locks and a wants to call door lock A, and the owner f of door lock F is also nearby and wants to call his own door lock F. At this time, if both a and f press the "Call" button of their respective Bluetooth tags, then after the idle door lock lights up the display screen, a and f cannot distinguish whether these lit door locks are lit in response to their own calls. If they call rashly, they may call the wrong door lock. To make the door lock correctly respond to the "Who is available" call of the Bluetooth tag, the optimization is as follows: The owners a of door lock A and f of door lock F are both near multiple door locks at the same time (note that here, for the purpose of illustration, two people are used as an example. If there are owners of multiple door locks, the same method is applied). Nearby there are door locks B, C, D, and E. a and f press the "Call" button on the Bluetooth tag to send a broadcast message of "Who is available" (the "Call" button on the tag is set to broadcast the message of "Who is available" in the form of Bluetooth communication). The content includes the door lock ID (A / F), the door lock IP (A / F), Tag-DID (A1 / F1), etc. The nearby door locks B, C, D, and E receive the broadcast message of "Who is available" sent by a and f through Bluetooth communication, extract the Tag-DID (A1 / F1) in the message, and query and compare the cached broadcast message of "Owner has left". If the cached broadcast message of "Owner has left" is found and the door lock is in an idle state, it will reply with a unicast message of "I'm available" to a and f with the Bluetooth tag. The Bluetooth tag receives the reply message of "I'm available" and displays it on the display screen of the Bluetooth tag in the order of receipt. The display content includes the room numbers of the idle door locks (for example, if door locks B, C, D, and E are idle, it will be displayed as Room number (door lock B), Room number (door lock C), Room number (door lock D), Room number (door lock E)). The displayed information will be automatically deleted after 30 seconds. If it needs to be displayed again, the "Call" button on the Bluetooth tag needs to be pressed again to send a broadcast message of "Who is available" to obtain the reply message of the door lock.

[0043] The owners a of door lock A and f of door lock F select the door lock they intend to use based on the room numbers on the display screen of the Bluetooth tag (at this time, a and f can choose according to their own preferences. If they choose the same door lock and walk towards it, the person who arrives later can choose another door lock when seeing that the door lock they selected is occupied). Taking the owner a of door lock A as an example, if the owner a of door lock A selects and clicks on the room number (door lock B) from the display screen of the Bluetooth tag, the Bluetooth tag sends a "Selected" message to door lock B. The message content includes Tag-DID (A), etc. Then, the owner a immediately walks to the front of the door lock at room number (door lock B). Door lock B waits for the owner a to press the call button on the door lock after receiving the "Selected" message sent by the Bluetooth tag. When the owner a presses the call button on the door lock, door lock B queries the door lock IP (A) of door lock A in the stored door lock list according to the Tag-DID (A) in the "Selected" message and calls door lock A. Door lock A receives the call from B and establishes a video / voice call. Then a can communicate with the person at their own door lock A through B. After the call ends, a leaves B, and the call between B and A is disconnected, and the process ends. At this time, if the owner f finds that the originally selected door lock (such as door lock B) is occupied by the owner a first, they press the "Call" button on the Bluetooth tag again to send a broadcast message of "Who is available" and re-select a door lock.

[0044] (7) Further improvement: The inner and outer panels of the door lock can process 2 tasks in parallel. For example, when the inner panel is answering a call, the outer panel can initiate a call to other door locks.

[0045] In step (4) or (5), if all nearby door locks are busy (such as in a voice / video call state), a call to one's own door lock cannot be established. Therefore, the following optimizations are made: Prerequisite: The inner and outer panels of the door lock are configured to be able to separately process different calls and answer video / voice call tasks simultaneously, that is, the outer and inner panels can separately handle a call and answer a video / voice call task independently (for example, the inner panel of door lock Z is answering a video / voice call from the mobile APP of the owner of Z, and at this time, the outer panel can simultaneously receive a video / voice call from person a at the door to door lock A).

[0046] In step (4) or (5), when the owner a of door lock A (note that here a is used as an example, and if there are multiple owners of door locks, it is handled in the same way), 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. Nearby door locks B, C, D, and 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 and compare it with the cached broadcast message of "Owner is out". If the cached broadcast message of "Owner is out" is found, and if there is someone in front of the door lock (at this time, the outer panel is processing tasks such as identification and comparison of the person in front of the door lock), then this message is ignored and the outer panel display screen of this door lock is not lit; if there is no one in front of the door lock (at this time, if there is an ongoing call on the inner panel, it does not affect the outer panel to receive and respond to a's call), then the outer panel display screen of this door lock is lit and the door lock ID (A) is displayed to attract a's attention, and the outer panel display screen automatically turns off after 30 seconds. When a sees the door lock with the lit display screen, selects one of them (for example, selects door lock C) and establishes a call with their own door lock A according to step (3).

[0047] Note: When there is someone in front of the outer panel of the door lock, at this time, the outer panel needs to give priority to processing tasks such as identification and comparison of the person in front of the door lock and cannot receive a call from nearby a through the Bluetooth tag. If there is no one in front of the outer panel of the door lock, since the inner and outer panels of the door lock can support different tasks separately, regardless of whether the inner surface is in a video / voice call state, it can respond to a call from nearby a through the Bluetooth tag.

[0048] (8) Further improvement: The Bluetooth tag can be used to freely switch the call to one's own door lock among multiple door locks in the corridor.

[0049] 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 cannot be maintained. To this end, the optimization is as follows: According to step (3), the owner a of door lock A carries a Bluetooth tag Tag-DID (A1) and talks with the person at his own door lock A through door lock Z. If the owner a leaves door lock Z during the call, since neither the owner a (for example, actively presses 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 sending the broadcast message of "Who will continue?", door lock Z automatically disconnects the call connection between door lock Z and door lock A (at this time, a has left door lock Z, and after a delay of 30 seconds, no response from other door locks is received, indicating that there is no need to continue to maintain the conversation connection), and the process ends.

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

[0051] If within 30 seconds of the time when owner a leaves door lock Z, owner a comes to door lock Y, and Y senses the Bluetooth tag Tag-DID (A1) carried by owner a, and searches for the "Who will take over" broadcast message sent by Z in the cache according to Tag-DID (A1) (at this time, Z caches the broadcast message and does not automatically delete it, indicating that it has not exceeded 30 seconds), then extracts the door lock IP (A) and door lock IP (Z) addresses of door lock Z in the broadcast message, and immediately sends a unicast message of "I will take over" to door locks A and Z, including door lock (Y), Tag-DID (A1), etc. After receiving the "I will take over" message sent by Y, door locks A and Z immediately disconnect the call connection between door lock Z and door lock A, and then door lock A replies with a unicast message of "Please take over" to door lock Y. Door lock Y automatically calls door lock A after receiving the reply "Please continue" message from door lock A. Door lock A receives Y's call and establishes a video / voice call. Then a can continue to talk to the person at door lock A through Y. After the call, a leaves Y. If he does not want to talk anymore, he actively presses the button on the panel of door lock Z, and the process ends. If a wants to continue the call, he can continue to establish other door locks to continue the call with door lock A according to the above steps.

[0052] 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 achieve automatic switching between multiple door locks.

[0053] It can be seen that the door lock binding information broadcast: according to 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: according to the owner a pressing the call button of the Bluetooth tag to send a query request about who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: according to 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: according to 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.

[0054] Another embodiment of the present invention provides an intercom system based on tag door lock collaboration, see Figure 3 , the system may include: Broadcast module 301, used for broadcasting door lock binding information: according to the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, a broadcast message of the owner going out containing the door lock ID, IP and Tag-DID is generated, and sent to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; Detection module 302, used for neighbor door lock status detection: according to 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, the display screen is lit and the door lock ID is displayed, and the response result of the available door lock is obtained; Establishing 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, and obtains the establishment result of the call connection between door locks; Management module 304 is used for voice call and switching 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 Tag-DID and automatically connects the call, obtaining the voice call switching result across door locks.

[0055] It can be seen that the door lock binding information broadcast: according to 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: according to the owner a pressing the call button of the Bluetooth tag to send a query request about who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: according to 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: according to 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.

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

[0057] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps: S201, door lock binding information broadcast: door lock A detects that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; 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, and the nearby door lock Z receives the request and detects its own status. If it is free, the display screen lights up and displays the door lock ID, and the response result of the free door lock is obtained; S203, 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; S204, voice call and switching management: based on the established call connection, realize the voice call between door lock Z and door lock A; when owner a moves near door lock Y, door lock Y detects Tag-DID and automatically connects the call, and obtains the voice call switching result across door locks.

[0058] It can be seen that the door lock binding information broadcast: according to 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: according to the owner a pressing the call button of the Bluetooth tag to send a query request about who is available, the response result of the idle door lock is obtained; door lock selection and call establishment: according to 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: according to 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.

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

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

[0061] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program: S201, door lock binding information broadcast: door lock A detects that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; 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, and the nearby door lock Z receives the request and detects its own status. If it is free, the display screen lights up and displays the door lock ID, and the response result of the free door lock is obtained; S203, 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; S204, voice call and switching management: based on the established call connection, realize the voice call between door lock Z and door lock A; when owner a moves near door lock Y, door lock Y detects Tag-DID and automatically connects the call, and obtains the voice call switching result across door locks.

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

[0063] The structure, features and function effects of the present invention have been described in detail based on the embodiments shown in the drawings. The above are only the preferred embodiments of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or equivalent embodiments modified into equivalent changes, still within the spirit covered by the specification and the drawings, should be within the protection scope of the present invention.

Claims

1. An intercom method based on the collaboration of a tag door lock, characterized in that, The method comprises: Door lock binding information broadcast: Door lock A detects that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through the local area network to obtain the broadcast result of the door lock binding information; 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; 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 door locks; Voice call and switching 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 continues the call, obtaining the voice call switching result across door locks.

2. The method according to claim 1, wherein The door lock binding information broadcast includes: Tag departure detection: Door lock A periodically scans Bluetooth signals. If Tag-DID is not detected for 5 consecutive times, it is determined that owner A has left home. Broadcast message generation: Generate a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the departure 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, wherein The neighbor door lock state 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: According to 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 judged to be in idle state; Response feedback: Based on the idle determination result, the display screen lights up and displays the door lock ID, and 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 according to the selection operation of the door lock ID received by the door lock Z touch screen; Call request generation: Generate a call request message containing Tag-DID based on IP; Connection establishment: After verifying the validity of 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 switching 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: According to the cached owner's outgoing message queried by door lock Y, a connection request containing Tag-DID is sent 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 the collaboration of a tag and a door lock, characterized in that, The system comprises: Broadcast module, used for door lock binding information broadcast: according to the detection by door lock A that the Bluetooth tag Tag-DID carried by owner a leaves the communication range, it generates an owner outgoing broadcast message containing the door lock ID, IP and Tag-DID, and sends it to other door locks in the community through 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 neighbor door locks: the 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 free, the display screen lights up and displays the door lock ID, and the response result of the free door lock is obtained; Establish a 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 door locks; Management module, used for voice call and switching management: based on the established call connection, realize the voice call between door lock Z and door lock A; when the owner a moves near door lock Y, door lock Y detects the Tag-DID and automatically connects the call, and obtains the voice call switching result across door locks.

8. The system according to claim 7, wherein The broadcast module is specifically used for: Tag departure detection: Door lock A periodically scans Bluetooth signals. If Tag-DID is not detected for 5 consecutive times, it is determined that owner A has left home. Broadcast message generation: Generate a broadcast message containing the door lock ID, IP, Tag-DID and timestamp based on the departure 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

  • Visual intercom method and electric control door lock equipment

    CN118158355A

  • Intelligent lock face privacy processing method and system

    CN120048035A

  • Cross-lock door opening method and system of intelligent door lock

    CN120071485A

Cited By

  • Multi-door lock cooperative processing method and system

    CN120808480A

  • Door lock cooperative voice transmission method and system

    CN121838316A

  • A door lock cooperative voice delivery method and system

    CN121838316B