CN110428548A - A kind of method and device identifying the cargo taken out from vending machine - Google Patents

A kind of method and device identifying the cargo taken out from vending machine Download PDF

Info

Publication number
CN110428548A
CN110428548A CN201910734883.1A CN201910734883A CN110428548A CN 110428548 A CN110428548 A CN 110428548A CN 201910734883 A CN201910734883 A CN 201910734883A CN 110428548 A CN110428548 A CN 110428548A
Authority
CN
China
Prior art keywords
cargo
vending machine
taken out
sale date
weight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910734883.1A
Other languages
Chinese (zh)
Inventor
陈明华
吴龙
李昱兵
张德春
李光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN201910734883.1A priority Critical patent/CN110428548A/en
Publication of CN110428548A publication Critical patent/CN110428548A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/40Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight
    • G01G19/413Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means
    • G01G19/414Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means using electronic computing means only
    • G01G19/4144Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means using electronic computing means only for controlling weight of goods in commercial establishments, e.g. supermarket, P.O.S. systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty

Abstract

The present invention provides a kind of method and devices of cargo for identifying and taking out from vending machine, this method, it include: the real-time weight obtained in the gravity sensor output for selling vending machine in the period, wherein the door of on-sale date Duan Weicong vending machine is opened to the door pent period of vending machine;The weight that gravity sensor exports in the period is being sold according to what is obtained in real time, is being determined in the sum for selling the cargo taken out from vending machine in the period;The weight that gravity sensor exports in the period is being sold according to what is obtained in real time, is being determined in at least one cargo combination for selling the cargo taken out in the period from vending machine;According in the sum for selling the cargo taken out from vending machine in the period, final cargo combination is determined from least one cargo combination.The present invention provides a kind of method and devices of cargo for identifying and taking out from vending machine, can be improved the accuracy for the cargo that identification is taken out from vending machine.

Description

