Method and system for coordinating a door lock with multiple assistants
By using a door lock and multiple assistants to collaborate, multicast communication is used to establish a delegation relationship and aggregate shopping lists, solving the problem of fragmented shopping processes between multiple clients and one assistant, achieving full-process automation, and improving shopping efficiency and convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the shopping process between multiple clients and one assistant lacks automated collaboration, resulting in fragmented processes for order creation, list synchronization, and payment, leading to a poor user experience and low capital turnover efficiency.
By using a door lock and multiple collaborators to collaborate, a delegation relationship is established through multicast communication, shopping lists are aggregated, and distributed payments are implemented. This includes steps such as establishing delegation relationships, multicast registration and list synchronization, list requests and aggregation forwarding, collaborative shopping, and distributed payments.
It has achieved full automation of the process from entrustment to distributed payment, improving the efficiency and convenience of multi-person collaborative shopping.
Smart Images

Figure CN121052837B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of intelligent door locks, and particularly relates to a method and system for cooperation between a door lock and multiple assistants. BACKGROUND
[0002] In current social life, temporary and small-range scenarios of buying goods for others, such as neighborly assistance and colleagues buying goods for each other, are increasingly common. Existing technical solutions are mostly focused on one-to-one commission relationships, that is, a commissioner sends a shopping list to an assistant through a mobile application. This mode has obvious limitations when one assistant needs to serve multiple commissioners at the same time, such as a community group purchase team leader purchasing goods for multiple neighbors. The assistant needs to manually aggregate and organize scattered lists from different commissioners, which is tedious and prone to errors. The payment link usually requires the assistant to pay in advance and then collect money from each commissioner one by one, which is low in fund turnover efficiency and inconvenient for account management. In addition, there is a lack of a systematic solution for automatically associating door locks, identity authentication and shopping lists and efficiently cooperating, which leads to the fragmentation of commission establishment, list synchronization and payment completion, poor operation experience, and difficulty in meeting the efficient, convenient and automated cooperation shopping needs between multiple commissioners and one assistant. SUMMARY
[0003] The purpose of the present application is to provide a method and system for cooperation between a door lock and multiple assistants to solve the problems in the prior art and realize full-process automation from commission establishment, automatic aggregation of lists to distributed payment, thereby improving the efficiency and convenience of multi-person cooperative shopping.
[0004] One embodiment of the present application provides a method for cooperation between a door lock and multiple assistants, which comprises the following steps:
[0005] Commission relationship establishment: according to the operation of selecting an assistant and inputting shopping requirements on the door lock of each commissioner, a commission request message is generated and sent to the door lock of the selected assistant through multicast communication to establish a commission relationship between the commissioner and the assistant;
[0006] Multicast registration and list synchronization: according to the established commission relationship, the commissioner's door lock sends an improved multicast join message to a preset multicast address, carrying the assistant's biological characteristics, service type and shopping list information, to complete multicast registration;
[0007] List request and aggregation forwarding: according to an event triggered by the assistant's face recognition in a unmanned store, the store door lock sends a list request message, and the router performs hierarchical aggregation on the shopping lists of multiple commissioners according to the biological characteristic matching result, generates an aggregated shopping list PIM message and forwards it to the store system;
[0008] Co-shopping and distributed payment: according to the aggregated shopping list provided by the store system, the assistant completes the commodity selection and purchase, triggers the distributed payment process, and confirms and completes the payment by each principal.
[0009] Optionally, the principal relationship establishment comprises:
[0010] Assistant registration: according to the registration operation of the potential assistant on the door lock of his own home, upload his biological characteristics and serviceable time period information to the property management system, and complete the qualification registration of the assistant;
[0011] Principal selection: according to the operation of the principal selecting assistance service on the door lock interface, obtain the list of available assistants from the property management system, and support intelligent recommendation according to distance or historical service record;
[0012] Sending of a request for entrustment: according to the operation of the principal selecting a specific assistant, generate a request for entrustment containing the principal identifier, the assistant identifier and the business type, and send it to the target assistant door lock through multicast communication;
[0013] Confirmation of the principal relationship: according to the confirmation operation of the assistant door lock after receiving the request for entrustment, establish a principal relationship state table, and record the information of the principal, the assistant, the business type and the confirmation state.
[0014] Optionally, the multicast registration and list synchronization comprises:
[0015] Shopping list input: according to the specific shopping demand input by the principal on the door lock interface, generate a shopping list containing the commodity name, brand, quantity and upper limit of the amount;
[0016] Multicast message encapsulation: according to the assistant information in the principal relationship state table and the shopping list, encapsulate the improved multicast join message, which carries the assistant biological characteristics, the business type, the shopping list and the waiting request identifier;
[0017] Multicast registration execution: according to the preset multicast address, send the multicast join message to the network, and after the router receives it, store the assistant biological characteristics and the shopping list information in the corresponding out-interface of the multicast forwarding table, and temporarily suspend the PIM message;
[0018] State synchronization update: according to the completion event of the multicast registration, update the principal relationship state of the door lock of the principal, and mark it as the waiting list synchronization state.
[0019] Optionally, the list request and aggregation forwarding comprises:
[0020] Store face recognition trigger: according to the face recognition operation of the assistant on the door lock of the unmanned store, the store system collects the biological characteristics of the assistant and verifies its qualification;
[0021] List request sending: according to the assistance qualification verification pass event, the store door lock generates a multicast message containing the assistance biometric feature, the business type and the list request identification and sends it;
[0022] Router aggregation processing: according to the list request message received by the router, the following processing is performed: biometric feature matching: find the out interface with the same biometric feature in the multicast forwarding table, and the out interface is in the waiting list synchronization state; list content aggregation: aggregate the shopping lists of the matching interfaces according to the assistance biometric feature; hierarchical message generation: generate an aggregated shopping list PIM message containing the shopping lists of multiple principals;
[0023] Store list receiving: according to the result of receiving the aggregated shopping list PIM message by the store system, update the store delegation state table, and allocate a special shopping terminal for the assistance.
[0024] Optionally, the collaborative shopping and distributed payment includes:
[0025] Good selection and purchase execution: according to the aggregated shopping list provided by the store system, the assistance completes the good selection and purchase under the guidance of the special shopping terminal;
[0026] Distributed payment triggering: according to the operation of the assistance completing the selection and purchase, the store system generates a payment confirmation message according to the principal dimension, and sends it to each principal door lock through multicast;
[0027] Principal payment confirmation: according to the result of the principal door lock receiving the payment confirmation message, display the shopping details on the door lock interface, and support the principal to confirm or refuse payment;
[0028] Payment completion synchronization: according to the operation of the principal confirming payment, the door lock collects the payment two-dimensional code and sends it to the store system, and updates the status of each party after payment and sends a multicast leave message.
[0029] Another embodiment of the application provides a system for door lock and multiple assistants to collaborate, the system comprising:
[0030] Establishment module for establishing a principal relationship: according to the operation of the multiple principals selecting an assistance and inputting shopping requirements on their respective door locks, generate a principal request message, and send it to the selected assistance door lock through multicast communication to establish a principal and assistance relationship between the principal and the assistance;
[0031] Registration module for multicast registration and list synchronization: according to the established principal relationship, the principal door lock sends an improved multicast join message to a preset multicast address, carrying the assistance biometric feature, the business type and the shopping list information, and completes the multicast registration;
[0032] The request module is used for list request and aggregation forwarding: according to an event triggered by the helper by face recognition in the unmanned store, the store door lock sends a list request message, the router performs hierarchical aggregation on shopping lists of multiple principals according to a biometric feature matching result, generates an aggregated shopping list PIM message and forwards the aggregated shopping list PIM message to the store system;
[0033] The cooperation module is used for cooperative shopping and distributed payment: according to the aggregated shopping list provided by the store system, the helper completes the selection and purchase of goods, triggers a distributed payment process, and each principal confirms and completes payment.
[0034] Yet 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 of the above embodiments when running.
[0035] Yet 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 of the above embodiments.
[0036] Compared with the prior art, the method for cooperation between the door lock and the multiple helpers provided by the present application can generate a principal request message according to the operation of selecting a helper and inputting shopping requirements of multiple principals on respective door locks, establish a principal-helper relationship, send an improved multicast join message to a preset multicast address by the principal door lock according to the established principal-helper relationship, send a list request message by the store door lock according to an event triggered by the helper by face recognition in the unmanned store, perform hierarchical aggregation on shopping lists of multiple principals by the router according to a biometric feature matching result, generate an aggregated shopping list PIM message and forward the aggregated shopping list PIM message to the store system, and complete the selection and purchase of goods by the helper according to the aggregated shopping list provided by the store system, so that each principal confirms and completes payment, thereby realizing full-process automation from principal establishment, automatic list aggregation to distributed payment, and improving the efficiency and convenience of cooperative shopping of multiple people. BRIEF DESCRIPTION OF DRAWINGS
[0037] Figure 1 A hardware structure block diagram of a computer terminal of the method for cooperation between the door lock and the multiple helpers provided by the embodiment of the present application is provided.
[0038] Figure 2 A flowchart of the method for cooperation between the door lock and the multiple helpers provided by the embodiment of the present application is provided.
[0039] Figure 3 A structure diagram of a system for cooperation between the door lock and the multiple helpers provided by the embodiment of the present application is provided. DETAILED DESCRIPTION
[0040] The embodiments described below with reference to the drawings are exemplary and are intended to explain the present application, and are not construed as limiting the present application.
[0041] In the background of rapid development of AI technology, unmanned shopping has quietly emerged, and many community shops have opened unmanned supermarkets. Community residents usually need to use their 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 at an unmanned supermarket. The elderly are not physically strong enough to walk independently to the community unmanned store to shop, so the elderly need to rely on others (such as a neighbor) to help them go shopping at the unmanned store.
[0042] The embodiment of the application first provides a method for coordinating a door lock with multiple assistants, which can be applied to an electronic device, such as a computer terminal, specifically, a general computer, etc.
[0043] The following will be described in detail taking a computer terminal as an example. Figure 1 A hardware structure block diagram of a computer terminal of a method for coordinating a door lock with multiple assistants provided by the embodiment of the application is shown in FIG. Figure 1 As shown in the figure, 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.
[0044] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions that, when executed, can cause the processor to execute any method for coordinating a door lock with multiple assistants.
[0045] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
[0046] The internal memory provides an environment for the execution of the computer program in the non-volatile storage medium, which, when executed by the processor, can cause the processor to execute any method for coordinating a door lock with multiple assistants.
[0047] 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 component arrangement.
[0048] It should be appreciated that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor.
[0049] Referring to Figure 2 Embodiments of the present application provide a method for coordinating a door lock with multiple assistants, which can include the following steps:
[0050] S201, establishing a commission relationship: according to the operation of selecting an assistant and inputting shopping requirements by multiple commission people on their respective door locks, a commission request message is generated and sent to the selected assistant door lock through multicast communication to establish a commission relationship between the commission people and the assistant; specifically, the commission relationship establishment includes:
[0051] Assistant registration: according to the registration operation of a potential assistant on his / her own door lock, the biological characteristics and serviceable time period information of the assistant are uploaded to the property management system to complete the qualification registration of the assistant;
[0052] Commission people selection: according to the operation of selecting an assistant service by the commission people on the door lock interface, a list of available assistants is obtained from the property management system, and intelligent recommendation is supported according to distance or historical service records;
[0053] Commission request sending: according to the operation of selecting a specific assistant by the commission people, a commission request message containing the commission people identifier, the assistant identifier and the business type is generated and sent to the target assistant door lock through multicast communication;
[0054] Commission relationship confirmation: according to the confirmation operation of the assistant door lock after receiving the commission request, a commission relationship state table is established to record the commission people, the assistant, the business type and the confirmation state information.
[0055] S202, multicast registration and list synchronization: according to the established commission relationship, the commission people door lock sends an improved multicast join message to a preset multicast address, carrying the assistant biological characteristics, the business type and the shopping list information, to complete the multicast registration; specifically, the multicast registration and list synchronization include:
[0056] Shopping list input: according to the specific shopping needs of the principal input in the door lock interface, a shopping list containing the name of the commodity, the brand, the quantity, and the upper limit of the amount is generated;
[0057] Multicast message encapsulation: according to the helper information in the commission relationship state table and the shopping list, an improved multicast join message is encapsulated, carrying the helper biometric features, the service type, the shopping list and the waiting request identifier;
[0058] Multicast registration execution: according to the preset multicast address, the multicast join message is sent to the network, and after the router receives it, the helper biometric features and the shopping list information are stored in the corresponding out-interface of the multicast forwarding table, and the PIM message is temporarily sent;
[0059] State synchronization update: according to the multicast registration completion event, the commission state of the principal door lock is updated, and marked as a waiting list synchronization state.
[0060] S203, list request and aggregation forwarding: according to the event triggered by the helper's face recognition in the unmanned store, the store door lock sends a list request message, and the router aggregates the shopping lists of multiple principals according to the biometric feature matching result to generate an aggregated shopping list PIM message and forward it to the store system; specifically, the list request and aggregation forwarding includes:
[0061] Store face recognition trigger: according to the face recognition operation of the helper at the door lock of the unmanned store, the store system collects the helper's biometric features and verifies its qualification;
[0062] List request sending: according to the event that the helper's qualification verification is passed, the store door lock generates a multicast message containing the helper's biometric features, the service type and the list request identifier and sends it;
[0063] Router aggregation processing: according to the list request message received by the router, the following processing is performed: biometric feature matching: find the out-interface with the same biometric features in the multicast forwarding table, and the out-interface is in the waiting list synchronization state; list content aggregation: aggregate the shopping lists of the matching interfaces according to the helper's biometric features; hierarchical message generation: generate an aggregated shopping list PIM message containing the shopping lists of multiple principals;
[0064] Store list receiving: according to the result of receiving the aggregated shopping list PIM message by the store system, the store commission state table is updated, and a dedicated shopping terminal is allocated to the helper.
[0065] S204, collaborative shopping and distributed payment: according to the aggregated shopping list provided by the store system, the helper completes the commodity selection and purchase, triggers the distributed payment process, and each principal confirms and completes the payment. Specifically, the collaborative shopping and distributed payment includes:
[0066] Goods selection execution: according to the aggregated shopping list provided by the store system, the assistant completes the goods selection under the guidance of the special shopping terminal;
[0067] Distributed payment trigger: according to the operation of the assistant completing the selection, the store system generates a payment confirmation message according to the entrustor dimension, and sends it to each entrustor door lock through multicast;
[0068] Entrustor payment confirmation: according to the result of the entrustor door lock receiving the payment confirmation message, the shopping details are displayed on the door lock interface, and the entrustor can confirm or refuse payment;
[0069] Payment completion synchronization: according to the operation of the entrustor confirming payment, the door lock collects the payment two-dimensional code and sends it to the store system, and updates the status of each party after payment and sends a multicast exit message.
[0070] In practical application, the present application provides a method and system for multiple entrustors (to-be-assisted old people) to entrust hot neighbors (entrusted persons) for help through their own smart door locks, and the entrustor door lock, the entrusted person door lock and the store system (community unmanned supermarket, unmanned canteen, unmanned gym, unmanned book bar, etc.) door lock and shopping system communicate through improved multicast protocol. The router performs hierarchical aggregation and centralized processing on the PIM join message, the entrusted person (hot neighbor) completes the selection of goods required by multiple entrustors in the store, and the entrustor completes the payment at home. A solution includes, for example:
[0071] I. Precondition:
[0072] The community owner's home is installed with a smart door lock, which has a camera that can extract the face feature vector of the owner's family (the collection and use of personal information are legal), the community owner's door lock can communicate with each other (the community owner, the community unmanned supermarket, the unmanned canteen, the unmanned gym, the unmanned book bar, etc. The key infrastructure is uniformly decorated according to the provisions of the property management of the community), and the owner's door lock has an electronic display screen that can input cooperative 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 records the door lock ID corresponding to the room number, and records the ID of each unmanned store in the community (community unmanned supermarket, unmanned canteen, unmanned gym, unmanned book bar, etc.). The payment machine of the unmanned store supports face payment, and the shopping system of the unmanned store has an AI engine to assist the daily management of the unmanned supermarket and can interpret the data transmitted by the owner's door lock. The door lock and the router support multicast protocol (the router specifically supports bidirectional PIM, and the door lock is both a sender and a receiver of multicast messages, so it needs to communicate through bidirectional PIM), and performs key message communication.
[0073] 1. Scheme steps:
[0074] 1: The lonely old people have shopping needs, but the action is inconvenient, and the hot neighbor is appointed to go to the unmanned supermarket to shop.
[0075] (1) Because there are many lonely old people in the community, the action is not changed with the age, and many old people can only operate the mobile phone simply, and it is difficult to master the more complex online shopping operation. When the old people need to purchase goods and cannot complete it independently due to the action, the assistance of the surrounding hot neighbors is needed. First, the community 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 do it.
[0076] (2) Neighbor X, Y (here, taking two hot neighbors as an example) selects the old people service - neighborhood mutual assistance function - to register as "hot neighbors" on the display screen of the door lock, fills in the name, gender, age, address (house number), and mutual assistance time period, and records the face. The door lock reports the filled-in content and its own door lock ID (door lock X, door lock Y) to the community property management system, and the property management system records the "hot neighbor" information. After filling in, the door lock X or the door lock Y will automatically send the IGMP join message with the specific destination address 227.11.11.1 (the unified multicast address agreed upon between the entrusting door lock, the entrusted door lock, the unmanned store door lock, and the unmanned store shopping system for shopping and other consumption communication) for registration. Here, the IGMP message sent by the door lock is improved, and the door lock ID and the face feature vector need to be carried additionally. At the same time, in order to realize the forwarding of multicast messages between routers, the PIM join message is also improved: on the basis of the original PIM join message structure, the door lock ID and the 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's door lock cannot pre-store the address of the other party and update it in time after the address changes, so temporary communication is carried out through the joining of the agreed multicast group address. Note: Since the entrusting door lock, the entrusted door lock, and the unmanned supermarket door lock communicate through the multicast group 227.11.11.1, the door lock is both a multicast message receiver and a sender, and the router needs to support the bidirectional PIM multicast protocol.
[0077] (3) Old people A, B, and C (here, taking three old people to be assisted as an example) select the old people service - neighborhood mutual assistance function - to register as "old people to be assisted" on the display screen of the door lock, fill in the name, gender, age, and address (house number). The door lock reports the filled-in content and its own door lock ID (the ID of the door lock A, B, and C) to the community property management system, and the property management system records the "old people to be assisted" information.
[0078] (4) When the old people A, B and C want to go shopping, they first think of a batch of "good neighbors" in the community who can help them go to the unmanned supermarket. The old people A, B and C open the door lock display screen, select the old people service-neighborhood mutual assistance function, select the supermarket shopping service, and select the good neighbor. At this time, the door lock will remotely communicate with the property management system, call the registered good neighbor (and the current time meets the mutual assistance time period) information on the display screen, and refer to the house number of the old people A, B and C, sort them from near to far according to the distance to the old people, or rank them according to the historical number of times of helping the old people, and preferentially recommend the good neighbors who have helped the old people many times. At the same time, it will call the supermarket ID and canteen ID according to the supermarket shopping service or canteen shopping service selected by the old people. For example, the old people A select one of the good neighbors (neighbor X), the property management system returns the good neighbor door lock ID (door lock X) to the old people's door lock (door lock A), and the door lock A sends a "request for delegation" multicast message with the destination address of 227.11.11.1. The message content includes the delegator IP (door lock A IP), the delegator door lock ID (door lock A ID), the delegatee door lock ID (door lock X ID), the service ID (1 for supermarket, 2 for canteen, 3 for gym, 4 for book bar…), and the delegation request tag is 1. The router queries the multicast forwarding table to find the out interface carrying the door lock A ID, and sends out the "request for delegation". Wait for the response of door lock X.
[0079] (5) The door lock X receives the "request for delegation" of the door lock A, extracts the delegator door lock ID (door lock A ID) and service ID (1 for supermarket) in the message, and applies to the property management system with the door lock X ID to query whether it is "old people to be helped". The property management system queries the "old people to be helped" registration table and finds that there is an ID record of door lock A. Through the ID of door lock A, the corresponding old people's name, age and address (house number) are queried, and these data are returned to the door lock X.
[0080] (6) The door lock X displays the old man information on the display screen: name, age, address (house number), and the content of the entrustment is supermarket shopping (according to the business ID). Voice broadcast neighbor X, prompt whether to accept the help to buy entrustment: "Respected owner, you have received a supermarket shopping entrustment from Mr. A in room 602, building 8. Please handle it as soon as possible. If you agree, please select "Agree to entrust", if you cannot complete the entrustment, please select "Refuse to entrust". After the owner of the door lock X checks the old man information, if he selects "Agree to entrust", the door lock X unicasts the "entrustment confirmation" message to the door lock A, the message carries the entrustee IP (the IP of the door lock X), the entrustee door lock ID (the ID of the door lock X), the entrustee face feature vector (the face of X), the business ID, and the entrustment confirmation tag is 1 (1 means agree, 0 means disagree). The door lock X backend enters the "entrusted state" (get the entrusted identity), and voice broadcasts the door lock neighbor X: "Respected owner, you have accepted the supermarket shopping entrustment from Mr. A in room 602, building 8. Please go to the unmanned supermarket in the community, the shopping list will be sent to the supermarket for your reference later". If he selects "Refuse to entrust", the door lock X sends the "entrustment confirmation" message to the door lock A, the message carries the entrustee IP (the IP of the door lock X), the entrustee door lock ID (the ID of the door lock X), the business ID, and the entrustment confirmation tag is 0 (1 means agree, 0 means disagree). A kind of door lock X entrustment state table is shown in Table 1.
[0081] Door lock X entrustment state table 1
[0082]
[0083] (7) When the door lock A receives the "entrustment confirmation" message sent by the door lock X, the entrustee IP (the IP of the door lock X), the entrustee door lock ID (the ID of the door lock X), the entrustee face feature vector (the face of the person X), the service ID and the entrustment confirmation tag (1 represents agreement and 0 represents disagreement) are extracted, which are displayed on the display screen and voice broadcasted at the same time: "Your current supermarket shopping request has been successfully entrusted, and the entrustee is Ms. XX". If the received entrustment confirmation message is a refusal of entrustment, the door lock A will display "this entrustment is refused" and a confirmation button, and voice broadcast "this entrustment cannot be completed, please select other "loving neighbors" for entrustment." After the old man A clicks the confirmation on the door lock display screen, he reselects the "loving neighbors". If the received entrustment confirmation message is an agreement to entrust, the door lock A enters the "entrustment state" (obtains the entrustment identity) at this time, and the next step of the door lock A display screen displays the supermarket shopping interface. The old man A can select or fill in the required item name (such as selecting soy sauce, and if the option cannot be found, it can be filled in manually), item brand (such as selecting a, and if the option cannot be found, it can be filled in manually, and if there is no requirement for the brand, "any brand" is selected), item quantity or weight and shopping upper limit according to the program format requirements on the display screen, selects the confirmation button, and the shopping list is stored in the local entrustment state table, as shown in Table 2.
[0084] Entrustment state table 2 of door lock A
[0085]
[0086] (8) If there are multiple old people who also initiate entrustment at the same time (such as the time period for concentrated purchase of goods in the evening), take the old man B as an example, the old man B opens the door lock display screen, selects the old people service - neighborly assistance function - selects the shopping service - selects the entrustment of the hot neighbor. The old man B's own door lock (door lock B) communicates with the property management system remotely to call the registered hot neighbor. Because neighbor X has the most historical help for old people, the old man B also selects neighbor X for entrustment, and the door lock B sends the "entrustment request" to the door lock X in the same process as the door lock A. Neighbor X confirms on the door lock X and selects the "agree to entrust" button, and the door lock X sends the "entrustment confirmation" message to the door lock B. The door lock B enters the "entrustment state" in the background, and the next step of the door lock B display screen displays the supermarket shopping interface. The old man B selects or fills in the required item name (such as selecting soy sauce, and if the option cannot be found, it can be filled in manually), item brand (such as selecting a, and if the option cannot be found, it can be filled in manually, and if there is no requirement for the brand, "any brand" is selected), item quantity or weight and shopping upper limit according to the program format requirements on the display screen, and selects the confirmation button. For example, a kind of entrustment state table of the door lock B is shown in Table 3, and the entrustment state table of the door lock X is shown in Table 4.
[0087] Entrustment state table 3 of door lock B
[0088]
[0089] Door lock X commissioned state table 4
[0090]
[0091] (9) If the old man A has other commission needs at this time (such as wanting to buy food in the unmanned canteen), the old man A selects the old service - the neighborhood mutual aid function - the canteen shopping service - the commission enthusiastic neighbor on the display screen of the door lock A. The old man A selects the neighbor Y for commission, and the property management system returns the door lock ID (door lock Y) of the neighbor Y to the door lock (door lock A) of the old man's home. The door lock A sends a "commission request" multicast message with the destination address of 227.11.11.1, and the message content includes the commission IP (door lock A IP), the commission door lock ID (door lock A ID), the commissioned door lock ID (door lock Y ID), the service ID (2 for the canteen), and the commission request tag is 1. The router queries the multicast forwarding table to find the out interface carrying the door lock Y ID, and forwards the "commission request" to the door lock Y. The door lock Y subsequently performs commission confirmation according to the above process, and the background enters the "commissioned state". The door lock Y background "commission state" increases the record of the commission door lock A. Another kind of door lock A commission state table 5 is as follows:
[0092] Door lock A commission state table 5
[0093]
[0094] (10) If the old man C selects the neighbor Y for unmanned supermarket shopping at this time, the online communication is completed according to the above process. One kind of door lock C commission state table is as table 6 and the door lock Y commissioned state table 7 as follows:
[0095] Door lock C commission state table 6
[0096]
[0097] Door lock Y commissioned state table 7
[0098]
[0099] (11) The door locks A, B and C in the "delegation state" all actively send IGMP messages with the destination address of 227.11.11.1 to join the "shopping service" multicast group. Here, the IGMP message is improved, and on the basis of the original message, it carries the "delegated person door lock ID", "delegated person face feature vector", "service ID", "shopping list" and "waiting list request tag set to 1". At the same time, in order to realize the forwarding of multicast messages between routers, the PIM join message is also improved: on the basis of the original PIM join message structure, it carries the "delegated person door lock ID", "delegated person face feature vector", "shopping list", "service ID" and "waiting list request tag set to 1". But at this time, the router receives the multicast message with "waiting list request tag set to 1", and waits first, without sending PIM message.
[0100] (12) After the delegated persons X and Y confirm all the delegations, they set out to go shopping in the unmanned supermarket and the unmanned canteen.
[0101] 2: The delegated person arrives at the unmanned store, brushes his face to enter and obtains the shopping list, and carries out the selection and purchase of goods.
[0102] 2.1 Unmanned supermarket goods selection and purchase:
[0103] (1) Taking the delegated person X as an example, after X arrives at the unmanned supermarket, he brushes his face at the supermarket door lock to open the door, the supermarket door lock collects the face feature vector of the delegated person X through the camera, sends the face feature vector query to the community property management system, the community property management system feedbacks that X is a "good neighbor", the supermarket door lock releases the "good neighbor" and opens the door lock, and at the same time, a shopping station (including a guide system and a payment machine) is allocated.
[0104] (2) At the same time, the supermarket door lock sends an improved IGMP join message with the destination address of 227.11.11.1, and the message source address is the IP of the unmanned supermarket door lock. This IGMP join message needs to carry the face feature vector of the delegated person X, the service ID (1 for supermarket), the shopping station IP (such as 10.12.12.110) and "shopping list request tag set to 1" in addition to the original message. After the router receives this IGMP message, it sends a "list request" PIM message to the RP, which carries the face feature vector of the delegated person X, the service ID (1 for supermarket), the shopping station IP and "shopping list request tag set to 1" in addition to the original message. After the RP receives the above message, it is forwarded to other interfaces except the receiving interface, so that the gateway router connected to the delegated person door lock can receive it.
[0105] The supermarket door lock will be entrusted to the face feature vector, shopping station IP to save to "the state table of entrustment", shopping list request tag is 1, and the door lock ID of entrustment, entrustment list is reserved storage space. A supermarket door lock entrustment state table 8 is as follows:
[0106] Supermarket door lock entrustment state table 8
[0107]
[0108] (3) After the router receives the "list request" PIM message, the message content carries "shopping list request tag is 1", the router queries whether there is other IGMP registered interface of the same group address, if there is, compare the face feature vector stored on the interface, judge whether the face feature vector in the "list request" PIM message sent by the unmanned supermarket is consistent, if consistent, and the "waiting list request tag is 1" stored in the interface, send "list announcement" PIM message to the direction of RP. This PIM message is aggregation message PIM message, before the router has received the IGMP join message sent by the entrustor carrying "waiting list request tag is 1", PIM message is waiting for sending, at this time, after receiving the PIM message sent by the unmanned supermarket carrying "shopping list request tag is 1", the router will send the PIM message not sent before, and will carry the content in the IGMP message carrying the same face feature vector, after aggregation, add to the PIM message, and set "waiting list request tag to 0". The PIM message carries "entrusted door lock ID", "entrusted face feature vector", "service ID", "shopping list" and "waiting list request tag is 0". After the entrustor Y arrives at the unmanned supermarket, the face verification is carried out at the supermarket door lock, and the same process is carried out. RP receives the above message, and forwards to other interfaces except the receiving interface, so that the gateway router of the supermarket door lock can receive it.
[0109] (4) The IGMP message sent by the door lock A has two, one IGMP carries "door lock A ID", "X face feature vector", "service ID is 1", "old man A's unmanned supermarket shopping list"; the other IGMP carries "door lock A ID", "Y face feature vector", "service ID is 2", "old man A's unmanned canteen shopping list" (note: the IGMP sent by door lock B and door lock C has one, and the difference from the IGMP sent by door lock A is that it carries the face feature vector of the person entrusted by itself, the ID of the self door lock and the shopping list of the old man of the self door lock). The IGMP message sent by the unmanned supermarket has two, one carries "X face feature vector", "service ID is 1", "shopping station IP" (10.12.12.110), "shopping list request tag is 1"; the other carries "Y face feature vector", "service ID is 1", "shopping station IP" (10.12.12.120), "shopping list request tag is 1". After the router connected with the unmanned supermarket door lock receives the IGMP join message sent by the unmanned supermarket, it sends "list request" PIM message to the RP. After the next hop router receives the "list request" PIM message, it finds that one of them carries X face feature vector, and then queries the 227.11.11.1 multicast forwarding table to find that the interface carrying the same X face feature vector is the out interface connected with door lock A and B, and the "waiting list request tag" is 1, so the router aggregates the content carried in the IGMP message received from the out interface connected with door lock A and B and adds it to the "list announcement" PIM message. This PIM message carries "entrusted person door lock ID" (door lock A, B ID), "entrusted person face feature vector", "service ID" (1 indicates supermarket), "shopping list" (old man A, B's supermarket shopping list), "waiting list request tag" (tag is 0). The message carries the following table 9:
[0110] Message carrying content table 9
[0111]
[0112] The next hop router receives another "list request" PIM packet carrying the Y face feature vector, queries the 227.11.11.1 multicast forwarding table, finds that the interface with the Y face feature vector is the out interface of the connecting door lock A and C, and that the "waiting list request tag" is 1, so the router aggregates the content carried in the IGMP packet received from the out interface of the connecting door lock A and C and adds it to the "list announcement" PIM packet. This PIM packet carries the "principal door lock ID" (door lock A, CID), the principal face feature vector, the "business ID" (1 for supermarket and 2 for canteen), the "shopping list" (the canteen shopping list of the old man A and the supermarket shopping list of the old man C), and the "waiting list request tag" (tag 0). Another packet carries the content as shown in Table 10.
[0113] Packet carrying content Table 10
[0114]
[0115] (5) It should be noted that different routers can be connected to different unit building areas, and the routers aggregate the "list announcement" PIM packets in the same area according to the same face feature vector. In bidirectional PIM, the PIM packet is sent to the RP direction, and when the RP receives the "list announcement" PIM packet sent downstream, it will be aggregated again according to the same face feature vector and sent to other routers. When the "list announcement" PIM packet (judged by the waiting list request tag 0) is sent to the DR router connected to the unmanned supermarket or unmanned canteen door lock, the DR compares whether the shopping list request tag 1 IGMP packet is received by itself, and queries whether the face feature vector in the packet is consistent with the received "list announcement" PIM packet. If consistent, the shopping list request tag 1 IMP packet and the "list announcement" PIM packet are the request and response relationship, and the router sends the "list announcement" PIM packet (carrying the "principal door lock ID", the principal face feature vector, the "business ID", the "shopping list", and the "waiting list request tag 0") from the matched IGMP registration interface.
[0116] (6) After the supermarket door lock receives the "list announcement" PIM packet, it finds that the "waiting list request tag" is 0, indicating that it is a shopping list reply message by the principal. The supermarket door lock extracts the principal face feature and shopping list in the packet, saves it to the "principal state table", modifies the "shopping list request tag" to 0 (the "shopping list request tag" of the subsequent IGMP packet sent by the door lock is also 0, which no longer triggers the router to generate a new PIM packet), and synchronizes the state table to the supermarket shopping system. A supermarket door lock principal state table is shown in Table 11.
[0117] Supermarket door lock commissioning status table 11
[0118]
[0119] (7) After the supermarket shopping system receives the "commissioning status table", the door lock ID of the commissioning person is extracted, the corresponding to-be-assisted person's name and door number are queried from the property management system, the local "commissioning status table" is obtained, and the supermarket shopping system receives the "commissioning status table", the door lock ID of the commissioning person is extracted, the corresponding to-be-assisted person's name and door number are queried from the property management system, the local "commissioning status table" is obtained, the shopping list of different commissioning persons is displayed, and the commissioned person is prompted to complete the purchase according to the list, such as: "Dear customer, you have 2 commissioned purchase lists, please complete the list item purchase in order, the first list has 1 bottle of a soy sauce at position 2 of cabinet No. 3, please go to get it; the second list …".
[0120] (8) The article selection and purchase process of the unmanned canteen is basically the same as that of the unmanned supermarket, and the difference is the business ID, which will not be described here.
[0121] 3: After the commissioned person completes the shopping, the face is scanned on the payment machine.
[0122] (1) The commissioned person X completes the purchase of the 2 shopping lists and comes to the payment machine. The commissioned person X selects face scanning payment on the payment machine screen and completes face recognition. After the payment machine extracts the face feature quantity of the commissioned person, it queries the "commissioning status table" and finds that it matches 2 commissioning persons (commissioning persons A and B) and finds the corresponding shopping list. The payment machine prompts the commissioned person X to scan the code of the items of the commissioning person A in order according to the list. The payment machine records the item name, item brand, item quantity or weight and calculates the total amount, queries the door lock ID of the commissioning person A, sends a "payment confirmation" multicast message with the destination address of 227.11.11.1, and the message carries the item name, item brand, item quantity or weight and total amount. The router queries the multicast forwarding table and matches the interface-stored commissioning person door lock ID information, and transmits the message from the interface connected to the door lock A.
[0123] (2) After receiving the message, the door lock A 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 door lock APP also pops up a dialog message with the same content, reminding the owner to handle the payment process in time.
[0124] (3) The old man checks the shopping list and finds that the shopping content is correct. Click 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 X supermarket payment machine to complete the payment." After the old man shows the payment QR code and clicks the payment, 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 same payment number needs to be carried in the "payment confirmation" message sent by the payment machine and the payment QR code photo message transmitted by the door lock. This number is not displayed on the door lock display screen or mobile phone terminal, which 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 the "payment completed" message to the door lock A: This payment has been completed. The total payment amount is XX yuan. Have a nice shopping.
[0125] (4) The old man checks the shopping list and finds that the shopping content does not meet the requirements. For example, the old man chose any brand when purchasing the item, but when checking the shopping list, the old man feels that the brand on the list is not suitable and prefers to choose another one. The old man needs to adjust the shopping content. At this time, the old man clicks the reject button and feeds back the rejection opinion on the door lock display screen or mobile phone APP: 1 bottle of b brand soy sauce needs to be purchased. The door lock A unicast feeds back the rejection opinion to the unmanned supermarket payment machine. After receiving the rejection opinion from the door lock A, the unmanned supermarket payment machine compares the currently selected items by the AI engine and optimizes the opinion content, and makes a voice broadcast: "Dear customer, you bought 1 bottle of a soy sauce. You need to replace it with 1 bottle of b soy sauce. Please put the a soy sauce back to the 2nd position of the 3rd cabinet and go to the 3rd cabinet to select the b soy sauce." The principal adjusts the shopping content according to the voice prompt and completes the shopping requirements before re-scanning the face to pay.
[0126] (5) The items of the principals B and C are operated in the same process until the principals B and C complete the payment. After the process is completed, the principal door locks A, B and C and the principal door locks X and Y, as well as the unmanned supermarket door locks, all send IGMP leave messages to leave the 227.11.11.1 multicast group.
[0127] (6) The payment process of the unmanned canteen is basically the same and will not be repeated here.
[0128] Beneficial effects: The improved multicast protocol is used for interactive communication between the principal door locks, the principal door locks and the unmanned store door locks. The different types of PIM messages are used for the request and response of the shopping list, which effectively reduces the communication steps and improves the communication efficiency. The PIM messages carrying the same face feature vector are creatively aggregated in multiple layers, which effectively reduces the message sending and message interaction in the interaction between multiple principals and principals.
[0129] The protection point: 1, the principal door lock, the principal door lock and the unattended store door lock interact through the improved multicast protocol, the IGMP message sent by the principal door lock carries the principal face feature vector and the waiting list request tag, and the router does not send the PIM message after receiving it. When the principal reaches the unattended store door and scans the face to enter the door, the IGMP message sent by the store door lock carries the principal face feature vector and the shopping list request tag, and the router sends the "list request" PIM message to the RP after receiving it, and the RP forwards it to other routers. The router receiving the PIM message queries whether there is an IGMP registration interface with the same principal face feature vector saved locally, and if so, it starts to send the previously not sent PIM message ("list announcement" PIM message).
[0130] 2, the "list announcement" PIM message carries the shopping list and other information related to the principal face feature vector, and the router aggregates the "list announcement" PIM message in the local area and sends it to the RP, and the RP sends the "list announcement" PIM message to other routers, which will be aggregated again.
[0131] 3, the IGMP message sent by the unattended store carries the shopping station IP, and different principals use different shopping stations to select and purchase goods.
[0132] 4, the router connected to the unattended store door lock needs to compare the principal face and the business ID stored in the IGMP registration interface after receiving the "list announcement" PIM, and forward the shopping list with the same business ID to the interface.
[0133] It can be seen that according to the operation of selecting a helper and inputting shopping requirements on the door lock of each principal, a principal request message is generated, and a principal-helper relationship is established; according to the established principal-helper relationship, the principal door lock sends an improved multicast join message to a preset multicast address; according to the event triggered by the helper scanning the face at the unattended store, the store door lock sends a list request message, the router performs hierarchical aggregation on the shopping lists of multiple principals according to the biometric feature matching result, generates an aggregated shopping list PIM message, and forwards it to the store system; according to the aggregated shopping list provided by the store system, the helper completes the selection and purchase of goods, and each principal confirms and completes the payment, so that the whole process automation from principal establishment to automatic list aggregation and distributed payment can be realized, and the efficiency and convenience of collaborative shopping of multiple people are improved.
[0134] Another embodiment of the present application provides a system for door lock and multiple helpers to cooperate, referring to Figure 3 , the system can include:
[0135] The establishing module 301 is configured to establish a commission relationship according to the operation of selecting a helper and inputting a shopping demand on the respective door lock of the multiple commission persons, generate a commission request message, and send the commission request message to the selected helper door lock through multicast communication to establish a commission relationship between the commission person and the helper.
[0136] The registering module 302 is configured to register multicast and synchronize a list according to the established commission relationship, send an improved multicast join message carrying the helper biological feature, the service type and the shopping list information to a preset multicast address by the commission person door lock, and complete the multicast registration.
[0137] The requesting module 303 is configured to request a list and aggregate forwarding according to the event triggered by the helper by face recognition in the unmanned store, send a list request message by the store door lock, match the shopping list of the multiple commission persons in layers according to the biological feature by the router, generate an aggregated shopping list PIM message and forward the aggregated shopping list PIM message to the store system.
[0138] The cooperating module 304 is configured to cooperate shopping and distributed payment according to the aggregated shopping list provided by the store system, complete the selection and purchase of goods by the helper, trigger the distributed payment process, and complete the payment by the respective commission person.
[0139] The embodiment of the application further provides a storage medium, and the storage medium stores a computer program.
[0140] The embodiment of the application further provides an electronic device, which comprises a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the method embodiments.
[0141] Specifically, the electronic device can further comprise a transmission device and an input and output device, wherein the transmission device is connected with the processor, and the input and output device is connected with the processor.
[0142] The above embodiments shown in the drawings have explained the structure, features and effects of the application in detail, and the above description is only the preferred embodiment of the application, but the application is not limited by the drawings, any change or modification made according to the idea of the application, or the equivalent embodiment of the equivalent change, still falls within the protection scope of the application as long as the change or modification does not exceed the spirit of the specification and drawings.
Claims
1. A method for coordinating a door lock with multiple assistants, characterized in that, The method comprises: Establishing a commission relationship: according to the operation of selecting a helper and inputting shopping requirements of multiple commissioners on respective door locks, a commission request message is generated and sent to the selected helper door lock through multicast communication to establish a commission relationship between the commissioner and the helper; Multicast registration and list synchronization: according to the established commission relationship, the commissioner door lock sends an improved multicast join message to a preset multicast address, carrying the helper biological characteristics, service type and shopping list information, and completes multicast registration; List request and aggregation forwarding: according to the event triggered by the helper's face scanning in the unmanned store, the store door lock sends a list request message, and the router performs hierarchical aggregation on the shopping lists of multiple commissioners according to the biological feature matching result, generates an aggregated shopping list PIM message and forwards it to the store system; wherein, the list request and aggregation forwarding comprises: store face scanning trigger: according to the face scanning operation of the helper at the door lock of the unmanned store, the store system collects the biological characteristics of the helper and verifies its qualification; list request sending: according to the event that the helper's qualification verification is passed, the store door lock generates and sends a multicast message containing the biological characteristics of the helper, the service type and the list request identifier; router aggregation processing: according to the list request message received by the router, the following processing is performed: biological feature matching: find the outgoing interface with the same biological feature in the multicast forwarding table; list content aggregation: aggregate the shopping lists of the matched interfaces according to the biological characteristics of the helper; hierarchical message generation: generate an aggregated shopping list message containing the shopping lists of multiple commissioners; Cooperative shopping and distributed payment: according to the aggregated shopping list provided by the store system, the helper completes the selection and purchase of goods, triggers the distributed payment process, and each commissioner confirms and completes the payment.
2. The method of claim 1, wherein, The commission relationship establishment comprises: Helper registration: according to the registration operation of a potential helper on his / her own door lock, upload his / her biological characteristics and serviceable time period information to the property management system to complete the helper qualification registration; Commissioner selection: according to the operation of selecting assistance service of the commissioner on the door lock interface, obtain the available helper list from the property management system, and support intelligent recommendation according to distance or historical service record; Commission request sending: according to the operation of selecting a specific helper of the commissioner, generate a commission request message containing the commissioner identifier, the helper identifier and the service type, and send it to the target helper door lock through multicast communication; Commission relationship confirmation: according to the confirmation operation of the helper door lock after receiving the commission request, establish a commission relationship state table to record the information of the commissioner, the helper, the service type and the confirmation state.
3. The method of claim 2, wherein, The multicast registration and list synchronization comprises: Shopping list input: according to the specific shopping requirements input by the commissioner on the door lock interface, generate a shopping list containing the commodity name, brand, quantity and upper limit of amount; Multicast message encapsulation: according to the helper information and shopping list in the commission relationship state table, encapsulate an improved multicast join message carrying the helper biological characteristics, service type, shopping list and waiting request identifier; Multicast registration execution: according to the preset multicast address, send multicast join message to the network, the router receives and stores the helper biometric and shopping list information in the multicast forwarding table corresponding to the interface, and the PIM message is temporarily sent; State synchronization update: according to the multicast registration completion event, update the entrustment state of the principal door lock, and mark it as a waiting list synchronization state.
4. The method of claim 3, wherein, The list request and aggregation forwarding includes: Store list receiving: according to the result of receiving the aggregated shopping list PIM message by the store system, update the store entrustment state table, and assign a special shopping terminal to the helper.
5. The method of claim 4, wherein, The collaborative shopping and distributed payment includes: Commodity selection and purchase execution: according to the aggregated shopping list provided by the store system, the helper completes the commodity selection and purchase under the guidance of the special shopping terminal; Distributed payment trigger: according to the operation of the helper completing the selection and purchase, the store system generates a payment confirmation message according to the entrustment person dimension, and sends it to each entrustment person door lock through multicast; Entrustment person payment confirmation: according to the result of receiving the payment confirmation message by the entrustment person door lock, display the shopping details on the door lock interface, and support the entrustment person to confirm or refuse payment; Payment completion synchronization: according to the operation of the entrustment person confirming payment, the door lock collects the payment two-dimensional code and sends it to the store system, and updates the state of each party after payment and sends a multicast leave message.
6. A system for coordinating a door lock with multiple assistants, characterized in that, The system includes: Establishment module for establishing a trust relationship: according to the operation of multiple entrustment persons selecting a helper and inputting shopping requirements on their respective door locks, generate an entrustment request message, and send it to the selected helper door lock through multicast communication, to establish a trust relationship between the entrustment person and the helper; Registration module for multicast registration and list synchronization: according to the established trust relationship, the entrustment person door lock sends an improved multicast join message to the preset multicast address, carrying the helper biometric, business type and shopping list information, to complete the multicast registration; Request module for list request and aggregation forwarding: according to the event triggered by the helper's face recognition in the unmanned store, the store door lock sends a list request message, and the router aggregates the shopping lists of multiple entrustment persons according to the biometric matching result to generate an aggregated shopping list PIM message and forward it to the store system; wherein the list request and aggregation forwarding includes: store face recognition trigger: according to the face recognition operation of the helper in the unmanned store door lock, the store system collects the helper's biometric and verifies its qualification; list request sending: according to the event that the helper's qualification verification is passed, the store door lock generates a multicast message containing the helper's biometric, business type and list request identifier and sends it; router aggregation processing: according to the list request message received by the router, the following processing is performed: biometric matching: find the interface with the same biometric in the multicast forwarding table; list content aggregation: aggregate the shopping lists of the matching interfaces according to the helper biometric; hierarchical message generation: generate an aggregated shopping list message containing the shopping lists of multiple entrustment persons; Collaborative module for collaborative shopping and distributed payment: according to the aggregated shopping list provided by the store system, the helper completes the commodity selection and purchase, triggers the distributed payment process, and each entrustment person confirms and completes the payment.
7. The system of claim 6, wherein, The establishing module is specifically configured to: Assistant registration: according to the registration operation of a potential assistant on a self-home lock, the biological characteristics and serviceable time period information of the assistant are uploaded to a property management system, and the qualification registration of the assistant is completed; Principal selection: according to the operation of selecting an assistance service by a principal on a lock interface, a list of available assistants is obtained from the property management system, and intelligent recommendation is supported according to distance or historical service records; Request sending: according to the operation of selecting a specific assistant by the principal, a request message containing the principal identifier, the assistant identifier and the business type is generated, and is sent to the target assistant lock through multicast communication; Confirmation of the relationship: according to the confirmation operation of the assistant lock after receiving the request, a relationship state table is established, and the information of the principal, the assistant, the business type and the confirmation state is recorded.
8. The system of claim 7, wherein, The registration module is specifically configured to: Shopping list input: according to the specific shopping demand input by the principal on the lock interface, a shopping list containing the commodity name, the brand, the quantity and the upper limit of the amount is generated; Multicast message encapsulation: according to the assistant information in the relationship state table and the shopping list, an improved multicast join message is encapsulated, and the assistant biological characteristics, the business type, the shopping list and the waiting request identifier are carried; Multicast registration execution: according to the preset multicast address, the multicast join message is sent to the network, and after the router receives it, the assistant biological characteristics and the shopping list information are stored in the corresponding out-interface of the multicast forwarding table, and the PIM message is temporarily sent; State synchronization update: according to the multicast registration completion event, the principal lock is updated to the waiting list synchronization state.
9. A storage medium, characterized by The storage medium has a computer program stored therein, and 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 memory has a computer program stored therein, and the processor is configured to execute the method of any one of claims 1-5 by running the computer program.
Citation Information
Patent Citations
Unmanned store purchasing method
CN108806126A
Multi-door lock cooperative processing method and system
CN120808480A
Facilitating personal shopping assistance
US20140149160A1