CN109727370A - A kind of control method of automatic vending machine, device, equipment and storage medium - Google Patents
A kind of control method of automatic vending machine, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109727370A CN109727370A CN201811611121.4A CN201811611121A CN109727370A CN 109727370 A CN109727370 A CN 109727370A CN 201811611121 A CN201811611121 A CN 201811611121A CN 109727370 A CN109727370 A CN 109727370A
- Authority
- CN
- China
- Prior art keywords
- touch
- vending machine
- automatic vending
- see
- touch location
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000001514 detection method Methods 0.000 claims abstract description 35
- 238000013507 mapping Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 22
- 239000011521 glass Substances 0.000 claims description 22
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 17
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of control method of automatic vending machine, device, equipment and storage mediums, comprising: establishes absolute coordinate system on the surface of touch screen;Wherein the touch screen is virtually divided into several see-through areas by absolute coordinate system, the corresponding cargo path of each see-through area;By the way that touch location of the detection device sensing input operation on the touch screen on the touchscreen is arranged;According to the see-through area where the touch location, the corresponding cargo path of touch location is determined;According to the corresponding cargo path of touch location, obtains merchandise news to be paid and generate corresponding payment information;Merchandise news and the payment information are shown on a display screen, so that commodity needed for choosing from the corresponding cargo path of touch location are simultaneously delivered to output port after automatic vending machine completes payment and settlement, perspective real goods and touch function can be achieved at the same time, user experience is improved, cost is reduced.
Description
Technical field
The present invention relates to automatic vending machine technical field more particularly to a kind of control method of automatic vending machine, device, set
Standby and storage medium.
Background technique
Automatic vending machine is the machine that a kind of coin according to investment pays goods automatically.Automatic vending machine is business automation
Commonly used equipment, it is not limited by time, place, can be saved manpower, be facilitated transaction, is a kind of completely new retailing form.
Currently, common automatic vending machine according to the mode of selling goods classify substantially there are two types of: key is sold goods sells goods with keyboard.Both are automatic
Vending machine can only by click commodity where cargo path key, carry out commodity selection, function is more single, user experience compared with
Difference.
In order to enrich the function of automatic vending machine, a kind of existing scheme is that automatic vending machine and touch panel is (a kind of
Can receive the induction type liquid crystal display device of the input signals such as contact) it combines, replace mechanical push button panel with touch screen, uses
Touch control manner replaces traditional key mode, and can show visual and sound effects on the touchscreen, feature-rich, mode of selling goods is simpler
It is single.
But automatic vending machine, in the scheme in conjunction with touch panel, due to can not having an X-rayed for touch panel, user cannot
Be immediately seen the real goods for wanting to buy through screen, can only see virtual building commodity on touch panel, user experience compared with
Difference, higher cost.
Summary of the invention
The embodiment of the present invention provides control method, device, equipment and the storage medium of a kind of automatic vending machine, can be simultaneously
It realizes perspective real goods and touch function, improves user experience, reduce cost.
A kind of control method of automatic vending machine of the present invention characterized by comprising
Absolute coordinate system is established on the surface of touch screen;Wherein, the absolute coordinate system is by the touch screen virtual grate
For several see-through areas, the corresponding cargo path of each see-through area;
The touch location on the touch screen is operated by the detection device sensing input being arranged on the touch screen;
According to the see-through area where the touch location, the corresponding cargo path of the touch location is determined;
According to the corresponding cargo path of the touch location, obtains merchandise news to be paid and generate corresponding payment information;
The merchandise news and the payment information are shown on a display screen, so that automatic vending machine completes payment
After clearing, commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to output port.
Preferably, the absolute coordinate system is using an apex angle of the touch screen as coordinate origin, the width of the touch screen
Direction is X-axis, the short transverse of the touch screen is Y-axis;
The method also includes:
Several described see-through areas are ranked up using the coordinate origin as starting point, and to each see-through area
Identification number is successively added in order;
Establish the first mapping relations of the corresponding identification number of all coordinates in any one of see-through area;
Establish the second mapping relations of the number of the corresponding cargo path of identification number of any one of see-through area.
Preferably, the detection device sensing input by being arranged on the touch screen operates on the touch screen
Touch location, specifically include:
The water wave wave generated when the touch screen is touched is detected by the detection device, wherein the touch screen
Four apex angles are respectively provided with the detection device;
Duration and the velocity of wave that the water wave wave is received according to each detection device, calculate the touch position
The coordinate set.
Preferably, the see-through area according to where the touch location determines the corresponding cargo path of the touch location,
It specifically includes:
The corresponding identification number of see-through area according to first mapping relations, where determining the touch location;
According to second mapping relations, the corresponding goods of the identification number of the see-through area where the touch location is determined
The number in road.
Preferably, the method also includes:
According to the merchandise news got, speech prompt information is generated;
The speech prompt information is played by the sound broadcasting device on setting automatic vending machine.
Preferably, the touch screen is transparent glass, and the detection device is sonic sensor;Wherein, the transparent glass
Four apex angles of glass are respectively provided with the sonic sensor.
Preferably, the display screen is movably disposed in the output port, and can move back and forth along direction initialization, to beat
Open or be closed the output port.
Correspondingly, the embodiment of the present invention also provides a kind of control device of automatic vending machine, comprising:
Establishment of coordinate system module establishes absolute coordinate system for the surface in touch screen;Wherein, the absolute coordinate system will
The touch screen is virtually divided into several see-through areas, the corresponding cargo path of each see-through area;
Touch location sensing module, for the detection device sensing input operation by being arranged on the touch screen in institute
State the touch location on touch screen;
Cargo path determining module, for determining that the touch location is corresponding according to the see-through area where the touch location
Cargo path;
Commodity information acquisition module, for obtaining merchandise news to be paid according to the corresponding cargo path of the touch location
And generate corresponding payment information;
Merchandise news display module, for by the merchandise news and the payment information show on a display screen, with
So that commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to out after automatic vending machine completes payment and settlement
Goods mouth.
Correspondingly, the embodiment of the present invention also provide a kind of control equipment of automatic vending machine, including processor, memory with
And the computer program executed by the processor is stored in the memory and is configured as, described in the processor execution
The control method of automatic vending machine as claimed in any of claims 1 to 7 in one of claims is realized when computer program.
Correspondingly, the embodiment of the present invention also provides a kind of computer readable storage medium, which is characterized in that the computer
Readable storage medium storing program for executing includes the computer program of storage, wherein controlling the computer in computer program operation can
Equipment where reading storage medium executes the control method of automatic vending machine as claimed in any of claims 1 to 7 in one of claims.
Compared with prior art, a kind of control method of automatic vending machine disclosed by the embodiments of the present invention, device, equipment with
Storage medium establishes absolute coordinate system by the surface in touch screen;Wherein absolute coordinate system is by the touch screen virtual grate
For several see-through areas, the corresponding cargo path of each see-through area;By the way that detection device sensing on the touchscreen is arranged
Touch location of the input operation on the touch screen;According to the see-through area where the touch location, touch location is determined
Corresponding cargo path;According to the corresponding cargo path of touch location, obtains merchandise news to be paid and generate corresponding payment information;It will
Merchandise news and the payment information show on a display screen, so that after automatic vending machine completes payment and settlement, from touch
Commodity needed for choosing in the corresponding cargo path in position are simultaneously delivered to output port.
Allow user to observe directly true commodity by touch screen by above-mentioned control method and clicks touching
Touching screen can be bought, and operation is more intuitive, more convenient, improve the experience sense of user;And the price of touch screen is low,
It is easy to use without traditional touch-screen display, it is easy to maintenance, cost of labor is reduced, working efficiency is improved.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of automatic vending machine provided by the invention;
Fig. 2 is a kind of flow diagram of the control method of automatic vending machine provided by the invention;
Fig. 3 is a kind of structural schematic diagram of the control virtual bench of automatic vending machine provided by the invention;
Fig. 4 is a kind of control device/equipment schematic diagram of automatic vending machine provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is a kind of structural schematic diagram of automatic vending machine provided in an embodiment of the present invention, automatic vending machine, packet referring to Fig. 1
Include: touch screen 3 and display screen 2, touch screen 3 is for showing cargo all in all automatic vending machines, the area of touch screen
It is consistent with the door body size of automatic vending machine, a detection device 1, display screen 2 are respectively connected on four angles of touch screen 3
On automatic vending machine.
Touch screen 3 is installed in the door body of automatic vending machine, uses transparent glass, the area of transparent glass in the present embodiment
With the area equation of Automat door.The door body of automatic vending machine is rectangle in the present embodiment, the inspection in the present embodiment
Survey device 1 is sonic sensor, and the quadrangle of transparent glass is respectively fixedly connected with a sonic sensor, and sonic sensor is plugged in
Bright glass, is fixedly connected with the fixed frame for fixing four sonic sensors on transparent glass, fixed frame closely sonic sensor, Gu
Determine to be provided with through-hole on frame 4, fixed frame 4 is fixed in the through-hole that screw passes through on fixed frame 4.Display screen 2 is in the present embodiment
Ten cun, display screen 2 is located on transparent glass, and display screen 2 is connect by HDMI interface with industrial personal computer, and glass plate passes through USB and work
Control machine connects, and automatic vending machine is equipped in industrial personal computer sells software.
Referring to fig. 2, be a kind of automatic vending machine provided in an embodiment of the present invention control method one embodiment stream
Journey schematic diagram, comprising:
S100, absolute coordinate system is established on the surface of touch screen 3;Wherein, the absolute coordinate system is empty by the touch screen 3
It is quasi- to be divided into several see-through areas, the corresponding cargo path of each see-through area;
S200, it is operated on the touch screen 3 by the sensing input of detection device 1 being arranged on the touch screen 3
Touch location;
S300, according to the see-through area where the touch location, determine the corresponding cargo path of the touch location;
S400, according to the corresponding cargo path of the touch location, obtain merchandise news to be paid and generate corresponding payment
Information;
S500, the merchandise news and the payment information are shown on the display screen 2, so that automatic vending machine is complete
After payment and settlement, commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to output port.
It should be noted that a kind of control method of automatic vending machine provided in an embodiment of the present invention is on the touch screen 3
Absolute coordinate system is established, several see-through areas are divided into according to the size of 3 area of touch screen, is determined and is touched by detection device
Position, the see-through area where being determined by touch location, then corresponding cargo path determined by the see-through area at place, according to
The commodity that cargo path position is found in selling software show that on the display screen 2 user can observe directly by touch screen 3
True commodity and point touching screen 3 can be bought, operate more intuitive, more convenient, improve the experience of user
Sense;And the price of touch screen 3 is low, easy to use without traditional 3 display of touch screen, easy to maintenance, reduce manually at
This, improves working efficiency.
Further, the absolute coordinate system is using an apex angle of the touch screen 3 as coordinate origin, the touch screen 3
Width direction is X-axis, the short transverse of the touch screen 3 is Y-axis;
The method also includes:
Several described see-through areas are ranked up using the coordinate origin as starting point, and to each see-through area
Identification number is successively added in order;
Establish the first mapping relations of the corresponding identification number of all coordinates in any one of see-through area;
Establish the second mapping relations of the number of the corresponding cargo path of identification number of any one of see-through area.
It should be noted that absolute rectangular coordinate system is established to touch screen 3, using the width direction of touch screen 3 as X-axis, touching
The short transverse for touching screen 3 is Y-axis, is to be opened from the upper left corner using the upper left corner as origin to being divided into 48 see-through areas in the present embodiment
Beginning is successively sorted, and adds and identify, such as 1,2,3 ... 48 to each see-through area;When touch screen 3 is touched, detection dress
It sets 1 and detects that touch signal establishes the first mapping relations of the corresponding identification number of all coordinates in see-through area;It will
The identification number of see-through area and the number of cargo path establish the second mapping relations, are closed by the first mapping relations and the second mapping
System, i.e., be identified see-through area, and identification number carries out corresponding with the number of cargo path, realizes pair of touch location and cargo path
It answers, so that the commodity seen can be selected by touching screen.
Further, the sensing input of detection device 1 by being arranged on the touch screen 3 is operated in the touch
Touch location on screen 3, specifically includes:
The water wave wave generated when the touch screen 3 is touched is detected by the detection device 1;Wherein, the touch screen 3
Four apex angles be respectively provided with the detection device 1;
Duration and the velocity of wave that the water wave wave is received according to each detection device 1, calculate the touch
The coordinate of position.
It should be noted that water wave wave is generated, when water wave wave is constantly diffused into when touch screen 3 is touched in the present embodiment
Up to detection device 1, ripple can be continued for some time, and detection device can measure velocity of wave, further according to measure water wave wave it is lasting when
Between calculate separately out the distances of four detection devices of touch point distance, further according to the distance meter of four detection devices of touch point distance
It calculates, distance of the touch point apart from X-axis and Y-axis is obtained, to obtain the coordinate value of touch location.
Water wave wave is ripples, another to claim water wave wave because ripples be both not belonging to longitudinal wave or be not belonging to shear wave.In ripples
Particle be to be moved along elliptic orbit, this movement projection in the vertical direction is like shear wave, in the horizontal direction
Projection then seem longitudinal wave.Water wave wave is a kind of more special wave, if issue two train waves from two wave sources simultaneously, and its
The energy that wave source goes out not will appear simultaneously meets Niu Erlv.
Further, the see-through area according to where the touch location determines the corresponding goods of the touch location
Road specifically includes:
The corresponding identification number of see-through area according to first mapping relations, where determining the touch location;
According to second mapping relations, the corresponding goods of the identification number of the see-through area where the touch location is determined
The number in road.
It should be noted that the first mapping relations are that touch location receives water wave by detection device 1 in the present embodiment
The duration of wave and velocity of wave calculate the first coordinate value of the touch location, due to establishing absolute coordinate on the touch screen 3
System, is divided into several perspective areas for touch screen, searches corresponding perspective area identification number by the first coordinate value and reaches industrial personal computer.
When second mapping relations are that the industrial personal computer of automatic vending machine receives touch signal, it will be connect by mouse programming protocol
The touch signal received is converted into the second coordinate value, the number for being mapped as cargo path of the X-axis of the second coordinate value.
Further, the method also includes:
According to the merchandise news got, speech prompt information is generated;
The speech prompt information is played by the sound broadcasting device on setting automatic vending machine.
It should be noted that merchandise news is obtained when identification number is corresponding with the number of cargo path, it will by HDMI wire
Audio-video signal is transferred on display screen 2, and display screen 2 shows merchandise news and carries out voice prompting.
In the present embodiment, touch screen 3 uses transparency glass plate, and detection device 1 uses sonic sensor, specifically includes:
Absolute coordinate system is established on a glass, and using the upper left corner as coordinate origin (0,0), Y-axis is the length along glass plate
Direction, X-axis are the width direction along glass plate;
By glass plate by centimetre as unit of be divided into equal-sized 48 rectangles, corresponding 48 cargo paths of 48 rectangles, by square
Shape is successively ranked up 1,2,3,4 from the upper left corner ... 48;
When glass plate is clicked, the sonic sensor on each angle receives the water wave wave clicked and generated respectively, passes through water
Ripple reaches the time of four sonic sensors, and according to velocity of wave calculate glass plate be clicked position and X-axis and Y-axis away from
From calculating corresponding first coordinate value according to absolute coordinate system, the first coordinate value searched corresponding identification number and is passed to work
Control machine;
Automatic vending machine is equipped in industrial personal computer sells software, when industrial personal computer receives the touch signal clicked and generated
When, the second coordinate value is converted by the corresponding signal of mouse programming protocol, is set to the coordinate maximum value of X-axis in industrial personal computer
48, then the second coordinate value X axis coordinate value is mapped as cargo path serial number, disregards the coordinate value of Y-axis;
The corresponding relationship of identification number Yu cargo path serial number is established, identification number and cargo path serial number correspond, when mark sequence
When number identical as cargo path serial number, such as the corresponding cargo path serial number 1 of rectangle serial number 1, merchandise news is shown by HDMI wire and is being shown
Shield on 2 and provide voice prompting and chooses institute from the corresponding cargo path of the touch location after automatic vending machine completes payment and settlement
It needs commodity and is delivered to output port.
There are many standards including MICROSOFT company standard, MOUSE for the data format of mouse programming protocol
SYSTEM company standard, IBM Corporation PS 2MOUSE standard, above-mentioned standard can be applied in industrial personal computer.
Such as the maximum value of X-axis on a glass is 6, the maximum value of Y-axis is 8, and glass plate, passes through vibration when the user clicks
Dynamic wave reaches the time of four sonic sensors, and according to velocity of wave calculate glass plate be clicked position and X-axis and Y-axis away from
From, corresponding first coordinate value (1,2) is calculated according to absolute coordinate system, then rectangle serial number 7, industrial personal computer receive touch letter
Number, 7 are mapped as by what mouse programming protocol obtained the X-axis of the second coordinate, then the commodity of 7 cargo paths are shown on the display screen 2.
Allow user to observe directly true commodity by touch screen by above-mentioned control method and clicks touching
Touching screen can be bought, and operation is more intuitive, more convenient, improve the experience sense of user;And installation sound on touch screen
Cheap, easy to use without traditional touch-screen display, easy to maintenance, the reduction cost of labor of wave sensor, raising
Working efficiency.
It is a kind of schematic diagram of the control virtual bench for automatic vending machine that third embodiment of the invention provides referring to Fig. 3.
A kind of control device of automatic vending machine, comprising:
Establishment of coordinate system module 31 establishes absolute coordinate system for the surface in touch screen;Wherein, the absolute coordinate system
The touch screen is virtually divided into several see-through areas, the corresponding cargo path of each see-through area;
Touch location sensing module 32 exists for the detection device sensing input operation by being arranged on the touch screen
Touch location on the touch screen;
Cargo path determining module 33, for determining the touch location pair according to the see-through area where the touch location
The cargo path answered;
Commodity information acquisition module 34, for obtaining commodity letter to be paid according to the corresponding cargo path of the touch location
It ceases and generates corresponding payment information;
Merchandise news display module 35, for the merchandise news and the payment information to be shown on a display screen,
So that commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to after automatic vending machine completes payment and settlement
Output port.
Establishment of coordinate system module includes 31: transparent region mark sequence module, the first mapping block and the second mapping block,
Transparent region mark sequence module: for being arranged using the coordinate origin as starting point several described see-through areas
Sequence, and identification number is successively added in order to each see-through area;
First mapping block: for establishing the corresponding mark sequence of all coordinates in any one of see-through area
Number the first mapping relations;
Second mapping block: the number of the corresponding cargo path of identification number of any one of see-through area is established
Second mapping relations.
Touch location sensing module includes 32: touch location collection module and touch location calculation module,
Touch location collection module, for detecting the water wave generated when the touch screen is touched by the detection device
Wave;
Touch location calculation module, for received according to each detection device the duration of the water wave wave with
And velocity of wave, calculate the coordinate of the touch location.
Cargo path determining module 33 includes:
The respective modules of touch location and see-through area, for determining the touch position according to first mapping relations
The corresponding identification number of see-through area where setting;
The respective modules of see-through area and cargo path, for determining the touch location institute according to second mapping relations
See-through area the corresponding cargo path of identification number number.
It referring to fig. 4, is a kind of control device/equipment signal for automatic vending machine that third embodiment of the invention provides
Figure.A kind of control device/equipment of automatic vending machine of the embodiment includes: processor, memory and is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized when executing the computer program
State the step in a kind of control method embodiment of each automatic vending machine, such as step shown in Fig. 2.Alternatively, the processing
Device realizes the function of each module/unit in above-mentioned each Installation practice, such as establishment of coordinate system when executing the computer program
Module 31, for establishing absolute coordinate system on the surface of touch screen 3;Wherein, the absolute coordinate system is virtual by the touch screen 3
It is divided into several see-through areas, the corresponding cargo path of each see-through area;Touch location sensing module 32, for by setting
It sets in touch location of the sensing input operation of detection device 1 on the touch screen 3 on the touch screen 3;Cargo path determines mould
Block 33, for determining the corresponding cargo path of the touch location according to the see-through area where the touch location;Merchandise news obtains
Modulus block 34, for obtaining merchandise news to be paid and generating corresponding payment according to the corresponding cargo path of the touch location
Information;Merchandise news display module 35, for by the merchandise news and the payment information show on the display screen 2, with
So that commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to out after automatic vending machine completes payment and settlement
Goods mouth.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more
A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute
State implementation procedure of the computer program in a kind of control device of automatic vending machine.For example, the computer program can
To be divided into establishment of coordinate system module 31, touch location sensing module 32, cargo path determining module 33, commodity information acquisition module
34, merchandise news display module 35.Each module concrete function is as follows: establishment of coordinate system module 31, on the surface of touch screen 3
Establish absolute coordinate system;Wherein, the touch screen 3 is virtually divided into several see-through areas by the absolute coordinate system, each
The corresponding cargo path of see-through area;Touch location sensing module 32 is filled for the detection by being arranged on the touch screen 3
Set touch location of the 1 sensing input operation on the touch screen 3;Cargo path determining module 33, for according to the touch location
The see-through area at place determines the corresponding cargo path of the touch location;Commodity information acquisition module 34, for according to the touch
The corresponding cargo path in position obtains merchandise news to be paid and generates corresponding payment information;Merchandise news display module 35 is used
It is shown on the display screen 2 in by the merchandise news and the payment information, so that automatic vending machine completes payment and settlement
Afterwards, commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to output port.
A kind of control device/equipment of the automatic vending machine can be desktop PC, notebook, palm PC and
Cloud server etc. calculates equipment.A kind of control device/equipment of automatic vending machine may include, but be not limited only to, processing
Device, memory.It will be understood by those skilled in the art that the schematic diagram be only a kind of automatic vending machine control device/set
Standby example does not constitute control device/equipment restriction to a kind of automatic vending machine, may include more or more than illustrating
Few component, perhaps combines certain components or different components, for example, a kind of automatic vending machine control device/set
Standby can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is a kind of control device/equipment control centre of automatic vending machine, utilizes various interfaces and route
Connect a kind of entire control device/equipment various pieces of automatic vending machine.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
A kind of various functions of control device/terminal device of automatic vending machine.The memory can mainly include storing program area and
Storage data area, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as sound according to mobile phone
Frequency evidence, phone directory etc.) etc..In addition, memory may include high-speed random access memory, it can also include non-volatile deposit
Reservoir, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other
Volatile solid-state part.
Wherein, if a kind of control device/integration of equipments module/unit of automatic vending machine is with software function list
Member form realize and when sold or used as an independent product, can store in a computer-readable storage medium
In.Based on this understanding, the present invention realizes all or part of the process in above-described embodiment method, can also pass through computer
Program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium, should
Computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program
Including computer program code, the computer program code can be source code form, object identification code form, executable file
Or certain intermediate forms etc..The computer-readable medium may include: can carry the computer program code any
Entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and
Software distribution medium etc..
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
1. a kind of control method of automatic vending machine characterized by comprising
Absolute coordinate system is established on the surface of touch screen;Wherein, if the touch screen is virtually divided by the absolute coordinate system
A dry see-through area, the corresponding cargo path of each see-through area;
The touch location on the touch screen is operated by the detection device sensing input being arranged on the touch screen;
According to the see-through area where the touch location, the corresponding cargo path of the touch location is determined;
According to the corresponding cargo path of the touch location, obtains merchandise news to be paid and generate corresponding payment information;
The merchandise news and the payment information are shown on a display screen, so that automatic vending machine completes payment and settlement
Afterwards, commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to output port.
2. the control method of automatic vending machine as described in claim 1, which is characterized in that the absolute coordinate system is with the touching
The apex angle for touching screen is coordinate origin, the width direction of the touch screen is X-axis, the short transverse of the touch screen is Y-axis;
The method also includes:
Several described see-through areas are ranked up using the coordinate origin as starting point, and to each see-through area by suitable
Sequence successively adds identification number;
Establish the first mapping relations of the corresponding identification number of all coordinates in any one of see-through area;
Establish the second mapping relations of the number of the corresponding cargo path of identification number of any one of see-through area.
3. the control method of automatic vending machine as claimed in claim 2, which is characterized in that described by being arranged in the touch
Touch location of the detection device sensing input operation on the touch screen on screen, specifically includes:
The water wave wave generated when the touch screen is touched is detected by the detection device, wherein four of the touch screen
Apex angle is respectively provided with the detection device;
Duration and the velocity of wave that the water wave wave is received according to each detection device, calculate the touch location
Coordinate.
4. the control method of automatic vending machine as claimed in claim 3, which is characterized in that described according to the touch location institute
See-through area, determine the corresponding cargo path of the touch location, specifically include:
The corresponding identification number of see-through area according to first mapping relations, where determining the touch location;
According to second mapping relations, the corresponding cargo path of the identification number of the see-through area where the touch location is determined
Number.
5. the control method of automatic vending machine as described in claim 1, which is characterized in that the method also includes:
According to the merchandise news got, speech prompt information is generated;
The speech prompt information is played by the sound broadcasting device on setting automatic vending machine.
6. the control method of automatic vending machine as described in any one of claims 1-3, which is characterized in that the touch screen is
Bright glass, the detection device are sonic sensor;Wherein, four apex angles of the transparent glass are respectively provided with the sound wave sensing
Device.
7. the control method of automatic vending machine as described in claim 1, which is characterized in that the display screen is movably arranged
It in the output port, and can be moved back and forth along direction initialization, with output port described in open or close.
8. a kind of control device of automatic vending machine characterized by comprising
Establishment of coordinate system module establishes absolute coordinate system for the surface in touch screen;Wherein, the absolute coordinate system will be described
Touch screen is virtually divided into several see-through areas, the corresponding cargo path of each see-through area;
Touch location sensing module, for the detection device sensing input operation by being arranged on the touch screen in the touching
Touch the touch location on screen;
Cargo path determining module, for determining the corresponding goods of the touch location according to the see-through area where the touch location
Road;
Commodity information acquisition module, for obtaining merchandise news to be paid and life according to the corresponding cargo path of the touch location
At corresponding payment information;
Merchandise news display module, for the merchandise news and the payment information to be shown on a display screen, so that
After automatic vending machine completes payment and settlement, commodity needed for choosing from the corresponding cargo path of the touch location are simultaneously delivered to shipment
Mouthful.
9. a kind of control equipment of automatic vending machine, including processor, memory and storage in the memory and are matched
It is set to the computer program executed by the processor, the processor realizes such as claim when executing the computer program
The control method of automatic vending machine described in any one of 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit require any one of 1 to 7 described in automatic vending machine control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811611121.4A CN109727370B (en) | 2018-12-27 | 2018-12-27 | Control method, device, equipment and storage medium of vending machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811611121.4A CN109727370B (en) | 2018-12-27 | 2018-12-27 | Control method, device, equipment and storage medium of vending machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109727370A true CN109727370A (en) | 2019-05-07 |
| CN109727370B CN109727370B (en) | 2020-12-15 |
Family
ID=66296540
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811611121.4A Expired - Fee Related CN109727370B (en) | 2018-12-27 | 2018-12-27 | Control method, device, equipment and storage medium of vending machine |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109727370B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112820020A (en) * | 2019-11-15 | 2021-05-18 | 威海新北洋数码科技有限公司 | Vending machine and goods delivery method thereof |
| CN115294689A (en) * | 2022-08-02 | 2022-11-04 | 广东便捷神科技股份有限公司 | Shipment fault determination system based on vending machine self-checking |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102651154A (en) * | 2011-12-20 | 2012-08-29 | 友达光电股份有限公司 | Vending machine and operation system and operation method thereof |
| WO2012149215A1 (en) * | 2011-04-26 | 2012-11-01 | Crane Merchandising Systems, Inc. | Ada compliance in vending machines |
| US20160259914A1 (en) * | 2015-03-02 | 2016-09-08 | Medifriend, Inc. | Apparatus and methods for storing and dispensing medications |
| CN205942895U (en) * | 2016-08-12 | 2017-02-08 | 黄薇 | Vending machine |
| CN207352592U (en) * | 2017-11-03 | 2018-05-11 | 莱州固特玻璃有限公司 | Touch vending machine shield door |
| CN207558073U (en) * | 2017-12-21 | 2018-06-29 | 深圳市松禾信息技术有限公司 | A kind of installation structure for touch screen and self-service cabinet |
| CN108389320A (en) * | 2018-04-17 | 2018-08-10 | 合肥美的智能科技有限公司 | Sales counter and control method thereof |
| CN109001748A (en) * | 2018-07-16 | 2018-12-14 | 北京旷视科技有限公司 | The correlating method of target object and article, apparatus and system |
-
2018
- 2018-12-27 CN CN201811611121.4A patent/CN109727370B/en not_active Expired - Fee Related
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012149215A1 (en) * | 2011-04-26 | 2012-11-01 | Crane Merchandising Systems, Inc. | Ada compliance in vending machines |
| CN102651154A (en) * | 2011-12-20 | 2012-08-29 | 友达光电股份有限公司 | Vending machine and operation system and operation method thereof |
| US20160259914A1 (en) * | 2015-03-02 | 2016-09-08 | Medifriend, Inc. | Apparatus and methods for storing and dispensing medications |
| CN205942895U (en) * | 2016-08-12 | 2017-02-08 | 黄薇 | Vending machine |
| CN207352592U (en) * | 2017-11-03 | 2018-05-11 | 莱州固特玻璃有限公司 | Touch vending machine shield door |
| CN207558073U (en) * | 2017-12-21 | 2018-06-29 | 深圳市松禾信息技术有限公司 | A kind of installation structure for touch screen and self-service cabinet |
| CN108389320A (en) * | 2018-04-17 | 2018-08-10 | 合肥美的智能科技有限公司 | Sales counter and control method thereof |
| CN109001748A (en) * | 2018-07-16 | 2018-12-14 | 北京旷视科技有限公司 | The correlating method of target object and article, apparatus and system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112820020A (en) * | 2019-11-15 | 2021-05-18 | 威海新北洋数码科技有限公司 | Vending machine and goods delivery method thereof |
| CN115294689A (en) * | 2022-08-02 | 2022-11-04 | 广东便捷神科技股份有限公司 | Shipment fault determination system based on vending machine self-checking |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109727370B (en) | 2020-12-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3951721A1 (en) | Method and apparatus for determining occluded area of virtual object, and terminal device | |
| US8884926B1 (en) | Light-based finger gesture user interface | |
| US9965116B1 (en) | Tactile overlay for touchscreen device | |
| US11029833B2 (en) | Numerical value determination method, numerical value determination apparatus, electronic device and storage medium | |
| CN113001544B (en) | Robot control method and device and robot | |
| US20120249440A1 (en) | method of identifying a multi-touch rotation gesture and device using the same | |
| CN113240861A (en) | Express delivery cabinet pickup system, method and equipment based on NFC | |
| CN111654717B (en) | Data processing method, device, equipment and storage medium | |
| CN109727370A (en) | A kind of control method of automatic vending machine, device, equipment and storage medium | |
| US20130321303A1 (en) | Touch detection | |
| CN106504170A (en) | Addressee method and device | |
| CN105872201A (en) | Method for remotely controlling document display through intelligent terminal, intelligent terminal and computer equipment | |
| CN108196780A (en) | A kind of large screen display terminal method of toch control and system | |
| CN108022096A (en) | A kind of method of mobile payment, device, terminal and readable storage medium storing program for executing | |
| CN109637017B (en) | Control method, device, equipment and medium for vending machine based on touch film | |
| CN107357957A (en) | Intelligent supervision method/system, readable storage medium storing program for executing and the terminal of live project | |
| US20130262300A1 (en) | Point of sale system with transaction hold function, and related programs and methods | |
| CN109407955A (en) | User interface interaction method, computer installation, computer readable storage medium | |
| CN107678540A (en) | Virtual touch screen man-machine interaction method, system and device based on depth transducer | |
| CN112287708A (en) | Near Field Communication (NFC) analog card switching method, device and equipment | |
| CN114997993A (en) | Business processing method and device, processor and electronic device | |
| CN104921576A (en) | Mailbox and system both having express box function | |
| CN104216560B (en) | Mobile device and realize the system of the aerial touch-control of mobile device, control device | |
| CN107422854A (en) | Action identification method and terminal applied to virtual reality | |
| CN108874141A (en) | A kind of body-sensing browsing method and device |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201215 Termination date: 20211227 |