Method, device and equipment for determining an association between a diner and a plate

By establishing a connection between the plates and users through the identifier, the problem of low utilization of plate resources is solved, and the automatic settlement of meal fees and plate tracking are made efficient and accurate, thereby improving the management efficiency of the canteen.

CN122493376APending Publication Date: 2026-07-31FOSHAN DEMASHI KITCHEN EQUIP ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FOSHAN DEMASHI KITCHEN EQUIP ENG CO LTD
Filing Date
2026-04-27
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

The existing food waste resources are underutilized, and the canteen management is not convenient or efficient enough.

Method used

The system identifies the plates and users using a recognition device, establishing a connection between the plates and users to track plate usage and meal charges.

Benefits of technology

It improved the efficiency and accuracy of the connection between plates and users, reduced the loss and mixing of plates, improved the accuracy and efficiency of meal fee settlement, and enhanced the convenience of canteen management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122493376A_ABST
    Figure CN122493376A_ABST
Patent Text Reader

Abstract

This invention relates to the field of self-service catering equipment technology, and discloses a method, apparatus, and equipment for determining the association between diners and their plates. When a plate is detected to be placed in a designated identification position, the first identifier accurately identifies the plate, and the second identifier accurately identifies the user. Based on the identified plate and user identifiers, the association between the two is quickly established, improving the efficiency and accuracy of the association between the plate and the user. This allows for direct tracking of plate usage using the relationship between the plate and the user, improving the accuracy and convenience of tracking plate usage trajectories and reducing plate loss and misuse. Furthermore, the association between the two is used for meal fee deduction, improving the accuracy and efficiency of automatic meal fee settlement and deduction, reducing missed or incorrect deductions, thereby increasing the utilization rate of plate resources and improving the convenience and efficiency of canteen management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of self-service catering equipment technology, and in particular to a method, apparatus and equipment for determining the relationship between diners and plates. Background Technology

[0002] Due to their cleanliness and ease of management, almost all canteens use standardized plates.

[0003] Currently, the basic process for using the trays is as follows: users pick up their trays from the tray area, go to the food area, and serve themselves, or have staff help them serve their food. Then they go to the checkout counter, where staff check the types and quantities of food on the user's tray and manually calculate the cost of the food. Only after the cost of the food has been deducted can the user take the food to their seat to eat.

[0004] This shows that current dining trays are mainly used to hold food, and their resources are not being fully utilized. Therefore, technical solutions to improve the utilization rate of dining tray resources and enhance the convenience and efficiency of canteen management are particularly important. Summary of the Invention

[0005] This invention provides a method, apparatus, and equipment for determining the relationship between diners and their plates, which can improve the utilization rate of plate resources and enhance the convenience and efficiency of canteen management.

[0006] The first aspect of this invention discloses a method for determining the relationship between diners and plates, the method comprising: When a target plate is detected to be placed at a predetermined identification position, the first identifier corresponding to the identification position performs an identification operation on the target plate to obtain identification data of the target plate; wherein, the identification data of the target plate includes a plate identifier; The second recognizer performs an identification operation on the target user currently carrying the target plate to obtain the identification data of the target user; wherein, the identification data of the target user includes a user identifier; Based on the identification data of the target plate and the identification data of the target user, a target association relationship is established between the target user and the target plate; The target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal costs.

[0007] As an optional implementation, in a first aspect of the present invention, the first identifier includes a first code image identifier or an image identifier; the second identifier includes a second code image identifier, a biometric identifier, or a card sensor identifier; wherein the first identifier and the second identifier are integrated into the same identifier or into different identifiers. Furthermore, when the first recognizer and the second recognizer are integrated into different recognizer devices, the recognizer data of the target plate also includes the plate recognizer time, and the recognizer data of the target user also includes the user recognizer time. The method further includes: Calculate the first time difference between the time the plate was identified and the time the user was identified; Determine whether the first time difference is less than or equal to the first preset recognition time. If it is determined that it is less than or equal to the first preset recognition time, execute the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user.

[0008] As an optional implementation, in a first aspect of the present invention, the method further includes: When it is determined that the recognition time is longer than the first preset recognition time, the location of the plate recognition device of the target plate and the location of the user recognition device that identifies the target user are obtained respectively. Based on the plate recognition time and the user recognition time, obtain scene flow data between the positions of the plate recognition device and the user recognition device between the two times; Based on the location of the plate recognition device, the location of the user recognition device, and the scene flow data, the estimated movement time required for the target user to move from the first location to the second location is determined. Calculate the second time difference between the first time difference and the travel duration; Determine whether the second time difference is less than or equal to the second preset recognition time. When it is determined that it is less than or equal to the second preset recognition time, execute the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user. Wherein, when the first position is the position of the plate recognition device, the second position is the position of the user recognition device; when the first position is the position of the user recognition device, the second position is the position of the plate recognition device.

[0009] As an optional implementation, in a first aspect of the invention, when the first identifier and the second identifier are integrated into different identification devices, the method further includes: Based on the time of plate recognition and the time of user recognition, determine the order of their recognition times; Based on the aforementioned sequence, the identifier of the next target recognition device is determined; Based on the identifier of the target identification device, determine whether the type of the target identification device is a food dispensing device; When it is determined that the type of the target identification device is the type of food serving device, the target association relationship is determined to be the final association relationship corresponding to the target user's use of the target plate this time.

[0010] As an optional implementation, in a first aspect of the present invention, the method further includes: When it is determined that the type of the target identification device is not the type of the food serving device, the target association relationship is set to the initial association relationship corresponding to the target user's current use of the target plate; When the target user is detected carrying the target plate and appearing within the preset serving range of a certain serving device, the target association is determined as the final association corresponding to the target user's use of the target plate this time.

[0011] As an optional implementation, in the first aspect of the present invention, the number of target plates is greater than or equal to a first preset number, and each target plate has a corresponding target association relationship. The method further includes: Based on the target association relationship corresponding to each target plate, determine whether there are multiple target plates that have established an association relationship with the same target user among all the target plates; When it is determined that the plate association exists, for any target user with the plate association, the association time of each associated plate of the target user is obtained; wherein, all the associated plates belong to all the target plates; Based on the association time of each associated plate, determine the number of all target associated plates within the same preset time period. Determine whether the total number of all the target associated plates is less than or equal to a second preset number, where the second preset number is less than the first preset number; When it is determined that the number is less than or equal to the second preset number, the target user's target association relationship with all the target associated plates is determined to be a normal association relationship.

