Intelligent weighing method, system, device and medium for self-service meal collection

By obtaining and analyzing the weight data of the vegetable spoon, judging its status, and calculating the weighing correction value, the problem of incorrect identification of the vegetable spoon status and calculating the dining expenses in the buffet restaurant is solved, and accurate user dining expense statistics and system costs are achieved. savings.

CN115979396BActive Publication Date: 2024-11-26四川启睿克科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211565570.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2024-11-26
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

The existing buffet restaurant weighing and settlement system cannot automatically identify the status of the picking spoon, resulting in user dining expenses incorrectly calculated and additional sensors or detection devices are required to correct this problem, increasing system costs.

Method used

By obtaining the weight data of the vegetable picking spoon, using the preset method to determine the stable value array, judge the initial and current status of the vegetable picking spoon, calculate the weighing correction value, and realize the accurate calculation of the user's food picking weight, avoiding dependence on the sensor , reducing system costs.

Benefits of technology

Automatic identification and accurate calculation of the status of the picking spoon is realized, which avoids statistics of dining expenses, saves system costs, and ensures data accuracy by correcting the weight of users' meals in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115979396B_ABST
    Figure CN115979396B_ABST
Patent Text Reader

Abstract

An intelligent weighing method for self-service meal pickup, comprising: obtaining the weight of a meal pickup spoon; in response to reading user information, continuously obtaining multiple weight data of a meal plate; processing the multiple weight data based on a first preset method to determine a stable value array; judging the initial state of the meal pickup spoon at the initial stage of meal pickup based on the stable value array based on a second preset method; judging the current state of the meal pickup spoon and determining a weighing correction value based on the initial state, and determining the actual meal pickup weight for settlement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent weighing, and in particular to an intelligent weighing method, system, device and medium for self-service meal collection. Background Art

[0002] In recent years, there are more and more unmanned self-service restaurants, and in self-service restaurants, weighing is often used to determine the user's dining expenses. However, the existing weighing settlement scheme cannot automatically identify the status of the spoon. If the user does not put the spoon back, the spoon will be counted as the weight of the dish taken, which will miscalculate the user's dining cost. At the same time, the relevant data in the system statistics will also be wrong because the weight of the dish taken is inconsistent with the actual weight of the dish taken.

[0003] Therefore, it is necessary to provide an intelligent weighing method, system, device and medium for self-service food pickup that can automatically and accurately identify the status of a food spoon and accurately calculate the weight of the food picked up by the user. Summary of the invention

[0004] The purpose of the present invention is to provide an intelligent weighing method, system, device and medium for self-service food pickup, so as to realize the automatic and accurate identification of the food pickup spoon status and accurate calculation of the food pickup weight of the user, avoid statistical errors, and do not need to use other sensors or detection devices specifically used for identifying the food pickup spoon, which can effectively save system costs.