A kind of method and device identifying the cargo taken out from vending machine
Technical field
The present invention relates to technical field of electric appliances, in particular to a kind of method and dress for identifying the cargo taken out from vending machine It sets.
Background technique
The vending machine of opening door compares traditional non-opening door Vending Machine, since consumer can be made to carry out more Autonomous selection, first does shopping, and the shopping way settled accounts afterwards brings better user experience.Consumer by scanning the two-dimensional code or Person opens vending machine door lock by other perception means, then self-service to do shopping, and after shopping, closes vending machine door lock, Vending machine generates purchase order, and consumer completes payment.The technical problem underlying that opening door vending machine faces first is that how fast Speed, the cargo and quantity of goods for accurately identifying customer's purchase.
In the prior art, vending machine can complete the identification of cargo by gravity sensing technology.Specifically, pass through weight The weight of cargo, then detects the weight of cargo on the shelf after closing the door on shelf before force snesor detection enabling.Base The cargo and quantity of goods of customer's purchase are determined in the two weight.
As can be seen from the above description, the weight after the weight and shutdown that are based only on before opening the door in the prior art is come really Order the cargo and quantity of goods bought, be likely to be obtained a variety of different cargos combinations based on the two weight, and the prior art without Method identifies the combination closest to truth from a variety of different cargo combinations, and therefore, the prior art is identified from vending machine The accuracy of the cargo of middle taking-up is lower.
Summary of the invention
The embodiment of the invention provides a kind of method and devices of cargo for identifying and taking out from vending machine, can be improved knowledge The accuracy for the cargo not taken out from vending machine.
In a first aspect, the embodiment of the invention provides a kind of methods of cargo for identifying and taking out from vending machine, comprising:
The weight in the gravity sensor output for selling vending machine in the period is obtained in real time, wherein the on-sale date The door of vending machine described in Duan Weicong is opened to the door pent period of the vending machine;
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell the sum of the cargo taken out from the vending machine in the period;
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell at least one cargo combination of the cargo taken out in the period from the vending machine;
According to the sum of the cargo taken out from the vending machine in the on-sale date section, from least one goods Final cargo combination is determined in object combination.
Optionally,
The sum for the cargo that the basis is taken out from the vending machine in the on-sale date section, from described at least one Final cargo combination is determined in kind cargo combination, comprising:
It is combined for cargo described in every kind, determines the sum of cargo in current cargo combination, according to formula one, determination is worked as The intermediate parameters of preceding cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the cargo taken out from the vending machine in the on-sale date section Sum, M are the sum of cargo in current cargo combination;
It regard the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo group It closes.
Optionally,
This method further comprises:
Pre-save the mark of the single cargo of every class cargo at least a kind of cargo that the gravity sensor needs to detect Quasi- weight;
The weight of the gravity sensor output in the on-sale date section that the basis obtains in real time, determines in institute State at least one cargo combination of the cargo taken out in on-sale date section from the vending machine, comprising:
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell the total weight of the cargo taken out from the vending machine in the period;
The standard weight of the single cargo of every class cargo in at least a kind of cargo for needing to detect according to the gravity sensor The total weight of amount and the cargo taken out from the vending machine in the on-sale date section determines at least one cargo group It closes.
Optionally,
The weight of the gravity sensor output in the on-sale date section that the basis obtains in real time, determines in institute State the sum of the cargo taken out from the vending machine in on-sale date section, comprising:
It is sold according to the weight of the gravity sensor output, the generation in the on-sale date section that obtain in real time described Sell the weight changing curve in the period;
According to the weight changing curve, the cargo taken out from the vending machine in the on-sale date section is determined Sum.
Optionally,
The goods taken out from the vending machine in the on-sale date section according to the weight changing curve, determination The sum of object, comprising:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
When the weight changing curve in the on-sale date section declines, will in the on-sale date section from The sum of the cargo taken out in the vending machine adds 1;
When the weight changing curve in the on-sale date section rises, will in the on-sale date section from The sum of the cargo taken out in the vending machine subtracts 1.
Second aspect, the embodiment of the invention provides a kind of devices of cargo for identifying and taking out from vending machine, comprising:
Acquiring unit, for obtaining the weight in the gravity sensor output for selling vending machine in the period in real time, wherein The door of vending machine described in the on-sale date Duan Weicong is opened to the door pent period of the vending machine;
Total determination unit, for according to the gravity sensor output in the on-sale date section obtained in real time Weight determines the sum of the cargo taken out from the vending machine in the on-sale date section;
Determination unit is combined, for according to the gravity sensor output in the on-sale date section obtained in real time Weight determines at least one cargo combination of the cargo taken out in the on-sale date section from the vending machine;
Final combination determination unit, for according to the cargo taken out from the vending machine in the on-sale date section Sum determines final cargo combination from least one cargo combination.
Optionally,
The final combination determination unit, for executing:
It is combined for cargo described in every kind, determines the sum of cargo in current cargo combination, according to formula one, determination is worked as The intermediate parameters of preceding cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the cargo taken out from the vending machine in the on-sale date section Sum, M are the sum of cargo in current cargo combination;
It regard the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo group It closes.
Optionally,
The device further comprises:
Storage unit, for saving the single of every class cargo at least a kind of cargo that the gravity sensor needs to detect The standard weights of cargo;
The combination determination unit, for executing:
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell the total weight of the cargo taken out from the vending machine in the period;
The standard weight of the single cargo of every class cargo in at least a kind of cargo for needing to detect according to the gravity sensor The total weight of amount and the cargo taken out from the vending machine in the on-sale date section determines at least one cargo group It closes.
Optionally,
The sum determination unit, for executing:
It is sold according to the weight of the gravity sensor output, the generation in the on-sale date section that obtain in real time described Sell the weight changing curve in the period;
According to the weight changing curve, the cargo taken out from the vending machine in the on-sale date section is determined Sum.
Optionally,
The sum determination unit, it is described according to the weight changing curve executing, it determines in the on-sale date section When the sum of the interior cargo taken out from the vending machine, it is specifically used for:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
When the weight changing curve in the on-sale date section declines, will in the on-sale date section from The sum of the cargo taken out in the vending machine adds 1;
When the weight changing curve in the on-sale date section rises, will in the on-sale date section from The sum of the cargo taken out in the vending machine subtracts 1.
In embodiments of the present invention, the weight for obtaining weight sensor output in real time is determined based on these weight from selling The sum of the cargo of machine taking-up is sold, and determines at least one cargo combination based on these weight, from these at least one cargo groups The final cargo combination for being more in line with the sum is determined in conjunction, the final cargo combination determined, which is more nearly, to be really removed Cargo the case where, improve the accuracy of cargo that identification is taken out from vending machine.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of the method for the cargo that a kind of identification that one embodiment of the invention provides is taken out from vending machine;
Fig. 2 is the process of the method for the cargo that another identification that one embodiment of the invention provides is taken out from vending machine Figure;
Fig. 3 is the schematic diagram of the device for the cargo that a kind of identification that one embodiment of the invention provides is taken out from vending machine.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of method of cargo for identifying and being taken out from vending machine, this method It may comprise steps of:
Step 101: obtaining the weight in the gravity sensor output for selling vending machine in the period in real time, wherein described The door of vending machine described in on-sale date Duan Weicong is opened to the door pent period of the vending machine;
Step 102: according to the weight of the gravity sensor output in the on-sale date section obtained in real time, determining The sum of the cargo taken out from the vending machine in the on-sale date section;
Step 103: according to the weight of the gravity sensor output in the on-sale date section obtained in real time, determining At least one cargo combination of the cargo taken out in the on-sale date section from the vending machine;
Step 104: according to the sum of the cargo taken out from the vending machine in the on-sale date section, from it is described to Final cargo combination is determined in a kind of few cargo combination.
In embodiments of the present invention, the weight for obtaining weight sensor output in real time is determined based on these weight from selling The sum of the cargo of machine taking-up is sold, and determines at least one cargo combination based on these weight, from these at least one cargo groups The final cargo combination for being more in line with the sum is determined in conjunction, the final cargo combination determined, which is more nearly, to be really removed Cargo the case where, improve the accuracy of cargo that identification is taken out from vending machine.
In embodiments of the present invention, right by the sum for the cargo determined after determining at least one cargo combination These cargos combine further progress screening, determine final cargo combination, which combines on the sum of cargo more The case where cargo that adjunction is closely really removed, so that the final cargo combination is more nearly the goods being really removed The case where object.
In embodiments of the present invention, the number of the type for being removed cargo and every kind of cargo is contained in every kind of cargo combination Amount.
In an embodiment of the present invention, the cargo that the basis is taken out from the vending machine in the on-sale date section Sum, determine final cargo combination from least one cargo combination, comprising:
It is combined for cargo described in every kind, determines the sum of cargo in current cargo combination, according to formula one, determination is worked as The intermediate parameters of preceding cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the cargo taken out from the vending machine in the on-sale date section Sum, M are the sum of cargo in current cargo combination;
It regard the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo group It closes.
In embodiments of the present invention, determine that the intermediate parameters of every kind of cargo combination, the intermediate parameters have reacted current Gap between the quantity of the cargo of cargo combination and the sum for determining cargo, gap is smaller, illustrates that cargo combination more connects The case where cargo being closely really removed.
In an embodiment of the present invention, this method further comprises:
Pre-save the mark of the single cargo of every class cargo at least a kind of cargo that the gravity sensor needs to detect Quasi- weight;
The weight of the gravity sensor output in the on-sale date section that the basis obtains in real time, determines in institute State at least one cargo combination of the cargo taken out in on-sale date section from the vending machine, comprising:
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell the total weight of the cargo taken out from the vending machine in the period;
The standard weight of the single cargo of every class cargo in at least a kind of cargo for needing to detect according to the gravity sensor The total weight of amount and the cargo taken out from the vending machine in the on-sale date section determines at least one cargo group It closes.
It in embodiments of the present invention, can be using the average value of the weight of certain multiple class cargo as the single goods of such cargo The standard weights of object.For example, for the B money beverage of brand A, the average value of the weight of N number of B money beverage is determined, by this Standard weights of the average value as the B money beverage of brand A.
For example, C class cargo and D class cargo, the mark of C class cargo be placed on the cargo pallet where gravity sensor Quasi- weight is 2.5kg, and the standard weights of D class cargo is 1.3kg, is selling the total of the cargo taken out from vending machine in the period Weight is 5.05kg.It can determine possible two kinds of cargos combination, the combination of the first cargo is a C class cargo and two D Class cargo, the total weight of this kind combination are 5.1kg;Second of cargo combination is two C class cargos, and the total weight of this kind combination is 5.0kg.Since the actual weight of single cargo can be not exactly the same with its standard weights, both cargos combine all It is possible.
In addition, it is assumed that determining is 2 in the sum for selling the cargo taken out from vending machine in the period, then, base In formula one it was determined that the intermediate parameters of the first cargo combination are 1, the intermediate parameters of second of cargo combination are 0, that , combine second of cargo combination as final cargo.
In an embodiment of the present invention, the gravity sensor in the on-sale date section that the basis obtains in real time The weight of output determines the sum of the cargo taken out from the vending machine in the on-sale date section, comprising:
It is sold according to the weight of the gravity sensor output, the generation in the on-sale date section that obtain in real time described Sell the weight changing curve in the period;
According to the weight changing curve, the cargo taken out from the vending machine in the on-sale date section is determined Sum.
In embodiments of the present invention, when cargo is lifted, the weight that gravity sensor detects can decline, when cargo quilt When putting back to, the weight that weight sensor detects can rise.By analyze weight changing curve raising and lowering the case where, energy Enough determine the sum of the cargo taken out.
In an embodiment of the present invention, described according to the weight changing curve, determine in the on-sale date section from The sum of the cargo taken out in the vending machine, comprising:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
When the weight changing curve in the on-sale date section declines, will in the on-sale date section from The sum of the cargo taken out in the vending machine adds 1;
When the weight changing curve in the on-sale date section rises, will in the on-sale date section from The sum of the cargo taken out in the vending machine subtracts 1.
In embodiments of the present invention, it by gradually analyzing weight changing curve, whenever decline the case where, says Bright to have cargo to be taken out shelf, sum plus 1 illustrates have cargo to be put back into shelf whenever rise the case where, and sum subtracts 1, when After the completion of weight change tracing analysis, final sum is exactly the sum for the cargo being removed.
In vending machine, 3 class commodity, respectively p1, p2, p3 are placed on the corresponding shelf of a gravity sensor.p1 Corresponding standard weights is m1, and the corresponding standard weights of p2 is m2, and the corresponding standard weights of p3 is m3.Based on the above situation, such as Shown in Fig. 2, the embodiment of the invention provides a kind of methods of cargo for identifying and taking out from vending machine, comprising:
Step 201: pre-saving the single cargo of every class cargo at least a kind of cargo that gravity sensor needs to detect Standard weights.
Specifically, the corresponding standard weights of p1 is m1, and the corresponding standard weights of p2 is m2, and the corresponding standard weights of p3 is m3。
Step 202: obtaining the weight in the gravity sensor output for selling vending machine in the period in real time, wherein sell Period is the door pent period for being opened to vending machine from the door of vending machine.
For example, when user needs to buy cargo, the two dimensional code on vending machine is scanned, the door of vending machine, user are opened After the completion of purchase, the door of vending machine is closed, vending machine completes checkout.
Step 203: selling the weight that gravity sensor exports in the period according to what is obtained in real time, generating when selling Between weight changing curve in section.
Step 204: according to weight changing curve, the total of the cargo taken out from vending machine in the period is being sold in determination Number.
Specifically, the total N for the cargo that initialization is taken out from the vending machine in the on-sale date section is 0;
When the weight changing curve in the on-sale date section declines, by N plus 1;
When the weight changing curve in the on-sale date section rises, N is subtracted 1.
For example, in weight changing curve, successively there is following situation:
1, gravity sensor stable reading is primary, and gravity sensor reading is reduced;
2, gravity sensor stable reading is primary, and gravity sensor reading is reduced;
3, gravity sensor stable reading is primary, and gravity sensor reading increases;
4, gravity sensor stable reading is primary, and gravity sensor reading is reduced;
5, it closes the door.
It is arranged in that sell the sum of the cargo taken out from vending machine in the period be N, the initial value of N is 0, above-mentioned heavy It measures in change curve, a cargo is taken in step 1 expression away, at this point, N=N+1, i.e. N=1;A goods has been taken in step 2 expression away Object, N=N+1, N=2;A cargo, N=N-1, i.e. N=1 have been put back in step 3 expression;A cargo has been taken in step 4 expression away, N=N+1 at this time, i.e. N=2.After shutdown, the value of N, i.e. N=2 are saved, is selling the cargo taken out from vending machine in the period Sum be 2.
Step 205: selling the weight that gravity sensor exports in the period according to what is obtained in real time, determining when selling Between the total weight of cargo taken out from vending machine in section.
Specifically, it is selling in the period, the first time of gravity sensor stable reading and reading stable for the last time The difference of number is the total weight.
Step 206: the mark of the single cargo of every class cargo in at least a kind of cargo for needing to detect according to gravity sensor Quasi- weight and in the total weight for selling the cargo taken out from vending machine in the period determines that at least one cargo combines.
Specifically, according to m1, m2 and m3 and total weight, the quantity of p1 taken out, the number of the quantity of p2 and p3 are determined The various possible combinations of amount.Since there are deviations for standard weights and actual weight, and there is also certain mistakes for gravity sensor Difference, therefore, every kind of combined total weight may there are certain gaps with the total weight determined according to gravity sensor, as long as The gap is in preset error range.
Step 207: for every kind of cargo combination, determining the sum of cargo in current cargo combination, according to formula one, really The intermediate parameters of cargo combination before settled, wherein formula one are as follows:
Z=| N-M |;
Wherein, Z is intermediate parameters, and N is in the sum for selling the cargo taken out from vending machine in the period, and M is current Cargo combination in cargo sum.
Step 208: combining the smallest cargo combination of intermediate parameters at least one cargo combination as final cargo.
Vending machine, generally can be to each in order to more accurately identify the cargo taken out from vending machine in operation The cargo that the needs of gravity sensor detect makes limitation, and in restocking cargo, cargo is put in turn, avoids stacks of cargo Folded, the measurement of cargo sold inside vending machine can not be too small, and cargo is put more reasonable, and volume is bigger, it is believed that consumer The probability that each shopping can only take a cargo away is higher, and the shopping quantity of judgement is more accurate, in this way, the cargo taken out is added After this total factor, accuracy will be higher.
As shown in figure 3, the embodiment of the invention provides a kind of devices of cargo for identifying and taking out from vending machine, comprising:
Acquiring unit 301, for obtaining the weight in the gravity sensor output for selling vending machine in the period in real time, In, the door of vending machine described in the on-sale date Duan Weicong is opened to the door pent period of the vending machine;
Total determination unit 302, for defeated according to the gravity sensor in the on-sale date section obtained in real time Weight out determines the sum of the cargo taken out from the vending machine in the on-sale date section;
Determination unit 303 is combined, for defeated according to the gravity sensor in the on-sale date section obtained in real time Weight out determines at least one cargo combination of the cargo taken out in the on-sale date section from the vending machine;
Final combination determination unit 304, for according to the goods taken out from the vending machine in the on-sale date section The sum of object determines final cargo combination from least one cargo combination.
In an embodiment of the present invention, the final combination determination unit, for executing:
It is combined for cargo described in every kind, determines the sum of cargo in current cargo combination, according to formula one, determination is worked as The intermediate parameters of preceding cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the cargo taken out from the vending machine in the on-sale date section Sum, M are the sum of cargo in current cargo combination;
It regard the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo group It closes.
In an embodiment of the present invention, which further comprises:
Storage unit, for saving the single of every class cargo at least a kind of cargo that the gravity sensor needs to detect The standard weights of cargo;
The combination determination unit, for executing:
It is sold according to the weight of the gravity sensor output, the determination in the on-sale date section that obtain in real time described Sell the total weight of the cargo taken out from the vending machine in the period;
The standard weight of the single cargo of every class cargo in at least a kind of cargo for needing to detect according to the gravity sensor The total weight of amount and the cargo taken out from the vending machine in the on-sale date section determines at least one cargo group It closes.
In an embodiment of the present invention, the total determination unit, for executing:
It is sold according to the weight of the gravity sensor output, the generation in the on-sale date section that obtain in real time described Sell the weight changing curve in the period;
According to the weight changing curve, the cargo taken out from the vending machine in the on-sale date section is determined Sum.
In an embodiment of the present invention, the total determination unit, it is described according to the weight changing curve executing, really When being scheduled on the sum of the cargo taken out from the vending machine in the on-sale date section, it is specifically used for:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
When the weight changing curve in the on-sale date section declines, will in the on-sale date section from The sum of the cargo taken out in the vending machine adds 1;
When the weight changing curve in the on-sale date section rises, will in the on-sale date section from The sum of the cargo taken out in the vending machine subtracts 1.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
In embodiments of the present invention, the speed muti-piece for no matter taking commodity away, is constantly present certain interval, when vending machine Door be opened after, by continuing to monitor the reading situation of gravity sensor, can accurately determine sell in the period from The sum of the cargo taken out in vending machine.
A kind of method and device identifying the cargo taken out from vending machine provided in an embodiment of the present invention, suitable for selling The processor of machine.
The each embodiment of the present invention at least has the following beneficial effects:
In embodiments of the present invention, the weight for obtaining weight sensor output in real time is determined based on these weight from selling The sum of the cargo of machine taking-up is sold, and determines at least one cargo combination based on these weight, from these at least one cargo groups The final cargo combination for being more in line with the sum is determined in conjunction, the final cargo combination determined, which is more nearly, to be really removed Cargo the case where, improve the accuracy of cargo that identification is taken out from vending machine.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including There is also other identical factors in the process, method, article or equipment of the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. a kind of method for identifying the cargo taken out from vending machine characterized by comprising
The weight in the gravity sensor output for selling vending machine in the period is obtained in real time, wherein the on-sale date section is The door for being opened to the vending machine from the door of the vending machine pent period;
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, determine in described sell Between the sum of cargo that is taken out from the vending machine in section;
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, determine in described sell Between at least one cargo combination of cargo for being taken out from the vending machine in section;
According to the sum of the cargo taken out from the vending machine in the on-sale date section, from least one cargo group Final cargo combination is determined in conjunction.
2. the method according to claim 1, wherein
The sum for the cargo that the basis is taken out from the vending machine in the on-sale date section, from least one goods Final cargo combination is determined in object combination, comprising:
It is combined for cargo described in every kind, determines that the sum of cargo in current cargo combination determines currently according to formula one The intermediate parameters of cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the sum of the cargo taken out from the vending machine in the on-sale date section, M is the sum of cargo in current cargo combination;
By the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo combination.
3. the method according to claim 1, wherein
Further comprise:
Pre-save the standard weight of the single cargo of every class cargo at least a kind of cargo that the gravity sensor needs to detect Amount;
The weight of the gravity sensor output, the determination in the on-sale date section that the basis obtains in real time are sold described Sell at least one cargo combination of the cargo taken out in the period from the vending machine, comprising:
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, determine in described sell Between the total weight of cargo taken out from the vending machine in section;
In at least a kind of cargo for needing to detect according to the gravity sensor standard weights of the single cargo of every class cargo and The total weight of the cargo taken out from the vending machine in the on-sale date section determines at least one cargo combination.
4. method according to claim 1 to 3, which is characterized in that
The weight of the gravity sensor output, the determination in the on-sale date section that the basis obtains in real time are sold described Sell the sum of the cargo taken out from the vending machine in the period, comprising:
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, generate in described sell Between weight changing curve in section;
According to the weight changing curve, the total of the cargo taken out from the vending machine in the on-sale date section is determined Number.
5. according to the method described in claim 4, it is characterized in that,
The cargo taken out from the vending machine in the on-sale date section according to the weight changing curve, determination Sum, comprising:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
It, will be in the on-sale date section from described when the weight changing curve in the on-sale date section declines The sum of the cargo taken out in vending machine adds 1;
It, will be in the on-sale date section from described when the weight changing curve in the on-sale date section rises The sum of the cargo taken out in vending machine subtracts 1.
6. a kind of device for identifying the cargo taken out from vending machine characterized by comprising
Acquiring unit, for obtaining the weight in the gravity sensor output for selling vending machine in the period in real time, wherein described The door of vending machine described in on-sale date Duan Weicong is opened to the door pent period of the vending machine;
Total determination unit, for according to the weight of the gravity sensor output in the on-sale date section obtained in real time Amount determines the sum of the cargo taken out from the vending machine in the on-sale date section;
Determination unit is combined, for according to the weight of the gravity sensor output in the on-sale date section obtained in real time Amount determines at least one cargo combination of the cargo taken out in the on-sale date section from the vending machine;
Final combination determination unit, for according to the total of the cargo taken out from the vending machine in the on-sale date section Number determines final cargo combination from least one cargo combination.
7. device according to claim 6, which is characterized in that
The final combination determination unit, for executing:
It is combined for cargo described in every kind, determines that the sum of cargo in current cargo combination determines currently according to formula one The intermediate parameters of cargo combination, wherein the formula one are as follows:
Z=| N-M |;
Wherein, Z is the intermediate parameters, and N is the sum of the cargo taken out from the vending machine in the on-sale date section, M is the sum of cargo in current cargo combination;
By the smallest cargo combination of intermediate parameters described at least one cargo combination as the final cargo combination.
8. device according to claim 6, which is characterized in that
Further comprise:
Storage unit, for saving the single cargo of every class cargo at least a kind of cargo that the gravity sensor needs to detect Standard weights;
The combination determination unit, for executing:
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, determine in described sell Between the total weight of cargo taken out from the vending machine in section;
In at least a kind of cargo for needing to detect according to the gravity sensor standard weights of the single cargo of every class cargo and The total weight of the cargo taken out from the vending machine in the on-sale date section determines at least one cargo combination.
9. according to the device any in claim 6-8, which is characterized in that
The sum determination unit, for executing:
According to the weight of the gravity sensor output in the on-sale date section obtained in real time, generate in described sell Between weight changing curve in section;
According to the weight changing curve, the total of the cargo taken out from the vending machine in the on-sale date section is determined Number.
10. device according to claim 9, which is characterized in that
The sum determination unit, it is described according to the weight changing curve executing, determine in the on-sale date section from When the sum of the cargo taken out in the vending machine, it is specifically used for:
The sum for initializing the cargo taken out from the vending machine in the on-sale date section is 0;
It, will be in the on-sale date section from described when the weight changing curve in the on-sale date section declines The sum of the cargo taken out in vending machine adds 1;
It, will be in the on-sale date section from described when the weight changing curve in the on-sale date section rises The sum of the cargo taken out in vending machine subtracts 1.
CN201910734883.1A 2019-08-09 2019-08-09 A kind of method and device identifying the cargo taken out from vending machine Pending CN110428548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910734883.1A CN110428548A (en) 2019-08-09 2019-08-09 A kind of method and device identifying the cargo taken out from vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910734883.1A CN110428548A (en) 2019-08-09 2019-08-09 A kind of method and device identifying the cargo taken out from vending machine