[0012] As an optional implementation, in a first aspect of the present invention, the method further includes: When it is determined that the number is greater than the second preset number, the dining situation of the target user for this time is obtained; Based on the target user's dining situation this time, analyze the target number of people dining with the target user; Determine whether the target number of people matches the number of all target-related plates; When it is determined that the target number of people matches the number of all the target associated plates, the target user's target association relationship with all the target associated plates is determined to be a normal association relationship. When it is determined that the target number of people does not match the total number of all target-related plates, an abnormal plate association flag is set for the target user.

[0013] A second aspect of the present invention discloses an apparatus for determining the relationship between a diner and a plate, the apparatus comprising: The identification module is used to identify the target plate based on a first identifier corresponding to the predetermined identification position when the target plate is detected to be placed at the predetermined identification position, thereby obtaining the identification data of the target plate; wherein, the identification data of the target plate includes a plate identifier; The identification module is further configured to perform an identification operation on the target user currently carrying the target plate based on the second identifier, and obtain the identification data of the target user; wherein, the identification data of the target user includes a user identifier; A module is established to establish a target association relationship between the target user and the target plate based on the identification data of the target plate and the identification data of the target user; The target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal costs.

[0014] As an optional implementation, in a second aspect of the present invention, the first identifier includes a first code image identifier or an image identifier; the second identifier includes a second code image identifier, a biometric identifier, or a card sensor identifier; wherein the first identifier and the second identifier are integrated into the same identification device or integrated into different identification devices; The device also includes: The calculation module is used to calculate a first time difference between the plate recognition time and the user recognition time when the first recognizer and the second recognizer are integrated into different recognition devices, the recognition data of the target plate also includes the plate recognition time, and the recognition data of the target user also includes the user recognition time. The first judgment module is used to determine whether the first time difference is less than or equal to the first preset recognition time. When it is determined that the time difference is less than or equal to the first preset recognition time, the establishment module is triggered to perform the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user.

[0015] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The first acquisition module is used to acquire the location of the plate recognition device of the target plate and the location of the user recognition device that identifies the target user when it is determined that the recognition time is greater than the first preset recognition time. The first acquisition module is further configured to acquire scene flow data between the position of the plate recognition device and the position of the user recognition device between the plate recognition time and the user recognition time; The estimation module is used to estimate the movement time required for the target user to move from the first position to the second position based on the position of the plate recognition device, the position of the user recognition device, and the scene flow data. The calculation module is also used to calculate a second time difference between the first time difference and the travel duration; The first judgment module is also used to determine whether the second time difference is less than or equal to the second preset recognition time. When it is determined that the time difference is less than or equal to the second preset recognition time, the establishment module is triggered to perform the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user. Wherein, when the first position is the position of the plate recognition device, the second position is the position of the user recognition device; when the first position is the position of the user recognition device, the second position is the position of the plate recognition device.

[0016] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The first determining module is used to determine the order of the recognition times of the first recognizer and the second recognizer when they are integrated into different recognition devices, based on the recognition time of the plate and the recognition time of the user. The first determining module is further configured to determine the identifier of the next target identification device according to the order of events; The first judgment module is further configured to determine whether the type of the target recognition device is a food dispensing device based on the identifier of the target recognition device; The first determining module is further configured to, when determining that the type of the target identification device is the type of the food serving device, determine that the target association relationship is the final association relationship corresponding to the target user's current use of the target plate.

[0017] As an optional implementation, in a second aspect of the present invention, the first determining module is further configured to, when it is determined that the type of the target identification device is not the type of the food serving device, set the target association relationship to the initial association relationship corresponding to the target user's current use of the target plate; The first determining module is further configured to, when it is detected that the target user is carrying the target plate and appears within a preset serving range of a certain serving device, determine the target association relationship as the final association relationship corresponding to the target user's current use of the target plate.

[0018] As an optional implementation, in a second aspect of the invention, the number of target plates is greater than or equal to a first preset number, and each target plate has a corresponding target association relationship; and the device further includes: The second judgment module is used to determine, based on the target association relationship corresponding to each target plate, whether there are multiple target plates that have established an association relationship with the same target user among all the target plates; The second acquisition module is used to, when it is determined that there is a plate association, acquire the association time of each associated plate of any target user associated with the target user; wherein, all the associated plates belong to all the target plates; The second determining module is used to determine the number of all target associated plates within the same preset time period based on the association time of each associated plate. The second judgment module is further configured to determine whether the number of all the target associated plates is less than or equal to a second preset number, wherein the second preset number is less than the first preset number; The second determining module is further configured to determine, when it is determined that the target user’s target association relationship with all the target associated plates is a normal association relationship, when the number is less than or equal to the second preset number.

[0019] As an optional implementation, in a second aspect of the present invention, the second acquisition module is further configured to acquire the current dining situation of the target user when it is determined that the number is greater than the second preset number; The device further includes: The analysis module is used to analyze the target number of people dining with the target user based on the target user's current dining situation; The second judgment module is further used to determine whether the target number of people matches the number of all the target-related plates; The second determining module is further configured to determine that the target user’s target association relationship with all the target associated plates is a normal association relationship when it is determined that the target number of people matches the number of all the target associated plates; The second determining module is further configured to set an abnormal plate association identifier for the target user when it is determined that the number of target users does not match the number of all target-related plates.

[0020] A third aspect of the present invention discloses an identification device, the identification device comprising: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute some or all of the steps in any of the methods described in the first aspect of the present invention.

[0021] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute some or all of the steps in any of the methods described in the first aspect of the present invention.

[0022] Compared with the prior art, the present invention has the following beneficial effects: In this embodiment of the invention, when a target plate is detected to be placed at a predetermined identification position, the target plate is identified using a first identifier corresponding to the identification position to obtain identification data of the target plate; wherein, the identification data of the target plate includes a plate identifier. A second identifier is then used to identify the target user currently carrying the target plate to obtain the target user's identification data; wherein, the target user's identification data includes a user identifier. Based on the identification data of the target plate and the identification data of the target user, a target association relationship is established between the target user and the target plate, wherein the target association relationship corresponding to the target plate is used as a basis for tracking the target user's use of the target plate and / or for deducting meal fees. As can be seen, implementing this invention, by accurately identifying the plate when it is detected to be placed in the designated identification position using a first identifier and accurately identifying the user using a second identifier, and quickly establishing a relationship between the identified plate and user identifiers, eliminates the need for manual association, thus improving the efficiency and accuracy of the association between the plate and the user. This allows for direct tracking of plate usage using the relationship between the plate and the user, improving the accuracy and convenience of tracking plate usage trajectories, reducing plate loss and misuse, and increasing plate recycling rates. Furthermore, by deducting meal fees based on the relationship between the two, the accuracy and efficiency of automatic meal fee settlement and deduction are improved, reducing missed or incorrect deductions, thereby increasing the utilization rate of plate resources and ultimately improving the convenience and efficiency of canteen management. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0024] Figure 1 This is a flowchart illustrating a method for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 2 This is a flowchart illustrating another method for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 3 This is a schematic diagram of the structure of a device for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 4 This is a schematic diagram of another device for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 5 This is a schematic diagram of the structure of an identification device disclosed in an embodiment of the present invention. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0026] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.

