A door lock cooperative community mutual assistance method and system
By improving the IGMP protocol and the smart door lock collaboration method, the problem of elderly people shopping in the community unmanned supermarket system has been solved, realizing an efficient mutual assistance shopping process between the elderly and their neighbors, and improving the convenience and reliability of community mutual assistance.
Patent Information
- Application Number
- CN202511597444.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-11-04
AI Technical Summary
Existing unmanned supermarket systems in residential communities are unable to meet the shopping needs of elderly people with limited mobility. They lack efficient channels for conveying needs between neighbors and the elderly, the dynamic changes in device addresses lead to low information transmission efficiency, and there is no reliable mechanism for dividing payment responsibilities, making it impossible to ensure a smooth purchasing process.
The community mutual assistance method through smart door lock collaboration utilizes an improved IGMP protocol to achieve multicast registration and communication between door locks, generating an improved IGMP join message containing the door lock ID and facial feature vector to complete multicast registration; generating a purchase request multicast message and verifying the identity of the entrusting party; unlocking the door lock after facial recognition verification in an unmanned supermarket; and generating a payment confirmation message through the payment machine to complete the payment.
This allows elderly people with limited mobility to complete shopping without using a mobile phone, improving the convenience and reliability of community mutual assistance and ensuring a smooth shopping process and reliable payment.
Smart Images