Publications (1)

Publication Number Publication Date
CN110428548A true CN110428548A (en) 2019-11-08

Family

ID=68415286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910734883.1A Pending CN110428548A (en) 2019-08-09 2019-08-09 A kind of method and device identifying the cargo taken out from vending machine

Country Status (1)

Country Link
CN (1) CN110428548A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127750A (en) * 2019-12-24 2020-05-08 西安科技大学 Commodity displacement identification method based on gravity sensor data
CN111616591A (en) * 2020-05-21 2020-09-04 四川虹美智能科技有限公司 Tea brewing device
CN112562182A (en) * 2020-12-07 2021-03-26 四川虹美智能科技有限公司 Method and apparatus for identifying a product removed from an unmanned vending machine
CN113034796A (en) * 2019-12-24 2021-06-25 富士电机株式会社 Vending machine, commodity selling method thereof and vending machine system
CN113554802A (en) * 2021-04-21 2021-10-26 浙江星星冷链集成股份有限公司 Weighing device and unmanned vending system
WO2022095706A1 (en) * 2020-11-03 2022-05-12 北京京东乾石科技有限公司 Method, apparatus, container, device, and medium for obtaining product layout data

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103026391A (en) * 2010-06-04 2013-04-03 百事可乐公司 Networked vendor for workplace or controlled environment
CN107452133A (en) * 2017-08-09 2017-12-08 武汉摩琪格子科技有限公司 A kind of interactive intelligent vending machine
CN107945386A (en) * 2018-01-07 2018-04-20 李宝华 The unmanned vending machine being intelligently sold
CN108460908A (en) * 2018-03-02 2018-08-28 北京京东尚科信息技术有限公司 Automatic vending method and system and automatic vending device and automatic vending machine
CN108615298A (en) * 2018-06-13 2018-10-02 上海韬林机械有限公司 A kind of vending machine that commodity identification technology is applied in combination
CN207976950U (en) * 2018-01-07 2018-10-16 李宝华 Intelligent unattended vending machine with function of weighing
CN108806069A (en) * 2018-05-23 2018-11-13 向荣华 A kind of cargo monitoring method sells equipment and selling system
CN108875664A (en) * 2018-06-27 2018-11-23 北京京东尚科信息技术有限公司 Recognition methods, device and the vending machine of selective purchase
CN109064631A (en) * 2018-07-09 2018-12-21 青岛海尔特种电冰柜有限公司 Kinds of goods recognition methods, vending method and selling system
CN109215223A (en) * 2018-07-10 2019-01-15 安徽豆智智能装备制造有限公司 A kind of purchase method of the automatic selling cabinet system based on gravity sensitive
CN109243096A (en) * 2018-10-26 2019-01-18 虫极科技(北京)有限公司 A kind of method of Intelligent cargo cabinet and determining commodity of taking
CN209103410U (en) * 2018-08-15 2019-07-12 济南每日优鲜便利购网络科技有限公司 Vending equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103026391A (en) * 2010-06-04 2013-04-03 百事可乐公司 Networked vendor for workplace or controlled environment
CN107452133A (en) * 2017-08-09 2017-12-08 武汉摩琪格子科技有限公司 A kind of interactive intelligent vending machine
CN107945386A (en) * 2018-01-07 2018-04-20 李宝华 The unmanned vending machine being intelligently sold
CN207976950U (en) * 2018-01-07 2018-10-16 李宝华 Intelligent unattended vending machine with function of weighing
CN108460908A (en) * 2018-03-02 2018-08-28 北京京东尚科信息技术有限公司 Automatic vending method and system and automatic vending device and automatic vending machine
CN108806069A (en) * 2018-05-23 2018-11-13 向荣华 A kind of cargo monitoring method sells equipment and selling system
CN108615298A (en) * 2018-06-13 2018-10-02 上海韬林机械有限公司 A kind of vending machine that commodity identification technology is applied in combination
CN108875664A (en) * 2018-06-27 2018-11-23 北京京东尚科信息技术有限公司 Recognition methods, device and the vending machine of selective purchase
CN109064631A (en) * 2018-07-09 2018-12-21 青岛海尔特种电冰柜有限公司 Kinds of goods recognition methods, vending method and selling system
CN109215223A (en) * 2018-07-10 2019-01-15 安徽豆智智能装备制造有限公司 A kind of purchase method of the automatic selling cabinet system based on gravity sensitive
CN209103410U (en) * 2018-08-15 2019-07-12 济南每日优鲜便利购网络科技有限公司 Vending equipment
CN109243096A (en) * 2018-10-26 2019-01-18 虫极科技(北京)有限公司 A kind of method of Intelligent cargo cabinet and determining commodity of taking

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127750A (en) * 2019-12-24 2020-05-08 西安科技大学 Commodity displacement identification method based on gravity sensor data
CN113034796A (en) * 2019-12-24 2021-06-25 富士电机株式会社 Vending machine, commodity selling method thereof and vending machine system
CN111616591A (en) * 2020-05-21 2020-09-04 四川虹美智能科技有限公司 Tea brewing device
CN111616591B (en) * 2020-05-21 2022-04-08 四川虹美智能科技有限公司 Tea brewing device
WO2022095706A1 (en) * 2020-11-03 2022-05-12 北京京东乾石科技有限公司 Method, apparatus, container, device, and medium for obtaining product layout data
CN112562182A (en) * 2020-12-07 2021-03-26 四川虹美智能科技有限公司 Method and apparatus for identifying a product removed from an unmanned vending machine
CN113554802A (en) * 2021-04-21 2021-10-26 浙江星星冷链集成股份有限公司 Weighing device and unmanned vending system
CN113554802B (en) * 2021-04-21 2023-06-02 浙江星星冷链集成股份有限公司 Weighing device and unmanned vending system