[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will understand, explicitly and implicitly, that the embodiments described herein can be combined with other embodiments.

[0028] This invention discloses a method, apparatus, and equipment for determining the association between diners and their plates. When a plate is detected to be placed in a designated identification position, a first identifier accurately identifies the plate, and a second identifier accurately identifies the user. Based on the identified plate and user identifiers, a relationship between the two is quickly established, eliminating the need for manual association and improving the efficiency and accuracy of the association between plates and users. This allows for direct tracking of plate usage using the relationship between plates and users, improving the accuracy and convenience of tracking plate usage trajectories, reducing plate loss and misuse, and increasing plate recycling rates. Furthermore, the association between the two is used for meal fee deduction, improving the accuracy and efficiency of automatic meal fee settlement and deduction, reducing missed or incorrect deductions, thereby increasing the utilization rate of plate resources and improving the convenience and efficiency of canteen management. Detailed descriptions follow.

[0029] Example 1 Please see Figure 1 , Figure 1This is a flowchart illustrating a method for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to any scenario requiring the use of plates, such as school cafeterias, factory cafeterias, etc. Figure 1 As shown, the method may include the following operations: 101. When the target plate is detected to be placed in the predetermined identification position, the first identifier corresponding to the identification position performs an identification operation on the target plate to obtain the identification data of the target plate; wherein, the identification data of the target plate includes the plate identifier, such as the number.

[0030] In this embodiment of the invention, the first recognizer includes a first code image recognizer (such as a QR code recognizer, barcode recognizer) or an image recognizer.

[0031] 102. Based on the second recognizer, the target user currently carrying the target plate is identified to obtain the target user's identification data; wherein, the target user's identification data includes the user identifier.

[0032] In this embodiment of the invention, the second identifier includes a second code image identifier (such as a QR code identifier, barcode identifier) ​​or a biometric identifier or a card sensor identifier (such as an ID or IC card sensor identifier); wherein, the biometric identifier is any identifier capable of identifying user characteristics, such as an image identifier, fingerprint identifier, voiceprint identifier, iris identifier, etc.

[0033] In this embodiment of the invention, the first identifier and the second identifier are integrated into the same identifier device or into different identifier devices, such as being integrated into the plate binding device, the mobile phone, or the food dispensing device, or the first identifier is integrated into the plate binding device and the second identifier is integrated into the food dispensing device.

[0034] It should be noted that the order in which steps 101 and 102 occur is not related; they can occur simultaneously or step 102 can occur before step 101. However, it is preferred that step 101 occurs before step 102.

[0035] 103. Based on the identification data of the target plate and the identification data of the target user, establish the target association relationship between the target user and the target plate.

[0036] In this embodiment of the invention, the target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal fees.

[0037] It is evident that implementation Figure 1The described method, when a plate is detected to be placed in a designated identification position, accurately identifies the plate using a first identifier and the user using a second identifier. Based on the identified plate and user identifiers, a relationship is quickly established between the two, eliminating the need for manual association. This improves the efficiency and accuracy of the plate-user association, allowing for direct tracking of plate usage. This enhances the accuracy and convenience of tracking plate usage, reduces plate loss and misuse, and increases plate recycling rates. Furthermore, the method deducts meal fees based on the association, improving the accuracy and efficiency of automatic meal fee deduction and reducing missed or incorrect deductions. This increases the utilization rate of plate resources and, consequently, improves the convenience and efficiency of canteen management.

[0038] In an optional embodiment, when the first and second identifiers are integrated into different identification devices, the identification data of the target plate also includes the plate identification time, and the identification data of the target user also includes the user identification time. The method may further include the following steps: Calculate the first time difference between the time the plate is recognized and the time the user is recognized; Determine whether the first time difference is less than or equal to the first preset recognition time (e.g., 3 seconds). If it is determined that it is less than or equal to the first preset recognition time, execute the above-mentioned operation based on the recognition data of the identified target plate and the recognition data of the identified target user to establish the association between the target user and the target plate.

[0039] As can be seen, when the plate recognizer and the user recognizer are integrated into different recognition devices, this optional embodiment can reduce the problems caused by the separate deployment of devices, such as recognition timing disorder, interference from personnel movement, and mismatch of non-corresponding data. It can also reduce random incorrect binding of different user and plate data, reduce the occurrence of misbinding and incorrect binding failures. At the same time, it can also play a time constraint role in the user recognition operation, which is conducive to the accuracy and efficiency of cross-device recognition and matching. This will further improve the success rate and accuracy of binding the association between the plate and the user, and thus improve the accuracy and efficiency of subsequent plate usage tracking and meal fee deduction.

[0040] In another alternative embodiment, the method may further include the following steps: When it is determined that the recognition time is longer than the first preset time, the location of the plate recognition device for the target plate and the location of the user recognition device for the target user are obtained respectively. Based on the time of plate recognition and the time of user recognition, obtain scene flow data between the positions of the plate recognition device and the user recognition device between the two times; Based on the location of the plate recognition device, the location of the user recognition device, and scene flow data, the estimated movement time required for the target user to move from the first location to the second location is determined. Calculate the second time difference between the first time difference and the travel duration; Determine whether the second time difference is less than or equal to the second preset recognition time (e.g., 3 seconds). When it is determined that it is less than or equal to the second preset recognition time, perform the above-mentioned operation based on the recognition data of the identified target plate and the recognition data of the identified target user to establish the association between the target user and the target plate. Wherein, when the first position is the position of the plate recognition device, the second position is the position of the user recognition device; when the first position is the position of the user recognition device, the second position is the position of the plate recognition device.

[0041] In this optional embodiment, the scene flow data includes, but is not limited to, real-time pedestrian traffic and / or queue congestion levels between the two locations. Based on the locations of the two locations, the channel turning points and entrances / exits between them are determined; based on the locations of the two locations, channel turning points, entrances / exits, and scene flow data, the travel time required for the target user to move from the first location to the second location is estimated.

[0042] In this optional embodiment, when it is determined that the recognition time is longer than the second preset recognition time, the binding process between the target plate and the target user is terminated, or a corresponding re-recognition and binding prompt is generated and output to the target user to prompt the target user to re-recognize and bind.

[0043] As can be seen, when implementing this optional embodiment for situations where the plate recognition device and the user recognition device are distributed, if the initial time difference exceeds the preset duration, the actual movement time required for the user to move from one recognition device to another is accurately estimated by further combining the positions of the two recognition devices and the scene flow data between their positions. This estimate is then compared with the recognition time difference between the two devices. If the difference is relatively small, the binding relationship between the tableware and the user is still established. This reduces the error situation where the binding relationship cannot be established due to the distance between the two recognition devices. Furthermore, by combining the scene flow data between the positions of the two recognition devices to estimate the actual movement time, the accuracy of the actual movement time estimation is improved. This, in turn, helps to improve the accuracy of comparing the actual movement time of the user with the recognition time difference between the plate and the user, and further helps to improve the execution accuracy of whether the binding relationship between the plate and the user is established.

[0044] In yet another optional embodiment, when the first and second identifiers are integrated into different identification devices, the method may further include the following steps: Determine the order of the recognition times based on the plate recognition time and the user recognition time; Based on the order of events, determine the identifier of the next target identification device, such as location identifier, device identifier, etc. Based on the identification of the target recognition device, determine whether the target recognition device is a food dispensing device. When the target recognition device is determined to be a food dispensing device, the target association is determined to be the final association corresponding to the target user's use of the target plate this time.

[0045] In this optional embodiment, the food dispensing device is used to carry food ingredients for users to dispense.

[0046] As can be seen, implementing this optional embodiment, when the tray recognition device and user recognition device are distributed, determines the recognition order between tray recognition and user recognition. Only when the device identified later is determined to be a food dispensing device is the established association relationship considered the final binding relationship. This enables the confirmation of the association relationship with the food dispensing scenario, ensuring that the two are truly bound only when the user actually wants to dispense food. It eliminates invalid temporary binding relationships, unifies the criteria for determining the association between trays and users, and improves the uniqueness and accuracy of the binding results. This is conducive to further improving the utilization rate of tray resources and the accuracy and efficiency of subsequent tray tracking and food fee deduction.

[0047] In yet another optional embodiment, the method may further include the following steps: When it is determined that the type of the target recognition device is not a food dispensing device, the target association relationship is set to the initial association relationship corresponding to the target plate used by the target user this time; When a target user carrying a target plate is detected within the preset serving area of ​​a serving device (such as within 1 meter directly in front of the serving device), the target association is determined as the final association corresponding to the target user's use of the target plate this time.

[0048] In this optional embodiment, the initial association relationship corresponding to each target plate can be pre-stored in a plate database. The serving device is equipped with a recognizer, such as an image recognizer. When it detects a face or plate within its preset serving range, it compares the face or plate with the initial association relationship in the plate database. If a matching face or plate exists, it indicates that the target user is the actual user wanting to get food, and the target association relationship is determined as the final association relationship corresponding to the target user's use of the target plate. Alternatively, the serving device is equipped with both a user recognizer and a plate recognizer, such as an image recognizer. When it detects a face and plate within its preset serving range, it compares the face and plate with the initial association relationship in the plate database. If a matching initial association relationship exists between a face and a plate, it indicates that the target user is the actual user wanting to get food, and the target association relationship is determined as the final association relationship corresponding to the target user's use of the target plate. Further, the initial association relationship corresponding to the target user can be deleted from the plate database, or the initial association relationship can be set as the final association relationship.

[0049] As can be seen, when implementing this optional embodiment, if the second identification device is not a food dispensing device, the established association relationship is first set as an initial association relationship and is not yet in effect as a final binding state. This reduces the possibility of data redundancy and mismatches caused by pre-binding in non-food dispensing areas. Only when a user's face or a plate, or both, is detected in the preset food dispensing area of ​​the food dispensing device is the initial association relationship upgraded to a final association relationship. This ensures the accuracy and reliability of establishing a final association relationship for users who actually want to get food, and also reduces the possibility of invalid binding between the plate and the user due to pre-binding but the user not getting food, thus reducing the waste of plate resources. This helps to further improve the utilization rate of plate resources and improve the accuracy and efficiency of subsequent plate tracking and meal deduction.

[0050] In yet another optional embodiment, the method may further include the following steps: Once the target association corresponding to the target plate is obtained, the historical number of times the target user's account balance is insufficient within a certain period of time (such as the past week) is obtained. Determine if the historical number of times is greater than or equal to a preset number (e.g., 3 times). If it is determined that the number of times is greater than or equal to the preset number, obtain the historical dining information of the target user. Based on the target user's historical dining history, analyze whether there is a first associated user whose correlation with the target user is greater than or equal to the preset correlation. When a first associated user is identified, the target associated user with the highest degree of association is selected from all first associated users, and the identifier of the target associated user is obtained (see the description of the identifier data of the target user mentioned above, which will not be repeated here). Based on the identifier of the target associated user, the target association relationship corresponding to the target plate is updated to obtain the updated target association relationship. The updated target association relationship is the association relationship between the target plate, the target user, and the target associated user, and is used as the basis for tracking the target user's use of the target plate and / or the basis for deducting the meal fee.

[0051] In this optional embodiment, the process ends when the number of attempts is less than a preset number.

[0052] In this optional embodiment, further, an association prompt is generated based on the updated target association relationship, and the association prompt is sent to the target associated user and the target user.

[0053] As can be seen, after establishing the association between the plate and the user, this optional embodiment further analyzes the number of times the user's balance is insufficient over a period of time. If the number of times the balance is insufficient is large, the associated users with the highest correlation are further screened based on historical dining information. Then, the associated users are simultaneously included in the association between the user and the plate, realizing the linkage and binding of the three parties. This can not only realize the guarantee of meal expenses based on associated users and reduce the risk of bad debts, but also track and control the dining behavior of users who frequently have insufficient meal expenses. This is conducive to further improving the accuracy and reliability of plate usage tracking, as well as improving the accuracy and risk resistance of meal expense deduction.

[0054] In this optional embodiment, the historical dining information corresponding to the target user includes, but is not limited to, the dining time and area identifier for each meal, the time of association of the plate for each meal, the identifier of the serving device, and the serving time, etc.; wherein, based on the historical dining information corresponding to the target user, analyzing whether there is a first associated user with a correlation degree greater than or equal to a preset correlation degree includes: The identification of each dining time and dining area corresponding to the target user, the time of association of the plate for each meal, the identification of the serving device and the serving time are compared with the same type of data in the dining database to obtain the dining comparison results, plate binding comparison results and serving comparison results. The dining database is used to store all dining data of each dining user, including but not limited to data of the same type as the target user's data mentioned above. Based on the dining comparison results, plate binding comparison results, and food dispensing comparison results, analyze the number of times the target user and the second associated user ate in the same area within a certain period of time (e.g., within a week), the number of times the time difference between the associated plates is less than or equal to the first preset interval (e.g., 1 second), and the number of times the food dispensing time interval at the same food dispensing device is less than or equal to the second preset interval (e.g., 3 seconds). Set corresponding association weights for the number of meals, the number of bindings, and the number of meals ordered, such as 0.2:0.4:0.4; For any second associated user, the degree of association of the second associated user is calculated based on the number of meals eaten, the number of times the user binds their account, the number of times they order food, and their respective association weights. For any second associated user, the association degree of the second associated user is compared with the preset association degree. If the association degree of the second associated user is greater than or equal to the preset association degree, then the second associated user is the first associated user; otherwise, it is not the first associated user.

[0055] As can be seen, implementing this optional embodiment involves horizontally comparing dining data from the dining database across multiple dimensions, including dining area, plate binding time, serving equipment, and time. This analysis examines the number of times users dine in the same area, the number of times they bind plates synchronously in a short period, and the number of times they serve food using the same equipment in a short time. By setting corresponding association weights for these three types of data, the comprehensive association degree between each pair of users is accurately calculated and compared with a preset association degree threshold. This accurately identifies associated users, reducing the probability of misjudgment due to accidental encounters and improving the objectivity and accuracy of associated user identification. This, in turn, helps to further improve the accuracy of three-way linkage binding, thereby further improving the accuracy and reliability of plate usage tracking, and enhancing the accuracy and resilience of meal fee deduction execution.

[0056] Example 2 Please see Figure 2 , Figure 2 This is a flowchart illustrating another method for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to any scenario requiring the use of plates, such as school cafeterias, factory cafeterias, etc. Figure 2 As shown, the method may include the following operations: 201. When the target plate is detected to be placed in the predetermined identification position, the first identifier corresponding to the identification position performs an identification operation on the target plate to obtain the identification data of the target plate; wherein, the identification data of the target plate includes the plate identifier.

[0057] 202. Based on the second recognizer, the target user currently carrying the target plate is identified to obtain the target user's identification data; wherein, the target user's identification data includes the user identifier.

[0058] In this embodiment of the invention, the first identifier includes a first code image identifier or an image identifier; the second identifier includes a second code image identifier, a biometric identifier, or a card sensor identifier; wherein the first identifier and the second identifier are integrated into the same identifier or into different identifiers.

[0059] 203. Based on the identification data of the target plate and the identification data of the target user, establish a target association relationship between the target user and the target plate. The number of target plates is greater than or equal to the first preset number, and each target plate has a corresponding target association relationship.

[0060] In this embodiment of the invention, the target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal fees.

[0061] In this embodiment of the invention, steps 201-203 are described in detail. Please refer to the other descriptions of steps 101-103 in Embodiment 1. This embodiment of the invention will not repeat them.

[0062] 204. Based on the target association relationship corresponding to each target plate, determine whether there are multiple target plates that are associated with the same target user.

[0063] 205. When it is determined that there is a plate association, for any target user with a plate association, obtain the association time of each associated plate of the target user; wherein, all associated plates belong to all target plates.

[0064] In this embodiment of the invention, the process ends when it is determined that there is no associated plate situation.

[0065] 206. Based on the association time of each associated plate, determine the number of all target associated plates whose association time is within the same preset time period (e.g., within 15 minutes).

[0066] 207. Determine whether the total number of all target-related plates is less than or equal to the second preset number (e.g., 3). If the second preset number is less than the first preset number.

[0067] 208. When it is determined that the number is less than or equal to the second preset number, the target user's target association relationship with all target associated plates is determined to be a normal association relationship.

[0068] It is evident that implementation Figure 2The described method, when a plate is detected to be placed in a designated identification position, accurately identifies the plate using a first identifier and the user using a second identifier. Based on the identified plate and user identifiers, a relationship is quickly established between the two, eliminating the need for manual association. This improves the efficiency and accuracy of the plate-user association, allowing for direct tracking of plate usage. This enhances the accuracy and convenience of tracking plate usage, reduces plate loss and misuse, and increases plate recycling rates. Furthermore, the method deducts meal fees based on the association, improving the accuracy and efficiency of automatic meal fee deduction and reducing missed or incorrect deductions. This increases the utilization rate of plate resources and, consequently, improves the convenience and efficiency of canteen management. Furthermore, based on the established association between users and plates, it can determine whether a user has multiple plates bound to their account. If so, for users with multiple plates bound, the association time of each plate is extracted. If the number of plates bound at the same time is small, the user's multiple plate association behavior is considered a normal association. This dual verification of association time and binding quantity fully adapts to reasonable multiple plate usage scenarios such as single-person serving, accompanying dining, and meal pickup. It accurately distinguishes between normal user dining needs and abnormal batch plate binding behavior, and helps filter malicious batch binding, fraudulent use, etc. While ensuring the convenience of normal dining, it improves the accuracy and security of risk control for plate binding, thereby further improving the utilization rate of plate resources and the accuracy and efficiency of subsequent plate tracking and meal deduction.

[0069] In an optional embodiment, the method may further include the following steps: When the number is determined to be greater than the second preset number, obtain the target user's dining information for this meal. Based on the target user's dining experience, analyze the target number of people dining with the target user. Determine if the target number of people matches the total number of plates associated with the target; When it is determined that the number of target users matches the number of all target-related plates, the target user's target association relationship with all target-related plates is determined to be a normal association relationship. When it is determined that the number of target users does not match the number of all target-related plates, an abnormal plate association flag is set for the target user.

[0070] In this optional embodiment, the target user's dining situation includes, but is not limited to, one or more of the following: dining scenario type, number of diners, and target user dining identifier. The dining scenario type includes one of the following: dining alone, team building dining, or visitor reception dining. The target user dining identifier includes a group dining identifier or a small group dining identifier.

[0071] In this optional embodiment, the target number of people is multiplied by the preset number of plates per person to obtain the product of the number of plates. The difference in the number of plates between the number of all target-related plates and the product of the number of plates is calculated. It is determined whether the difference in the number of plates is less than or equal to the preset difference in the number of plates. When the result is yes, it is determined that the target number of people matches the number of all target-related plates; otherwise, they do not match.

[0072] As can be seen, implementing this optional embodiment can further analyze the number of people dining with a user in the same time period when there are a large number of associated plates. If the analysis shows a match between the number of people dining with the total number of associated plates, then the multiple plate bindings are still considered normal associations to meet reasonable dining needs such as parent-child accompaniment, group table sharing, and group meal collection, reducing the possibility of misjudgment due to relying solely on the number of associated plates. If the number of associated plates does not match, an abnormal plate association is promptly marked for the user to track abnormal plate usage behavior. This helps monitor malicious bulk plate binding, unauthorized crediting, and theft of meal fees, improving the orderliness of plate binding and thus further improving the utilization rate of plate resources and the accuracy and efficiency of meal fee deduction.

[0073] In this optional embodiment, based on the target user's current dining situation, the target number of people dining with the target user is analyzed, including: When the target user's current dining situation includes a dining scenario type, the first number of people in that dining scenario type is obtained from the pre-stored scenario-person relationship based on the dining scenario type, and is used as the target number of people dining with the target user. When the target user's current dining situation includes the target user dining identifier, the second number of people with the target user dining identifier is obtained from the pre-stored identifier-number relationship based on the target user dining identifier, and is used as the target number of people dining with the target user; When the target user's current dining situation includes the number of diners, that person is determined to be the target number of people dining with the target user.

[0074] Optionally, when the current dining situation includes dining scenario type, number of diners, and target user dining identifier, a verification operation is performed on the number of diners based on the first number of diners to obtain the first number of diners verification result. A verification operation is performed on the number of diners based on the second number of diners to obtain the second number of diners verification result. It is then determined whether the first number of diners verification result matches the second number of diners verification result. If a match is found, the number of diners is determined as the target number of diners dining with the target user. For example, if the first number of diners verification result differs by 2 people and the second number of diners verification result differs by 1 person, it means that the two are matched.

[0075] As can be seen, implementing this optional embodiment can also set corresponding path number analysis methods for different dining situations. That is, based on the dining scenario type, user dining identifier, and number of diners, corresponding methods are adopted to determine the actual number of diners passing through this passage, which improves the accuracy and efficiency of determining the actual number of diners passing through this passage, thereby helping to improve the accuracy and reliability of determining the binding relationship between the plate and the user in the future. In addition, when multiple types of dining information exist at the same time, the number of diners corresponding to the dining scenario type and the number of diners corresponding to the user dining identifier are cross-validated in two directions to finally determine the valid number of diners traveling together. This reduces the situation where the number of diners is inaccurate due to a single data source, thereby improving the comprehensiveness and accuracy of the current number of diners statistics, which in turn helps to further improve the accuracy and reliability of determining the binding relationship between the plate and the user in the future.

[0076] Example 3 Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a device for determining the relationship between diners and plates, as disclosed in an embodiment of the present invention. Figure 3 The described device can be applied in any scenario where plates are needed, such as school cafeterias, factory cafeterias, etc. Figure 3 As shown, the device may include: The identification module 301 is used to identify the target plate based on the first identifier corresponding to the identification position when the target plate is detected to be placed at the predetermined identification position, and to obtain the identification data of the target plate; wherein, the identification data of the target plate includes the plate identifier; The identification module 301 is also used to identify the target user currently carrying the target plate based on the second identifier, and obtain the identification data of the target user; wherein, the identification data of the target user includes a user identifier; Module 302 is used to establish a target association relationship between the target user and the target plate based on the identification data of the target plate and the identification data of the target user; The target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal costs.

[0077] In this embodiment of the invention, the first identifier includes a first code image identifier or an image identifier; the second identifier includes a second code image identifier, a biometric identifier, or a card sensor identifier; wherein the first identifier and the second identifier are integrated into the same identifier or into different identifiers.

[0078] It is evident that implementation Figure 3 The described device, when detecting that a plate is placed in a designated identification position, accurately identifies the plate using a first identifier and the user using a second identifier. Based on the identified plate and user identifiers, it quickly establishes a relationship between the two, eliminating the need for manual intervention. This improves the efficiency and accuracy of the plate-user association, allowing for direct tracking of plate usage. This enhances the accuracy and convenience of tracking plate usage, reduces plate loss and misuse, and increases plate recycling rates. Furthermore, the device deducts meal fees based on the association, improving the accuracy and efficiency of automatic meal fee deduction and reducing missed or incorrect deductions. This increases the utilization rate of plate resources and, consequently, improves the convenience and efficiency of canteen management.

[0079] In an optional embodiment, such as Figure 4 As shown, the device may further include: The calculation module 303 is used to calculate the first time difference between the plate recognition time and the user recognition time when the first recognizer and the second recognizer are integrated into different recognition devices, the recognition data of the target plate also includes the plate recognition time, and the recognition data of the target user also includes the user recognition time. The first judgment module 304 is used to determine whether the first time difference is less than or equal to the first preset recognition time. When it is determined that the time difference is less than or equal to the first preset recognition time, the establishment module 302 is triggered to perform the above-mentioned operation of establishing the association between the target user and the target plate based on the recognition data of the identified target plate and the recognition data of the identified target user.

[0080] It is evident that implementation Figure 4The described device, when the plate reader and user reader are integrated into different recognition devices, collects and calculates the time difference between the plate recognition time and the user recognition time, compares it with a preset recognition duration, and only establishes a binding association between the user and the plate when the time difference is small. This reduces recognition timing disorder, personnel flow interference, and mismatched data caused by separate device deployments, reduces random incorrect binding of different user and plate data, and reduces the occurrence of misbinding and incorrect binding failures. At the same time, it can play a time constraint role in user recognition operations, which is conducive to the accuracy and efficiency of cross-device recognition and matching. This is conducive to further improving the success probability and accuracy of binding the association between the plate and the user, and thus improving the accuracy and efficiency of subsequent plate usage tracking and meal fee deduction.

[0081] In another alternative embodiment, such as Figure 4 As shown, the device may further include: The first acquisition module 305 is used to acquire the location of the plate recognition device of the target plate and the location of the user recognition device of the target user when it is determined that the recognition time is greater than the first preset recognition time. The first acquisition module 305 is also used to acquire scene flow data between the position of the plate recognition device and the position of the user recognition device between the plate recognition time and the user recognition time. The estimation module 306 is used to estimate the movement time required for a target user to move from the first position to the second position based on the position of the plate recognition device, the position of the user recognition device, and scene flow data. The calculation module 303 is also used to calculate the second time difference between the first time difference and the travel duration; The first judgment module 304 is also used to judge whether the second time difference is less than or equal to the second preset recognition time. When it is judged that it is less than or equal to the second preset recognition time, the establishment module 302 is triggered to perform the above-mentioned operation of establishing the association between the target user and the target plate based on the recognition data of the identified target plate and the recognition data of the identified target user. Wherein, when the first position is the position of the plate recognition device, the second position is the position of the user recognition device; when the first position is the position of the user recognition device, the second position is the position of the plate recognition device.

[0082] It is evident that implementation Figure 4The described device can also, for situations where the distribution of the plate recognition device and the user recognition device is set up, if the initial time difference exceeds a preset duration, further combine the positions of the two recognition devices and the scene flow data between their positions to accurately estimate the actual movement time required for the user to move from one recognition device to another. This estimate is then compared with the recognition time difference between the two devices. If the difference is relatively small, the binding relationship between the tableware and the user is still established. This reduces the error situation where the binding relationship cannot be established due to the distance between the two recognition devices. Furthermore, by combining the scene flow data between the positions of the two recognition devices to estimate the actual movement time, the accuracy of the actual movement time estimation is improved. This, in turn, helps to improve the accuracy of comparing the actual movement time of the user with the recognition time difference between the plate and the user, and further helps to improve the execution accuracy of whether the binding relationship between the plate and the user is established.

[0083] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include: The first determining module 307 is used to determine the order of the recognition times of the first and second recognizers based on the plate recognition time and the user recognition time when the first recognizer and the second recognizer are integrated into different recognition devices. The first determining module 307 is also used to determine the identifier of the next target identification device according to the order of events; The first judgment module 304 is also used to determine whether the type of the target recognition device is a food dispensing device based on the identifier of the target recognition device; The first determining module 307 is also used to determine the target association relationship as the final association relationship corresponding to the target plate used by the target user this time when it is determined that the target identification device is a food serving device.

[0084] It is evident that implementation Figure 4 The described device can also determine the order of recognition between the tray recognition device and the user recognition device, and only when the device identified later is determined to be a food dispensing device, can the established association be confirmed as the final binding relationship. This can complete the association confirmation with the food dispensing scenario, ensuring that the two are truly bound only when the user actually wants to get food. It can eliminate invalid temporary binding relationships, unify the judgment criteria for the association between the tray and the user, and improve the uniqueness and accuracy of the binding results. This is conducive to further improving the utilization rate of tray resources and improving the accuracy and efficiency of subsequent tray tracking and meal fee deduction.

[0085] In yet another alternative embodiment, such as Figure 4As shown, the first determining module 307 is also used to set the target association relationship to the initial association relationship corresponding to the target plate used by the target user this time when it is determined that the type of the target identification device is not a food serving device. The first determining module 307 is further configured to determine the target association relationship as the final association relationship corresponding to the target user's use of the target plate when the target user is detected to be carrying the target plate in the preset serving range of a certain serving device.

[0086] It is evident that implementation Figure 4 The described device can also, in cases where the next identification device is not a food dispensing device, first set the established association as an initial association, temporarily not in effect as a final binding state. This reduces data redundancy and mismatches caused by premature binding in non-food dispensing areas. Only when a user's face or a plate, or both, is detected in the preset food dispensing area of ​​the food dispensing device is the initial association upgraded to a final association. This ensures the accuracy and reliability of establishing a final association for users who actually want to dispense food, and reduces the possibility of invalid binding between the plate and the user due to premature binding but no food dispensing, thus wasting plate resources. This helps to further improve the utilization rate of plate resources and the accuracy and efficiency of subsequent plate tracking and meal deduction.

[0087] In another optional embodiment, the number of target plates is greater than or equal to a first preset number, and each target plate has a corresponding target association relationship; such as Figure 4 As shown, the device may further include: The second judgment module 308 is used to determine, based on the target association relationship corresponding to each target plate, whether there are multiple target plates that have established an association relationship with the same target user among all target plates; The second acquisition module 309 is used to, when it is determined that there is a plate association, acquire the association time of each associated plate of any target user for any target user with a plate association; wherein, all associated plates belong to all target plates; The second determining module 310 is used to determine the number of all target associated plates within the same preset time period based on the association time of each associated plate. The second judgment module 308 is also used to determine whether the number of all target associated plates is less than or equal to the second preset number, and the second preset number is less than the first preset number; The second determining module 310 is also used to determine, when it is determined that the target user’s target association relationship with all target associated plates is a normal association relationship, when the number is less than or equal to the second preset number.

[0088] It is evident that implementation Figure 4 The described device can also determine whether a user has multiple plates bound to an existing user-plate association. If so, for users with multiple plates bound, it extracts the association time of each plate. If the number of plates bound at the same time is small, the user's multiple plate association behavior is considered a normal association. This dual verification of association time and number of plates fully adapts to reasonable multiple plate usage scenarios such as single-person serving, accompanying dining, and meal pickup. It accurately distinguishes between normal user dining needs and abnormal batch plate binding behavior, and helps filter malicious batch binding, fraudulent use, etc. While ensuring the convenience of normal dining, it improves the accuracy and security of risk control for plate binding, thereby further improving the utilization rate of plate resources and the accuracy and efficiency of subsequent plate tracking and meal deduction.

[0089] In yet another alternative embodiment, such as Figure 4 As shown, the second acquisition module 309 is also used to acquire the target user's dining situation when it is determined that the number is greater than the second preset number; And such as Figure 4 As shown, the device may further include: Analysis module 311 is used to analyze the target number of people dining with the target user based on the target user's current dining situation; The second judgment module 308 is also used to determine whether the number of target people matches the number of all target-related plates; The second determining module 310 is also used to determine that the target user’s target association relationship with all target associated plates is a normal association relationship when it is determined that the number of target users matches the number of all target associated plates. The second determining module 310 is also used to set an abnormal plate association flag for the target user when it is determined that the number of target users does not match the number of all target-related plates.

[0090] It is evident that implementation Figure 4The described device can further analyze the number of people dining with a user in the same group when there are a large number of associated plates in the same time period. If the analysis shows a match between the number of people dining with a group and the total number of associated plates, the multiple plates are still considered to be associated normally to meet reasonable dining needs such as families with children, multiple people sharing a table, and groups taking meals together. This reduces the possibility of misjudgment caused by judging solely based on the number of associated plates. If the number of associated plates does not match, the device will mark the user with an abnormal plate association to track abnormal plate usage. This helps to monitor malicious bulk plate binding, unauthorized crediting, and theft of meal fees, improves the orderliness of plate binding, and thus further improves the utilization rate of plate resources and the accuracy and efficiency of meal fee deduction.

[0091] Example 4 Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of an identification device disclosed in an embodiment of the present invention. Figure 5 The described device can be applied in any scenario where plates are needed, such as school cafeterias, factory cafeterias, etc. Figure 5 As shown, the identification device may include: Memory 401 storing executable program code; Processor 402 coupled to memory 401; The processor 402 calls the executable program code stored in the memory 401 to execute some or all of the steps in the method for determining the relationship between diners and plates as described in either Embodiment 1 or Embodiment 2 of the present invention.

[0092] Example 5 This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute some or all of the steps in any of the methods for determining the relationship between diners and plates disclosed in Embodiment 1 or Embodiment 2 of this invention.

[0093] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0094] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0095] Finally, it should be noted that the above embodiments are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining the relationship between diners and plates, characterized in that, The method includes: When a target plate is detected to be placed at a predetermined identification position, the first identifier corresponding to the identification position performs an identification operation on the target plate to obtain identification data of the target plate; wherein, the identification data of the target plate includes a plate identifier; The second recognizer performs an identification operation on the target user currently carrying the target plate to obtain the identification data of the target user; wherein, the identification data of the target user includes a user identifier; Based on the identification data of the target plate and the identification data of the target user, a target association relationship is established between the target user and the target plate; The target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal costs.