[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:

[0006] An intelligent weighing method for self-service meal pickup, comprising: obtaining the weight of a meal pickup spoon; in response to reading user information, continuously obtaining multiple weight data of a meal plate; processing the multiple weight data based on a first preset method to determine a stable value array; judging the initial state of the meal pickup spoon at the initial stage of meal pickup based on the stable value array based on a second preset method; judging the current state of the meal pickup spoon and determining a weighing correction value based on the initial state, and determining the actual meal pickup weight for settlement.

[0007] In some embodiments, the first preset method includes:

[0008] Step 1, read the first weight data X1 among the multiple weight data X={X1, X2, . . . , Xm}, use the first weight data as the first stable value of the stable value array aNum, that is, aNum={X1}, and use the first weight data X1 as the current change value P, that is, P=X1;

[0009] Step 2, read the next weight data Xi, i = 2, 3, 4, ..., m, determine whether the difference between Xi and the current change value P is less than the first difference threshold, if so, proceed to step 3; otherwise, take Xi as the current change value P, that is, update P = Xi, re-read the next weight data X (i + 1), and perform the operation of step 2 again;

[0010] Step 3, determine whether the difference between Xi and the last stable value in the stable value array aNum is less than the second difference threshold value. If so, it means that the stable value to which Xi belongs already exists, re-read the next weight data X(i+1), and execute step 2 again. Otherwise, go to step 4;

[0011] Step 4, update the stable value array aNum={X1, Xi}, and re-read the next weight data X(i+1);

[0012] Step 5, repeat step 2-step 4; until each weight data in the multiple weight data X={X1, X2, ..., Xm} is analyzed to obtain a stable value array aNum={W0, W1, ..., Wn}.

[0013] In some embodiments, judging the initial state of the food taking spoon at the initial stage of food taking based on the stable value array and the second preset method includes:

[0014] Determine whether the difference between W1 and W0 in the stable value array is greater than the weight of the food spoon;

[0015] If so, the initial state of the vegetable spoon is on the weighing platform; otherwise, the initial state of the vegetable spoon is not on the weighing platform.

[0016] In some embodiments, the steps of analyzing the stable value array based on the initial state and the third preset method, judging the current state of the food taking spoon and determining the weighing correction value, and determining the actual food taking weight for settlement include:

[0017] S10, determining whether the initial state is not on the weighing platform, if so, executing step S20, otherwise, executing step S30;

[0018] S20, if W = |Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S21, otherwise, execute step S22;

[0019] S21, determine the size of Wn and W(n-1);

[0020] If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table.

[0021] If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table;

[0022] S22, determining the current state of the food taking spoon;

[0023] If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|;

[0024] If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|+W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon;

[0025] S30, if W = |Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S31, otherwise, execute step S32;

[0026] S31, determine the size of Wn and W(n-1);

[0027] If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table.

[0028] If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table;

[0029] S32, determining the current state of the food taking spoon;

[0030] If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|-W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon;

[0031] If the current state of the food taking spoon is on the weighing table, determine the actual food taking weight for settlement

[0032] W 终 =|Wn-W0|.

[0033] At the same time, the present invention also discloses an intelligent weighing system for self-service meal pickup, including: a first acquisition module, used to obtain the weight of a meal pickup spoon; a second acquisition module, used to continuously obtain multiple weight data of a meal plate in response to reading user information; a first determination module, used to process the multiple weight data based on a first preset method to determine a stable value array; a first judgment module, used to judge the initial state of the meal pickup spoon in the initial stage of meal pickup based on the stable value array and a second preset method; a second determination module, used to analyze the stable value array based on a third preset method based on the initial state, judge the current state of the meal pickup spoon and determine the weighing correction value, and determine the actual meal pickup weight for settlement.

[0034] At the same time, the present invention also discloses an intelligent weighing device for self-service meal collection, which includes at least one processor and at least one memory; the at least one memory is used to store computer instructions; the at least one processor is used to execute at least part of the computer instructions to implement the aforementioned intelligent weighing method for self-service meal collection.

[0035] At the same time, the present invention also discloses a computer-readable storage medium, which stores computer instructions. When a computer reads the computer instructions, the computer executes the aforementioned intelligent weighing method for self-service meal collection.

[0036] Beneficial Effects

[0037] Compared with the prior art, the present invention has the following significant advantages:

[0038] The technical solution of the present invention adopts reading the weight change of the electronic scale to obtain the stable value, and then analyzes the picking up and putting back of the spoon through the spoon algorithm, and then compensates the weight change of the user's meal by the picking up and putting back status, so as to calculate the actual weight of the user's meal in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a schematic diagram of an intelligent weighing system for self-service meal pickup according to the present embodiment;

[0040] Figure 2 is a flow chart of an intelligent weighing method for self-service meal pickup involved in this embodiment;

[0041] Figure 3 is a schematic diagram of a process for determining a stable value array involved in this embodiment;

[0042] Figure 4 It is a schematic diagram of the process of determining the actual weight of food taken for settlement involved in this embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] On the contrary, the present application covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present application as defined by the claims. Further, in order to make the public have a better understanding of the present application, some specific details are described in detail in the detailed description of the present application below. Those skilled in the art can fully understand the present application without the description of these details.

[0045] The following will be combined Figure 1-4 The following is a detailed description of an intelligent weighing method and system for self-service meal pickup involved in the embodiments of the present application. It should be noted that the following embodiments are only used to explain the present application and do not constitute a limitation on the present application.

[0046] Example 1

[0047] An intelligent weighing system for self-service meal collection, comprising:

[0048] The first acquisition module 110 is used to obtain the weight of the spoon.

[0049] For example, the precise weight of a food spoon can be obtained through a precision electronic scale and used as a correction value for subsequent food picking by users.