Similar Documents

Publication Publication Date Title
CN110428548A (en) A kind of method and device identifying the cargo taken out from vending machine
CN108875664B (en) Method and device for identifying purchased goods and vending machine
US6896177B2 (en) Method and computer program for building and replenishing cash drawers with coins
US9412050B2 (en) Produce recognition method
CN107131940A (en) metering system
US20050230471A1 (en) Revenue balancing method and computer program
CN108629591A (en) Sales data processing unit and control method, terminal device
CN107833368A (en) Automatic selling cabinet and its application method
WO2019165895A1 (en) Automatic vending method and system, and vending device and vending machine
CN110197240A (en) The control method of unmanned Weighing type sales counter based on image recognition
JP2018097425A (en) Sales data processor and program
US7273167B2 (en) Revenue balancing method and computer program
CN109841012A (en) Goods registration device, accounting device and information processing method
JP6088626B1 (en) Payment device
CN110415464A (en) The method and apparatus for identifying commodity by multiple force snesor
CN109215256A (en) Accounting device and control method, terminal device
CN109993620A (en) A kind of vending method and sell control device
CN106952400B (en) A kind of data processing method and device
WO2020136500A1 (en) Automated point of sale systems and methods
JP5092106B1 (en) Trading judgment program, trading judgment system and trading judgment method
JP2009128960A (en) Fraction amount deduction check-out system of point service system
CN109460505A (en) A method of recommending shopping bag
JP2020004042A (en) Skill level detecting device, skill level detecting system, skill level detecting method and skill level detecting program
JP6361383B2 (en) Cash processing equipment
RU2723144C1 (en) Automated control system for sale of goods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191108