2. The method according to claim 1, characterized in that, The first identifier includes a first code image identifier or an image identifier; the second identifier includes a second code image identifier, a biometric identifier, or a card sensor identifier; wherein the first identifier and the second identifier are integrated into the same identifier or into different identifiers. Furthermore, when the first recognizer and the second recognizer are integrated into different recognizer devices, the recognizer data of the target plate also includes the plate recognizer time, and the recognizer data of the target user also includes the user recognizer time. The method further includes: Calculate the first time difference between the time the plate was identified and the time the user was identified; Determine whether the first time difference is less than or equal to the first preset recognition time. If it is determined that it is less than or equal to the first preset recognition time, execute the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user.

3. The method according to claim 2, characterized in that, The method further includes: When it is determined that the recognition time is longer than the first preset recognition time, the location of the plate recognition device of the target plate and the location of the user recognition device that identifies the target user are obtained respectively. Based on the plate recognition time and the user recognition time, obtain scene flow data between the positions of the plate recognition device and the user recognition device between the two times; Based on the location of the plate recognition device, the location of the user recognition device, and the scene flow data, the estimated movement time required for the target user to move from the first location to the second location is determined. Calculate the second time difference between the first time difference and the travel duration; Determine whether the second time difference is less than or equal to the second preset recognition time. When it is determined that it is less than or equal to the second preset recognition time, execute the operation of establishing the association between the target user and the target plate based on the recognition data of the target plate and the recognition data of the target user. Wherein, when the first position is the position of the plate recognition device, the second position is the position of the user recognition device; when the first position is the position of the user recognition device, the second position is the position of the plate recognition device.