[0050] The second acquisition module 120 is used to continuously acquire multiple weight data of the plate in response to reading the user information. The stable value collection starts when the user plate is placed on the weighing table and the user information is read. A stable value array is initialized.

[0051] The first determination module 130 is used to process the multiple weight data based on the first preset method to determine a stable value array. Among them, the weight reported by the electronic scale can be recorded, and the difference between two consecutive weight values ​​less than 2 is regarded as a stable value. When the weight change has an inflection point (a sudden decrease during the increase or a sudden increase during the decrease, regarded as an inflection point), the inflection point is also regarded as a stable value. For details, see Figure 2 Related description.

[0052] The first judgment module 140 is used to judge the initial state of the food taking spoon in the initial stage of food taking according to the stable value array and based on the second preset method. When the stable value is inserted, the analysis starts one by one. For details, see Figure 2-4 content.

[0053] The first judgment module 140 can judge the first two stable values ​​each time, obtain the difference between the second stable value and the first stable value, such as W=W1-W2, and perform the calculation based on the difference. If the difference W is greater than the weight of the spoon, it can be determined that the current spoon is in the picked-up state, and the original spoon is on the weighing platform. If it is less than the weight of the spoon, it means that there is no action of picking up the spoon. The spoon is not on the weighing platform at the start.

[0054] The second determination module 150 is used to analyze the stable value array based on the third preset method according to the initial state, determine the current state of the food taking spoon and determine the weighing correction value, as well as determine the actual food taking weight used for settlement. When the user is in the process of picking up food, the weight of the two stable values ​​before and after is calculated, W = Wn-W (n-1), and the current food taking spoon is corrected based on the value of W and the weight of the food taking spoon to determine whether it is put back or picked up. Then, combined with the judgment of whether the food taking spoon is on the weighing table when picking up food and the current state of whether the food taking spoon is picked up, the weight of the food taken by the user is corrected, and the weight of the food taken by the user is obtained at all times. Finally, when the user removes the meal plate, the user's food taking fee is calculated based on the corrected actual food taking weight.

[0055] Example 2

[0056] An intelligent weighing method for self-service meal collection can be implemented based on an intelligent weighing system for self-service meal collection, such as Figure 2 As shown, the following steps are included:

[0057] Step 210, obtaining the weight of the serving spoon.

[0058] In some embodiments, the first obtaining module 110 may first obtain the actual weight of the serving spoon and set the weight of the serving spoon.

[0059] Step 220: In response to reading the user information, continuously obtain a plurality of weight data of the dinner plate.

[0060] In some embodiments, after the user places a plate on the weighing platform, the user's plate information is read through the IC card to determine the conditions for picking up the meal. For example, the time when the user's plate information is obtained is used as the start time for obtaining the stable value, and a stable value array is initialized as aNum, aNum is currently an empty set, and at the same time, the current weight change value can be initialized to 0.

[0061] Step 230: Process the plurality of weight data based on a first preset method to determine a stable value array.

[0062] In some embodiments, the data of the weighing table can be obtained during the process of the user picking up the meal, that is, from the time the user places the plate to the time the user takes the plate away, and the stable value can be extracted according to the stable value judgment rule, and the weight of the user's meal can be calculated in real time by analyzing the state of the spoon through the stable value.

[0063] In some embodiments, the stable value judgment rule is: when the same weight value appears at least twice, the weight is regarded as a stable value. When the weight change has an inflection point (a sudden decrease during the increase or a sudden increase during the decrease, regarded as an inflection point), the inflection point is also regarded as a stable value.

[0064] In some embodiments, Figure 3 As shown, the first preset method includes:

[0065] Step 1, read the first weight data X1 among the multiple weight data X={X1, X2, . . . , Xm}, use the first weight data as the first stable value of the stable value array aNum, that is, aNum={X1}, and use the first weight data X1 as the current change value P, that is, P=X1;

[0066] Step 2, read the next weight data Xi, i = 2, 3, 4, ..., m, determine whether the difference between Xi and the current change value P is less than the first difference threshold, if so, proceed to step 3; otherwise, take Xi as the current change value P, that is, update P = Xi, re-read the next weight data X (i + 1), and perform the operation of step 2 again;

