Non-contact cooperative scheduling door opening method and system based on intelligent lock platform
By adopting contactless collaborative scheduling method in the smart door lock system, the problem of cumbersome visitor identity verification and door opening process in high-traffic places is solved, and efficient, safe and convenient entry and exit management is achieved, improving the visitor experience and reducing safety hazards.
Patent Information
- Application Number
- CN202510332410.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2045-03-20
AI Technical Summary
The existing smart door lock system has problems such as difficulty in verifying the identity of visitors, cumbersome door opening process, and poor guest experience in high-traffic places. It also lacks effective authority management and scheduling mechanisms, which poses security risks.
The contactless collaborative scheduling door opening method based on the smart lock platform is adopted. By receiving the visitors' unlock request message and the door lock sensed by the smart door lock, the mobile phone message is read, and the visitor information table is found to determine the owner APP-ID that the visitor can access, and the NFC-ID in the mobile phone message is read based on the door lock reading. If so, the corresponding door lock is dispatched to open the door.
It realizes efficient, safe and convenient entry and exit management in high-traffic places, improves the visitor experience, and reduces management chaos and safety risks.
Smart Images

Figure CN119863857A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of smart door locks, and in particular to a contactless collaborative door opening method and system based on a smart lock platform. Background Art
[0002] With the rapid development of smart home and IoT technologies, smart door locks, as an important part of modern residential and commercial buildings, are gradually being widely used to meet the needs of security and convenience. Traditional door lock systems rely on physical keys or password input to control access, however, this method has certain shortcomings in terms of security, convenience and user experience. With the popularization of mobile devices and NFC (near field communication) technology, contactless door opening has gradually become a trend, which can effectively improve the convenience and safety of visitors.
[0003] In traditional access control management systems, visitors often need to rely on human authentication when entering a specific place, which can easily cause management confusion and inefficiency. Especially in places with high traffic, such as hotels, apartments or offices, managers often face problems such as difficult visitor identity verification, cumbersome door opening process, and poor visitor experience. In addition, existing technologies lack effective permission management and scheduling mechanisms in multi-user environments, which often leads to poor communication between visitors and hosts, which can easily cause security risks. Summary of the invention
[0004] The purpose of the present invention is to provide a contactless collaborative door opening method and system based on a smart lock platform to address the deficiencies in the prior art and to provide a more efficient, safe and convenient access management solution.
[0005] An embodiment of the present application provides a contactless collaborative door opening method based on a smart lock platform, the method comprising: Receive the unlock request message sent by the current visitor or the door lock reads the mobile phone message reported by the smart door lock after sensing the nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reads the mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; According to the unlocking request message and the visitor information table saved by the smart lock management platform, find the owner APP-ID that the visitor APP-ID can currently access, wherein the visitor information table receives and saves each visitor information, each visitor information includes: owner APP-ID, door lock-ID, visitor APP-ID, access validity period; If the number of currently accessible owner APP-IDs does not exceed the preset number, the unlock request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; Read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and determine whether the visitor APP-ID is within the access validity period according to the visitor information table; If within the access validity period, the door lock IP address is searched from the door lock list according to the door lock ID, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message obtained is forwarded to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock reading mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0006] Optionally, the owner APP reads the mobile phone message according to the unlocking request message and the current first door lock, and schedules the corresponding door lock to open the door, including: When the owner APP receives the unlock request message or the current first door lock reads the mobile phone message, if another message is not received within the preset waiting period, the first message received is discarded; When the owner APP receives the unlock request message and the mobile phone message read by the current first door lock, it determines from the visitor information table whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, it extracts the door lock ID and door lock IP address from the mobile phone message read by the current first door lock, and sends an opening message to the corresponding door lock to open the door.
[0007] Optionally, the method further includes: If the number of host APP-IDs currently accessible exceeds the preset number, all host APP-IDs currently accessible to the visitor and the corresponding mobile phone IP addresses, as well as the visitor APP-ID, are packaged to obtain the host set discussion message; Try to connect to each master APP until one of them is connected, and send the master group discussion message to the master APP, which will act as the moderator APP; Read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and determine whether the visitor APP-ID is within the access validity period according to the visitor information table; If the access is valid, find the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address and visitor APP-ID into the door lock reading mobile phone message, and forward the current second door lock reading mobile phone message to the corresponding owner APP-ID; The host APP reads the mobile phone message based on the host group discussion message and the current second door lock, and dispatches the corresponding door lock to open the door.
[0008] Optionally, the host APP reads the mobile phone message based on the host group discussion message and the current second door lock, and schedules the corresponding door lock to open the door, including: After the host APP-ID receives the master group discussion message, it sends a message containing the guest APP-ID to the other master APPs asking the door lock owner to open the door; Each owner APP retains the preset length of time after receiving the message asking the door lock owner to open the door. When the owner APP corresponding to the door lock receives the mobile phone message read by the current second door lock, it compares the visitor APP-ID in the message asking the door lock owner to open the door with the visitor APP-ID in the mobile phone message read by the current second door lock. If they are consistent, it determines whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, extract the door lock ID and door lock IP address from the mobile phone message read by the current second door lock, and send an opening message to the corresponding door lock to open the door.
[0009] Another embodiment of the present application provides a contactless collaborative door opening system based on a smart lock platform, the system comprising: A receiving module is used to receive an unlock request message sent by the current visitor or a door lock reading mobile phone message reported by the smart door lock after sensing a nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; A search module is used to search for the host APP-ID that the visitor APP-ID can currently access according to the unlocking request message and the visitor information table saved by the smart lock management platform, wherein the visitor information table receives and saves each visitor information, each visitor information includes: host APP-ID, door lock-ID, visitor APP-ID, access validity period; A forwarding module, used for forwarding the unlocking request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located if the number of currently accessible owner APP-ID does not exceed a preset number; The first judgment module is used to read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and judge whether the visitor APP-ID is within the access validity period according to the visitor information table; The door opening module is used to search the door lock IP address from the door lock list according to the door lock ID if the access is valid, put the door lock IP address into the door lock reading mobile phone message, and forward the current first door lock reading mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock reading mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0010] 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.
[0011] 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.
[0012] Compared with the prior art, the present invention provides a contactless collaborative scheduling door opening method based on a smart lock platform. According to the unlocking request message and the visitor information table, the host APP-ID that the visitor APP-ID can currently access is searched; if the number of currently accessible host APP-IDs does not exceed the preset number, the unlocking request message is forwarded to the currently accessible host APP according to the IP address of the mobile phone where the host APP-ID is located; according to the NFC-ID in the mobile phone message read by the door lock, the visitor APP-ID and the mobile phone IP are searched to determine whether the visitor APP-ID is within the access validity period; if so, the door lock IP address is searched, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message is forwarded to the corresponding host APP, so that the host APP schedules the corresponding door lock to open the door, thereby providing a more efficient, safe and convenient access management solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A hardware structure block diagram of a computer terminal for a contactless collaborative door opening method based on a smart lock platform provided in an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of a contactless collaborative door opening method based on a smart lock platform provided in an embodiment of the present invention; Figure 3 A schematic structural diagram of a contactless collaborative door opening system based on a smart lock platform provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0014] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.
[0015] The embodiment of the present invention first provides a contactless collaborative scheduling door opening method based on a smart lock platform, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, etc.
[0016] The following describes it in detail by taking running on a computer terminal as an example. Figure 1The hardware structure block diagram of a computer terminal for a contactless collaborative door opening method based on a smart lock platform 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.
[0017] 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 contactless collaborative scheduling door opening method based on the smart lock platform.
[0018] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0019] 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 contactless collaborative scheduling door opening method based on the smart lock platform.
[0020] 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0021] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0022] See also Figure 2 The embodiment of the present invention provides a contactless collaborative door opening method based on a smart lock platform, which may include the following steps: S201, receiving an unlock request message sent by the current visitor or a door lock reading mobile phone message reported by the smart door lock after sensing a nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; The core of this step is to receive the unlocking request information from the visitor or the visitor's mobile phone information actively sensed and reported by the smart door lock. The unlocking request message contains the visitor's identity information (APP-ID and NFC-ID) and the request time, while the mobile phone message read by the door lock records the door lock's unique identification information (door lock ID) as well as the mobile phone's NFC-ID and reporting time. This means that the system can obtain the user's request and the door lock status at the same time, thus laying the foundation for subsequent identity authentication and unlocking operations.
[0023] This step ensures that the system can obtain key information in a timely manner when a visitor requests and the door lock senses a visitor. Through this mechanism, the system can effectively distinguish different visitors and effectively manage and process their access requests. This can improve the security of the smart door lock, so that only authorized visitors can unlock the door, reducing potential safety hazards.
[0024] For example, when visitor Xiao Ming is at Xiao Gang's door, his mobile phone establishes a connection with the door lock through NFC technology, and Xiao Ming also sends an unlock request on the mobile phone APP. At this time, the door lock senses Xiao Ming's mobile phone, records the NFC-ID of the mobile phone and the ID of the door lock, and then reports this information to the smart lock management platform. At the same time, Xiao Ming's request also includes his APP-ID and request time. After receiving this information, the system can start the next step of verification and processing.
[0025] S202, according to the unlocking request message and the visitor information table saved by the smart lock management platform, searching for the owner APP-ID that the visitor APP-ID can currently access, wherein the visitor information table receives and saves each piece of visitor information, each piece of visitor information includes: owner APP-ID, door lock-ID, visitor APP-ID, and access validity period; After receiving the unlock request, the system will search the visitor's information and the saved visitor information table to find the host APP-ID that matches the visitor's APP-ID. The visitor information table is a summary of the access relationship between the visitor and the host, including which visitors can access the host's door lock when and where. This step ensures the visitor's permission verification, and the visitor is only allowed to unlock the door when the visitor is within the valid access period. Through this search step, the system can effectively manage the access rights of different visitors to the host's door lock. It ensures that visitors can only obtain the permission to unlock the door within the set validity period, thereby increasing the security of the system and avoiding unauthorized access.
[0026] Assume that Xiao Ming's APP-ID is "V001" and Xiao Gang's APP-ID is "H001". Xiao Gang records Xiao Ming's access information in the system, allowing Xiao Ming to access his door lock within a certain period of time. When the system receives Xiao Ming's request, it will check the visitor information table and find that Xiao Ming's APP-ID can access Xiao Gang's APP-ID. After confirming Xiao Ming's access validity period, the system will be ready to forward the unlocking request to Xiao Gang's APP to ensure that this request can be processed later.
[0027] S203, if the number of currently accessible owner APP-IDs does not exceed a preset number, forwarding the unlock request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; When the number of accessible owner APP-IDs does not exceed the preset threshold, the system will forward the unlock request message to the corresponding owner APP. This step uses the IP address of the phone where the owner APP is located to ensure that the information can be delivered to the owner's device accurately and in a timely manner, thereby facilitating the processing of the unlock request.
[0028] This mechanism effectively enhances the system's responsiveness and flexibility. If there are only a few owners who can be accessed, the system can send requests directly to these owners to complete the unlocking operation more quickly. In this way, visitors can enter and exit more quickly, improving the user experience.
[0029] Take Xiao Ming and Xiao Gang as examples. Assume that Xiao Gang has a smartphone with an IP address of "192.168.1.2". When the system confirms that Xiao Ming's APP-ID can access Xiao Gang's door lock, and the number of owner APP-IDs that can currently access is only one (that is, Xiao Gang's APP-ID), the system will forward Xiao Ming's unlocking request message to Xiao Gang's APP through the network. At the same time, Xiao Gang's APP can respond quickly after receiving the request.
[0030] S204, reading the NFC-ID in the mobile phone message according to the door lock, searching the corresponding visitor APP-ID and mobile phone IP from the user list, and judging whether the visitor APP-ID is within the access validity period according to the visitor information table; In this step, the system searches for the visitor's APP-ID and the IP address of his / her mobile phone in the user list based on the NFC-ID in the mobile phone message read by the door lock. Then, the system further checks whether the visitor's APP-ID is within the validity period in the visitor information table. This step ensures that only visitors within the validity period can obtain unlocking permission, thus ensuring the safety of the door lock.
[0031] By strictly checking the validity of visitors, the system can effectively prevent expired or unauthorized access, thereby ensuring the safety of unlocking operations. This additional verification process effectively reduces potential security risks and ensures the high reliability of the door lock system.
[0032] Assume that the NFC-ID in the mobile phone message read by the door lock is "NFC123". The system searches for this NFC-ID in the user list and finds that its corresponding visitor APP-ID is "Xiaoming". It also obtains the IP address of Xiaoming's mobile phone. Then, the system checks Xiaoming's visitor information table to confirm whether he is within the valid access period. If Xiaoming's validity period is still valid, the system will continue to process the unlocking request to ensure the safety and efficient operation of the smart door lock.
[0033] S205, if within the access validity period, search the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address into the door lock read mobile phone message, forward the current first door lock read mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock read mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0034] After confirming that the visitor is within the validity period, the system will retrieve the corresponding door lock IP address from the door lock list and embed it into the current door lock reading mobile phone message. Subsequently, the system will send this updated message to the corresponding owner APP so that it can schedule and unlock the door lock according to the relevant information.
[0035] This step is the key link in the entire unlocking process, ensuring the accurate transmission of information and the corresponding unlocking operation. By combining the door lock IP address with the visitor information, the system can effectively guide the owner to control the door lock, thereby improving the convenience of using the smart door lock.
[0036] For example, suppose the system confirms that Xiao Ming is still within the access validity period and the door lock ID is "LOCK001". The system searches the door lock list and finds the corresponding door lock IP address "192.168.1.5". The system adds this information to the current door lock reading mobile phone message, and then sends the message to Xiao Gang's APP. After receiving this message, Xiao Gang's APP can schedule the door lock to open the door according to Xiao Ming's request and the status of the door lock, realizing a contactless door opening experience.
[0037] Specifically, when the owner APP receives a unlock request message or a message of the current first door lock reading a mobile phone message, if another message is not received within a preset waiting period, the first message received is discarded; When the owner APP receives the unlock request message and the mobile phone message read by the current first door lock, it determines from the visitor information table whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, it extracts the door lock ID and door lock IP address from the mobile phone message read by the current first door lock, and sends an opening message to the corresponding door lock to open the door.
[0038] Specifically, if the number of host APP-IDs currently accessible exceeds a preset number, all host APP-IDs currently accessible to the visitor and the corresponding mobile phone IP addresses, as well as the visitor APP-ID, are packaged to obtain a host set discussion message; Try to connect to each master APP until one of them is connected, and send the master group discussion message to the master APP, which will act as the moderator APP; Read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and determine whether the visitor APP-ID is within the access validity period according to the visitor information table; If the access is valid, find the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address and visitor APP-ID into the door lock reading mobile phone message, and forward the current second door lock reading mobile phone message to the corresponding owner APP-ID; The host APP reads the mobile phone message based on the host group discussion message and the current second door lock, and dispatches the corresponding door lock to open the door.
[0039] Specifically, after the host APP-ID receives the master group discussion message, it sends a message containing the visitor APP-ID to the other master APPs asking the door lock owner to open the door; Each owner APP retains the preset length of time after receiving the message asking the door lock owner to open the door. When the owner APP corresponding to the door lock receives the mobile phone message read by the current second door lock, it compares the visitor APP-ID in the message asking the door lock owner to open the door with the visitor APP-ID in the mobile phone message read by the current second door lock. If they are consistent, it determines whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, extract the door lock ID and door lock IP address from the mobile phone message read by the current second door lock, and send an opening message to the corresponding door lock to open the door.
[0040] Exemplary, pre-conditions: The owner installs a smart door lock on the entrance door (each door lock has an independent ID, door lock IP address, door lock geographic location, etc.), connects to the cloud platform, registers with the platform, and updates periodically. The platform records a list of door locks, including door lock ID, door lock IP address, door lock geographic location, etc.
[0041] The host and the visitor's mobile phones are installed with APP. Each APP has a unique ID (such as the user name + mobile phone number used when registering), and supports reporting APP-ID, mobile phone NFC-ID, mobile phone wifi mac, mobile phone IP, etc. to the platform and updating them periodically. The platform records the user list, which includes: serial number, APP-ID, mobile phone NFC-ID, mobile phone wifi mac, mobile phone IP where the user's APP is located, and other user information.
[0042] Application before a visitor visits the host's home: The visitor sends his or her APP-ID to the host. The host fills in the visitor APP-ID in his or her own APP and reports the "visitor registration" message to the platform, which includes: host APP-ID, door lock-ID, visitor APP-ID, and validity period. At the same time, a copy of the visitor information table reported by the host is saved locally in the APP, including door lock-ID, visitor APP-ID, and validity period.
[0043] The platform saves the visitor information table, including the owner APP-ID, door lock-ID, visitor APP-ID, validity period, etc., as shown in the following table. Assume that the owner APP is APP-host, the door lock ID is door lock-host, and the mobile phone is NFC-host; the APP of visitor 1 is APP-guest1, the door lock ID is door lock-guest1, and the mobile phone is NFC-guest1; the APP of visitor 2 is APP-guest2, the door lock ID is door lock-guest2, and the mobile phone is NFC-guest2. The visitor information table saved by the platform is shown in Table 1.
[0044] Table 1
[0045] What to do when a visitor arrives at the host's home: When the visitor guest1 arrives at the host's door, opens the mobile APP, and clicks the unlock button (the key here is that the visitor is not required to explicitly select which room, even if the visitor has the authority to access multiple rooms at the same time at that time), the visitor APP reports the "unlock request" message to the platform, which contains: visitor APP-ID, visitor mobile NFC-ID and sending time. The design of the visitor APP actively reporting is to avoid the situation where the visitor passes by the host's door temporarily without unlocking the door and mistakenly opens the door, causing security risks.
[0046] The platform saves the message content. The visitor unlocking request message saved by the platform is shown in Table 2.
[0047] Table 2
[0048] When the door lock senses the NFC of a nearby mobile phone, it reads the NFC-ID of the nearby mobile phone and reports the "door lock reads the mobile phone" message to the platform, which contains: door lock ID, mobile phone NFC-ID and sending time. The design of the door lock reading the mobile phone information and reporting it is to avoid the platform only checking and opening the door based on the visitor's APP information when the visitor is not at the owner's door (for example, going to the wrong place or remote misoperation), which may cause security risks.
[0049] The platform saves the message content. The door lock reading message saved by the platform is shown in Table 3.
[0050] Table 3
[0051] When the owner fills in the visitor APP-ID in his own APP, he reports the "visitor registration" message to the platform, which includes: owner APP-ID, door lock-ID, visitor APP-ID, validity period, etc. The APP locally saves a copy of the visitor information table reported by itself, including door lock-ID, visitor APP-ID, validity period.
[0052] When a visitor wants to enter the host's home, he puts his phone close to the door lock, opens the mobile app, and clicks the unlock button. The mobile app will submit an "unlock request" message to the platform, which contains: visitor APP-ID, visitor phone NFC-ID and sending time.
[0053] After receiving the message, the platform extracts the visitor APP-ID in the message and determines from Table 1 which hosts the visitor APP-ID is suitable to visit at this time point. That is, according to the visitor APP-ID, find the table entry whose "validity period" covers the current time point, and the corresponding host APP-ID is the host home that the visitor can visit. For example, at this time, the visitor guest1 can access host and host2. Therefore, the platform forwards the "unlock request" message to APP-host and APP-host2 according to the IP address of the mobile phone where the host APP is located (the specific method of obtaining the mobile phone IP address is to find the corresponding host mobile phone IP address from the locally maintained user list according to the host APP-ID) (before the platform forwards it to the host APP, it needs to first determine whether the host APP is in a connectable state. If it cannot be connected, it means that the host APP is not activated or turned off. At this time, the platform needs to switch to its own processing mode).
[0054] When the door lock host senses the NFC of a nearby mobile phone, it reads the NFC-ID of the nearby mobile phone and reports the "Door lock reads mobile phone" message to the platform, which contains: door lock ID, mobile phone NFC-ID and sending time. The platform finds the corresponding APP-ID and mobile phone IP from the locally maintained user list based on NFC-ID, and determines whether the visitor APP-ID is valid according to Table 1. If so, it finds the door lock IP address from the locally maintained door lock list based on the door lock ID, inserts the door lock IP address into the "Door lock reads mobile phone" message, and forwards the message to the corresponding owner APP-ID (the method to obtain the owner APP-ID is to look up Table 1 according to the door lock ID to obtain the owner APP-ID of the door lock. Before forwarding to the owner APP, the platform needs to first determine whether the owner APP is in a connectable state. If it is not connectable, it means that the owner APP is not activated or turned off. At this time, the platform needs to switch to its own processing mode).
[0055] When the master APP receives one of the above two messages, it starts waiting for the other message for 5 minutes (which can be set by the administrator). If the other message is not received, the first message received is discarded (obviously the door lock-host2 will not send the "door lock reads the phone" message). When the master APP receives two messages, it determines from the locally saved table whether the visitor APP-ID is within the validity period of allowing access to the door lock. If so, it extracts the door lock ID and door lock IP address from the "door lock reads the phone" message and sends a door opening message to the door lock. If it is illegal, the above two messages are discarded.
[0056] After the platform receives the "unlock request" message from guest 1, it sends messages to all host apps that guest 1 can currently access. This consumes a lot of resources. The improvements are as follows: The platform forms a list of all host APP-IDs and corresponding mobile phone IP addresses that guest guest1 can currently access, and packages them into a "host set discussion" message. At the same time, the "host set discussion message" also contains the guest APP-ID; and tries to connect to the first host APP. If the connection fails, it tries to connect to the second host APP, and so on, until it can connect to one of the host APPs, and sends the "host set discussion" message to the host APP, and immediately releases the resources. The host APP is called the host APP-ID.
[0057] When the door lock host senses the NFC of a nearby mobile phone, it reads the NFC-ID of the nearby mobile phone and reports the "Door lock reads mobile phone" message to the platform, which contains: door lock ID, mobile phone NFC-ID and sending time. The platform finds the corresponding visitor APP-ID and mobile phone IP from the locally maintained user list based on NFC-ID, and determines whether the visitor APP-ID is within the validity period according to Table 1. If so, it finds the door lock IP address from the locally maintained door lock list based on the door lock ID, inserts the door lock IP address and visitor APP-ID into the "New door lock reads mobile phone" message, and forwards the message to the corresponding owner APP-ID (the method to obtain the owner APP-ID is to look up Table 1 according to the door lock ID to obtain the owner APP-ID of the door lock. Before forwarding to the owner APP, the platform needs to first determine whether the owner APP is in a connectable state. If it is not connectable, it means that the owner APP is not activated or turned off. At this time, the platform needs to switch to its own processing mode).
[0058] After the host APP-ID receives the message, it sends a "Please open the door" message to the host APPs ranked later in the list, including the visitor APP-ID (the reason why the query message is only sent to the host APP ranked later is because the host APP ranked in front is not in a connectable state). Each host APP will retain the above "Please open the door" message for 5 minutes. When the host APP corresponding to the door lock receives the "New door lock reads the mobile phone" message, it compares the visitor APP-ID in the "Ask the door lock owner" message with the visitor APP-ID in the "New door lock reads the mobile phone". If they are consistent, it determines whether the visitor APP-ID is within the time period allowed for access. If so, it sends a door opening message to the door lock.
[0059] Beneficial effects: The platform intervenes in the specific business process and only forwards the information, which reduces computing consumption. When users submit an "unlock request", they do not need to specify which owner's door lock they want to open, and the system automatically handles it. The platform does not have to send messages to all owner apps separately, but only to one of the active apps.
[0060] It can be seen that according to the unlocking request message and the visitor information table, the owner APP-ID that the visitor APP-ID can currently access is found; if the number of currently accessible owner APP-IDs does not exceed the preset number, the unlocking request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; according to the NFC-ID in the door lock reading mobile phone message, the visitor APP-ID and mobile phone IP are found to determine whether the visitor APP-ID is within the access validity period; if so, the door lock IP address is found, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message is forwarded to the corresponding owner APP, so that the owner APP schedules the corresponding door lock to open the door, thereby providing a more efficient, safe and convenient access management solution.
[0061] Another embodiment of the present invention provides a contactless collaborative door opening system based on a smart lock platform, see Figure 3 , the system may include: The receiving module 301 is used to receive the unlocking request message sent by the current visitor or the door lock reading mobile phone message reported by the smart door lock after sensing the nearby mobile phone, wherein the unlocking request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; A search module 302 is used to search the host APP-ID that the visitor APP-ID can currently access according to the unlocking request message and the visitor information table saved by the smart lock management platform, wherein the visitor information table receives and saves each visitor information, each visitor information includes: host APP-ID, door lock-ID, visitor APP-ID, access validity period; The forwarding module 303 is used to forward the unlocking request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located if the number of currently accessible owner APP-IDs does not exceed a preset number; The first judgment module 304 is used to read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and judge whether the visitor APP-ID is within the access validity period according to the visitor information table; The door opening module 305 is used to search the door lock IP address from the door lock list according to the door lock ID if the access is valid, put the door lock IP address into the door lock reading mobile phone message, and forward the current first door lock reading mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock reading mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0062] It can be seen that according to the unlocking request message and the visitor information table, the owner APP-ID that the visitor APP-ID can currently access is found; if the number of currently accessible owner APP-IDs does not exceed the preset number, the unlocking request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; according to the NFC-ID in the door lock reading mobile phone message, the visitor APP-ID and mobile phone IP are found to determine whether the visitor APP-ID is within the access validity period; if so, the door lock IP address is found, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message is forwarded to the corresponding owner APP, so that the owner APP schedules the corresponding door lock to open the door, thereby providing a more efficient, safe and convenient access management solution.
[0063] 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.
[0064] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps: S201, receiving an unlock request message sent by the current visitor or a door lock reading mobile phone message reported by the smart door lock after sensing a nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; S202, according to the unlocking request message and the visitor information table saved by the smart lock management platform, searching for the owner APP-ID that the visitor APP-ID can currently access, wherein the visitor information table receives and saves each piece of visitor information, each piece of visitor information includes: owner APP-ID, door lock-ID, visitor APP-ID, and access validity period; S203, if the number of currently accessible owner APP-IDs does not exceed a preset number, forwarding the unlock request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; S204, reading the NFC-ID in the mobile phone message according to the door lock, searching the corresponding visitor APP-ID and mobile phone IP from the user list, and judging whether the visitor APP-ID is within the access validity period according to the visitor information table; S205, if within the access validity period, search the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address into the door lock read mobile phone message, forward the current first door lock read mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock read mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0065] It can be seen that according to the unlocking request message and the visitor information table, the owner APP-ID that the visitor APP-ID can currently access is found; if the number of currently accessible owner APP-IDs does not exceed the preset number, the unlocking request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; according to the NFC-ID in the door lock reading mobile phone message, the visitor APP-ID and mobile phone IP are found to determine whether the visitor APP-ID is within the access validity period; if so, the door lock IP address is found, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message is forwarded to the corresponding owner APP, so that the owner APP schedules the corresponding door lock to open the door, thereby providing a more efficient, safe and convenient access management solution.
[0066] 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.
[0067] 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.
[0068] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program: S201, receiving an unlock request message sent by the current visitor or a door lock reading mobile phone message reported by the smart door lock after sensing a nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; S202, according to the unlocking request message and the visitor information table saved by the smart lock management platform, searching for the owner APP-ID that the visitor APP-ID can currently access, wherein the visitor information table receives and saves each piece of visitor information, each piece of visitor information includes: owner APP-ID, door lock-ID, visitor APP-ID, and access validity period; S203, if the number of currently accessible owner APP-IDs does not exceed a preset number, forwarding the unlock request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; S204, reading the NFC-ID in the mobile phone message according to the door lock, searching the corresponding visitor APP-ID and mobile phone IP from the user list, and judging whether the visitor APP-ID is within the access validity period according to the visitor information table; S205, if within the access validity period, search the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address into the door lock read mobile phone message, forward the current first door lock read mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock read mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
[0069] It can be seen that according to the unlocking request message and the visitor information table, the owner APP-ID that the visitor APP-ID can currently access is found; if the number of currently accessible owner APP-IDs does not exceed the preset number, the unlocking request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; according to the NFC-ID in the door lock reading mobile phone message, the visitor APP-ID and mobile phone IP are found to determine whether the visitor APP-ID is within the access validity period; if so, the door lock IP address is found, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message is forwarded to the corresponding owner APP, so that the owner APP schedules the corresponding door lock to open the door, thereby providing a more efficient, safe and convenient access management solution.
[0070] 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 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 modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.
Claims
1. A contactless collaborative door opening method based on a smart lock platform, characterized in that: The method comprises: Receive the unlock request message sent by the current visitor or the door lock reads the mobile phone message reported by the smart door lock after sensing the nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reads the mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; According to the unlocking request message and the visitor information table saved by the smart lock management platform, find the owner APP-ID that the visitor APP-ID can currently access, wherein the visitor information table receives and saves each visitor information, each visitor information includes: owner APP-ID, door lock-ID, visitor APP-ID, access validity period; If the number of currently accessible owner APP-IDs does not exceed the preset number, the unlock request message is forwarded to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located; Read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and determine whether the visitor APP-ID is within the access validity period according to the visitor information table; If within the access validity period, the door lock IP address is searched from the door lock list according to the door lock ID, the door lock IP address is put into the door lock reading mobile phone message, and the current first door lock reading mobile phone message obtained is forwarded to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock reading mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
2. The method according to claim 1, characterized in that The owner APP reads the mobile phone message according to the unlocking request message and the current first door lock, and schedules the corresponding door lock to open the door, including: When the owner APP receives the unlock request message or the current first door lock reads the mobile phone message, if another message is not received within the preset waiting period, the first message received is discarded; When the owner APP receives the unlock request message and the mobile phone message read by the current first door lock, it determines from the visitor information table whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, it extracts the door lock ID and door lock IP address from the mobile phone message read by the current first door lock, and sends an opening message to the corresponding door lock to open the door.
3. The method according to claim 1, characterized in that The method further comprises: If the number of host APP-IDs currently accessible exceeds the preset number, all host APP-IDs currently accessible to the visitor and the corresponding mobile phone IP addresses, as well as the visitor APP-ID, are packaged to obtain the host set discussion message; Try to connect to each master APP until one of them is connected, and send the master group discussion message to the master APP, which will act as the moderator APP; Read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and determine whether the visitor APP-ID is within the access validity period according to the visitor information table; If the access is valid, find the door lock IP address from the door lock list according to the door lock ID, put the door lock IP address and visitor APP-ID into the door lock reading mobile phone message, and forward the current second door lock reading mobile phone message to the corresponding owner APP-ID; The host APP reads the mobile phone message based on the host group discussion message and the current second door lock, and dispatches the corresponding door lock to open the door.
4. The method according to claim 1, characterized in that The host APP reads the mobile phone message based on the host group discussion message and the current second door lock, and schedules the corresponding door lock to open the door, including: After the host APP-ID receives the master group discussion message, it sends a message containing the guest APP-ID to the other master APPs asking the door lock owner to open the door; Each owner APP retains the preset length of time after receiving the message asking the door lock owner to open the door. When the owner APP corresponding to the door lock receives the mobile phone message read by the current second door lock, it compares the visitor APP-ID in the message asking the door lock owner to open the door with the visitor APP-ID in the mobile phone message read by the current second door lock. If they are consistent, it determines whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, extract the door lock ID and door lock IP address from the mobile phone message read by the current second door lock, and send an opening message to the corresponding door lock to open the door.
5. A contactless collaborative door opening system based on a smart lock platform, characterized in that: The system comprises: A receiving module is used to receive an unlock request message sent by the current visitor or a door lock reading mobile phone message reported by the smart door lock after sensing a nearby mobile phone, wherein the unlock request message includes: visitor APP-ID, visitor mobile phone NFC-ID and sending time, and the door lock reading mobile phone message includes: door lock ID, mobile phone NFC-ID and reporting time; A search module is used to search for the host APP-ID that the visitor APP-ID can currently access according to the unlocking request message and the visitor information table saved by the smart lock management platform, wherein the visitor information table receives and saves each visitor information, each visitor information includes: host APP-ID, door lock-ID, visitor APP-ID, access validity period; A forwarding module, used for forwarding the unlocking request message to the currently accessible owner APP according to the IP address of the mobile phone where the owner APP-ID is located if the number of currently accessible owner APP-ID does not exceed a preset number; The first judgment module is used to read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and judge whether the visitor APP-ID is within the access validity period according to the visitor information table; The door opening module is used to search the door lock IP address from the door lock list according to the door lock ID if the access is valid, put the door lock IP address into the door lock reading mobile phone message, and forward the current first door lock reading mobile phone message obtained to the corresponding owner APP, so that the owner APP can schedule the corresponding door lock to open the door according to the unlocking request message and the current first door lock reading mobile phone message, wherein the door lock list includes the door lock ID, door lock IP address, and door lock geographic location.
6. The system according to claim 5, characterized in that The door opening module is specifically used for: When the owner APP receives the unlock request message or the current first door lock reads the mobile phone message, if another message is not received within the preset waiting period, the first message received is discarded; When the owner APP receives the unlock request message and the mobile phone message read by the current first door lock, it determines from the visitor information table whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, it extracts the door lock ID and door lock IP address from the mobile phone message read by the current first door lock, and sends an opening message to the corresponding door lock to open the door.
7. The system according to claim 5, characterized in that The system further comprises: The packaging module is used to package all host APP-IDs and corresponding mobile phone IP addresses, as well as the visitor APP-ID that the visitor can currently access to obtain the host set discussion message if the number of host APP-IDs that can currently be accessed exceeds a preset number; A connection module is used to try to connect to each master APP until one of the master APPs is connected, and send the master group discussion message to the master APP, which serves as the moderator APP; The second judgment module is used to read the NFC-ID in the mobile phone message according to the door lock, find the corresponding visitor APP-ID and mobile phone IP from the user list, and judge whether the visitor APP-ID is within the access validity period according to the visitor information table; A module is put in to search the door lock IP address from the door lock list according to the door lock ID if the access is valid, put the door lock IP address and the visitor APP-ID into the door lock reading mobile phone message, and forward the current second door lock reading mobile phone message obtained to the corresponding owner APP-ID; The scheduling module is used by the host APP to read the mobile phone message according to the host set discussion message and the current second door lock, and schedule the corresponding door lock to open the door.
8. The system according to claim 6, characterized in that The scheduling module is specifically used for: After the host APP-ID receives the master group discussion message, it sends a message containing the guest APP-ID to the other master APPs asking the door lock owner to open the door; Each owner APP retains the preset length of time after receiving the message asking the door lock owner to open the door. When the owner APP corresponding to the door lock receives the mobile phone message read by the current second door lock, it compares the visitor APP-ID in the message asking the door lock owner to open the door with the visitor APP-ID in the mobile phone message read by the current second door lock. If they are consistent, it determines whether the visitor APP-ID is within the access validity period allowed to access the home door lock. If so, extract the door lock ID and door lock IP address from the mobile phone message read by the current second door lock, and send an opening message to the corresponding door lock to open the door.
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 4 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 4.
Citation Information
Patent Citations
Residential quarter network access control scheme
CN106056707A
Remote authorization and unlocking method and system
CN114567658A
Host Standards for Providing Listings
US20160247093A1
Secure Video Doorbell Visitor Filtration System and Method of Operation
US20200151977A1
Video Doorbell Visitor Filtration Apparatuses and Date-Time System Methods of Operation
US20200342723A1
Cited By
Intelligent lock visitor self-service door opening method and system
CN120183069A
Method and system for collaborative safe unlocking of door lock and mobile phone tag
CN120318941A
Method and system for realizing visitor unlocking through cooperation of double APPs
CN121564834A
Method and system for realizing visitor unlocking by double app cooperation
CN121564834B