4. The method according to claim 2 or 3, characterized in that, When the first identifier and the second identifier are integrated into different identification devices, the method further includes: Based on the time of plate recognition and the time of user recognition, determine the order of their recognition times; Based on the aforementioned sequence, the identifier of the next target recognition device is determined; Based on the identifier of the target identification device, determine whether the type of the target identification device is a food dispensing device; When it is determined that the type of the target identification device is the type of food serving device, the target association relationship is determined to be the final association relationship corresponding to the target user's use of the target plate this time.

5. The method according to claim 4, characterized in that, The method further includes: When it is determined that the type of the target identification device is not the type of the food serving device, the target association relationship is set to the initial association relationship corresponding to the target user's current use of the target plate; When the target user is detected carrying the target plate and appearing within the preset serving range of a certain serving device, the target association is determined as the final association corresponding to the target user's use of the target plate this time.

6. The method according to any one of claims 1-3 and 5, characterized in that, The number of target plates is greater than or equal to a first preset number, and each target plate has a corresponding target association relationship. The method further includes: Based on the target association relationship corresponding to each target plate, determine whether there are multiple target plates that have established an association relationship with the same target user among all the target plates; When it is determined that the plate association exists, for any target user with the plate association, the association time of each associated plate of the target user is obtained; wherein, all the associated plates belong to all the target plates; Based on the association time of each associated plate, determine the number of all target associated plates within the same preset time period. Determine whether the total number of all the target associated plates is less than or equal to a second preset number, where the second preset number is less than the first preset number; When it is determined that the number is less than or equal to the second preset number, the target user's target association relationship with all the target associated plates is determined to be a normal association relationship.

