CN107424304A - Automatic vending method and system - Google Patents
Automatic vending method and system Download PDFInfo
- Publication number
- CN107424304A CN107424304A CN201710427177.3A CN201710427177A CN107424304A CN 107424304 A CN107424304 A CN 107424304A CN 201710427177 A CN201710427177 A CN 201710427177A CN 107424304 A CN107424304 A CN 107424304A
- Authority
- CN
- China
- Prior art keywords
- passage
- shipment
- goods
- out path
- automatic vending
- 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
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F11/00—Coin-freed apparatus for dispensing, or the like, discrete articles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The present invention, which provides a kind of automatic vending method and system, method, to be included:Server obtains the species of commodity to be output, find out passage corresponding with the species of commodity to be output, at least one current channel is chosen from passage corresponding with the species of commodity to be output as goods-out path, and control instruction corresponding to generation is sent to automatic vending machine;Automatic vending machine receives control instruction, controls goods-out path shipment, and the shipping Qty. of goods-out path is counted according to the quantitative model of goods-out path;Whether automatic vending machine detects the passage just in shipment, if just controlling the passage to continue shipment or closing according to the quantity of the shipping Qty. of the passage and commodity to be output in shipment at interval of each passage of the first preset duration successively poll.In this way, the multichannel output of automatic vending machine can be realized, efficiency of selling goods is improved.
Description
Technical field
The present invention relates to automatic vending technical field, in particular to a kind of automatic vending method and system.
Background technology
The existing usual single channel shipment of automatic vending machine, all commodity export from a passage, when there is more people to need to buy
Have to be lined up during commodity and use, when the channel blockage, whole automatic vending machine can not all work.No matter to buyer or to selling
Family, existing automatic vending machine all can not meet demand.
The content of the invention
, should it is an object of the invention to provide a kind of automatic vending method in order to overcome above-mentioned deficiency of the prior art
For the automatic vending machine and server being in communication with each other, the automatic vending machine is provided with multiple passages, and methods described includes:
The server obtains the species of commodity to be output, finds out corresponding with the species of the commodity to be output logical
Road, the passage that at least one current idle is chosen from passage corresponding with the species of the commodity to be output lead to as shipment
Road, and generate corresponding to control instruction send to the automatic vending machine, the control instruction include the goods-out path with
And the quantity of the commodity to be output from goods-out path output is needed, record has each passage and type of merchandize in the server
Between corresponding relation;
The automatic vending machine receives the control instruction, controls the goods-out path shipment, and lead to according to the shipment
The quantitative model in road counts the shipping Qty. of the goods-out path;
The automatic vending machine detects whether the passage is going out at interval of each passage of the first preset duration successively poll
Goods, if just according to the shipping Qty. of the passage and needing the quantity of commodity to be output exported from the passage in shipment
The passage is controlled to continue shipment or closing.
Preferably, in the above-mentioned methods, the quantitative model of each passage passes through at least one determination in following steps:
The configuration operation of automatic vending machine response user, the quantitative model of each passage is configured to according to the configuration operation
Count mode or timing mode;Or
Automatic vending machine detects default quantitative model configuration data after powering, and configures number according to the quantitative model
Count mode or timing mode are configured to according to by the quantitative model of each passage;
Wherein, when the quantitative model of passage is count mode, the passage often exports a unit commodity, produces a shipment
Feedback signal.
Preferably, in the above-mentioned methods, shipment mark corresponding with each passage is provided with the automatic vending machine
Position, for representing the shipping Qty. of the passage, the initial value of the flag bit of shipment is 0;
The automatic vending machine counts the shipping Qty. of the goods-out path according to the quantitative model of the goods-out path
Step, including:
Judge the quantitative model of the goods-out path;
If the quantitative model of the goods-out path is count mode, shipment feedback letter caused by the goods-out path is monitored
Number, a shipment feedback signal is often detected, controls the value of the flag bit of shipment of the goods-out path to add 1;
If the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is supervised
Survey, full second preset duration per timing, control the value of the flag bit of shipment of the goods-out path to add 1, described second it is default when
Duration when long default more than described first.
Preferably, in the above-mentioned methods, the automatic vending machine according to the shipping Qty. of the passage and is needed from this
The step of quantity of the commodity to be output of passage output controls the passage to continue shipment or close, including:
The value of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
As the first numerical value;
The value of the shipment flag bit of the current time passage is obtained as second value;
Judge whether the second value reaches first numerical value;
If the second value is not up to first numerical value, the passage is controlled to continue shipment, if the second value
Reach first numerical value, then control the passage to close and delete the control instruction.
Preferably, in the above-mentioned methods, whether described automatic vending machine testing passage just the shipment the step of, including:
Detect whether the control instruction that the goods-out path included is the passage be present;
If in the presence of judging the passage just in shipment.
Another object of the present invention is to provide a kind of automatically vending system, including the automatic vending machine kimonos being in communication with each other
Business device, the automatic vending machine are provided with multiple passages;
The server, for obtaining the species of commodity to be output, find out corresponding with the species of the commodity to be output
Passage, at least one current channel is chosen from passage corresponding with the species of the commodity to be output as goods-out path,
And control instruction corresponding to generating is sent to the automatic vending machine, the control instruction includes the goods-out path and institute
The quantity of commodity to be output is stated, the corresponding relation having between each passage and type of merchandize is recorded in the server;
The automatic vending machine includes:
First control module, for receiving the control instruction, the goods-out path shipment is controlled, and according to the shipment
The quantitative model of passage counts the shipping Qty. of the goods-out path;
Second control module, at interval of each passage of the first preset duration successively poll, whether to detect the passage
Shipment, if just controlling the passage to continue according to the quantity of the shipping Qty. of the passage and commodity to be output in shipment
Goods or closing.
Preferably, in above-mentioned automatically vending system, the automatic vending machine also includes pattern configurations module;
The pattern configurations module, the configuration for responding user operate, and are operated according to the configuration by the meter of each passage
Amount pattern configurations are count mode or timing mode, or, detect default quantitative model configuration data after powering, and according to
The quantitative model of each passage is configured to count mode or timing mode by the quantitative model configuration data, wherein, when passage
When quantitative model is count mode, the passage often exports a unit commodity, produces a shipment feedback signal.
Preferably, in above-mentioned automatically vending system, be provided with the automatic vending machine it is corresponding with each passage
Shipment flag bit, for representing the shipping Qty. of the passage, the initial value of the flag bit of shipment is 0;
First control module counts the shipping Qty. of the goods-out path according to the quantitative model of the goods-out path
Mode, including:
Judge the quantitative model of the goods-out path;
If the quantitative model of the goods-out path is count mode, shipment feedback letter caused by the goods-out path is monitored
Number, a shipment feedback signal is often detected, controls the value of the flag bit of shipment of the goods-out path to add 1;
If the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is supervised
Survey, full second preset duration per timing, control the value of the flag bit of shipment of the goods-out path to add 1, described second it is default when
Duration when long default more than described first.
Preferably, in above-mentioned automatically vending system, second control module according to the shipping Qty. of the passage with
And the quantity of commodity to be output controls the mode of passage continuation shipment or closing, including:
The value of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
As the first numerical value;
The value of the shipment flag bit of the current time passage is obtained as second value;
Judge whether the second value reaches first numerical value;
If the second value is not up to first numerical value, the passage is controlled to continue shipment, if the second value
Reach first numerical value, then control the passage to close and delete the control instruction.
Preferably, in above-mentioned automatically vending system, whether second control module detects the passage just in shipment
Mode, including:
Detect whether the control instruction that the goods-out path included is the passage be present;
If in the presence of judging the passage just in shipment.
The embodiment of the present invention provides a kind of automatic vending method and system, automatic vending machine and is provided with multiple passages, services
Device determines an at least goods-out path according to the passage of the species of commodity to be output and current idle, and generate include goods-out path with
And need the control instruction of the quantity of the commodity to be output exported from the goods-out path.Automatic vending machine receives control instruction, control
Goods-out path processed is opened, and the shipping Qty. of goods-out path is counted, so as to monitor the shipping Qty. of goods-out path in real time.
Whether automatic vending machine just needs to continue at interval of each passage of the first preset duration successively poll, detection in the passage of shipment
Goods, and close the passage for needing not continue to shipment.In this way, the multichannel output of automatic vending machine can be realized, facilitate multiple users
Use simultaneously, reduce the time that user waits in line.Go out in addition, multiple passages of automatic vending machine are independently operated, a passage
Existing failure, does not influence the use of other passages, automatic vending machine still can normal work, robustness is preferable.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of connection block diagram of automatically vending system provided in an embodiment of the present invention.
Fig. 2 is a kind of block diagram of automatic vending machine provided in an embodiment of the present invention.
Fig. 3 is a kind of schematic flow sheet of automatic vending method provided in an embodiment of the present invention.
Fig. 4 is a kind of functional block diagram of automatically vending system provided in an embodiment of the present invention.
Icon:10- automatically vending systems;100- automatic vending machines;110- memories;The control modules of 111- first;112-
Second control module;113- pattern configurations modules;120- processors;130- communication units;140- display units;200- is serviced
Device;300- networks;400- user terminals.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.The present invention implementation being generally described and illustrated herein in the accompanying drawings
The component of example can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments of the invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.It is common based on the embodiment in the present invention, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model that the present invention protects
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
Referring to Fig. 1, be present pre-ferred embodiments provide a kind of automatically vending system 10, the automatically vending system
10 include automatic vending machine 100 and server 200.The automatic vending machine 100 is provided with multiple passages, the automatic vending machine
100 can be communicated by network 300 with the server 200, to enter row data communication or interaction.
Alternatively, the automatically vending system 10 can also include user terminal 400, and the user terminal 400 can pass through
Network 300 communicates with server 200.Wherein, the user terminal 400 can be PC (personal computer,
PC), tablet personal computer, smart mobile phone, personal digital assistant (personal digital assistant, PDA) etc., in this implementation
It is not intended as limiting in example.
Referring to Fig. 2, Fig. 2 is the block diagram of automatic vending machine 100 shown in Fig. 1.Automatic vending machine 100 includes storage
Device 110, processor 120, communication unit 130 and display unit 140.
The memory 110, processor 120, communication unit 130 and 140 each element of display unit are direct between each other
Or be electrically connected with indirectly, to realize the transmission of data or interaction.For example, these elements can pass through one or more between each other
Communication bus or signal wire, which are realized, to be electrically connected with.The automatic vending machine 100 include it is at least one can be with software or firmware
(firmware) form is stored in memory 110 or is solidificated in the software function in the operating system of automatic vending machine 100
Module.Processor 120 is used to perform the executable module of storage in the memory 110, such as the automatic vending machine 100 includes
Software function module or computer program.
Wherein, memory 110 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
The processor 120 can be a kind of IC chip, have the disposal ability of signal.Above-mentioned processor 120 can be
General processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;Can also be digital signal processor (DSP)), application specific integrated circuit (ASIC), field programmable gate
Array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.Can be real
Now or perform the embodiment of the present invention in disclosed each method, step and logic diagram.General processor can be microprocessor
Device or the processor can also be any conventional processors etc..
The communication unit 130 is used for the communication connection established between automatic vending machine 100 and server 200.In this reality
Apply in example, the communication unit 130 can be 4G wireless communication units.
The display unit 140 provides an interactive interface (such as commodity shopping between automatic vending machine 100 and user
Interface, payment interface etc.) or for showing data to be displayed.Implement Li Zhong in the present invention, the display unit 140 can be liquid
Crystal display or touch control display, the present embodiment are without limitation.
It should be appreciated that structure shown in Fig. 2 is only to illustrate.The automatic vending machine 100 can have it is more more than shown in Fig. 2 or
The less component of person, or there is the configuration different from shown in Fig. 2.Wherein, each component shown in Fig. 2 can be by software, hardware
Or its combination is realized.
In the present embodiment, the company between the component included by the server 200 and user terminal 400 and each component
It is similar with the automatic vending machine 100 to connect relation, here is omitted.
Referring to Fig. 3, it is that provided in an embodiment of the present invention a kind of can be applied to the automatic of automatically vending system 10 shown in Fig. 1
Good selling method.Wherein, automatic vending machine 100 is provided with multiple passages.Below by the idiographic flow shown in Fig. 3 and step progress
Elaborate.
Step S101, server 200 obtain the species of commodity to be output, find out the species pair with the commodity to be output
The passage answered, the passage that at least one current idle is chosen from passage corresponding with the species of the commodity to be output are used as
Goods passage, and control instruction corresponding to generation is sent to the automatic vending machine 100.
In the present embodiment, commodity to be output are the commodity of user's purchase.As a kind of embodiment, user can pass through
The free choice of goods of user terminal 400 and payment, the merchandise news that user terminal 400 chooses the user after user-pay success are sent out
Deliver to information of the server 200 as commodity to be output.Wherein, the information of the commodity to be output can include commodity to be output
Species and the species commodity corresponding to quantity.
As another embodiment, user also can be directly in the free choice of goods of automatic vending machine 100 and payment, automatic vending
The merchandise news that machine 100 can choose user after user-pay success sends the letter to server 200 as commodity to be output
Breath.
That is, server 200 can obtain the species of commodity to be output from automatic vending machine 100, also can be from user terminal 400
Obtain the species of commodity to be output.
In the present embodiment, multiple passages of automatic vending machine 100 are used to export commodity, and each passage is used to export one
The commodity of species.Record has the corresponding relation between each passage and the type of merchandize of output in server 200.Therefore, obtaining
After the species of commodity to be output, server 200 can find out all passages for exporting the species commodity, and find out
The passage that at least one current idle is chosen in passage is used to export the commodity to be output, that is, as goods-out path.
It is determined that after goods-out path, server 200 generates corresponding control instruction and sent to automatic vending machine 100, so that
Automatic vending machine 100 controls the goods-out path to export commodity to be output according to the control instruction.Wherein, the control instruction
Include the quantity for the commodity to be output that goods-out path and needs export from the passage.
Alternatively, the species for the commodity to be output that user chooses may be one, it is two or more.Treated for each defeated
Go out commodity, server 200 determines that a goods-out path is used to export this kind of commodity to be output respectively, and generates for controlling the commodity
The control instruction of output.
If idle passage is not present in the passage for exporting a certain commodity to be output, prompt user that " wait XX "
Deng printed words, and after preset interval time, the goods-out path of this kind of commodity to be output is redefined.Wherein, " XX " represents duration,
And the value represented by " XX " is more than the prefixed time interval.
Step S102, the automatic vending machine 100 receive the control instruction, control the goods-out path shipment, and root
The shipping Qty. of the goods-out path is counted according to the quantitative model of the goods-out path.
In the present embodiment, the type of merchandize that automatic vending machine 100 exports can include package goods (e.g., bottled drink
Deng), fluid commodity (such as bulk beverage, charging inlet provide charging current).Measured used by different types of commodity
Pattern is different.Wherein, count mode is used for exporting the passage of package goods, by exporting the passage of fluid commodity based on
When pattern.
Alternatively, in the present embodiment, the type of merchandize of each passage output can be set in advance, according to what is set
Type of merchandize can further set the quantitative model of each passage.Alternatively, the quantitative model of each passage can be as follows
In at least one determination:
Automatic vending machine 100 responds the configuration operation of user, is matched somebody with somebody the quantitative model of each passage according to the configuration operation
It is set to count mode or timing mode;Or
Automatic vending machine 100 detects default quantitative model configuration data after powering, and is matched somebody with somebody according to the quantitative model
Put data and the quantitative model of each passage is configured to count mode or timing mode.
In the present embodiment, the quantitative model of each passage can be configured before automatic vending machine 100 is opened.Automatic vending machine
100 start after automatic detection quantitative model configuration data and carry out corresponding to pattern configurations.Can also be at automatic vending machine 100
The quantitative model of each passage is configured when open state, when automatic vending machine 100 detects configuration operation, you can detect again
Quantitative model configuration data, and according to the quantitative model of each passage of quantitative model configuration data configuration detected again.
In the present embodiment, the quantitative model can be configured in several ways.
As a kind of embodiment, automatic vending machine 100 may be provided with multidigit toggle switch, on the multidigit toggle switch
The corresponding passage of each toggle switch.During implementation, it can be stirred according to each passage type of merchandize to be exported with being somebody's turn to do
Toggle switch corresponding to passage, and then the type of merchandize that the quantitative model of the passage is configured to the passage to be exported is matched
Pattern.For example, when a certain passage type of merchandize to be exported is package goods, the quantitative model of the passage is configured to
Count mode.When the type of merchandize that a certain passage to be exported is fluid commodity, the quantitative model of the passage is configured to count
When pattern.
As another embodiment, each passage type of merchandize to be exported can be directly set, and automatic vending machine 100 can
Each passage type of merchandize to be exported according to having configured correspondingly configures the quantitative model of the passage.In the present embodiment, no
Same quantitative model means the metering algorithm difference called.Thus, settable one mode flags for characterizing quantitative model
Position, automatic vending machine 100 change the value of the mode flags position according to each passage type of merchandize to be exported.It is in this way, automatic
Vending machine 100 can call corresponding metering algorithm to carry out the shipping Qty. of the passage according to the value of the mode flags position of each passage
Metering.
Alternatively, shipment flag bit corresponding with each passage is may be provided with automatic vending machine 100, for representing that this is logical
The shipping Qty. in road.Wherein, the initial value of the flag bit of shipment is 0.In step S102, the automatic vending machine 100
The step of counting the shipping Qty. of the goods-out path according to the quantitative model of the goods-out path may comprise steps of.
First, it is determined that the quantitative model of the goods-out path.
In the present embodiment, automatic vending machine 100 can correspond to the judgement of toggle switch present position according to the goods-out path
The quantitative model of the goods-out path, also the goods-out path can be judged according to the value of the mode flags position of the goods-out path
Quantitative model.
Then, if the quantitative model of the goods-out path is count mode, shipment caused by the goods-out path is monitored
Feedback signal, a shipment feedback signal is often detected, control the value of the flag bit of shipment of the goods-out path to add 1.
Wherein, when the quantitative model of passage is count mode, the passage often exports a unit commodity, produces a shipment
Feedback signal.
Finally, if the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is entered
Row monitoring, per timing, full second preset duration, controls the value of the flag bit of shipment of the goods-out path to add 1.
Wherein, duration when second preset duration is default more than described first.For example, first preset duration is
100 milliseconds, second preset duration is one minute.
Step S103, the automatic vending machine 100 detect the passage at interval of each passage of the first preset duration successively poll
Whether just in shipment, if just according to the shipping Qty. of the passage and being needed in shipment from the to be output of passage output
The quantity of commodity controls the passage to continue shipment or closing.
Wherein, first preset duration can flexibly be set according to the actual requirements, for example, can be 100 milliseconds.Need
It is noted that if automatic vending machine 100 detects that a certain passage is in idle condition, that is, not just in shipment, then continue
Inquire next passage of the passage.
In the present embodiment, the commodity to be output exported according to the shipping Qty. of the passage and needs from the passage
Quantity controls the passage to continue shipment or can be realized the step of closing by following steps.
The value of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
As the first numerical value, the value of shipment flag bit of the current time passage is obtained as second value, judges the second value
Whether reach first numerical value, if the second value is not up to first numerical value, control the passage to continue shipment, if
The second value reaches first numerical value, then controls the passage to close and delete the control instruction.
In the present embodiment, whether passage can just detected in the following manner in shipment:
Detect whether the control instruction that the goods-out path that includes is the passage be present, if in the presence of judging the passage
Shipment, if being not present, judge that the passage is in idle condition.
By above-mentioned design, the output of the multichannel of automatic vending machine 100 can be achieved, reduce the time that user waits in line, change
It has been apt to Consumer's Experience.Between multiple passages independently of each other, whole automatic vending machine 100 can not work when can avoid some channel failure
Make.
As a kind of embodiment, automatic vending method provided in an embodiment of the present invention can be applied to following scene:
Automatic vending machine 100 can be provided with multiple passages, for selling water and providing charging service for smart mobile phone.
Alternatively, there are two for selling the passage of water, respectively passage A1 and passage A2.Wherein, passage A1 and passage A2 is using meter
Digital modeling, passage A1 are used to sell hot water, and passage A2 is used to sell cold water.
By taking passage A1 as an example, it is assumed that the control instruction that automatic vending machine 100 receives includes passage A1 and 5 bottles of X beverages.
It should be appreciated that the passage A1 that control instruction includes refers to passage A1 identity information, 5 bottles of X beverages that control instruction includes,
And represented in the form of information.
During implementation, passage A1 often exports one bottle of X beverage, and the module for control passage A1 outputs can produce shipment feedback
Signal.Automatic vending machine 100 often detects once shipment feedback signal caused by the module, you can control passage A1 shipment
The value of flag bit adds 1.
Automatic vending machine 100 can at interval of each passage of the first preset duration successively poll, for it is each be asked it is logical
Road, whether the passage is detected just in shipment, if just detecting whether the shipping Qty. of the passage needs to reach user's purchase in shipment
The quantity bought, if answering, the passage is controlled to close.
For example, if just poll is to passage A1 for automatic vending machine 100, whether the control instruction in measurement processor 120
In the presence of the control instruction for including passage A1, if in the presence of, show passage A1 just in shipment, and further sense channel A1 shipment
Whether the value of flag bit is 5, represents that shipment is completed if 5, controllable channel A1 is closed, and the control in delete processing device 120
Passage A1 control instruction.
Alternatively, there are five for providing the passage of charging service, using timing mode.It is used to provide charging with some
Exemplified by the passage of service, the time that automatic vending machine 100 can provide the passage charging service carries out timing, full one per timing
Minute controls the value of the shipment flag bit of the passage to add 1.Wherein, described one minute may for one kind of second preset duration
Situation.Similarly, automatic vending machine 100 can judge whether the passage needs to continue shipment according to the value of shipment flag bit.
As shown in figure 4, present pre-ferred embodiments also provide a kind of automatically vending system 10, the automatically vending system 10
Including the server 200 and automatic vending machine 100 being in communication with each other, the automatic vending machine 100 includes the He of the first control module 111
Second control module 112.
The server 200 is used for the species for obtaining commodity to be output, finds out the species pair with the commodity to be output
The passage answered, from passage corresponding with the species of the commodity to be output choose at least one current channel leads to as shipment
Road, and control instruction corresponding to generation is sent to the automatic vending machine 100.
Wherein, the control instruction includes the quantity of the goods-out path and the commodity to be output, the service
Record has the corresponding relation between each passage and type of merchandize in device 200.In the present embodiment, on the server 200
Description specifically refers to the detailed description to step S101.
First control module 111 is used to receive the control instruction, controls the goods-out path shipment, and according to institute
The quantitative model for stating goods-out path counts the shipping Qty. of the goods-out path.
In the present embodiment, the step of description as described in first control module 111 is specifically referred to as shown in Fig. 3
S102 detailed description.That is, step S102 can be performed by first control module 111.
According to the actual requirements, shipment mark corresponding with each passage can be provided with the automatic vending machine 100
Position, for representing the shipping Qty. of the passage, the initial value of the flag bit of shipment is 0.Alternatively, first control
Module 111 counts the mode of the shipping Qty. of the goods-out path according to the quantitative model of the goods-out path, can include:
Judge the quantitative model of the goods-out path.
If the quantitative model of the goods-out path is count mode, shipment feedback letter caused by the goods-out path is monitored
Number, a shipment feedback signal is often detected, controls the value of the flag bit of shipment of the goods-out path to add 1.
If the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is supervised
Survey, per timing, full second preset duration, controls the value of the flag bit of shipment of the goods-out path to add 1.
Wherein, second preset duration is more than first preset duration.
Second control module 112 is used at interval of each passage of the first preset duration successively poll, and detecting the passage is
It is no just in shipment, if just controlling the passage according to the quantity of the shipping Qty. of the passage and commodity to be output in shipment
Continue shipment or closing.
In the present embodiment, the description as described in second control module 112 is specifically referred to step as shown in Fig. 3
S103 detailed description, that is, the step S103 can be performed by second control module 112.
Alternatively, in the present embodiment, second control module 112 according to the shipping Qty. of the passage and is treated defeated
The quantity for going out commodity controls the passage to continue shipment or closing, can be accomplished by the following way.
The value of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
As the first numerical value, the value of shipment flag bit of the current time passage is obtained as second value, judges the second value
Whether reach first numerical value, if the second value is not up to first numerical value, control the passage to continue shipment, if
The second value reaches first numerical value, then controls the passage to close and delete the control instruction.
Alternatively, the automatic vending machine 100 can also include pattern configurations module 113.
The pattern configurations module 113 is used for the configuration operation for responding user, is operated according to the configuration by each passage
Quantitative model is configured to count mode or timing mode, or, default quantitative model configuration data, and root are detected after powering
The quantitative model of each passage is configured to count mode or timing mode according to the quantitative model configuration data.
Wherein, when the quantitative model of passage is count mode, the passage often exports a unit commodity, produces a shipment
Feedback signal.
Alternatively, second control module 112 can in the following way sense channel whether just in shipment.
Detect whether the control instruction that the goods-out path that includes is the passage be present, if in the presence of judging the passage
Shipment.
In summary, the embodiment of the present invention, which provides a kind of automatic vending method and system, automatically vending system 10, includes phase
The automatic vending machine 100 and server 200 communicated, automatic vending machine 100 are provided with multiple passages.The basis of server 200
The species of commodity to be output and the passage of current idle determine an at least goods-out path, and generation includes goods-out path and needs
From the control instruction of the quantity of the commodity to be output of goods-out path output.Automatic vending machine 100 receives control instruction, controls out
Goods passage is opened, and the shipping Qty. of goods-out path is counted, so as to monitor the shipping Qty. of goods-out path in real time.Automatically
At interval of each passage of the first preset duration successively poll, whether detection is just needing to continue shipment vending machine 100 in the passage of shipment,
And close the passage for needing not continue to shipment.In this way, the multichannel output of automatic vending machine 100 can be realized, facilitate multiple users
Use simultaneously, reduce the time that user waits in line.In addition, multiple passages of automatic vending machine 100 are independently operated, a passage
Break down, do not influence the use of other passages, automatic vending machine 100 still can normal work, robustness is preferable.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of automatic vending method, it is characterised in that applied to automatically vending system, the automatically vending system includes mutual
The automatic vending machine and server of communication, the automatic vending machine are provided with multiple passages, and methods described includes:
The server obtains the species of commodity to be output, finds out passage corresponding with the species of the commodity to be output, from
The passage of at least one current idle is chosen in passage corresponding with the species of the commodity to be output as goods-out path, and is given birth to
Sent into corresponding control instruction to the automatic vending machine, the control instruction include the goods-out path and needs from
The quantity of the commodity to be output of goods-out path output, record has pair between each passage and type of merchandize in the server
It should be related to;
The automatic vending machine receives the control instruction, controls the goods-out path shipment, and according to the goods-out path
Quantitative model counts the shipping Qty. of the goods-out path;
Whether the automatic vending machine detects the passage just in shipment at interval of each passage of the first preset duration successively poll, if
, then should according to the quantity control of the shipping Qty. of the passage and the commodity to be output for needing to export from the passage just in shipment
Passage continues shipment or closing.
2. automatic vending method according to claim 1, it is characterised in that the quantitative model of each passage passes through following step
At least one determination in rapid:
The configuration operation of automatic vending machine response user, the quantitative model of each passage is configured to count according to the configuration operation
Pattern or timing mode;Or
Automatic vending machine detects default quantitative model configuration data after powering, and will according to the quantitative model configuration data
The quantitative model of each passage is configured to count mode or timing mode;
Wherein, when the quantitative model of passage is count mode, the passage often exports a unit commodity, produces shipment feedback
Signal.
3. automatic vending method according to claim 2, it is characterised in that be provided with the automatic vending machine with each
Shipment flag bit corresponding to passage, for representing the shipping Qty. of the passage, the initial value of the flag bit of shipment is
0;
The automatic vending machine counts the step of shipping Qty. of the goods-out path according to the quantitative model of the goods-out path,
Including:
Judge the quantitative model of the goods-out path;
If the quantitative model of the goods-out path is count mode, shipment feedback signal caused by the goods-out path is monitored,
A shipment feedback signal is often detected, controls the value of the flag bit of shipment of the goods-out path to add 1;
If the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is monitored, often
Full second preset duration of timing, controls the value of the flag bit of shipment of the goods-out path to add 1, second preset duration is more than
Described first it is default when duration.
4. automatic vending method according to claim 3, it is characterised in that the automatic vending machine according to the passage
The step of shipping Qty. and the quantity for the commodity to be output for needing to export from the passage control the passage to continue shipment or close,
Including:
The value conduct of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
First numerical value;
The value of the shipment flag bit of the current time passage is obtained as second value;
Judge whether the second value reaches first numerical value;
If the second value is not up to first numerical value, the passage is controlled to continue shipment, if the second value reaches
First numerical value, then control the passage to close and delete the control instruction.
5. automatic vending method according to claim 4, it is characterised in that just whether described automatic vending machine testing passage
The shipment the step of, including:
Detect whether the control instruction that the goods-out path included is the passage be present;
If in the presence of judging the passage just in shipment.
6. a kind of automatically vending system, it is characterised in that including the automatic vending machine and server being in communication with each other, the automatic selling
Cargo aircraft is provided with multiple passages;
The server, for obtaining the species of commodity to be output, find out corresponding with the species of the commodity to be output logical
Road, at least one current channel is chosen from passage corresponding with the species of the commodity to be output as goods-out path, and given birth to
Sent into corresponding control instruction to the automatic vending machine, the control instruction includes the goods-out path and described treated
The quantity of commodity is exported, the corresponding relation having between each passage and type of merchandize is recorded in the server;
The automatic vending machine includes:
First control module, for receiving the control instruction, the goods-out path shipment is controlled, and according to the goods-out path
Quantitative model count the shipping Qty. of the goods-out path;
Second control module, for whether at interval of each passage of the first preset duration successively poll, detecting the passage just in shipment,
If just the passage is controlled to continue shipment or pass according to the quantity of the shipping Qty. of the passage and commodity to be output in shipment
Close.
7. automatically vending system according to claim 6, it is characterised in that the automatic vending machine also includes pattern configurations
Module;
The pattern configurations module, the configuration for responding user operate, and are operated according to the configuration by the metering mould of each passage
Formula is configured to count mode or timing mode, or, default quantitative model configuration data is detected after powering, and according to described
The quantitative model of each passage is configured to count mode or timing mode by quantitative model configuration data, wherein, when the metering of passage
When pattern is count mode, the passage often exports a unit commodity, produces a shipment feedback signal.
8. automatically vending system according to claim 7, it is characterised in that be provided with the automatic vending machine with each
Shipment flag bit corresponding to passage, for representing the shipping Qty. of the passage, the initial value of the flag bit of shipment is
0;
First control module counts the side of the shipping Qty. of the goods-out path according to the quantitative model of the goods-out path
Formula, including:
Judge the quantitative model of the goods-out path;
If the quantitative model of the goods-out path is count mode, shipment feedback signal caused by the goods-out path is monitored,
A shipment feedback signal is often detected, controls the value of the flag bit of shipment of the goods-out path to add 1;
If the quantitative model of the goods-out path is timing mode, the ETCD estimated time of commencing discharging that goes out of the goods-out path is monitored, often
Full second preset duration of timing, controls the value of the flag bit of shipment of the goods-out path to add 1, second preset duration is more than
Described first it is default when duration.
9. automatically vending system according to claim 8, it is characterised in that second control module is according to the passage
Shipping Qty. and the quantity of commodity to be output control the mode of passage continuation shipment or closing, including:
The value conduct of the shipment flag bit of passage when output is completed is calculated according to the quantity of the commodity to be output of the passage
First numerical value;
The value of the shipment flag bit of the current time passage is obtained as second value;
Judge whether the second value reaches first numerical value;
If the second value is not up to first numerical value, the passage is controlled to continue shipment, if the second value reaches
First numerical value, then control the passage to close and delete the control instruction.
10. automatically vending system according to claim 9, it is characterised in that second control module detects the passage
Whether just in the mode of shipment, including:
Detect whether the control instruction that the goods-out path included is the passage be present;
If in the presence of judging the passage just in shipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710427177.3A CN107424304A (en) | 2017-06-08 | 2017-06-08 | Automatic vending method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710427177.3A CN107424304A (en) | 2017-06-08 | 2017-06-08 | Automatic vending method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107424304A true CN107424304A (en) | 2017-12-01 |
Family
ID=60429484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710427177.3A Pending CN107424304A (en) | 2017-06-08 | 2017-06-08 | Automatic vending method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107424304A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108010200A (en) * | 2017-12-25 | 2018-05-08 | 湖南金码智能设备制造有限公司 | Automatic vending machine cargo path shipment detection method and device |
CN109064633A (en) * | 2018-07-06 | 2018-12-21 | 众享随行(深圳)科技有限公司 | Vending machine goes out pallet piling up method, vending machine, computer readable storage medium and system |
CN109064628A (en) * | 2018-08-02 | 2018-12-21 | 巢湖学院 | A kind of automatic vending machine timing suggestion device out of stock |
WO2019128300A1 (en) * | 2017-12-29 | 2019-07-04 | 山东新北洋信息技术股份有限公司 | Method for selling merchandise and vending control apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002049878A (en) * | 2000-06-02 | 2002-02-15 | Nokia Mobile Phones Ltd | System and method for making product or service able to be supplied |
CN103544775A (en) * | 2013-10-25 | 2014-01-29 | 上海煦荣信息技术有限公司 | Vending machines, vending system and vending method for same |
CN205563540U (en) * | 2016-02-04 | 2016-09-07 | 马莉 | Automatic vending machine |
-
2017
- 2017-06-08 CN CN201710427177.3A patent/CN107424304A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002049878A (en) * | 2000-06-02 | 2002-02-15 | Nokia Mobile Phones Ltd | System and method for making product or service able to be supplied |
CN103544775A (en) * | 2013-10-25 | 2014-01-29 | 上海煦荣信息技术有限公司 | Vending machines, vending system and vending method for same |
CN205563540U (en) * | 2016-02-04 | 2016-09-07 | 马莉 | Automatic vending machine |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108010200A (en) * | 2017-12-25 | 2018-05-08 | 湖南金码智能设备制造有限公司 | Automatic vending machine cargo path shipment detection method and device |
WO2019128300A1 (en) * | 2017-12-29 | 2019-07-04 | 山东新北洋信息技术股份有限公司 | Method for selling merchandise and vending control apparatus |
CN109993887A (en) * | 2017-12-29 | 2019-07-09 | 山东新北洋信息技术股份有限公司 | A kind of commercial articles vending method and automatic vending control device |
CN109993887B (en) * | 2017-12-29 | 2020-09-22 | 山东新北洋信息技术股份有限公司 | Commodity selling method and automatic selling control device |
CN109064633A (en) * | 2018-07-06 | 2018-12-21 | 众享随行(深圳)科技有限公司 | Vending machine goes out pallet piling up method, vending machine, computer readable storage medium and system |
CN109064628A (en) * | 2018-08-02 | 2018-12-21 | 巢湖学院 | A kind of automatic vending machine timing suggestion device out of stock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107424304A (en) | Automatic vending method and system | |
US20200062572A1 (en) | Systems and methods for dispensing and tracking multiple categories of beverages | |
US9734509B2 (en) | System and method for providing a cashless vending donation transaction | |
US7840493B2 (en) | Prepayment system for electric power meters using a contactless smart card with an automatic supply cut-off device | |
CN106327694A (en) | Self-service beverage vending equipment and self-service beverage vending system | |
KR20170033083A (en) | Smart vending machine apparatus and managing system including the same | |
AU2020282943B2 (en) | NFC enhanced augmented reality information overlays | |
Naveen et al. | Ration Distribution SystemIn Panchayat Level Using Automatic Dispenser | |
CN109993891A (en) | The control method of Weighing type Intelligent cargo cabinet | |
Vaisakh et al. | IoT based intelligent public ration distribution | |
CN210295279U (en) | Automatic bulk liquid selling control system | |
JP5018284B2 (en) | vending machine | |
CN107485294A (en) | Drinking water supply equipment, method and system | |
CN205959298U (en) | Equipment and system of selling are sold to self -service drink | |
KR20000036937A (en) | Grain vendingmachine | |
JP5470862B2 (en) | Electronic money payment processing system | |
JPH05108928A (en) | Sales information management device for automatic vending machine | |
TW202117638A (en) | Service method for integrating payment discounts | |
CN111311829A (en) | Order information processing method, beverage machine control method and order generation method | |
CN107833050A (en) | A kind of automatic saler system and method for commerce based on communication and code | |
JP2003044971A (en) | Instrument and system for measurement | |
CN215182246U (en) | Control system of wine selling machine | |
CN107256595A (en) | Hair-dryer intelligent self-service based on liquid crystal display two-dimensional code display is used and method | |
CN109903456A (en) | Vending machine and its progress control method | |
JP5370504B2 (en) | vending machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171201 |
|
RJ01 | Rejection of invention patent application after publication |