[0067] Step 3, determine whether the difference between Xi and the last stable value in the stable value array aNum is less than the second difference threshold value. If so, it means that the stable value to which Xi belongs already exists, re-read the next weight data X(i+1), and execute step 2 again. Otherwise, go to step 4;

[0068] Step 4, update the stable value array aNum={X1, Xi}, and re-read the next weight data X(i+1);

[0069] Step 5, repeat step 2-step 4; until each weight data in the multiple weight data X={X1, X2, ..., Xm} is analyzed to obtain a stable value array aNum={W0, W1, ..., Wn}.

[0070] For example, an array of total electronic scale values ​​within the time range of the user placing the plate and taking the plate away has been obtained, that is, multiple weight data X = {1857, 1856, 1857, 1843, 1822, 1775, 1755, 1755, 1755, 1723, 1688, 1656, 1655, 1656, 1698, 1738, 1738, 1738, 1738}.

[0071] Start with the first total value 1857. If the current aNum is empty, the first value is inserted into the stable value array and the current stable value is: aNum = {1857}. The current change value is 1857. Continue to judge the next number.

[0072] The second number is 1856. The difference between it and the current change value 1857 is less than 2. Therefore, 1856 is regarded as a stable value. If the difference between it and the last number 1857 of the stable value is less than 2, it means that a stable value already exists and the judgment continues with the next number.

[0073] The third digit is 1857. The difference between the third digit and the current change value 1857 is less than 2. Therefore, 1857 is regarded as a stable value. If the difference between the third digit and the last digit 1857 of the stable value is less than 2, it means that a stable value already exists, and the judgment continues with the next digit.

[0074] The fourth number is 1843, and the difference between it and the current change value 1857 is greater than 2. Record the current change value as 1843 and continue to judge the next number.

[0075] The fifth number is 1822, and the difference between it and the current change value 1843 is greater than 2. Record the current change value as 1822 and continue to judge the next number.

[0076] The sixth number is 1775, and the difference between it and the current change value 1822 is greater than 2. Record the current change value as 1775 and continue to judge the next number.

[0077] The seventh number is 1755, and the difference between it and the current change value 1775 is greater than 2. Record the current change value as 1755 and continue to judge the next number.

[0078] The eighth digit is 1755, and the difference between it and the current change value 1755 is less than 2, so 1755 is regarded as a stable value, and the difference between it and the last digit 1857 of the stable value is greater than 2, which means that the stable value does not exist. Insert the stable value array, and the current stable value array is: aNum={1857, 1755}, and continue to judge the next digit.

[0079] The ninth digit is 1755. The difference between the ninth digit and the current change value 1755 is less than 2. Therefore, 1755 is regarded as a stable value. The difference between the ninth digit and the last digit 1755 of the stable value is less than 2. This indicates that a stable value already exists. Continue to judge the next digit.

[0080] The tenth digit is 1723, and the difference between it and the current change value 1755 is greater than 2. Record the current change value as 1723 and continue to judge the next digit.

[0081] The eleventh digit is 1688, and the difference between it and the current change value 1723 is greater than 2. Record the current change value as 1688 and continue to judge the next digit.

[0082] The twelfth number is 1656, and the difference between it and the current change value 1688 is greater than 2. Record the current change value as 1656 and continue to judge the next number.

[0083] The thirteenth digit is 1655, and the difference between it and the current change value 1656 is less than 2. Therefore, 1655 is regarded as a stable value, and the difference between it and the last digit 1755 of the stable value is greater than 2, which means that the stable value does not exist. Insert the stable value array, and the current stable value array is: aNum={1857, 1755, 1655}, and continue to judge the next digit.

[0084] The fourteenth digit is 1656. The difference between it and the current change value 1656 is less than 2. Therefore, 1656 is regarded as a stable value. And the difference between it and the last digit 1655 of the stable value is less than 2. This indicates that a stable value already exists, and the judgment of the next digit continues.

[0085] The fifteenth digit is 1698, and the difference between it and the current change value 1656 is greater than 2. Record the current change value as 1698 and continue to judge the next digit.

[0086] The sixteenth digit is 1738, and the difference between it and the current change value 1698 is greater than 2. Record the current change value as 1738 and continue to judge the next digit.

