A door lock-based home appliance reservation method and system
By utilizing door locks and multicast technology in the smart home system to construct an end-to-end multicast path, the precise delivery of appliance reservation instructions from the community access control to the home door lock is realized. This solves the problems of transmission delay and inaccurate identity matching in existing technologies, and improves the system linkage efficiency and user operation convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- DESSMANN CHINA MACHINERY & ELECTRONICS
- Filing Date
- 2026-05-13
- Publication Date
- 2026-06-09
AI Technical Summary
In existing smart home systems, the appliance reservation method relies on cloud servers, resulting in long transmission delays and high network dependence. It also lacks identity feature perception and accurate forwarding, making user operations cumbersome and identity matching inaccurate, and making it impossible to conveniently reserve appliances at the access control system.
By using door locks and multicast technology, and utilizing facial feature vectors to construct an end-to-end multicast path, the system enables precise delivery of appliance reservation instructions from community access control to home door locks. This includes facial feature registration, downlink path establishment, access control reservation attribute registration and uplink path establishment, multicast appliance reservation message generation and transmission, targeted forwarding, and door lock reception and appliance start-up control.
It enables precise delivery of end-to-end appliance reservation instructions from community access control to home door locks, improving the linkage efficiency of smart home systems and user operation convenience, reducing the impact of network failures, and ensuring the accuracy of identity matching.
Smart Images

