CN111145433A - Vending method of vending machine - Google Patents
Vending method of vending machine Download PDFInfo
- Publication number
- CN111145433A CN111145433A CN201911382742.4A CN201911382742A CN111145433A CN 111145433 A CN111145433 A CN 111145433A CN 201911382742 A CN201911382742 A CN 201911382742A CN 111145433 A CN111145433 A CN 111145433A
- Authority
- CN
- China
- Prior art keywords
- replenishment
- goods
- record
- instruction
- time
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F11/00—Coin-freed apparatus for dispensing, or the like, discrete articles
- G07F11/02—Coin-freed apparatus for dispensing, or the like, discrete articles from non-movable magazines
- G07F11/04—Coin-freed apparatus for dispensing, or the like, discrete articles from non-movable magazines in which magazines the articles are stored one vertically above the other
- G07F11/16—Delivery means
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Finance (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Accounting & Taxation (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The invention discloses a vending method of an automatic vending machine, which comprises the following steps: s0, receiving a commodity purchasing instruction, analyzing the instruction to obtain the commodity type and the purchasing quantity, and obtaining the replenishment record of the corresponding commodity according to the commodity type; s1, acquiring a target cargo channel with an early replenishment time; and S2, sending a delivery instruction to the target goods channel. In the method, the goods channel where the goods with the earliest replenishment are located is found according to the replenishment time of the goods during each shipment, and then the shipment is carried out, so that the first shipment of the first replenishment is carried out, and the shortest storage time of the goods in the goods channel is further ensured.
Description
Technical Field
The invention relates to the field of vending machines, in particular to a vending method of a vending machine.
Background
Along with the promotion of the related software and hardware technology of the vending machine and the continuous pursuit of people to the life convenience, the application scene of the vending machine is more and more. The commodity kind that current vending machine sold is more and more, and in addition traditional beverage, gift, some give birth to bright food and also appear on vending machine goods way.
Compared with the traditional commodity, the fresh food has much higher requirement on the selling period, and the goods put in firstly are sold out firstly.
The current automatic vending machine delivery mode on the market is mainly divided into three types: randomly delivering goods according to the goods, sequentially delivering goods according to the goods channels and uniformly delivering goods of the same goods channels. The above delivery modes cannot ensure that the goods put in first are sold first, which may cause that part of the goods stay in the goods channel for a long time and the goods miss the best selling time, especially for the food with shorter shelf life, and is easy to cause the customer complaint and the loss of the goods of the operator due to the loss of the taste or the deterioration.
Disclosure of Invention
In order to solve the technical problem that the prior delivery mode can not ensure that goods put in first are delivered by selling first, the invention provides a selling method of an automatic vending machine, which comprises the following steps:
s0, receiving a commodity purchasing instruction, analyzing the instruction to obtain the commodity type and the purchasing quantity, and obtaining the replenishment record of the corresponding commodity according to the commodity type;
s1, acquiring a target goods channel with an early replenishment time in the replenishment record;
and S2, sending a delivery instruction to the target goods channel.
Further, in S1, the following steps are performed:
s1.1: inquiring all replenishment records, and sequencing all the replenishment records according to the sequence of the replenishment time;
s1.2: acquiring a replenishment record with the earliest replenishment time; and the replenishment quantity and the sold quantity in the record are called;
s1.3: judging whether the difference value between the replenishment quantity and the sold quantity is smaller than the purchase quantity, if not, executing S1.4; if yes, executing S1.5;
s1.4: acquiring a target goods way supplemented in the replenishment record, and then executing S2;
s1.5: acquiring a replenishment record with the second earliest replenishment time, calling the record and the sum of the difference values of the replenishment quantity and the sold quantity of the replenishment record earlier than the record, judging whether the sum of the difference values is less than the purchase quantity or not, and if so, executing S1.5 again; if not, executing S1.6;
s1.6, the replenishment record and the target cargo channel replenished in the replenishment record earlier than the replenishment record are retrieved, and then S2 is executed.
Further, still include: and recording the stock of the goods way.
Further, still include: the stock of the goods channel is updated every time when the goods are replenished and shipped.
Further, if the stock quantity of the goods is lower than the set quantity, a goods replenishment order is formed, and the goods replenishment order comprises goods way identification information of the shortage of the goods and the planned goods replenishment quantity.
Further, the replenishment list is generated automatically or manually and actively.
Further, in S2, the shipment instruction includes a shipment number, and the following steps are performed:
in the target goods channel, except the target goods channel with the latest replenishment time, the shipment number of other target goods channels is equal to the difference number between the replenishment quantity and the sold quantity, and the shipment number of the target goods channel with the latest replenishment time is equal to the difference number between the purchase quantity and the sum of the shipment numbers of other target goods channels.
Further, after S2, it is determined whether the difference between the replenishment quantity and the sold quantity is equal to zero according to the sold quantity updated in the corresponding replenishment record, and if so, the replenishment record is cleared.
Further, after S2, according to the sold quantity in the updated corresponding replenishment record, and whether the difference between the replenishment quantity and the sold quantity is equal to zero is determined, if yes, the corresponding replenishment record is identified as an invalid record; invalid records are filtered when the replenishment records are queried.
Further, the delivery instruction comprises instruction effective time, when the target cargo channel receives the delivery instruction, whether the instruction effective time is overtime is judged, if yes, the delivery operation is not executed, and if not, delivery is carried out according to the delivery number.
The invention has the beneficial effects that: compared with the prior art, in the method, the goods channel where the goods with the earliest replenishment are located is found according to the replenishment time of the goods during each shipment, and then the shipment is carried out, so that the first shipment of the goods with the earliest replenishment is carried out, and the shortest storage time of the goods in the goods channel is further ensured.
Drawings
FIG. 1 is a flow chart of a vending method of the present invention;
fig. 2 is a detailed flowchart of S1 in the vending method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a vending method of a vending machine, comprising the steps of:
s0, receiving a commodity purchasing instruction, analyzing the instruction to obtain the commodity type and the purchasing quantity, and obtaining the replenishment record of the corresponding commodity according to the commodity type;
s1, acquiring a target goods channel with an early replenishment time in the replenishment record;
and S2, sending a delivery instruction to the target goods channel.
Specifically, referring to fig. 2, in S1, the following steps are performed:
s1.1: inquiring all replenishment records, and sequencing all the replenishment records according to the sequence of the replenishment time;
s1.2: acquiring a replenishment record with the earliest replenishment time; and the replenishment quantity and the sold quantity in the record are called;
s1.3: judging whether the difference value between the replenishment quantity and the sold quantity is smaller than the purchase quantity, if not, executing S1.4; if yes, executing S1.5;
s1.4: acquiring a target goods way supplemented in the replenishment record, and then executing S2;
s1.5: acquiring a replenishment record with the second earliest replenishment time, calling the record and the sum of the difference values of the replenishment quantity and the sold quantity of the replenishment record earlier than the record, judging whether the sum of the difference values is less than the purchase quantity or not, and if so, executing S1.5 again; if not, executing S1.6;
s1.6, calling the replenishment record and the target cargo channel replenished in the replenishment record earlier than the replenishment record, and then executing S2;
in S2, specifically, the following steps are performed:
and in the obtained target goods channel, except the target goods channel with the latest replenishment time, other target goods channels are delivered according to the difference number between the replenishment quantity and the sold quantity, and the target goods channel with the latest replenishment time is delivered according to the difference number between the purchase quantity and the total delivery number of other target goods channels.
If the supplemented quantity is totally sold in the one-time replenishment record, in order to prevent the record from being inquired again in S1.1, the record needs to be cleared, in order to solve the problem, in the invention, after S2, the sold quantity in the corresponding replenishment record is updated, whether the difference value between the replenished quantity and the sold quantity is equal to zero or not is judged, and if yes, the replenishment record is cleared. Of course, except for clearing the replenishment record, identifying the corresponding replenishment record as an invalid record; when the replenishment records are inquired, invalid records are filtered, and the corresponding problems can be solved.
Further, a replenishment record is formed at each replenishment, and the replenishment record records information of the replenishment quantity, the replenishment time, the channel number of the replenishment and the sold quantity in the replenishment quantity.
Further, the method of the invention also comprises a step of recording the stock of the goods way.
Further, the stock of the cargo way is updated after each replenishment or shipment.
Further, if the stock quantity of the goods is lower than the set quantity, a goods replenishment order is formed, and the goods replenishment order comprises goods way identification information of the shortage of the goods and the planned goods replenishment quantity.
Further, the replenishment order may be automatically or manually actively triggered to be generated.
And further, the delivery instruction also comprises instruction effective time, when the target cargo channel receives the delivery instruction, whether the instruction effective time is overtime is judged, if so, the delivery operation is not executed, and if not, the delivery is carried out according to the delivery number.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (10)
1. A vending method for a vending machine, comprising the steps of:
s0, receiving a commodity purchasing instruction, analyzing the instruction to obtain the commodity type and the purchasing quantity, and obtaining the replenishment record of the corresponding commodity according to the commodity type;
s1, acquiring a target goods channel with an early replenishment time in the replenishment record;
and S2, sending a delivery instruction to the target goods channel.
2. A vending method according to claim 1, characterized in that: in S1, the following steps are performed:
s1.1: inquiring all replenishment records, and sequencing all the replenishment records according to the sequence of the replenishment time;
s1.2: acquiring a replenishment record with the earliest replenishment time; and the replenishment quantity and the sold quantity in the record are called;
s1.3: judging whether the difference value between the replenishment quantity and the sold quantity is smaller than the purchase quantity, if not, executing S1.4; if yes, executing S1.5;
s1.4: acquiring a target goods way supplemented in the replenishment record, and then executing S2;
s1.5: acquiring a replenishment record with the second earliest replenishment time, calling the record and the sum of the difference values of the replenishment quantity and the sold quantity of the replenishment record earlier than the record, judging whether the sum of the difference values is less than the purchase quantity or not, and if so, executing S1.5 again; if not, executing S1.6;
s1.6, the replenishment record and the target cargo channel replenished in the replenishment record earlier than the replenishment record are retrieved, and then S2 is executed.
3. A vending method according to claim 2, characterized in that: further comprising: and recording the stock of the goods way.
4. A vending method according to claim 3, characterized in that: further comprising: the stock of the goods channel is updated every time when the goods are replenished and shipped.
5. The vending method according to claim 4, wherein: and if the stock quantity of the goods is lower than the set quantity, forming a goods replenishment list, wherein the goods replenishment list comprises the goods way identification information of the shortage of the goods and the planned goods replenishment quantity.
6. The vending method according to claim 5, wherein: the replenishment list is generated automatically or through artificial active triggering.
7. A vending method according to claim 1, characterized in that: in S2, the shipment instruction includes a shipment number, and the following steps are performed:
in the target goods channel, except the target goods channel with the latest replenishment time, the shipment number of other target goods channels is equal to the difference number between the replenishment quantity and the sold quantity, and the shipment number of the target goods channel with the latest replenishment time is equal to the difference number between the purchase quantity and the sum of the shipment numbers of other target goods channels.
8. The vending method according to claim 7, wherein: after S2, the method determines whether the difference between the replenishment quantity and the sold quantity is equal to zero according to the sold quantity in the updated replenishment record, and if so, clears the replenishment record.
9. The vending method according to claim 7, wherein: after S2, according to the sold quantity in the corresponding replenishment record, judging whether the difference value between the replenishment quantity and the sold quantity is equal to zero, if yes, identifying the corresponding replenishment record as an invalid record; invalid records are filtered when the replenishment records are queried.
10. The vending method according to any one of claims 1 to 9, wherein: the goods delivery instruction comprises instruction effective time, when the target goods channel receives the goods delivery instruction, whether the instruction effective time is overtime is judged, if yes, the goods delivery operation is not executed, and if not, the goods delivery is carried out according to the goods delivery number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911382742.4A CN111145433A (en) | 2019-12-27 | 2019-12-27 | Vending method of vending machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911382742.4A CN111145433A (en) | 2019-12-27 | 2019-12-27 | Vending method of vending machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111145433A true CN111145433A (en) | 2020-05-12 |
Family
ID=70521246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911382742.4A Pending CN111145433A (en) | 2019-12-27 | 2019-12-27 | Vending method of vending machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111145433A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114664017A (en) * | 2021-12-28 | 2022-06-24 | 中电工业互联网有限公司 | Goods discharge control method of unmanned vending machine and unmanned vending machine |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090005905A1 (en) * | 2004-04-15 | 2009-01-01 | Redbox Automated Retail, Llc | System and method for communicating vending information |
CN107945378A (en) * | 2017-12-01 | 2018-04-20 | 湖南深拓智能设备股份有限公司 | A kind of crawler type automatic vending machine and its automatic vending method |
CN108502435A (en) * | 2018-03-29 | 2018-09-07 | 南京极智嘉机器人有限公司 | A kind of outbound distribution method and outbound distributor |
CN109558991A (en) * | 2018-12-17 | 2019-04-02 | 广州甘来信息科技有限公司 | Based on cargo path amount recommended method, device, equipment and the storage medium from the machine of dealer |
CN109993888A (en) * | 2017-12-29 | 2019-07-09 | 山东新北洋信息技术股份有限公司 | A kind of commodity aligning method and commodity collating unit |
CN110379074A (en) * | 2019-07-24 | 2019-10-25 | 成都我搜挖信息技术股份有限公司 | A kind of system and method for the automatic cycle shipment of vending machine |
-
2019
- 2019-12-27 CN CN201911382742.4A patent/CN111145433A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090005905A1 (en) * | 2004-04-15 | 2009-01-01 | Redbox Automated Retail, Llc | System and method for communicating vending information |
CN107945378A (en) * | 2017-12-01 | 2018-04-20 | 湖南深拓智能设备股份有限公司 | A kind of crawler type automatic vending machine and its automatic vending method |
CN109993888A (en) * | 2017-12-29 | 2019-07-09 | 山东新北洋信息技术股份有限公司 | A kind of commodity aligning method and commodity collating unit |
CN108502435A (en) * | 2018-03-29 | 2018-09-07 | 南京极智嘉机器人有限公司 | A kind of outbound distribution method and outbound distributor |
CN109558991A (en) * | 2018-12-17 | 2019-04-02 | 广州甘来信息科技有限公司 | Based on cargo path amount recommended method, device, equipment and the storage medium from the machine of dealer |
CN110379074A (en) * | 2019-07-24 | 2019-10-25 | 成都我搜挖信息技术股份有限公司 | A kind of system and method for the automatic cycle shipment of vending machine |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114664017A (en) * | 2021-12-28 | 2022-06-24 | 中电工业互联网有限公司 | Goods discharge control method of unmanned vending machine and unmanned vending machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6463346B1 (en) | Workflow-scheduling optimization driven by target completion time | |
CN111340421A (en) | Purchasing method | |
CN108537686B (en) | Hotel quick check-out method and hotel quick check-out system | |
CN110723453B (en) | Multi-roadway stereoscopic warehouse warehousing control method, multi-roadway stereoscopic warehouse ex-warehouse control method and multi-roadway stereoscopic warehouse ex-warehouse control device | |
CN113177763A (en) | Replenishment suggestion generation method and system and computer readable storage medium | |
CN112061664B (en) | Flexible cigarette sorting method and system | |
US20180174251A1 (en) | Method for automating negotiation of goods | |
CN110288421A (en) | order processing method, device, server, terminal and storage medium | |
US20050137944A1 (en) | Automatic inventory management system | |
CN111145433A (en) | Vending method of vending machine | |
CN109360042A (en) | Order allocation method and device, electronic equipment and storage medium | |
CN114219397A (en) | Inventory management method, device, equipment and storage medium | |
CN109544058A (en) | A kind of inventory's method for early warning, electronic equipment and storage medium | |
CN109658125A (en) | Benefit data provides and consumes the determination method and device of time peak period | |
CN107688969A (en) | A kind of New Product research and development management information system and management information method | |
Khouja et al. | An off-price retailer with two ordering opportunities and demand updating | |
CN111882764B (en) | Food replenishment control method and device, steam box and storage medium | |
CN110782135B (en) | Tableware circulation control method and device | |
US8615417B2 (en) | Supply plan control method and computer-readable recording medium having recorded supply plan control program | |
CN109447732A (en) | Shops's product ordering method and device | |
CN110363469B (en) | Method and device for automatically filling movable products in distribution platform and electronic equipment | |
AU2005202059A1 (en) | Automatic Inventory Management System | |
CN113592598A (en) | Information display method, device, equipment and storage medium | |
CN116777352B (en) | Cargo allocation method, cargo allocation device, computer equipment and computer readable storage medium | |
JP2000040110A (en) | Shipping and production management system |
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: 20200512 |