[0087] The seventeenth digit is 1738, and the difference between it and the current change value 1738 is less than 2. Therefore, 1738 is regarded as a stable value, and the difference between it and the last digit 1655 of the stable value is greater than 2, which means that the stable value does not exist. Insert the stable value array, and the current stable value array is: aNum = {1857, 1755, 1655, 1738}, and continue to judge the next digit.

[0088] The eighteenth digit is 1738, and the difference between it and the current change value 1738 is less than 2, so 1738 is regarded as a stable value. And the difference between it and the last digit 1738 of the stable value is less than 2, which means that the stable value already exists, and continue to judge the next digit.

[0089] The nineteenth digit is 1738. The difference between it and the current change value 1738 is less than 2. Therefore, 1738 is regarded as a stable value. If the difference between it and the last digit 1738 of the stable value is less than 2, it means that a stable value already exists, and the judgment continues with the next digit.

[0090] The final stable value array is: aNum = {1857, 1755, 1655, 1738}

[0091] Step 240: According to the stable value array, based on a second preset method, determine the initial state of the food taking spoon at the initial stage of taking food.

[0092] In some embodiments, judging the initial state of the food taking spoon at the initial stage of food taking based on the stable value array and the second preset method includes:

[0093] Determine whether the difference between W1 and W0 in the stable value array is greater than the weight of the food spoon;

[0094] If so, the initial state of the vegetable spoon is on the weighing platform; otherwise, the initial state of the vegetable spoon is not on the weighing platform.

[0095] For example, the initial state of the spoon can be determined by W=W1-W0. When the weight value W is greater than the weight of the spoon, it indicates that the spoon is initially on the weighing platform. When the value W is less than the weight of the spoon, it indicates that the spoon is not initially on the weighing platform.

[0096] Step 250, according to the initial state, analyze the stable value array based on a third preset method, determine the current state of the food taking spoon and determine the weighing correction value, and determine the actual food taking weight for settlement.

[0097] In some embodiments, Figure 4 As shown, according to the initial state, the stable value array is analyzed based on the third preset method, the current state of the food taking spoon is judged and the weighing correction value is determined, and the actual food taking weight for settlement is determined, including:

[0098] S10, determining whether the initial state is not on the weighing platform, if so, executing step S20, otherwise, executing step S30;

[0099] S20, if W = |Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S21, otherwise, execute step S22;

[0100] S21, determine the size of Wn and W(n-1);

[0101] If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table.

[0102] If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table;

[0103] S22, determining the current state of the food taking spoon;

[0104] If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement终 =|Wn-W0|;

[0105] If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|+W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon;

[0106] S30, if W = |Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S31, otherwise, execute step S32;

[0107] S31, determine the size of Wn and W(n-1);

[0108] If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table.

[0109] If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table;

[0110] S32, determining the current state of the food taking spoon;

[0111] If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|-W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon;

[0112] If the current state of the food taking spoon is on the weighing table, determine the actual food taking weight for settlement

[0113] W 终 =|Wn-W0|.

[0114] For example, if the initial state of the food spoon is that the food spoon is not initially on the weighing platform: then the current state of the food spoon and the actual food weight used for settlement are determined as follows:

[0115] Continue with W=|Wn-W(n-1)|. If the W value is greater than the weight of the spoon, the current state of the spoon needs to be corrected.

[0116] If the weight value on the weighing table decreases, that is, Wn is less than W(n-1), it means that the user is taking food. If the current state of the spoon is judged to be picked up (that is, not on the weighing table), the state does not need to be updated. At this time, it means that the weight of the food is greater than the spoon. If the current state of the spoon is judged to be put back (that is, on the weighing table), the current state of the spoon needs to be corrected to picked up (that is, not on the weighing table).

[0117] If the weight of the weighing table increases, that is, Wn is greater than W(n-1), it means that the food is being returned. If the current state of the food spoon is judged to be picked up, the current state of the food spoon needs to be corrected to put back. If the current state of the food spoon is judged to be put back, the state does not need to be updated, which means that the weight of the returned food is greater than the food spoon.

[0118] If the W value is less than the weight of the spoon, the weight of the food the user takes needs to be calculated in time, and the weight of the food the user takes needs to be corrected according to the current state of the spoon: if the current state of the spoon is picked up, the actual weight of the food = |Wn-W0|. If the current state of the spoon is put back, the actual weight of the food = |Wn-W0|+W 勺 .