7. The method according to claim 6, characterized in that, The method further includes: When it is determined that the number is greater than the second preset number, the dining situation of the target user for this time is obtained; Based on the target user's dining situation this time, analyze the target number of people dining with the target user; Determine whether the target number of people matches the number of all target-related plates; When it is determined that the target number of people matches the number of all the target associated plates, the target user's target association relationship with all the target associated plates is determined to be a normal association relationship. When it is determined that the target number of people does not match the total number of all target-related plates, an abnormal plate association flag is set for the target user.

8. A device for determining the relationship between a diner and a plate, characterized in that, The device includes: The identification module is used to identify the target plate based on a first identifier corresponding to the predetermined identification position when the target plate is detected to be placed at the predetermined identification position, thereby obtaining the identification data of the target plate; wherein, the identification data of the target plate includes a plate identifier; The identification module is further configured to perform an identification operation on the target user currently carrying the target plate based on the second identifier, and obtain the identification data of the target user; wherein, the identification data of the target user includes a user identifier; A module is established to establish a target association relationship between the target user and the target plate based on the identification data of the target plate and the identification data of the target user; The target association relationship corresponding to the target plate is used as the basis for tracking the target user's use of the target plate and / or for deducting meal costs.

9. An identification device, characterized in that, The identification device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for determining the association between diners and plates as described in any one of claims 1-7.

10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the method for determining the association between diners and plates as described in any one of claims 1-7.