Figure CN121052836B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of intelligent door lock, in particular to a door lock coordinated community mutual assistance method and system. BACKGROUND
[0002] The current small cell unmanned supermarket relies on mobile phone code scanning to open the door and pay, which is difficult to meet the needs of the old and lonely old people who are inconvenient to move - the old people not only lack physical strength to go independently, but also are not familiar with complex mobile phone operation and need to entrust the enthusiastic neighbors to buy. But the existing mode lacks an efficient coordination mechanism: there is no convenient demand transmission channel between the old people and the neighbors, the identity verification of entrustment and the synchronization of shopping list rely on offline communication, which is easy to cause information deviation; the door lock and the unmanned supermarket have not established a targeted communication scheme, the dynamic change of device address leads to low information transmission efficiency, and there is no reliable payment responsibility division mechanism, which is difficult to guarantee the smoothness of the purchase process and cannot meet the needs of the old people to complete the shopping with "zero complex operation". SUMMARY
[0003] The purpose of the application is to provide a door lock coordinated community mutual assistance method and system to solve the problems in the prior art and solve the shopping problems of the old people who are inconvenient to move, without the need for the old people to operate the mobile phone, and to improve the convenience and reliability of community mutual assistance.
[0004] One embodiment of the application provides a door lock coordinated community mutual assistance method, which comprises:
[0005] Mutual assistance identity registration and multicast joining: according to the service type of the old people who are inconvenient to move selected by the owner on the intelligent door lock or the enthusiastic neighbors, an improved IGMP join message containing the door lock ID and the face feature vector is generated and sent to the preset multicast address, and the multicast registration is completed;
[0006] Buy request sending and entrustment confirmation: according to the object of the old people who are inconvenient to move selected by the owner on the intelligent door lock, a buy request multicast message containing the door lock ID of the entrusting party and the entrusted party is generated; the entrusted party door lock verifies the identity of the entrusting party after receiving, and generates an entrustment confirmation message according to the user confirmation result and returns it to the entrusting party door lock; wherein the IGMP message sent by the entrusted party door lock additionally carries the door lock ID and IP of the entrusting party, and forms a mapping relationship between the face feature of the entrusted person and the door lock IP of the entrusting person on the router;
[0007] Shopping list transmission and supermarket entry verification: according to the result of successful entrustment confirmation, the entrusting party door lock sends the shopping list input by the old people to the entrusted party door lock; the entrusted party door lock sends the shopping list input by the old people to the entrusted party door lock; the entrusted party arrives at the unmanned supermarket and triggers the verification by face recognition, and the supermarket door lock sends a verification multicast message, which is matched and forwarded by the router and compared with the face feature to open the supermarket door lock;
[0008] Payment authorization and payment execution: according to the payment request triggered after the trustee completes the item selection, the payment machine generates a payment confirmation message and sends it to the lock of the principal party; After the old man confirms, the lock collects the payment two-dimensional code and sends it to the payment machine to complete the payment.
[0009] Optionally, the mutual identity registration and multicast joining comprises:
[0010] Service type selection: according to the operation of the owner on the display screen of the lock, the service type of signing up as a neighbor or an old person to be helped is selected;
[0011] Registration information reporting: according to the selected service type, the lock reports the filled identity information and its own lock ID to the community management system for registration;
[0012] Improved message generation and sending: according to the registration success result of the property management system, the lock generates an improved IGMP join message containing the lock ID and the face feature vector within the service period;
[0013] Multicast registration completion: according to the preset multicast address, the improved IGMP join message is sent, and the router stores the lock ID and the face feature vector on the corresponding out interface of the multicast forwarding table after receiving; Wherein, after the principal relationship is confirmed, the IGMP join message sent by the trustee lock additionally carries the principal lock ID and IP, which is saved by the router on the out interface connected to the trustee lock in the multicast forwarding table, forming a mapping relationship between the face features of the trustee and the principal lock IP.
[0014] Optionally, the buy request sending and trust confirmation comprises:
[0015] Buy request triggering: according to the selection of the neighbor function by the old person to be helped on the lock, the lock obtains the available neighbor list from the property management system;
[0016] Neighbor selection and request sending: according to the neighbor object selected by the old person, the lock generates a buy request multicast message containing the principal lock ID and the trustee lock ID, and sends it to the multicast address;
[0017] Identity verification and user prompt: according to the buy request received by the trustee lock, the principal lock ID is extracted and the property management system is queried to verify the identity of the old person to be helped;
[0018] Trust confirmation: according to the old person information returned by the property management system, the trustee lock prompts the user to confirm the trust, and generates a trust confirmation message containing the consent or refusal result according to the user's selection and returns it to the principal lock; Wherein, the trustee lock does not permanently store the principal lock IP, but only temporarily caches it in the business interaction link.
[0019] Optionally, the shopping list delivery and supermarket entry verification include:
[0020] Shopping list delivery: according to the result of the consent confirmation, the entrusting party door lock sends the shopping list input by the old person to the entrusted party door lock;
[0021] Supermarket face verification: according to the face verification operation of the entrustee after arriving at the supermarket, the supermarket door lock collects the face feature vector and generates a verification multicast message;
[0022] Router matching forwarding: according to the verification multicast message received by the router, the face feature vector is extracted and matched with the feature stored in the multicast forwarding table, and the message is forwarded to the entrusted party door lock;
[0023] Router listening and IP insertion: according to the result of the comparison and verification success of the entrusted party door lock, the supermarket door lock is unicast to reply the verification pass message; the router listens to the face verification pass tag in the message, extracts the face feature vector and queries the mapping relationship in the multicast forwarding table, obtains the entrusting person door lock IP and inserts it into the verification pass message;
[0024] Door lock opening: according to the result of the comparison and verification success of the entrusted party door lock, the supermarket door lock is sent to the verification pass message, and the supermarket door lock is opened after receiving.
[0025] Optionally, the payment authorization and payment execution include:
[0026] Payment request trigger: according to the operation of the entrustee selecting face payment in the payment machine, the payment machine generates a payment confirmation message and queries the entrustee record table to obtain the entrusting party door lock IP; wherein the data of the entrustee record table is derived from the verification pass message containing the entrusting person door lock IP received by the supermarket door lock;
[0027] Payment confirmation and authorization: according to the payment confirmation message sent to the entrusting party door lock, the door lock receives the shopping list and prompts the old person to confirm;
[0028] Payment execution: according to the operation of the old person confirming payment, the door lock collects the payment two-dimensional code image and sends it to the payment machine;
[0029] Payment completion: according to the successful payment processing of the payment machine, the payment success notification is sent to the door lock, and the IGMP leave message is sent by the door lock to end the process.
[0030] Another embodiment of the application provides a community mutual aid system with door lock cooperation, the system comprising:
[0031] The registration module is used for mutual identity registration and multicast joining. According to the hot neighbor selected by the owner on the intelligent door lock or the service type of the person to be helped, an improved IGMP joining message containing the door lock ID and the face feature vector is generated and sent to a preset multicast address, and the multicast registration is completed.
[0032] The sending module is used for helping to buy request sending and commission confirmation. According to the hot neighbor object selected by the person to be helped on the door lock, a helping-to-buy request multicast message containing the door lock ID of the commission party and the commissioned party is generated. After the commissioned party door lock receives it, the identity of the commission party is verified to the property management system, and a commission confirmation message is generated according to the user confirmation result and returned to the commission party door lock. Wherein, the IGMP message sent by the commissioned party door lock additionally carries the door lock ID and IP of the commission party, and forms a mapping relationship between the face feature of the commissioned person and the door lock IP of the commission party on the router.
[0033] The transmission module is used for shopping list transmission and supermarket entry verification. According to the result of successful commission confirmation, the commission party door lock sends the shopping list input by the old person to the commissioned party door lock. After the commissioned party arrives at the unmanned supermarket, the face is swiped to trigger verification, the supermarket door lock sends a verification multicast message, and after matching forwarding and face feature comparison on the router, the supermarket door lock is opened.
[0034] The authorization module is used for payment authorization and payment execution. According to the payment request triggered by the completion of the goods selection by the commissioned person, the payment machine generates a payment confirmation message and sends it to the commission party door lock. After the old person confirms, the door lock collects the payment two-dimensional code and sends it to the payment machine to complete the payment.
[0035] Still another embodiment of the present application provides a storage medium having a computer program stored therein, wherein the computer program is configured to execute the method described in any one of the above embodiments when running.
[0036] Still another embodiment of the present application provides an electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to execute the computer program to execute the method described in any one of the above embodiments.
[0037] Compared with the prior art, the community mutual assistance method coordinated with the door lock provided by the application can complete multicast registration according to the enthusiastic neighbor selected by the owner on the intelligent door lock or the service type of the old person to be helped, generate a help-buy request multicast message according to the object of the enthusiastic neighbor selected by the old person to be helped on the door lock, and verify the identity of the principal party after the door lock of the principal party receives the request, and generate a principal confirmation message to return to the door lock of the principal party according to the user confirmation result. According to the result of successful principal confirmation, the door lock of the principal party sends the shopping list input by the old person to the door lock of the principal party. After the principal party arrives at the unmanned supermarket, the face is swiped to trigger verification, and the door lock of the supermarket is opened. According to the payment request triggered after the principal party completes the selection of goods, the door lock collects a payment two-dimensional code and sends it to the payment machine to complete payment, so that the shopping problem of the old person with difficulty in movement can be solved, the old person does not need to operate the mobile phone, and the convenience and reliability of community mutual assistance are improved. BRIEF DESCRIPTION OF DRAWINGS
[0038] Figure 1 The hardware structure block diagram of the computer terminal of the door lock coordinated community mutual assistance method provided by the embodiment of the application is shown in the figure.
[0039] Figure 2 The flowchart of the door lock coordinated community mutual assistance method provided by the embodiment of the application is shown in the figure.
[0040] Figure 3 The structure diagram of the door lock coordinated community mutual assistance system provided by the embodiment of the application is shown in the figure. DETAILED DESCRIPTION
[0041] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the application, and cannot be explained as a limitation of the application.
[0042] Under the background of rapid development of AI technology, unmanned shopping has quietly emerged. Many community shops currently have unmanned supermarkets. Community members usually need to use mobile phones to complete the process of scanning the code to open the door, selecting goods, and scanning the code to pay when they go shopping in the unmanned supermarket. With the intensification of population aging, there are more and more owners in the community who are lonely old people, and the physical strength is not enough to support them to walk independently to the unmanned supermarket in the community to shop. At this time, the old people need to rely on others (such as enthusiastic neighbors) to help them go to the unmanned supermarket to shop.
[0043] The embodiment of the application first provides a door lock coordinated community mutual assistance method, which can be applied to electronic devices such as computer terminals, specifically, such as ordinary computers, etc.
[0044] The following will be described in detail taking the running on the computer terminal as an example. Figure 1 The hardware structure block diagram of the computer terminal of the door lock coordinated community mutual assistance method provided by the embodiment of the application is shown in the figure. Figure 1As shown, the computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory can include a non-volatile storage medium and an internal memory.
[0045] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions which, when executed, can cause the processor to perform any one of the community mutual assistance methods coordinated with the door lock.
[0046] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
[0047] The internal memory provides an environment for the running of the computer program in the non-volatile storage medium, which, when executed by the processor, can cause the processor to perform any one of the community mutual assistance methods coordinated with the door lock.
[0048] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that, Figure 1 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0049] It should be understood that the processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (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 can be a microprocessor or the processor can also be any conventional processor, etc.
[0050] Referring to Figure 2 The embodiments of the present application provide a community mutual assistance method coordinated with a door lock, which can include the following steps:
[0051] S201, mutual assistance identity registration and multicast joining: according to the type of the service selected by the owner on the intelligent door lock, such as the enthusiastic neighbor or the old person to be helped, an improved IGMP joining message containing the door lock ID and the face feature vector is generated, and is sent to the preset multicast address, to complete the multicast registration; specifically, the mutual assistance identity registration and multicast joining includes:
[0052] Service type selection: Based on the operation of the homeowner on the door lock display screen, they can choose to register as a "helpful neighbor" or "elderly person in need of assistance" service type;
[0053] Registration Information Reporting: Depending on the selected service type, the door lock will report the filled-in identity information and its own door lock ID to the community property management system for registration;
[0054] Improved message generation and transmission: Based on the successful registration result of the property management system, during the service period, the door lock generates an improved IGMP join message containing the door lock ID and facial feature vector;
[0055] Multicast registration complete: Based on the preset multicast address 227.11.11.1, the improved IGMP join message is sent. After receiving it, the router stores the door lock ID and facial feature vector on the corresponding outgoing interface of its multicast forwarding table. Among them, after the delegation relationship is confirmed, the IGMP join message sent by the delegated door lock additionally carries the delegating door lock ID and IP, which are stored by the router in the outgoing interface connected to the delegated door lock in the multicast forwarding table, forming a mapping relationship between the facial features of the delegated person and the IP of the delegating door lock.
[0056] S202, Sending and confirming the purchase request: Based on the helpful neighbor selected by the elderly person in need of assistance on the door lock, a purchase request multicast message containing the door lock IDs of the requesting party and the entrusted party is generated; after receiving the message, the entrusted door lock verifies the identity of the requesting party with the property management system and generates a confirmation message based on the user's confirmation result, returning it to the requesting door lock; wherein, the IGMP message sent by the entrusted door lock additionally carries the door lock ID and IP of the requesting party, forming a mapping relationship between the facial features and IP of the entrusted person on the router; specifically, the sending and confirmation of the purchase request includes:
[0057] Purchase request triggered: Based on the elderly person in need of assistance selecting the "Entrust to a helpful neighbor" function on the door lock, the door lock obtains a list of available helpful neighbors from the property management system;
[0058] Neighbor selection and request transmission: Based on the helpful neighbor selected by the elderly, the door lock generates a help request multicast message containing the door lock ID of the entrusting party and the door lock ID of the entrusted party, and sends it to the multicast address;
[0059] Identity verification and user prompts: Based on the purchase request received by the entrusted door lock, extract the entrusting door lock ID and query the property management system to verify the identity of the elderly person in need of assistance;
[0060] Delegation relationship confirmation: according to the old information returned by the property management system, the delegated party door lock prompts the user to confirm the delegation, and generates a delegation confirmation message containing the consent or refusal result according to the user selection and returns it to the trustee party door lock; wherein the delegated party door lock does not permanently store the trustee party door lock IP, and only temporarily caches it in the business interaction link.
[0061] S203, shopping list delivery and supermarket entry verification: according to the result of successful delegation confirmation, the trustee party door lock sends the shopping list input by the old person to the delegated party door lock; the delegated party arrives at the unmanned supermarket and triggers the verification by face recognition, and the supermarket door lock sends a verification multicast message, which is forwarded after matching by the router and compared with the face features to open the supermarket door lock; specifically, the shopping list delivery and supermarket entry verification comprises:
[0062] Shopping list delivery: according to the result of consent of the delegation confirmation, the trustee party door lock sends the shopping list input by the old person to the delegated party door lock;
[0063] Supermarket face recognition verification: according to the face recognition operation of the delegated person after arriving at the unmanned supermarket, the supermarket door lock collects the face feature vector and generates a verification multicast message for sending;
[0064] Router matching and forwarding: according to the verification multicast message received by the router, the face feature vector is extracted and matched with the feature stored in the multicast forwarding table, and the message is forwarded to the delegated party door lock;
[0065] Router listening and IP insertion: according to the result of successful comparison and verification by the delegated party door lock, a verification passed message is unicast replied to the supermarket door lock; the router listens to the face verification passed tag in the message, extracts the face feature vector and queries the mapping relationship in the multicast forwarding table, obtains the trustee party door lock IP and inserts it into the verification passed message;
[0066] Door lock opening: according to the result of successful comparison and verification by the delegated party door lock, a verification passed message is sent to the supermarket door lock, and the supermarket door lock is opened after receiving it.
[0067] S204, payment authorization and payment execution: according to the payment request triggered by the delegated person after completing the selection of goods, the payment machine generates a payment confirmation message and sends it to the trustee party door lock; after the old person confirms, the door lock collects the payment two-dimensional code and sends it to the payment machine to complete the payment. Specifically, the payment authorization and payment execution comprises:
[0068] Payment request triggering: according to the operation of the delegated person selecting face recognition payment at the payment machine, the payment machine generates a payment confirmation message and queries the delegated person record table to obtain the trustee party door lock IP; wherein the data of the delegated person record table is derived from the verification passed message containing the trustee party door lock IP received by the supermarket door lock;
[0069] Payment confirmation and authorization: according to the payment confirmation message sent to the client side door lock, the door lock receives and displays the shopping list and prompts the old people to confirm;
[0070] Payment execution: according to the operation of the old people's confirmation payment, the door lock collects the payment two-dimensional code image and sends it to the payment machine;
[0071] Payment completion: according to the payment machine successfully completing the payment processing, send a payment success notification to the door lock, and the door lock sends an IGMP leave message to end the process.
[0072] In practical application, the application provides a method and system for a lonely old person to entrust a hot neighbor to help through a smart door lock at home, and the neighbor door lock and the unmanned supermarket door lock and shopping system communicate through multicast protocol. The neighbor completes the selection and purchase of the items required by the old people in the supermarket, and the old people complete the payment at the door lock at home. A specific implementation scheme is provided:
[0073] I. Precondition
[0074] The smart door lock is installed in the home of the community owner, has a camera that can extract the face feature vector of the owner and his family, and can communicate with each other between the door locks of the community owners, between the door locks of the community owners and the door locks of the unmanned supermarket (the unmanned stores such as the unmanned supermarket, the unmanned gym, the unmanned book bar are uniformly decorated according to the key infrastructure of the community property management), and the door locks of the owners have electronic display screens that can input collaborative information (such as shopping list, shopping amount, etc.). The property management system of the community pre-stores the 3D map of the community, records the position information of each unit building and each room, and the room number corresponding to the door lock ID. The payment machine of the unmanned supermarket supports face payment, and the shopping system of the unmanned supermarket has an AI engine to assist the daily management of the unmanned supermarket and can interpret the data transmitted by the door lock of the owner. The steps of the scheme include:
[0075] 1: The lonely old people have shopping needs, but they are not able to move, and they entrust the hot neighbors to go to the unmanned supermarket for shopping.
[0076] (1) Since there are many lonely old people in the community, they are old and cannot move, and many old people can only operate the mobile phone simply, and it is difficult for them to master the more complex online shopping operation. When the old people need to purchase goods and cannot move independently, they need the assistance of the surrounding hot neighbors. First of all, the community's homeowners committee initiates the collection of hot neighbors and lonely old people, and people who have more time and willingness to help the old people are pre-registered. When the lonely old people encounter difficulties in life, such as the need for people to help them shop, they can entrust the "hot neighbors" to help them.
[0077] (2) Neighbor in the home lock display screen, select the old service - neighborhood mutual aid function - sign up to become "good neighbor", fill in the name, gender, age, address (house number), can be mutual time period, and record the face. The lock will fill in the content and its own door lock ID together with the community management system, property management system records the information of "good neighbor". Fill in the available time period, the door lock will automatically send the destination address for 227.11.11.1 (the door lock of the trustee, the door lock of the trustee, the door lock of the supermarket, the shopping system of the supermarket, the door lock of the canteen, the shopping system of the canteen and other unmanned shop door lock and shopping system between the agreed unified multicast address for shopping and other consumption communication), IGMP join message, mutual aid communication. The IGMP message sent by the door lock is improved here, and the door lock ID and face feature vector need to be carried additionally. At the same time, in order to realize the forwarding of multicast message between routers, the PIM join message is also improved: on the basis of the original PIM join message structure, the door lock ID and face feature vector are added. Note: the purpose of joining the multicast group is that the door lock address is multiple and not fixed, and the owner door lock cannot prestore the address of the other party and update it in time after the address changes, so the agreed multicast group address is used for temporary communication.
[0078] (3) The old man fills in the name, gender, age, address (house number) on the display screen of the door lock in his own home, selects the old service - neighborhood mutual aid function - signs up as "old man to be helped", and selects the old service - neighborhood mutual aid function - signs up as "old man to be helped". The lock will fill in the content and its own door lock ID and report to the community management system, and the property management system records the information of "old man to be helped".
[0079] (4) When the old man wants to go shopping, he first thinks of a batch of "good neighbors" in the community who can help him go to the unmanned supermarket. The old man opens the door lock display screen, selects the old service - neighborhood mutual aid function - selects the shopping service - selects the good neighbor, and the door lock will remotely communicate with the property management system to display the registered good neighbor (and the current time meets the mutual aid time period) information on the display screen, and refer to the house number of the old man, sort by distance from the old man from near to far, or according to the history of helping the old man, the number of times can be set according to the business needs. The old man selects one of the good neighbors, and the property management system returns the door lock ID (door lock B) of the good neighbor to the door lock (door lock A) of the old man's home, and the door lock A sends the "buy request" multicast message (the message content includes the IP of the trustee - the IP of the door lock A, the door lock ID of the trustee - the ID of the door lock A, the door lock ID of the trustee - the ID of the door lock B, and the buy request tag is 1) with the destination address of 227.11.11.1. The router queries the multicast forwarding table to find the out interface carrying the door lock B ID, and sends out the "buy request", waits for the response of the door lock B.
[0080] (5) Door lock B receives the "help request" of door lock A, extracts the ID of the client door lock (door lock A ID) in the message, and applies to the property management system for inquiry whether it is a "to-be-assisted person" with the ID. The property management system finds the ID record of door lock A after inquiring the "to-be-assisted person" registration table, and inquires the corresponding old person's name, age and address (house number) through the ID of door lock A, and returns these data to door lock B.
[0081] (6) Door lock B displays the old person's information on the display screen: name, age, address (house number), and the content of the request is to go shopping in the supermarket. And voice broadcast to the owner of door lock B, prompting whether to accept the help request: "Respected owner, you have received a shopping request from Mr. Wang XX in room 602, building 8. Please handle it as soon as possible. If you agree, please select "Agree to request". If you cannot complete the request, please select "Reject request". After the owner of door lock B checks the old person's information, if he selects "Agree to request", door lock B unicasts the "request confirmation" message to door lock A, which carries the IP of the client (the IP of door lock B), the ID of the client door lock (the ID of door lock B), and the request confirmation tag is set to 1 (1 means agree, 0 means disagree). If the owner selects "Reject request", door lock B sends the "request confirmation" message to door lock A, which carries the IP of the client (the IP of door lock B), the ID of the client door lock (the ID of door lock B), and the request confirmation tag is set to 0 (1 means agree, 0 means disagree).
[0082] (7) When door lock A receives the "request confirmation" message sent by door lock B, it extracts the IP of the client (the IP of door lock B), the ID of the client door lock (the ID of door lock B), and the request confirmation tag is set to 1 (1 means agree, 0 means disagree), and displays it on the display screen while voice broadcasting: "Your request for shopping in the supermarket has been successfully entrusted to XX Ms." If the received request confirmation message is a rejection of the request, door lock A will display "this request is rejected" and a confirmation button, and voice broadcast "this request cannot be completed, please select other "heart neighbor" to make a request." The old person clicks the confirmation on the door lock display screen and selects "heart neighbor" again. If the received request confirmation message is an agreement to the request, door lock A enters the "request shopping state" (acquire request identity) at this time, and the display screen of door lock A displays the supermarket shopping interface. The old person can select or fill in the required purchase item name (such as soy sauce, if the option is not found, it can be filled in manually), item brand (such as a, if the option is not found, it can be filled in manually, and if there is no requirement for the brand, select "any brand"), item quantity and shopping amount upper limit on the display screen according to the program format requirements, and select the confirmation button.
[0083] (8) The background of door lock A is in "delegation shopping state" at this time, in this state, door lock A sends the shopping list (item name, item brand, purchase quantity, purchase amount upper limit) input by the old man to the door lock (door lock B) where the delegatee is located. After receiving the shopping list of door lock A, door lock B sets the background state to "delegated shopping state" (obtains the delegated identity), and displays the shopping list on the display screen or the door lock APP of the mobile phone. After the delegatee clicks the "confirm shopping list" button, the delegatee goes to the unmanned supermarket to shop according to the shopping list. At this time, the confirmation of the delegation relationship between door lock A and door lock B is completed through four handshakes of "buying request" sent by door lock A, "delegation confirmation" replied by door lock B, "shopping list" sent by door lock A, and "confirm shopping list" replied by door lock B.
[0084] (9) After the confirmation of the delegation relationship, the IGMP join message sent by door lock B to the destination address 227.11.11.1 will additionally carry the delegatee door lock ID (door lock A ID) and the delegatee door lock IP (door lock A IP). At the same time, in order to realize the forwarding of multicast messages between routers, the PIM join message also needs to additionally carry the delegatee's face feature vector and the delegatee door lock ID (door lock B ID) on the basis of the delegatee door lock ID (door lock A ID) and the delegatee door lock IP (door lock A IP).
[0085] 2: The delegatee arrives at the unmanned supermarket, and completes the selection and purchase of goods after face verification
[0086] (1) After the delegatee arrives at the unmanned supermarket, the delegatee performs face verification at the supermarket door lock. The supermarket door lock collects the face feature vector of the delegatee through the camera, and sends the "shopping face verification" multicast message to the destination address 227.11.11.1. The message carries the face feature vector of the neighbor.
[0087] (2) The router queries the multicast forwarding table with the group address 227.11.11.1, finds the member out interface, and compares whether the face feature vector data stored on the out interface is consistent. If it is matched, the router transmits the multicast message out of the interface, and door lock B can receive the "shopping face verification" multicast message. By comparing the locally stored face feature vector, it is found that it is the delegatee, and the face verification is matched. At this time, the background of door lock B is in "delegated shopping" state, and door lock B unicasts the "face verification passed" message to the unmanned supermarket door lock. The message content includes the delegatee door lock IP (the source IP of door lock B), the delegatee door lock ID (the ID of door lock B), the face feature vector of the delegatee, and the face verification passed tag is 1.
[0088] (3) In order to save the storage space of the door lock, the door lock B does not store the IP address of the door lock A, and only retains it temporarily in the business interaction link. After the entrustment relationship is confirmed, the door lock B sends the IGMP join message, which carries the IP address of the door lock A, and is saved by the router on the out interface connected to the door lock B in the multicast forwarding table with the group address of 227.11.11.1, forming the mapping relationship between the face features of the entrustee and the IP of the entrustor door lock. When the entrustee arrives in front of the door lock of the unmanned supermarket and scans the face, it has been a long time since the door lock B sent the IGMP message, and the door lock B does not have the source IP of the door lock A. Therefore, when the door lock B unicasts the "face verification passed" message to the unmanned supermarket door lock, the router listens to this message (the message contains the face verification passed tag and is set to 1), extracts the face feature vector in the message, and queries the mapping relationship in the multicast forwarding table to obtain the IP of the entrustor door lock (the IP of the door lock A), and then adds the IP of the door lock A to the message. The result is that the door lock B unicasts the "face verification passed" message to the unmanned supermarket door lock, which contains the IP of the entrustor door lock (the source IP of the door lock B), the ID of the entrustor door lock (the ID of the door lock B), the face feature vector of the entrustor, the face verification passed tag set to 1, and the IP of the entrustor door lock (the IP address of the door lock A).
[0089] (4) After receiving the "face verification passed" message returned by the door lock B, the unmanned supermarket door lock finds that the message contains the IP of the entrustor door lock and the IP of the entrustor door lock. At this time, the unmanned supermarket door lock temporarily stores the face feature vector of the entrustor, the ID of the entrustor door lock (the ID of the door lock B), the ID of the entrustor door lock (the ID of the door lock A), the IP of the entrustor door lock (the IP address of the door lock A), and sets its "entrusted state tag" to 1 (indicating that this person is the entrustor, and the entrustor is another person), and then opens the door lock, so that the entrustor enters the supermarket to shop. After the "entrusted state tag" of the entrustor is set to 1, the unmanned supermarket door lock needs to synchronize this situation to the supermarket shopping system, and inform the supermarket shopping system of the IP address of the entrustor door lock. Therefore, the unmanned supermarket door lock sends a "discovered entrustor" message to the supermarket shopping system, which carries the face feature vector of the entrustor, the ID of the entrustor door lock (the ID of the door lock B), the ID of the entrustor door lock (the ID of the door lock A), and the IP of the entrustor door lock (the IP address of the door lock A). The shopping system stores this message as an "entrusted person record table".
[0090] 3: After the entrustor completes shopping, scan the face at the payment machine
[0091] (1) The consignee completes the item selection according to the requirements of the consignor in the unmanned supermarket, comes to the payment machine and prepares to pay. The payment machine first scans the code of the selected items, records the item name, item brand, item quantity and calculates the total amount. Next, the payment link, the consignee selects face payment on the payment machine screen and completes face recognition. After the payment machine extracts the face feature vector of the consignee, it queries the "consignee record table" and finds a matching record, queries the IP address of the consignor door lock (the IP address of door lock A) of this record, sends a "payment confirmation" message with the destination address as the IP address of door lock A, and the message carries the item name, item brand, item quantity and total amount.
[0092] (2) After door lock A receives the message, it places the shopping content (item name, item brand, item quantity, total amount) carried by the message on the door lock display screen and voice broadcasts "Dear owner, you have a shopping list from X supermarket that needs to be confirmed. Please check the list content as soon as possible. If you confirm, please click the agree button. If the list content does not meet the requirements, please click the reject button and feedback the rejection opinion." The old man's door lock APP also pops up a dialog message with the same content, reminding the owner to handle the payment process immediately.
[0093] (3) The old man checks the shopping list and finds that the shopping content is correct, and clicks the agree button. The door lock A display screen or the door lock APP continues to pop up a prompt: "Please show the WeChat or Alipay payment QR code and click the payment button. The system will help you take a photo and transfer it to the payment machine of X supermarket to complete the payment." After the old man shows the payment QR code and clicks the payment button, the door lock camera or the mobile phone camera (when using the mobile phone APP) automatically takes a photo of the payment QR code and unicast transmits it to the unmanned supermarket payment machine (it should be noted that the "payment confirmation" message sent by the payment machine before and the payment QR code photo message transmitted by the door lock both need to carry the same payment number. This number is not displayed on the door lock display screen or mobile phone, and is used to ensure the consistency of the payment steps.) After receiving the payment QR code, the payment machine automatically scans the code to complete the payment and unicast replies "payment completed" message to door lock A: this payment has been completed, the total payment amount is XX yuan, and we wish you a happy shopping.
[0094] (4) Compared with part 3, the old man checks the shopping list and finds that the shopping content does not meet the requirements, such as the brand of the goods. When the old man chooses any brand when buying, but when checking the shopping list, the old man feels that the brand in the list is not suitable, and another one should be chosen, and the shopping content needs to be adjusted. At this time, the old man clicks the reject button and feeds back the rejection opinion on the door lock display screen or the mobile phone APP as: 2 bottles of b brand soy sauce need to be purchased. The door lock A feeds back the rejection opinion to the payment machine of the unmanned supermarket by unicast. After receiving the rejection opinion of the door lock A, the payment machine of the unmanned supermarket compares the currently selected goods by the AI engine, optimizes the opinion content, and broadcasts the voice: "Dear customer, you bought 2 bottles of a soy sauce, which needs to be replaced with 2 bottles of b soy sauce. Please put the 2 bottles of a soy sauce you bought back to the 2nd position of the 3rd cabinet, and go to the 3rd position of the 3rd cabinet to select b soy sauce". The principal according to the voice prompt adjusts the shopping content, completes the shopping requirement, and re-scans the face to pay. After the process is completed, the principal door lock B sends the IGMP leave message to leave the 227.11.11.1 multicast group.
[0095] Beneficial effects: In the scheme, the old man to be helped can realize the whole process from personal information registration to initiating a help-to-buy request, obtaining immediate help from loving neighbors, delivering shopping needs, and finally completing shopping and payment through one-stop service. The improved multicast cooperative communication mechanism is used for cooperative communication between door locks. The door lock serves as a communication medium and core working node to complete the mutual assistance communication and help-to-buy whole process between the principal (old man to be helped) and the principal (loving neighbor), and provides a shopping service for the old man to be helped without complex mobile phone operation.
[0096] Protection points: 1. The registered loving neighbor arrives at the service time, the door lock joins the multicast group by the improved IGMP join message, and the old man to be helped door lock proposes and communicates the help-to-buy demand with the loving neighbor through the agreed multicast group. 2. The old man to be helped door lock sends "help-to-buy request" - the loving neighbor door lock replies "principal confirmation" - the old man to be helped door lock obtains the principal identity and sends "shopping list" - the loving neighbor door lock replies "confirm the shopping list" and obtains the principal identity, and the four handshake mechanisms are completed to confirm the principal relationship. 3. The router listens to the "face verification passed" message with tag set to 1, matches the "face features-principal door lock IP" mapping relationship of the relevant out-interface stored in the multicast forwarding table with the group address of 227.11.11.1, inserts the principal door lock IP corresponding to the face features in the message, and solves the addressing problem caused by the fact that the principal door lock IP is not stored in the principal door lock.
[0097] It can be seen that according to the type of the hot neighbor or the old person to be helped selected by the owner on the intelligent door lock, multicast registration is completed; according to the object of the hot neighbor selected by the old person to be helped on the door lock, a help-buy request multicast message is generated; after being received by the commissioned door lock, the identity of the commissioning party is verified to the property management system, and a commissioning confirmation message is generated according to the user confirmation result and returned to the commissioned door lock; according to the result of successful commissioning confirmation, the shopping list input by the old person is sent to the commissioned door lock by the commissioning door lock; after the commissioned party arrives at the unmanned supermarket, face recognition is triggered to verify and open the supermarket door lock; according to the payment request triggered after the commissioned party completes the selection of goods, the door lock collects a payment two-dimensional code and sends it to the payment machine to complete payment, so that the shopping problem of the old person with difficulty in movement can be solved, and the old person does not need to operate the mobile phone, and the convenience and reliability of community mutual assistance are improved.
[0098] Another embodiment of the application provides a door lock cooperative community mutual assistance system, referring to Figure 3 , the system can include:
[0099] The registration module 301 is used for mutual assistance identity registration and multicast joining: according to the type of the hot neighbor or the old person to be helped selected by the owner on the intelligent door lock, an improved IGMP joining message containing the door lock ID and the face feature vector is generated and sent to the preset multicast address, and multicast registration is completed;
[0100] The sending module 302 is used for help-buy request sending and commissioning confirmation: according to the object of the hot neighbor selected by the old person to be helped on the door lock, a help-buy request multicast message containing the door lock ID of the commissioning party and the commissioned party is generated; after being received by the commissioned door lock, the identity of the commissioning party is verified to the property management system, and a commissioning confirmation message is generated according to the user confirmation result and returned to the commissioned door lock; wherein the IGMP message sent by the commissioned door lock additionally carries the door lock ID and IP of the commissioning party, and a mapping relationship between the face feature of the commissioned party and the IP is formed on the router;
[0101] The transmission module 303 is used for shopping list transmission and supermarket entry verification: according to the result of successful commissioning confirmation, the shopping list input by the old person is sent to the commissioned door lock by the commissioning door lock; after the commissioned party arrives at the unmanned supermarket, face recognition is triggered to verify, the supermarket door lock sends a verification multicast message, and after matching forwarding and face feature comparison by the router, the supermarket door lock is opened;
[0102] The authorization module 304 is used for payment authorization and payment execution: according to the payment request triggered after the commissioned party completes the selection of goods, the payment machine generates a payment confirmation message and sends it to the commissioning door lock; after the old person confirms, the door lock collects a payment two-dimensional code and sends it to the payment machine to complete payment.
[0103] The embodiment of the present application further provides a storage medium, wherein the storage medium stores a computer program, and the computer program is arranged to execute the steps in any of the method embodiments when running.
[0104] The embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is arranged to execute the computer program to execute the steps in any of the method embodiments.
[0105] Specifically, the electronic device can further comprise a transmission device and an input / output device, wherein the transmission device is connected with the processor, and the input / output device is connected with the processor.
[0106] The above embodiment shown in the drawings illustrates the structure, features and effects of the present application. The above description is only the preferred embodiment of the present application, but the present application is not limited by the drawings. Any change or modification within the concept of the present application, or equivalent embodiment within the scope of the description and drawings, should be within the protection scope of the present application.
Claims
1. A door lock cooperative community assistance method, characterized by, The method comprises: Mutual assistance identity registration and multicast joining: according to the service type of the hot neighbor selected by the owner on the intelligent door lock or the old person to be helped, an improved IGMP joining message containing the door lock ID and the face feature vector is generated and sent to the preset multicast address, and the multicast registration is completed; Helping to buy request sending and commission confirmation: according to the hot neighbor object selected by the old person to be helped on the door lock, a helping to buy request multicast message containing the door lock ID of the commissioning party and the commissioned party is generated; the commissioned party door lock verifies the identity of the commissioning party after receiving the message and returns a commission confirmation message to the commissioned party door lock according to the user confirmation result; wherein the IGMP message sent by the commissioned party door lock additionally carries the door lock ID and IP of the commissioning party, and a mapping relationship between the face feature of the commissioned person and the door lock IP of the commissioning person is formed on the router; Shopping list transmission and supermarket access verification: according to the result of successful commission confirmation, the door lock of the commissioning party sends the shopping list input by the old person to the door lock of the commissioned party; the commissioned party triggers the verification after swiping the face to access the unmanned supermarket, and the supermarket door lock sends a verification multicast message, which is forwarded and compared with the face feature after matching on the router, to open the supermarket door lock; Payment authorization and payment execution: according to the payment request triggered by the commissioned person after completing the selection of goods, the payment machine generates a payment confirmation message and sends it to the door lock of the commissioning party; after the old person confirms, the door lock collects the payment two-dimensional code and sends it to the payment machine to complete the payment.
2. The method of claim 1, wherein, The mutual assistance identity registration and multicast joining comprises: Service type selection: according to the operation of the owner on the door lock display screen, the service type of signing up to become a hot neighbor or an old person to be helped is selected; Registration information reporting: according to the selected service type, the door lock reports the filled identity information and its own door lock ID to the community property management system for registration; Improved message generation and sending: according to the result of successful registration by the property management system, the door lock generates an improved IGMP joining message containing the door lock ID and the face feature vector within the service period; Multicast registration completion: according to the preset multicast address, the improved IGMP joining message is sent, and the router stores the door lock ID and the face feature vector on the corresponding out-interface of the multicast forwarding table after receiving the message; wherein after the commission relationship is confirmed, the IGMP joining message sent by the commissioned party door lock additionally carries the door lock ID and IP of the commissioning party, which is saved by the router on the out-interface connected to the commissioned party door lock in the multicast forwarding table, forming a mapping relationship between the face feature of the commissioned person and the door lock IP of the commissioning person.
3. The method of claim 2, wherein, The helping to buy request sending and commission confirmation comprises: Helping to buy request triggering: according to the selection of the commissioning hot neighbor function by the old person to be helped on the door lock, the door lock obtains the available hot neighbor list from the property management system; Neighbor selection and request sending: according to the hot neighbor object selected by the old person, the door lock generates a helping to buy request multicast message containing the door lock ID of the commissioning party and the door lock ID of the commissioned party, and sends it to the multicast address; Identity verification and user prompt: according to the helping to buy request received by the commissioned party door lock, the door lock ID of the commissioning party is extracted and the identity of the old person to be helped is verified by querying the property management system; The trust relationship is confirmed: according to the old information returned by the property management system, the trusted party door lock prompts the user to confirm the trust, and generates a trust confirmation message containing the consent or refusal result according to the user selection and returns it to the trusted party door lock; wherein the trusted party door lock does not permanently store the trusted party door lock IP, and only temporarily caches it in the business interaction link.
4. The method of claim 3, wherein, The shopping list delivery and supermarket access verification include: Shopping list delivery: according to the result of the trust confirmation consent, the trusted party door lock sends the shopping list input by the old person to the trusted party door lock; Supermarket face verification: according to the face verification operation of the trusted person after reaching the unmanned supermarket, the supermarket door lock collects the face feature vector and generates a verification multicast message for sending; Router matching forwarding: according to the verification multicast message received by the router, the face feature vector is extracted and matched with the feature stored in the multicast forwarding table, and the message is forwarded to the trusted party door lock; Router listening and IP insertion: according to the result of the trusted party door lock comparison and verification success, the supermarket door lock is unicast to reply the verification pass message; the router listens to the face verification pass tag in the message, extracts the face feature vector and queries the mapping relationship in the multicast forwarding table, obtains the trusted person door lock IP and inserts it into the verification pass message; Door lock opening: according to the result of the trusted party door lock comparison and verification success, the supermarket door lock is sent a verification pass message, which is received and opened by the supermarket door lock.
5. The method of claim 4, wherein, The payment authorization and payment execution include: Payment request trigger: according to the operation of the trusted person selecting face payment in the payment machine, the payment machine generates a payment confirmation message and queries the trusted person record table to obtain the trusted party door lock IP; wherein the data of the trusted person record table is derived from the verification pass message containing the trusted person door lock IP received by the supermarket door lock; Payment confirmation and authorization: according to the payment confirmation message sent to the trusted party door lock, the door lock receives and displays the shopping list and prompts the old person to confirm; Payment execution: according to the operation of the old person confirming payment, the door lock collects the payment two-dimensional code image and sends it to the payment machine; Payment completion: according to the successful payment processing of the payment machine, a payment success notification is sent to the door lock, and the IGMP leave message is sent by both door locks to end the process.
6. A community assistance system in cooperation with a door lock, characterized by The system includes: Registration module for mutual assistance identity registration and multicast joining: according to the service type of the neighbor or the old person to be helped selected by the owner on the intelligent door lock, an improved IGMP join message containing the door lock ID and the face feature vector is generated and sent to the preset multicast address, and the multicast registration is completed; Sending module for buying request sending and trust confirmation: according to the neighbor object selected by the old person to be helped on the door lock, a buying request multicast message containing the trusted party and trusted party door lock ID is generated; the trusted party door lock receives and verifies the trusted party identity to the property management system, and generates a trust confirmation message according to the user confirmation result and returns it to the trusted party door lock; wherein the IGMP message sent by the trusted party door lock additionally carries the trusted party door lock ID and IP, and forms a mapping relationship between the face feature of the trusted person and the trusted person door lock IP on the router; The delivery module is used for shopping list delivery and supermarket access verification: according to the result of the confirmation of the entrustment, the entrusting party's door lock sends the shopping list input by the old person to the entrusted party's door lock; the entrusted party arrives at the unmanned supermarket and triggers the verification by face recognition, the supermarket door lock sends a verification multicast message, and after matching and forwarding by the router and face feature comparison, the supermarket door lock is opened; The authorization module is used for payment authorization and payment execution: according to the payment request triggered after the entrusted person completes the selection of goods, the payment machine generates a payment confirmation message and sends it to the entrusting party's door lock; after the old person confirms, the door lock collects the payment two-dimensional code and sends it to the payment machine to complete the payment.
7. The system of claim 6, wherein, The registration module is specifically used for: service type selection: according to the operation of the owner on the door lock display screen, the service type of becoming a neighbor or an old person to be helped is selected; registration information reporting: according to the selected service type, the door lock reports the filled identity information and the door lock ID to the community management system for registration; Improved message generation and sending: according to the result of successful registration in the management system, the door lock generates an improved IGMP join message containing the door lock ID and the face feature vector within the service period; Multicast registration is completed: according to the preset multicast address, the improved IGMP join message is sent, and the router stores the door lock ID and the face feature vector on the corresponding out-interface of the multicast forwarding table after receiving; wherein, after the entrustment relationship is confirmed, the IGMP join message sent by the entrusted party's door lock additionally carries the entrusting party's door lock ID and IP, which is saved by the router on the out-interface connected to the entrusted party's door lock in the multicast forwarding table, forming a mapping relationship between the face features of the entrusted person and the door lock IP of the entrusting person.
8. The system of claim 7, wherein, The sending module is specifically used for: Buy request trigger: according to the selection of the old person to be helped on the door lock, the door lock obtains a list of available neighbors from the property management system; neighbor selection and request sending: according to the neighbor selected by the old person, the door lock generates a buy request multicast message containing the entrusting party's door lock ID and the entrusted party's door lock ID, and sends it to the multicast address; Identity verification and user prompt: according to the buy request received by the entrusted party's door lock, the entrusting party's door lock ID is extracted and the property management system is queried to verify the identity of the old person to be helped; Entrustment relationship confirmation: according to the old person information returned by the property management system, the entrusted party's door lock prompts the user to confirm the entrustment, and generates an entrustment confirmation message containing the agreement or refusal result according to the user's selection and returns it to the entrusting party's door lock; wherein, the entrusted party's door lock does not permanently store the entrusting party's door lock IP, but only temporarily caches it in the business interaction link.
9. A storage medium, characterized by The storage medium stores a computer program, wherein the computer program is configured to execute the method of any one of claims 1-5 when running.
10. An electronic device comprising a memory and a processor, 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-5 when running.
Citation Information
Patent Citations
Home-based care home emergency rescue linkage system and implementation method
CN114999036A
Information issuing method and system based on intelligent door lock
CN120071481A