[0119] In some embodiments, if the initial state of the vegetable spoon is that the vegetable spoon is initially on the weighing platform, the determination of W=|Wn-W(n-1)| is continued. If the W value is greater than the weight of the vegetable spoon, the current state of the vegetable spoon needs to be corrected.

[0120] For example, if Wn is less than W(n-1), that is, the weight value of the weighing table decreases, indicating that the user is taking food. If the current state of the food-taking spoon is currently judged to be picked up, the state does not need to be updated. At this time, it means that the weight of the food taken is greater than the food-taking spoon. If the current state of the food-taking spoon is put back, the current state of the food-taking spoon needs to be corrected to pick up.

[0121] For another example, if Wn is greater than W(n-1), the weight of the weighing table increases, indicating that the dish is returned. At this time, if the current state of the dish spoon is picked up, the current state of the dish spoon needs to be corrected to put back. If the current state of the dish spoon is put back, the state of the dish spoon does not need to be updated, indicating that the weight of the returned dish is greater than the dish spoon.

[0122] If the W value is less than the weight of the spoon, the weight of the food taken by the user needs to be calculated in time. Specifically, the weight of the food taken by the user needs to be corrected according to the current state of the spoon. For example, if the current state of the spoon is picked up, the actual weight of the food taken = |Wn-W0|-W 勺 , if the current state of the food spoon is put back, the actual weight of the food taken = |Wn-W0|.

[0123] At the same time, the present invention also discloses an intelligent weighing device for self-service meal collection, which includes at least one processor and at least one memory; the at least one memory is used to store computer instructions; the at least one processor is used to execute at least part of the computer instructions to implement the aforementioned intelligent weighing method for self-service meal collection.

[0124] At the same time, the present invention also discloses a computer-readable storage medium, which stores computer instructions. When a computer reads the computer instructions, the computer executes the aforementioned intelligent weighing method for self-service meal collection.

[0125] In summary, according to the changing weight value of the electronic scale, the effective weight stability value is extracted, and then the picking-up spoon algorithm is used to analyze and identify the action of picking up and putting down the picking spoon, so as to achieve the purpose of truly obtaining the weight of the user's meal.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An intelligent weighing method for self-service meal collection, characterized in that: include: Get the weight of the spoon; In response to reading the user information, continuously acquiring a plurality of weight data of the dinner plate; Processing the plurality of weight data based on a first preset method to determine a stable value array; According to the stable value array, based on a second preset method, determining the initial state of the food taking spoon at the initial stage of food taking; According to the initial state, the stable value array is analyzed based on a third preset method to determine the current state of the food taking spoon and determine the weighing correction value, and determine the actual food taking weight for settlement; The first preset method includes: Step 1, read the first weight data X1 among the multiple weight data X={X1, X2, ..., Xm}, use the first weight data as the first stable value of the stable value array aNum, that is, aNum={X1}, and use the first weight data X1 as the current change value P, that is, P=X1; Step 2, read the next weight data Xi, i=2, 3, 4, ..., m, determine whether the difference between Xi and the current change value P is less than the first difference threshold, if so, proceed to step 3; otherwise, take Xi as the current change value P, that is, update P= Xi, re-read the next weight data X(i+1), and perform the operation of step 2 again; Step 3, determine whether the difference between Xi and the last stable value in the stable value array aNum is less than the second difference threshold value. If so, it means that the stable value to which Xi belongs already exists, re-read the next weight data X(i+1), and execute step 2 again. Otherwise, go to step 4; Step 4, update the stable value array aNum={X1, Xi}, and re-read the next weight data X(i+1); Step 5, repeating step 2 to step 4; until each weight data in the plurality of weight data X={X1, X2, ..., Xm} is analyzed to obtain a stable value array aNum={W0, W1, ..., Wn}; the initial state of the food taking spoon in the initial stage of food taking according to the stable value array and based on the second preset method comprises: Determine whether the difference between W1 and W0 in the stable value array is greater than the weight of the food spoon; If yes, the initial state of the food taking spoon is on the weighing table, otherwise, the initial state of the food taking spoon is not on the weighing table; The step of analyzing the stable value array based on the initial state and the third preset method, judging the current state of the food taking spoon and determining the weighing correction value, and determining the actual food taking weight for settlement includes: S10, determining whether the initial state is not on the weighing platform, if so, executing step S20, otherwise, executing step S30; S20, if W=|Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S21, otherwise, execute step S22; S21, determine the size of Wn and W(n-1); If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table. If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table; S22, determining the current state of the food taking spoon; If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|; If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|+W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon; S30, if W=|Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S31, otherwise, execute step S32; S31, determine the size of Wn and W(n-1); If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table. If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table; S32, determining the current state of the food taking spoon; If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|- W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon; If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|.