Figure CN122179261A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of smart door lock technology, and in particular to a method and system for scheduling home appliances based on door locks. Background Technology
[0002] With the popularization of IoT technology and the advancement of smart community construction, the linkage control of smart door locks and home appliances is gradually becoming an important means to improve the convenience and security of living. Existing smart home solutions typically rely on cloud servers for user authentication and command forwarding. The lack of a direct multicast communication mechanism between access control systems and home door locks leads to problems such as long transmission delays and dependence on network stability for cross-regional device linkage. Furthermore, traditional appliance reservation methods often require separate control terminals within the home, failing to fully utilize the identity collection function of the access control system. Users cannot conveniently reserve home appliances at the community entrance, limiting the level of intelligence in usage scenarios. Regarding multicast technology applications, existing protocols such as PIM (Protocol Independent Multicast) are mainly geared towards fixed network devices, lacking the ability to perceive and carry dynamic information such as user identity characteristics and reservation attributes, making it difficult to achieve accurate door lock-level forwarding based on identity. Summary of the Invention
[0003] The purpose of this invention is to provide a home appliance reservation method and system based on door locks to overcome the shortcomings of the prior art. It can realize the accurate delivery of end-to-end home appliance reservation instructions from the community access control to the home door lock, thereby improving the linkage efficiency of the smart home system and the convenience of user operation.
[0004] One embodiment of this application provides a home appliance reservation method based on a door lock, the method comprising: Facial feature registration and downlink path establishment: Based on the enhanced IGMP join message carrying the facial feature vector of family members sent by each door lock, the home gateway router registers the facial feature vector on the receiving interface and sends an enhanced PIM join message carrying the facial feature vector to the aggregation point RP. The multicast routers along the way register the facial feature vector on the receiving interface, thus constructing a downlink multicast path from the door lock to the RP. Access control reservation attribute registration and uplink path establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control, the access control gateway router registers the reservation attribute on the uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, which is forwarded hop-by-hop to the RP. Multicast routers along the way register the reservation attribute on their respective uplink interfaces toward the RP, thus constructing an uplink multicast path from the access control to the RP. Multicast appliance reservation message generation and transmission: Based on the appliance operation instructions selected by family members on the access control system, the access control camera collects the facial feature vector of the member, generates a multicast appliance reservation message containing the facial feature vector and the appliance operation instructions, and sends it to the preset multicast group address; Multicast appliance reservation message forwarding: Based on the reservation attribute in the message parsed by the multicast routers along the route, the message is forwarded hop by hop to the RP according to the registered uplink interface. Then, the RP matches the registered downlink interface according to the face feature vector and forwards the message hop by hop to the corresponding home gateway router along the downlink multicast path. Door lock reception and home appliance start control: Based on the face feature vector matching of the local downlink interface, the home gateway router forwards the message to the corresponding door lock. The door lock parses the home appliance operation instructions in the message and starts the corresponding smart home appliance through the home internal wireless communication channel.
[0005] Optionally, the facial feature registration and downlink path establishment include: Door lock identity information storage: Based on the door lock ID-name-facial feature vector identity mapping table pre-stored in the local flash memory of the door lock device, family member identity association data is formed; Enhanced IGMP join message generation: Based on the IGMP join multicast message actively sent by the door lock device, the IP packet header carries the facial feature vector of family members, and the internal payload contains door lock ID, door lock IP, member name, gender and age information, and the target multicast group address is G=229.0.3.3; Home gateway feature registration: Based on the interface of the home gateway router that receives IGMP join messages, the facial feature vector is parsed and extracted, and the interface-facial feature vector correspondence is established to form a mapping table containing interface IP, door lock ID, name and facial feature vector; Enhanced PIM Join Message Generation and Forwarding: The home gateway router sends an enhanced PIM join message to the RP, carrying the door lock ID, member name, and facial feature vector in the IP packet extension field. Multicast routers along the route parse and register the facial feature vector on their receiving interfaces and establish their respective outgoing interface-facial feature vector mapping tables.
[0006] Optionally, the access control reservation attribute registration and uplink path establishment include: Access control device power-on trigger: Based on the power-on start event of the access control device at the community entrance, an enhanced IGMP join message is generated with the target multicast group address G=229.0.3.3. The message carries the access control device ID and reservation attribute identifier. Access control gateway feature registration: Based on the enhanced IGMP join message received by the access control gateway router, the reservation attribute is parsed and registered on the uplink interface toward the RP, establishing the correspondence between the uplink interface and the reservation attribute; Enhanced PIM Join Message Generation and Hop-by-Hop Forwarding: An enhanced PIM join message is generated based on the access control gateway router. The reservation attribute is retained in the message extension field and sent hop-by-hop to the RP along the network path. After receiving the message, each multicast router along the way registers the reservation attribute on its uplink interface toward the RP, establishing the uplink interface-reservation attribute correspondence.
[0007] Optionally, the generation and transmission of the multicast appliance reservation message includes: Access control interface trigger: Based on the selection of target home appliances and operation commands by family members on the access control screen operation interface, the operation interface includes smart home appliance options such as air conditioners, rice cookers, and washing machines; Facial feature acquisition and extraction: The facial images of current family members are captured by the built-in camera of the access control system, and the corresponding facial feature vectors are extracted through the facial recognition module; Multicast appliance reservation message encapsulation: Based on the collected facial feature vector and the selected appliance operation command, a multicast appliance reservation message is generated. The target multicast group address is G=229.0.3.3. The message header contains reservation attribute identifier and facial feature vector, and the internal payload contains access control ID, appliance operation command and time stamp information. Message transmission: Based on the generated multicast appliance reservation message, send it to the preset multicast group address.
[0008] Optionally, the targeted forwarding of the multicast appliance reservation message includes: Access control side message forwarding: Based on the multicast home appliance reservation message received by the access control gateway router, the reservation attribute in the message header is parsed, the correspondence between the locally registered uplink interface and the reservation attribute is queried, and the message is forwarded out from the uplink interface with the registered reservation attribute; Hop-by-hop forwarding by routers along the route: After receiving the packet, all multicast routers along the route forward the packet hop-by-hop from the uplink interface to the RP based on the correspondence between their registered uplink interface and reservation attribute, and finally deliver it to the RP accurately. RP Feature Matching and Downlink Forwarding: After receiving a packet, the RP parses the face feature vector in it, matches the face feature vectors registered on each outgoing interface, filters out the outgoing interfaces that have the registered face feature vector, and forwards the packet out from the filtered outgoing interface. Downlink Path Hop-by-Hop Forwarding: The message is transmitted in reverse along the downlink multicast path established in step S1, passing through the multicast routers along the way in sequence. Each router forwards the message from the correct interface to the next-hop router according to the correspondence between its registered outgoing interface and face feature vector, until it reaches the home gateway router.
[0009] Optionally, the door lock receiving and appliance start control includes: Home gateway matching and forwarding: After receiving a packet, the home gateway router matches the facial feature vector in the packet header with the facial feature vector registered on its own outgoing interface. After confirming the corresponding outgoing interface, the packet is forwarded to the corresponding door lock device. Door lock parsing and command execution: After receiving the message, the door lock device parses the appliance identification field in the internal payload, confirms the appliance operation command, and sends the start command to the corresponding smart appliance through the home's internal wireless communication channel. Access Revocation Processing: Based on the family member access change event, delete the corresponding member's facial feature vector information through the door lock system, thereby revoking their remote control access to all smart home appliances.
[0010] Another embodiment of this application provides a home appliance reservation system based on door locks, the system comprising: The registration module is used for facial feature registration and downlink path establishment: based on the enhanced IGMP join message carrying the facial feature vector of family members sent by each door lock, the home gateway router registers the facial feature vector on the receiving interface and sends an enhanced PIM join message carrying the facial feature vector to the aggregation point RP. The multicast routers along the way register the facial feature vector on the receiving interface, thus constructing a downlink multicast path from the door lock to the RP. The module is established for access control reservation attribute registration and uplink path establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control, the access control gateway router registers the reservation attribute on the uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, which is forwarded hop-by-hop to the RP. The multicast routers along the way register the reservation attribute on their respective uplink interfaces toward the RP, thus constructing an uplink multicast path from the access control to the RP. The generation module is used for generating and sending multicast home appliance reservation messages: based on the home appliance operation instructions selected by family members on the access control, the access control camera collects the facial feature vector of the member, generates a multicast home appliance reservation message containing the facial feature vector and the home appliance operation instructions, and sends it to the preset multicast group address; The forwarding module is used for the targeted forwarding of multicast appliance reservation messages: according to the reservation attributes in the message parsed by the multicast routers along the route, the message is forwarded hop by hop to the RP according to the registered uplink interface, and then the RP matches the registered downlink interface according to the face feature vector, and forwards the message hop by hop to the corresponding home gateway router along the downlink multicast path. The control module is used for door lock reception and home appliance start control: based on the face feature vector matching of the local downlink interface of the home gateway router, the message is forwarded to the corresponding door lock. The door lock parses the home appliance operation instructions in the message and starts the corresponding smart home appliance through the home internal wireless communication channel.
[0011] Another embodiment of this application provides a storage medium storing a computer program, wherein the computer program is configured to execute the method described in any of the preceding claims when running.
[0012] Another embodiment of this 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 perform the method described in any of the preceding claims.
[0013] Compared with existing technologies, the present invention provides a home appliance reservation method based on door locks, which can realize the accurate delivery of end-to-end home appliance reservation instructions from community access control to home door locks, thereby improving the linkage efficiency of smart home systems and the convenience of user operation. Attached Figure Description
[0014] Figure 1 A hardware structure block diagram of a computer terminal for a home appliance reservation method based on a door lock, provided in an embodiment of the present invention; Figure 2 A flowchart illustrating a home appliance reservation method based on a door lock, provided in an embodiment of the present invention; Figure 3 A network topology diagram illustrating a home appliance reservation method based on a door lock, provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of a home appliance reservation system based on a door lock, provided as an embodiment of the present invention. Detailed Implementation
[0015] The embodiments described below with reference 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] With the rapid development of smart home technology, more and more families are equipping themselves with smart appliances (such as air conditioners and rice cookers), and users' demands for the convenience and personalization of smart homes are increasing. Currently, the main method for remote control of smart appliances is through mobile phone apps. However, the operation steps of mobile phone app remote control are cumbersome and the font is small, making it difficult for the elderly or caregivers to operate, thus hindering the remote scheduling of appliances. In view of this, this invention provides a new solution for remote scheduling of smart appliances through a smart door lock.
[0017] In the existing technology, there is a smart home appliance reservation control scheme based on a mobile app. This scheme allows users to input reservation commands (such as reserving the start of an air conditioner) and set a reservation time on the mobile app. The mobile app then sends the reservation command to the home gateway via the internet, and the home gateway forwards the command to the corresponding smart home appliance, thus enabling the appliance to start on schedule.
[0018] The current solution has three main drawbacks: 1. Cumbersome operation: Users need to manually open the mobile app, select appliances, and set reservation times and parameters, making it difficult to perform reservations quickly and conveniently, especially for elderly users. 2. Lack of accurate identity matching: The app-based reservation method cannot accurately identify the identity of the user making the reservation. For example, if a caregiver has left the job, they can still remotely control the appliance simply by scanning the code and reinstalling the app. 3. Highly dependent on network reliability: This solution relies on internet cloud platforms for forwarding. If the mobile network, internet, or home network fails, the reservation command cannot be transmitted in time, causing the appliance reservation to fail.
[0019] This invention first provides a method for scheduling home appliances based on door locks. This method can be applied to electronic devices, such as computer terminals, specifically ordinary computers.
[0020] The following detailed explanation uses a computer terminal as an example. Figure 1 This is a hardware structure block diagram of a computer terminal for a home appliance reservation method based on a door lock, provided in an embodiment of the present invention. Figure 1 As shown, the computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include non-volatile storage media and internal memory.
[0021] See Figure 2 and Figure 3 The present invention provides a method for scheduling home appliances based on door locks, which may include the following steps: S201, Facial Feature Registration and Downlink Path Establishment: Based on the enhanced IGMP join message carrying the facial feature vectors of family members sent by each door lock, the home gateway router registers the facial feature vectors on its receiving interface and sends an enhanced PIM join message carrying the facial feature vectors to the aggregation point RP. Multicast routers along the route register the facial feature vectors on their receiving interfaces, thus constructing a downlink multicast path from the door lock to the RP. Specifically, the facial feature registration and downlink path establishment includes: Door lock identity information storage: Based on the door lock ID-name-facial feature vector identity mapping table pre-stored in the local flash memory of the door lock device, family member identity association data is formed; Enhanced IGMP join message generation: Based on the IGMP join multicast message actively sent by the door lock device, the IP packet header carries the facial feature vector of family members, and the internal payload contains door lock ID, door lock IP, member name, gender and age information, and the target multicast group address is G=229.0.3.3; Home gateway feature registration: Based on the interface of the home gateway router that receives IGMP join messages, the facial feature vector is parsed and extracted, and the interface-facial feature vector correspondence is established to form a mapping table containing interface IP, door lock ID, name and facial feature vector; Enhanced PIM Join Message Generation and Forwarding: The home gateway router sends an enhanced PIM join message to the RP, carrying the door lock ID, member name, and facial feature vector in the IP packet extension field. Multicast routers along the route parse and register the facial feature vector on their receiving interfaces and establish their respective outgoing interface-facial feature vector mapping tables.
[0022] S202, Access Control Reservation Attribute Registration and Uplink Path Establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control system, the access control gateway router registers the reservation attribute on its uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, forwarding it hop-by-hop to the RP. Multicast routers along the path register the reservation attribute on their respective uplink interfaces toward the RP, constructing an uplink multicast path from the access control system to the RP. Specifically, the access control reservation attribute registration and uplink path establishment includes: Access control device power-on trigger: Based on the power-on start event of the access control device at the community entrance, an enhanced IGMP join message is generated with the target multicast group address G=229.0.3.3. The message carries the access control device ID and reservation attribute identifier. Access control gateway feature registration: Based on the enhanced IGMP join message received by the access control gateway router, the reservation attribute is parsed and registered on the uplink interface toward the RP, establishing the correspondence between the uplink interface and the reservation attribute; Enhanced PIM Join Message Generation and Hop-by-Hop Forwarding: An enhanced PIM join message is generated based on the access control gateway router. The reservation attribute is retained in the message extension field and sent hop-by-hop to the RP along the network path. After receiving the message, each multicast router along the way registers the reservation attribute on its uplink interface toward the RP, establishing the uplink interface-reservation attribute correspondence.
[0023] S203, Multicast Appliance Reservation Message Generation and Transmission: Based on the appliance operation command selected by a family member on the access control system, the access control camera collects the member's facial feature vector, generates a multicast appliance reservation message containing the facial feature vector and the appliance operation command, and sends it to a preset multicast group address; specifically, the multicast appliance reservation message generation and transmission includes: Access control interface trigger: Based on the selection of target home appliances and operation commands by family members on the access control screen operation interface, the operation interface includes smart home appliance options such as air conditioners, rice cookers, and washing machines; Facial feature acquisition and extraction: The facial images of current family members are captured by the built-in camera of the access control system, and the corresponding facial feature vectors are extracted through the facial recognition module; Multicast appliance reservation message encapsulation: Based on the collected facial feature vector and the selected appliance operation command, a multicast appliance reservation message is generated. The target multicast group address is G=229.0.3.3. The message header contains reservation attribute identifier and facial feature vector, and the internal payload contains access control ID, appliance operation command and time stamp information. Message transmission: Based on the generated multicast appliance reservation message, send it to the preset multicast group address.
[0024] S204, Directed forwarding of multicast appliance reservation messages: Based on the reservation attributes parsed from the messages by multicast routers along the route, the messages are forwarded hop-by-hop to the RP according to the registered uplink interfaces. Then, the RP matches the registered downlink interfaces based on the facial feature vector and forwards the messages hop-by-hop along the downlink multicast path to the corresponding home gateway router. Specifically, the directed forwarding of multicast appliance reservation messages includes: Access control side message forwarding: Based on the multicast home appliance reservation message received by the access control gateway router, the reservation attribute in the message header is parsed, the correspondence between the locally registered uplink interface and the reservation attribute is queried, and the message is forwarded out from the uplink interface with the registered reservation attribute; Hop-by-hop forwarding by routers along the route: After receiving the packet, all multicast routers along the route forward the packet hop-by-hop from the uplink interface to the RP based on the correspondence between their registered uplink interface and reservation attribute, and finally deliver it to the RP accurately. RP Feature Matching and Downlink Forwarding: After receiving a packet, the RP parses the face feature vector in it, matches the face feature vectors registered on each outgoing interface, filters out the outgoing interfaces that have the registered face feature vector, and forwards the packet out from the filtered outgoing interface. Downlink Path Hop-by-Hop Forwarding: The message is transmitted in reverse along the downlink multicast path established in step S1, passing through the multicast routers along the way in sequence. Each router forwards the message from the correct interface to the next-hop router according to the correspondence between its registered outgoing interface and face feature vector, until it reaches the home gateway router.
[0025] S205, Door lock reception and appliance start control: Based on the face feature vector matching of the local downlink interface by the home gateway router, the message is forwarded to the corresponding door lock. The door lock parses the appliance operation instructions in the message and starts the corresponding smart home appliance through the home's internal wireless communication channel. Specifically, the door lock reception and appliance start control includes: Home gateway matching and forwarding: After receiving a packet, the home gateway router matches the facial feature vector in the packet header with the facial feature vector registered on its own outgoing interface. After confirming the corresponding outgoing interface, the packet is forwarded to the corresponding door lock device. Door lock parsing and command execution: After receiving the message, the door lock device parses the appliance identification field in the internal payload, confirms the appliance operation command, and sends the start command to the corresponding smart appliance through the home's internal wireless communication channel. Access Revocation Processing: Based on the family member access change event, delete the corresponding member's facial feature vector information through the door lock system, thereby revoking their remote control access to all smart home appliances.
[0026] To address the problems of cumbersome operation, lack of accurate identity matching, and high reliability affected by network issues in existing smart home appliance reservation control solutions, this invention provides a smart home appliance reservation control solution based on door locks and multicast technology. This solution allows users to remotely reserve and start home appliances through simple operations at the community entrance or downstairs access control screen, improving the convenience and efficiency of reservation operations. Facial feature vectors are used to achieve accurate user identification and matching, preventing unauthorized and erroneous operations. Multicast technology is used to construct an efficient command transmission path, reducing the impact of network failures on reservation command transmission and improving the reliability of the solution.
[0027] This invention provides a smart home appliance remote control solution based on door locks, which enables users to remotely reserve home appliances by matching the faces of family members and performing simple operations at the community gate or downstairs access control screen.
[0028] The specific plan is as follows: I. Facial Feature Vector Registration and Multicast Path Establishment: Each door lock sends an IGMP join message, carrying the member's facial feature vector. The gateway router registers this facial feature vector on the interface that receives the message and then sends a PIM join message to the RP, carrying the aforementioned facial feature vector. Thus, all routers along the path from the gateway router to the RP register the aforementioned facial feature vector on the interface that receives the PIM message. The data packet interaction relationships between the devices within the system are as follows: 1. Each household's door lock device pre-stores the facial feature vectors of the corresponding family member or caregiver (the facial feature vectors are collected by a facial recognition device and then entered into the door lock to ensure that each family member's facial feature vector is unique and identifiable). The door lock associates and stores "door lock ID - name - facial feature vector" in local flash memory to form an identity mapping table.
[0029] 2. The door lock device actively sends an IGMP join multicast message to the improved home gateway router R1. This message carries the facial feature vectors of the corresponding family members. For example, the IGMP join multicast data packet message is encapsulated in IP packets, with the member's facial feature vector in the header, and the internal payload contains identity information such as door lock ID, door lock IP, member name, gender, and age, and the target multicast group to join is G=229.0.3.3.
[0030] 3. On the interface that receives the IGMP join message, the home gateway router R1 registers the face feature vector and establishes a mapping between the "outgoing interface" and the "face feature vector." Here, the outgoing interface is the interface that receives the IGMP message, which is the downlink interface pointing to the door lock. For example, the gateway router (IP: 192.168.5.1) receives the IGMP join message sent by the door lock through interface Eth1, parses the face feature vector in the multicast message, and establishes a mapping table between the "outgoing interface" and the "face feature vector" on that interface. See Table 1 below: Table 1 ; 4. The home gateway router sends a PIM join message to the multicast RP (Rendezvous Point), which also carries the aforementioned facial feature vector. For example, the gateway router sends a PIM join message (target multicast group G=229.0.3.3) to the RP (192.168.100.1) according to the PIM-SM protocol specification. The message is encapsulated in an IP packet, and the extended fields carry core information such as door lock ID, member name, and facial feature vector.
[0031] 5. All multicast routers along the path from home gateway router R1 to RP register the facial feature vector on the interface receiving the PIM join message, establishing their respective "outgoing interface - facial feature vector" mappings—here, the outgoing interface is the downlink interface pointing to the door lock—thus constructing a multicast path from the door lock to RP, and each router on this path records the association information between the corresponding facial feature vector and the interface. For example, the multicast routers along the path from home gateway router to RP (R2: 192.168.20.1, R3: 192.168.100.2) parse and register the above identity information on the interface receiving the PIM join message. Taking R2 as an example, after receiving the PIM message sent by the home gateway through interface Eth2 (IP: 192.168.20.1 / 24), the established "outgoing interface - facial feature vector" mapping table is shown in Table 2 below: Table 2 ; II. Registration of Access Control "Reservation" Attribute and Establishment of Dedicated Forwarding Path: After the community entrance access control system is powered on, it sends an enhanced access control IGMP join message. Its gateway router generates an enhanced access control PIM (Personal Information Management Message), which carries a "reservation" attribute. This access control PIM message is sent hop-by-hop to the RP (Reservation Point) by routers along the path. Each router, upon receiving this enhanced access control PIM message, registers the "reservation" attribute on its uplink interface leading to the RP. The details are as follows: 1. After the access control equipment (including access control cameras) at each community entrance is powered on, it sends an enhanced access control IGMP join message (target multicast group G). The message carries information such as the access control device ID and the "reservation" attribute identifier. For example, after the unit access control is powered on, it sends an enhanced IGMP join message to multicast group G=229.0.3.3. The message explicitly carries the device ID and the "reservation" attribute identifier, informing the network that the device will send appliance reservation messages.
[0032] 2. After receiving the enhanced access control IGMP join message, the gateway router corresponding to the access control system parses the "reservation" attribute and generates an enhanced access control PIM message (target multicast group G). This PIM message explicitly carries the "reservation" attribute and registers the "reservation" attribute on the uplink interface leading to the RP, establishing a "uplink interface - reservation attribute" mapping—here, the interface refers to the uplink interface pointing to the RP. For example, after receiving this message, the gateway router R5 corresponding to the access control system parses the "reservation" attribute, then generates an enhanced PIM join message (target multicast group G=229.0.3.3), retains the "reservation" attribute in the message extension field, and registers the "reservation" attribute on the uplink interface Eth2, forming an "Eth2 - reservation" mapping and establishing a dedicated forwarding path.
[0033] 3. The enhanced access control PIM message is sent hop-by-hop along the network path towards the RP. Each multicast router along the path receives the message and registers the "reservation" attribute on the uplink interface leading to the RP, establishing a "uplink interface - reservation attribute" mapping and forming a dedicated forwarding path for the reservation message. For example, when the enhanced PIM message passes through router R4, router R4 registers the "reservation" attribute on its uplink interface Eth2 leading to the RP (IP: 192.168.100.1), forming an "Eth2 - reservation" mapping, and forwards it towards the RP.
[0034] III. Sending multicast home appliance reservation messages: When a member arrives at the access control machine at the community / building entrance, they select an appliance from buttons such as "Air Conditioner" and "Rice Cooker" on the access control screen (e.g., rice cooker). The access control camera then sends a multicast appliance reservation message carrying the member's facial feature vector and the "Rice Cooker" field. Routers along the route receive this multicast data packet and, based on the "reservation" attribute, forward it from the outgoing interface that registered the "reservation" attribute to the RP (Reservation Point). The specific implementation steps are as follows: 1. When not at home, users can configure and remotely operate smart home appliances such as air conditioners, rice cookers, and washing machines via touch screen on the access control screen at the community entrance / unit door. For example, if the nanny needs to cook remotely while the child is playing downstairs, she can select the command to schedule / start the rice cooker (such as the "rice cooker" or "cook rice") on the access control screen at the unit door.
[0035] 2. The unit's access control system's built-in camera uses a face capture and recognition module to capture the face image of the family member, nanny Zhao, and extract the face feature vector dd. Then, the access control system generates a multicast appliance reservation message (target multicast group G=229.0.3.3). The message header contains the "reservation" attribute and the face feature vector dd, and the internal payload contains access control ID, appliance instructions, timestamps, and other information.
[0036] 3. After receiving the multicast appliance reservation message, the access control gateway router parses out the "reservation" attribute, queries the locally registered "uplink interface - reservation attribute" correspondence, and forwards the message from the uplink interface registered with the "reservation" attribute. For example, router R5 parses the data packet and obtains the "reservation=1" attribute, finds the corresponding uplink interface as Eth2, and forwards the message from that interface.
[0037] 4. After receiving the message, all multicast routers along the route continuously forward the message from the uplink interface leading to the RP based on their registered "uplink interface-reservation attribute" correspondence, ultimately delivering it accurately to the RP and avoiding forwarding to irrelevant interfaces. For example, after receiving the message, router R4 also forwards it hop-by-hop from the uplink interface leading to the RP through its own "uplink interface-reservation attribute" relationship, ultimately delivering it accurately to the RP.
[0038] III. Multicast appliance reservation messages are forwarded to door locks: Based on the facial feature vector, the RP forwards the message to the outgoing interface (*, G) that has the registered facial feature vector. This forwards the message all the way to the gateway router of the member's door lock. The gateway router then forwards the message from the outgoing interface that has the registered facial feature vector, ultimately reaching the door lock. The specific implementation is as follows: 1. After receiving the multicast appliance reservation message forwarded by the access control gateway router, the RP parses the facial feature vector in the message. For example, the RP (192.168.100.1) receives the multicast appliance reservation message forwarded by the access control gateway router R5 through interface Eth3 (IP: 192.168.100.1 / 24) and parses the facial feature vector dd in the message header.
[0039] 2. The RP (Remote Provider) matches the facial feature vectors of each outgoing interface to filter out the outgoing interfaces that have registered the facial feature vector, and determines the sending path of the appliance reservation message. For example, the RP uses the "outgoing interface - facial feature vector" correspondence established in step one above to match the outgoing interfaces that have registered the facial feature vector dd from each interface, and finds that the corresponding interface is Eth2 (next-hop router R3: 192.168.100.2).
[0040] 3. The RP forwards the multicast appliance reservation message from the selected outgoing interface. The message is transmitted in reverse along the multicast path established in step one, passing through multicast routers R3, R2, and R1 in sequence. Each router forwards the message from the correct interface to the next-hop router based on its registered "outgoing interface - face feature vector" correspondence. For example, after receiving the message, R2 forwards it to the home gateway router R1 (192.168.5.1) in room 502 of building 3 via the Eth2 interface (the interface registered with the feature vector).
[0041] 4. The home gateway router forwards packets from the outgoing interface with the registered face feature vector to the corresponding door lock device based on its registered "outgoing interface-face feature vector" correspondence. For example, after receiving a packet, the home gateway router matches the face feature vector in the packet header with the face feature vector registered on its own outgoing interface, confirms that the Eth1 outgoing interface has a matching feature vector dd (corresponding to Zhao Baomu), and forwards the packet from the Eth1 interface to the door lock device (LOCK-XFJY-3-502-01, IP: 192.168.5.20).
[0042] IV. Door lock control for appliance start-up and de-authorization: When the door lock receives a home appliance reservation message, it analyzes the internal payload data and finds that it is a rice cooker that needs to be reserved. Then, it starts the rice cooker via the wireless channel to execute the relevant commands. The specific implementation is as follows: 1. The door lock device (LOCK-XFJY-3-502-01) receives the multicast appliance reservation message forwarded by the home gateway router and parses the appliance identification field (such as "rice cooker" or "fine cooking rice") in the internal payload of the message.
[0043] 2. After the door lock device confirms the appliance identifier corresponding to the message, it sends a start cooking command to the corresponding smart appliance (such as a rice cooker) through the wireless communication channel inside the home (such as Wi-Fi, ZigBee, etc.).
[0044] Note: After the nanny's employment expires or she is dismissed, her facial information can be deleted through the home's door lock system, thereby removing her remote control permissions over all smart home appliances with one click.
[0045] Beneficial effects: Compared with existing mobile APP technology, the present invention has the following significant technical advantages: 1. Convenient and efficient operation: Users only need to click on the target home appliance on the access control screen at the entrance of the community to complete the reservation. There is no need to manually operate the mobile APP command. The operation steps are simplified and save users time. It is especially suitable for scenarios such as elderly people's mobile phones cannot install APP / the font on the mobile phone is small / the nanny is taking care of the child downstairs and remotely reserving the rice cooker.
[0046] 2. Precise Identity Matching: Using facial feature vectors as unique identifiers, the system accurately binds user identities to door locks and home appliances, preventing unauthorized user actions. For example, if a nanny terminates her contract, the system can remove control permissions for all corresponding home appliances with a single click by deleting the face from the door lock.
[0047] 3. Reliable and efficient transmission: By using multicast technology to build a dedicated transmission path, multicast home appliance reservation messages are transmitted only on the preset path without passing through the Internet cloud platform, reducing network transmission and traffic consumption, reducing invalid communication to network-unrelated devices, saving network bandwidth and improving message transmission efficiency.
[0048] Key technical points of this invention: 1. A method for scheduling and controlling smart home appliances, comprising: The door lock sends an IGMP join message carrying the member's facial feature vector. The gateway router registers the facial feature vector on the receiving interface and sends a PIM join message carrying the facial feature vector to the RP. Routers along the way register the facial feature vector on their receiving interfaces. The access control camera collects facial feature vectors of members, receives the appliance identifiers selected by members, and sends a multicast appliance reservation message containing the facial feature vectors and appliance identifiers; The access control gateway router forwards the multicast appliance reservation message to the RP direction; Based on the facial feature vector, the RP forwards the message to the outgoing interface that has the facial feature vector registered, and then forwards it to the corresponding door lock via routers along the way and the home gateway router; The door lock parses the appliance identifier and activates the corresponding smart appliance via a wireless channel.
[0049] 2. The router implements a differentiated processing mechanism for access control IGMP / PIM messages and door lock IGMP / PIM messages: When receiving enhanced IGMP join messages and their derived enhanced PIM messages sent by access control, the router registers the "reservation" attribute in the uplink interface toward the RP; when receiving IGMP join messages and their derived PIM messages sent by door lock, the router registers the face feature vector in the downlink interface toward the door lock terminal.
[0050] 3. Facial feature vectors can be replaced with biometric feature vectors such as iris feature vectors and fingerprint feature vectors.
[0051] 4. The access control system has an interface with multiple home appliance options, allowing members to select their desired home appliance.
[0052] Another embodiment of the present invention provides a home appliance reservation system based on door locks, see [link to relevant documentation]. Figure 4 The system may include: Registration module 401 is used for face feature registration and downlink path establishment: based on the enhanced IGMP join message carrying the face feature vector of family members sent by each door lock, the home gateway router registers the face feature vector on the receiving interface and sends an enhanced PIM join message carrying the face feature vector to the aggregation point RP. The multicast routers along the way register the face feature vector on the receiving interface and construct a downlink multicast path from the door lock to the RP. Establish module 402 for access control reservation attribute registration and uplink path establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control, the access control gateway router registers the reservation attribute on the uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, which is forwarded hop-by-hop to the RP. The multicast routers along the way register the reservation attribute on their respective uplink interfaces toward the RP, thus constructing an uplink multicast path from the access control to the RP. The generation module 403 is used for generating and sending multicast home appliance reservation messages: based on the home appliance operation instructions selected by family members on the access control, the access control camera collects the facial feature vector of the member, generates a multicast home appliance reservation message containing the facial feature vector and the home appliance operation instructions, and sends it to the preset multicast group address; Forwarding module 404 is used for targeted forwarding of multicast home appliance reservation messages: according to the reservation attributes in the message parsed by the multicast routers along the route, the message is forwarded hop by hop to the RP according to the registered uplink interface, and then the RP matches the registered downlink interface according to the face feature vector, and forwards the message hop by hop to the corresponding home gateway router along the downlink multicast path. Control module 405 is used for door lock reception and home appliance start control: According to the face feature vector matching local downlink interface of the home gateway router, the message is forwarded to the corresponding door lock. The door lock parses the home appliance operation instructions in the message and starts the corresponding smart home appliance through the home internal wireless communication channel.
[0053] This invention also provides a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0054] This invention also 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 perform the steps in any of the above method embodiments.
[0055] Specifically, the aforementioned electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the aforementioned processor, and the input / output device is connected to the aforementioned processor.
[0056] The above description, based on the embodiments shown in the figures, details the structure, features, and effects of the present invention. The above description is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the figures. Any changes made in accordance with the concept of the present invention, or equivalent embodiments modified to have equivalent changes, that do not exceed the spirit covered by the specification and figures, should be within the protection scope of the present invention.
Claims
1. A method for scheduling home appliances based on door locks, characterized in that, The method includes: Facial feature registration and downlink path establishment: Based on the enhanced IGMP join message carrying the facial feature vector of family members sent by each door lock, the home gateway router registers the facial feature vector on the receiving interface and sends an enhanced PIM join message carrying the facial feature vector to the aggregation point RP. The multicast routers along the way register the facial feature vector on the receiving interface, thus constructing a downlink multicast path from the door lock to the RP. Access control reservation attribute registration and uplink path establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control, the access control gateway router registers the reservation attribute on the uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, which is forwarded hop-by-hop to the RP. Multicast routers along the way register the reservation attribute on their respective uplink interfaces toward the RP, thus constructing an uplink multicast path from the access control to the RP. Multicast appliance reservation message generation and transmission: Based on the appliance operation instructions selected by family members on the access control system, the access control camera collects the facial feature vector of the member, generates a multicast appliance reservation message containing the facial feature vector and the appliance operation instructions, and sends it to the preset multicast group address; Multicast appliance reservation message forwarding: Based on the reservation attribute in the message parsed by the multicast routers along the route, the message is forwarded hop by hop to the RP according to the registered uplink interface. Then, the RP matches the registered downlink interface according to the face feature vector and forwards the message hop by hop to the corresponding home gateway router along the downlink multicast path. Door lock reception and home appliance start control: Based on the face feature vector matching of the local downlink interface, the home gateway router forwards the message to the corresponding door lock. The door lock parses the home appliance operation instructions in the message and starts the corresponding smart home appliance through the home internal wireless communication channel.
2. The method according to claim 1, characterized in that, The facial feature registration and downlink path establishment include: Door lock identity information storage: Based on the door lock ID-name-facial feature vector identity mapping table pre-stored in the local flash memory of the door lock device, family member identity association data is formed; Enhanced IGMP join message generation: Based on the IGMP join multicast message actively sent by the door lock device, the IP packet header carries the facial feature vector of family members, and the internal payload contains door lock ID, door lock IP, member name, gender and age information, and the target multicast group address is G=229.0.3.3; Home gateway feature registration: Based on the interface of the home gateway router that receives IGMP join messages, the facial feature vector is parsed and extracted, and the interface-facial feature vector correspondence is established to form a mapping table containing interface IP, door lock ID, name and facial feature vector; Enhanced PIM Join Message Generation and Forwarding: The home gateway router sends an enhanced PIM join message to the RP, carrying the door lock ID, member name, and facial feature vector in the IP packet extension field. Multicast routers along the route parse and register the facial feature vector on their receiving interfaces and establish their respective outgoing interface-facial feature vector mapping tables.
3. The method according to claim 2, characterized in that, The access control reservation attribute registration and uplink path establishment include: Access control device power-on trigger: Based on the power-on start event of the access control device at the community entrance, an enhanced IGMP join message is generated with the target multicast group address G=229.0.3.
3. The message carries the access control device ID and reservation attribute identifier. Access control gateway feature registration: Based on the enhanced IGMP join message received by the access control gateway router, the reservation attribute is parsed and registered on the uplink interface toward the RP, establishing the correspondence between the uplink interface and the reservation attribute; Enhanced PIM Join Message Generation and Hop-by-Hop Forwarding: An enhanced PIM join message is generated based on the access control gateway router. The reservation attribute is retained in the message extension field and sent hop-by-hop to the RP along the network path. After receiving the message, each multicast router along the way registers the reservation attribute on its uplink interface toward the RP, establishing the uplink interface-reservation attribute correspondence.
4. The method according to claim 3, characterized in that, The generation and transmission of the multicast appliance reservation message includes: Access control interface trigger: Based on the selection of target home appliances and operation commands by family members on the access control screen operation interface, the operation interface includes smart home appliance options such as air conditioners, rice cookers, and washing machines; Facial feature acquisition and extraction: The facial images of current family members are captured by the built-in camera of the access control system, and the corresponding facial feature vectors are extracted through the facial recognition module; Multicast appliance reservation message encapsulation: Based on the collected facial feature vector and the selected appliance operation command, a multicast appliance reservation message is generated. The target multicast group address is G=229.0.3.
3. The message header contains reservation attribute identifier and facial feature vector, and the internal payload contains access control ID, appliance operation command and time stamp information. Message transmission: Based on the generated multicast appliance reservation message, send it to the preset multicast group address.
5. The method according to claim 4, characterized in that, The targeted forwarding of the multicast appliance reservation message includes: Access control side message forwarding: Based on the multicast home appliance reservation message received by the access control gateway router, the reservation attribute in the message header is parsed, the correspondence between the locally registered uplink interface and the reservation attribute is queried, and the message is forwarded out from the uplink interface with the registered reservation attribute; Hop-by-hop forwarding by routers along the route: After receiving the packet, all multicast routers along the route forward the packet hop-by-hop from the uplink interface to the RP based on the correspondence between their registered uplink interface and reservation attribute, and finally deliver it to the RP accurately. RP Feature Matching and Downlink Forwarding: After receiving a packet, the RP parses the face feature vector in it, matches the face feature vectors registered on each outgoing interface, filters out the outgoing interfaces that have the registered face feature vector, and forwards the packet out from the filtered outgoing interface. Downlink Path Hop-by-Hop Forwarding: The message is transmitted in reverse along the downlink multicast path established in step S1, passing through the multicast routers along the way in sequence. Each router forwards the message from the correct interface to the next-hop router according to the correspondence between its registered outgoing interface and face feature vector, until it reaches the home gateway router.
6. The method according to claim 5, characterized in that, The door lock receives and controls the start of home appliances, including: Home gateway matching and forwarding: After receiving a packet, the home gateway router matches the facial feature vector in the packet header with the facial feature vector registered on its own outgoing interface. After confirming the corresponding outgoing interface, the packet is forwarded to the corresponding door lock device. Door lock parsing and command execution: After receiving the message, the door lock device parses the appliance identification field in the internal payload, confirms the appliance operation command, and sends the start command to the corresponding smart appliance through the home's internal wireless communication channel. Access Revocation Processing: Based on the family member access change event, delete the corresponding member's facial feature vector information through the door lock system, thereby revoking their remote control access to all smart home appliances.
7. A home appliance reservation system based on door locks, characterized in that, The system includes: The registration module is used for facial feature registration and downlink path establishment: based on the enhanced IGMP join message carrying the facial feature vector of family members sent by each door lock, the home gateway router registers the facial feature vector on the receiving interface and sends an enhanced PIM join message carrying the facial feature vector to the aggregation point RP. The multicast routers along the way register the facial feature vector on the receiving interface, thus constructing a downlink multicast path from the door lock to the RP. The module is established for access control reservation attribute registration and uplink path establishment: Based on the enhanced IGMP join message carrying the reservation attribute identifier sent by the community access control, the access control gateway router registers the reservation attribute on the uplink interface toward the RP and generates an enhanced PIM join message carrying the reservation attribute, which is forwarded hop-by-hop to the RP. The multicast routers along the way register the reservation attribute on their respective uplink interfaces toward the RP, thus constructing an uplink multicast path from the access control to the RP. The generation module is used for generating and sending multicast home appliance reservation messages: based on the home appliance operation instructions selected by family members on the access control, the access control camera collects the facial feature vector of the member, generates a multicast home appliance reservation message containing the facial feature vector and the home appliance operation instructions, and sends it to the preset multicast group address; The forwarding module is used for the targeted forwarding of multicast appliance reservation messages: according to the reservation attributes in the message parsed by the multicast routers along the route, the message is forwarded hop by hop to the RP according to the registered uplink interface, and then the RP matches the registered downlink interface according to the face feature vector, and forwards the message hop by hop to the corresponding home gateway router along the downlink multicast path. The control module is used for door lock reception and home appliance start control: based on the face feature vector matching of the local downlink interface of the home gateway router, the message is forwarded to the corresponding door lock. The door lock parses the home appliance operation instructions in the message and starts the corresponding smart home appliance through the home internal wireless communication channel.
8. The system according to claim 7, characterized in that, The registration module is specifically used for: Door lock identity information storage: Based on the door lock ID-name-facial feature vector identity mapping table pre-stored in the local flash memory of the door lock device, family member identity association data is formed; Enhanced IGMP join message generation: Based on the IGMP join multicast message actively sent by the door lock device, the IP packet header carries the facial feature vector of family members, and the internal payload contains door lock ID, door lock IP, member name, gender and age information, and the target multicast group address is G=229.0.3.3; Home gateway feature registration: Based on the interface of the home gateway router that receives IGMP join messages, the facial feature vector is parsed and extracted, and the interface-facial feature vector correspondence is established to form a mapping table containing interface IP, door lock ID, name and facial feature vector; Enhanced PIM Join Message Generation and Forwarding: The home gateway router sends an enhanced PIM join message to the RP, carrying the door lock ID, member name, and facial feature vector in the IP packet extension field. Multicast routers along the route parse and register the facial feature vector on their receiving interfaces and establish their respective outgoing interface-facial feature vector mapping tables.
9. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method of any one of claims 1-6 when it is run.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method of any one of claims 1-6.