2. An intelligent weighing system for self-service meal collection, characterized in that: The method for implementing claim 1 comprises: The first acquisition module is used to obtain the weight of the spoon; A second acquisition module, configured to continuously acquire a plurality of weight data of the dinner plate in response to reading the user information; A first determining module, configured to process the plurality of weight data based on a first preset method to determine a stable value array; A first judgment module, configured to judge the initial state of the food taking spoon at the initial stage of food taking according to the stable value array and based on a second preset method; The second determination module is used to analyze the stable value array according to the initial state based on a third preset method, determine the current state of the food taking spoon and determine the weighing correction value, and determine the actual food taking weight for settlement.

3. The system according to claim 2, characterized in that The first preset method includes: Step 1, read the first weight data X1 among the multiple weight data X={X1, X2, ..., Xm}, use the first weight data as the first stable value of the stable value array aNum, that is, aNum={X1}, and use the first weight data X1 as the current change value P, that is, P=X1; Step 2, read the next weight data Xi, i=2, 3, 4, ..., m, determine whether the difference between Xi and the current change value P is less than the first difference threshold, if so, proceed to step 3; otherwise, take Xi as the current change value P, that is, update P= Xi, re-read the next weight data X(i+1), and perform the operation of step 2 again; Step 3, determine whether the difference between Xi and the last stable value in the stable value array aNum is less than the second difference threshold value. If so, it means that the stable value to which Xi belongs already exists, re-read the next weight data X(i+1), and execute step 2 again. Otherwise, go to step 4; Step 4, update the stable value array aNum={X1, Xi}, and re-read the next weight data X(i+1); Step 5, repeat step 2 to step 4; until each weight data in the multiple weight data X={X1, X2, ..., Xm} is analyzed to obtain a stable value array aNum={W0, W1, ..., Wn}.

4. The system according to claim 3, characterized in that The determining of the initial state of the food taking spoon in the initial stage of food taking based on the second preset method according to the stable value array includes: Determine whether the difference between W1 and W0 in the stable value array is greater than the weight of the food spoon; If so, the initial state of the vegetable spoon is on the weighing platform; otherwise, the initial state of the vegetable spoon is not on the weighing platform.

5. The system according to claim 3, characterized in that The step of analyzing the stable value array based on the initial state and the third preset method, judging the current state of the food taking spoon and determining the weighing correction value, and determining the actual food taking weight for settlement includes: S10, determining whether the initial state is not on the weighing platform, if so, executing step S20, otherwise, executing step S30; S20, if W=|Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S21, otherwise, execute step S22; S21, determine the size of Wn and W(n-1); If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table. If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table; S22, determining the current state of the food taking spoon; If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|; If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|+W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon; S30, if W=|Wn-W(n-1)|, determine whether W is greater than the weight of the spoon, if so, execute step S31, otherwise, execute step S32; S31, determine the size of Wn and W(n-1); If Wn is less than W(n-1), the current state of the spoon is updated to be not on the weighing table. If Wn is greater than W(n-1), the current state of the food spoon is updated to be on the weighing table; S32, determining the current state of the food taking spoon; If the current state of the food taking spoon is not on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|- W 勺 ; Among them, W 勺 The weighing correction value is equal to the weight of the food spoon; If the current state of the food taking spoon is on the weighing platform, determine the actual food taking weight W for settlement 终 =|Wn-W0|.

6. An intelligent weighing device for self-service meal collection, the device comprising at least one processor and at least one memory; The at least one memory is used to store computer instructions; The at least one processor is used to execute at least part of the computer instructions to implement the intelligent weighing method for self-service meal pickup as described in claim 1.

7. A computer-readable storage medium, characterized in that: The storage medium stores computer instructions. When a computer reads the computer instructions, the computer executes the intelligent weighing method for self-service meal pickup as claimed in claim 1.