CN109727370B - Control method, device, equipment and storage medium of vending machine - Google Patents

Control method, device, equipment and storage medium of vending machine Download PDF

Info

Publication number
CN109727370B
CN109727370B CN201811611121.4A CN201811611121A CN109727370B CN 109727370 B CN109727370 B CN 109727370B CN 201811611121 A CN201811611121 A CN 201811611121A CN 109727370 B CN109727370 B CN 109727370B
Authority
CN
China
Prior art keywords
vending machine
touch position
touch screen
commodity
touch
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.)
Expired - Fee Related
Application number
CN201811611121.4A
Other languages
Chinese (zh)
Other versions
CN109727370A (en
Inventor
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Gump Come Information Technology Co ltd
Original Assignee
Guangzhou Gump Come Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Gump Come Information Technology Co ltd filed Critical Guangzhou Gump Come Information Technology Co ltd
Priority to CN201811611121.4A priority Critical patent/CN109727370B/en
Publication of CN109727370A publication Critical patent/CN109727370A/en
Application granted granted Critical
Publication of CN109727370B publication Critical patent/CN109727370B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 control method, a device, equipment and a storage medium of a vending machine, which comprise the following steps: establishing an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by an absolute coordinate system, and each perspective area corresponds to one cargo channel; sensing a touch position of an input operation on a touch screen through a detection device arranged on the touch screen; determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located; according to the goods channel corresponding to the touch position, obtaining commodity information to be paid and generating corresponding payment information; the commodity information and the payment information are displayed on the display screen, so that after the vending machine completes payment settlement, required commodities are selected from the commodity channel corresponding to the touch position and conveyed to the commodity outlet, the real commodity and the touch function can be seen through at the same time, the user experience is improved, and the cost is reduced.

Description

Control method, device, equipment and storage medium of vending machine
Technical Field
The invention relates to the technical field of vending machines, in particular to a control method, a control device, control equipment and a storage medium of a vending machine.
Background
A vending machine is a machine that automatically pays for money according to the money put in. The vending machine is a common commercial automation device, is not limited by time and place, can save manpower and facilitate transaction, and is a brand-new commercial retail form. At present, the common vending machines are classified into two types according to the vending mode: push-button vending and keyboard vending. The two vending machines can only select commodities by clicking the keys of the commodity channel, so that the functions are single, and the user experience is poor.
In order to enrich the functions of the vending machine, an existing scheme is to combine the vending machine with a touch panel (an inductive liquid crystal display device capable of receiving input signals such as a contact), replace a mechanical button panel with a touch screen, replace a traditional key mode with a touch mode, and display audio and video effects on the touch screen, so that the functions are rich, and the vending mode is simpler.
However, in the scheme of combining the vending machine and the touch panel, because the touch panel is not transparent, a user cannot directly see a real commodity to be bought through the screen, and only can see a virtual commodity constructed on the touch panel, so that the user experience is poor, and the cost is high.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, control equipment and a storage medium of a vending machine, which can simultaneously realize the functions of real commodity perspective and touch control, improve the experience of a user and reduce the cost.
The invention discloses a control method of a vending machine, which is characterized by comprising the following steps:
establishing an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
sensing a touch position of an input operation on the touch screen through a detection device arranged on the touch screen;
determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
according to the goods channel corresponding to the touch position, obtaining information of goods to be paid and generating corresponding payment information;
and displaying the commodity information and the payment information on a display screen so that after the vending machine finishes payment settlement, the required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to a commodity outlet.
Preferably, the absolute coordinate system takes a vertex angle of the touch screen as a coordinate origin, the width direction of the touch screen as an X axis, and the height direction of the touch screen as a Y axis;
the method further comprises the following steps:
sequencing a plurality of perspective areas by taking the origin of coordinates as a starting point, and sequentially adding identification serial numbers to each perspective area in sequence;
establishing a first mapping relation between all coordinates in any one perspective area and the corresponding identification serial numbers;
and establishing a second mapping relation between the identification serial number of any one perspective area and the serial number of the corresponding goods channel.
Preferably, the sensing, by a detection device disposed on the touch screen, a touch position of an input operation on the touch screen specifically includes:
detecting water ripples generated when the touch screen is touched through the detection device, wherein the detection device is arranged at each of four top corners of the touch screen;
and calculating the coordinates of the touch position according to the duration and the wave speed of the water ripples received by each detection device.
Preferably, the determining the cargo way corresponding to the touch position according to the perspective area where the touch position is located specifically includes:
determining an identification serial number corresponding to a perspective area where the touch position is located according to the first mapping relation;
and determining the number of the goods channel corresponding to the identification serial number of the perspective area where the touch position is located according to the second mapping relation.
Preferably, the method further comprises:
generating voice prompt information according to the acquired commodity information;
and playing the voice prompt information by setting a voice broadcasting device on the vending machine.
Preferably, the touch screen is transparent glass, and the detection device is an acoustic wave sensor; and the four top corners of the transparent glass are respectively provided with the acoustic wave sensors.
Preferably, the display screen is movably arranged at the goods outlet and can move back and forth along a set direction so as to open or close the goods outlet.
Correspondingly, an embodiment of the present invention further provides a control device for a vending machine, including:
the coordinate system establishing module is used for establishing an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
the touch position sensing module is used for sensing a touch position of an input operation on the touch screen through a detection device arranged on the touch screen;
the cargo channel determining module is used for determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
the commodity information acquisition module is used for acquiring commodity information to be paid and generating corresponding payment information according to the commodity channel corresponding to the touch position;
and the commodity information display module is used for displaying the commodity information and the payment information on a display screen so that after the vending machine finishes payment settlement, the required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
Accordingly, an embodiment of the present invention further provides a control device of a vending machine, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor, when executing the computer program, implements the control method of the vending machine according to any one of claims 1 to 7.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for controlling a vending machine according to any one of claims 1 to 7.
Compared with the prior art, the control method, the control device, the control equipment and the storage medium of the vending machine disclosed by the embodiment of the invention have the advantages that an absolute coordinate system is established on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by an absolute coordinate system, and each perspective area corresponds to one cargo channel; sensing a touch position of an input operation on a touch screen through a detection device arranged on the touch screen; determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located; according to the goods channel corresponding to the touch position, obtaining commodity information to be paid and generating corresponding payment information; and displaying the commodity information and the payment information on a display screen so that after the vending machine finishes payment settlement, the required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
By the control method, a user can directly observe real commodities through the touch screen and can purchase the commodities by clicking the touch screen, so that the operation is more visual and convenient, and the experience of the user is improved; and the price of the touch screen is low, the traditional touch screen display is not needed, the use is convenient, the maintenance is simple, the labor cost is reduced, and the working efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of the construction of a vending machine provided by the present invention;
FIG. 2 is a flow chart illustrating a method for controlling a vending machine according to the present invention;
FIG. 3 is a schematic diagram of a control virtual device of a vending machine according to the present invention;
fig. 4 is a schematic diagram of a control device/apparatus of a vending machine according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a schematic structural diagram of a vending machine according to an embodiment of the present invention, the vending machine includes: touch-sensitive screen 3 and display screen 2, touch-sensitive screen 3 are used for showing all goods in all automatic vending machines, and the area of touch-sensitive screen is unanimous with automatic vending machine's door body area size, respectively is connected with a detection device 1 on four angles of touch-sensitive screen 3, and display screen 2 is located automatic vending machine.
Install touch-sensitive screen 3 on the door body of automatic vending machine, adopt transparent glass in this embodiment, transparent glass's area equals with the area of the automatic vending machine door body. The door body of automatic vending machine in this embodiment is the rectangle, and detection device 1 in this embodiment is the sound wave sensor, and sound wave sensor is respectively fixed connection in transparent glass's four corners, and the sound wave sensor is pegged graft in transparent glass, and the fixed frame of four fixed sound wave sensors of fixedly connected with on the transparent glass, the fixed adjacent sound wave sensor of frame, it has the through-hole to open on the fixed frame 4, and the screw passes the through-hole on the fixed frame 4 and fixes fixed frame 4. Display screen 2 is ten cuns in this embodiment, and display screen 2 is located transparent glass, and display screen 2 passes through the HDMI interface to be connected with the industrial computer, and the glass board passes through USB to be connected with the industrial computer, installs vending machine's the software of selling in the industrial computer.
Referring to fig. 2, it is a schematic flow chart of an embodiment of a control method of a vending machine according to an embodiment of the present invention, including:
s100, establishing an absolute coordinate system on the surface of the touch screen 3; the touch screen 3 is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
s200, sensing a touch position of an input operation on the touch screen 3 through a detection device 1 arranged on the touch screen 3;
s300, determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
s400, acquiring information of the commodity to be paid and generating corresponding payment information according to the commodity channel corresponding to the touch position;
s500, displaying the commodity information and the payment information on a display screen 2, so that after the vending machine finishes payment settlement, selecting the needed commodity from the commodity channel corresponding to the touch position and conveying the commodity to a commodity outlet.
It should be noted that the control method of the vending machine provided by the embodiment of the present invention is to establish an absolute coordinate system on the touch screen 3, divide the absolute coordinate system into a plurality of perspective areas according to the size of the area of the touch screen 3, determine the touched position through the detection device, determine the perspective area where the touch position is located through the touch position, determine the corresponding commodity channel through the perspective area where the touch position is located, display the commodity searched in the vending software according to the commodity channel position on the display screen 2, and make a user can directly observe the real commodity through the touch screen 3 and click the touch screen 3 to purchase the commodity, so that the operation is more intuitive and convenient, and the experience of the user is improved; and the price of the touch screen 3 is low, the traditional touch screen 3 display is not needed, the use is convenient, the maintenance is simple, the labor cost is reduced, and the working efficiency is improved.
Further, the absolute coordinate system takes a vertex angle of the touch screen 3 as a coordinate origin, the width direction of the touch screen 3 as an X axis, and the height direction of the touch screen 3 as a Y axis;
the method further comprises the following steps:
sequencing a plurality of perspective areas by taking the origin of coordinates as a starting point, and sequentially adding identification serial numbers to each perspective area in sequence;
establishing a first mapping relation between all coordinates in any one perspective area and the corresponding identification serial numbers;
and establishing a second mapping relation between the identification serial number of any one perspective area and the serial number of the corresponding goods channel.
It should be noted that, an absolute right-angle coordinate system is established for the touch screen 3, the width direction of the touch screen 3 is taken as an X axis, the height direction of the touch screen 3 is taken as a Y axis, in this embodiment, the upper left corner is taken as an origin to divide the touch screen into 48 perspective areas, and the perspective areas are sequentially ordered from the upper left corner, and an identifier, such as 1, 2, 3 … 48, is added to each perspective area; when the touch screen 3 is touched, the detection device 1 detects a touch signal to establish a first mapping relation between all coordinates in the perspective area and the corresponding identification serial numbers; the identification serial number of the perspective area and the serial number of the goods channel are in a second mapping relation, the perspective area is identified through the first mapping relation and the second mapping relation, the identification serial number corresponds to the serial number of the goods channel, the correspondence between the touch position and the goods channel is achieved, and therefore the commodities which can be seen through the touch screen can be selected.
Further, the sensing, by the detection device 1 disposed on the touch screen 3, a touch position of an input operation on the touch screen 3 specifically includes:
detecting a water ripple generated when the touch screen 3 is touched by the detection device 1; the four top corners of the touch screen 3 are respectively provided with the detection device 1;
and calculating the coordinates of the touch position according to the duration and the wave speed of the water ripples received by each detection device 1.
It should be noted that, in this embodiment, when the touch screen 3 is touched, a water ripple is generated, when the water ripple continuously spreads and reaches the detection device 1, the ripple may continue for a period of time, the detection device may measure the wave velocity, respectively calculate the distances from the touch point to the four detection devices according to the duration of the measured water ripple, and then calculate according to the distances from the touch point to the four detection devices, obtain the distances from the touch point to the X axis and the Y axis, thereby obtaining the coordinate value of the touch position.
The water ripple wave is a water wave, and is also called a water ripple wave because the water wave does not belong to a longitudinal wave or a transverse wave. The particles in the water wave move along an elliptical orbit, and the projection of the motion in the vertical direction is like a transverse wave, and the projection in the horizontal direction is like a longitudinal wave. The water ripple is a special wave, and if two waves are emitted from two wave sources at the same time, the energy of the wave sources can not appear to conform to the two-law of cattle at the same time.
Further, the determining a cargo path corresponding to the touch position according to the perspective area where the touch position is located specifically includes:
determining an identification serial number corresponding to a perspective area where the touch position is located according to the first mapping relation;
and determining the number of the goods channel corresponding to the identification serial number of the perspective area where the touch position is located according to the second mapping relation.
It should be noted that, in this embodiment, the first mapping relationship is the duration and the wave velocity of the water ripple wave received by the detection device 1 at the touch position, and the first coordinate value of the touch position is calculated, because an absolute coordinate system is established on the touch screen 3, the touch screen is divided into a plurality of perspective areas, and the corresponding identification serial numbers of the perspective areas are searched by the first coordinate value and transmitted to the industrial personal computer.
And the second mapping relation is that when the industrial personal computer of the vending machine receives the touch signal, the received touch signal is converted into a second coordinate value through a mouse programming protocol, and the X axis of the second coordinate value is mapped into the serial number of the goods channel.
Further, the method further comprises:
generating voice prompt information according to the acquired commodity information;
and playing the voice prompt information by setting a voice broadcasting device on the vending machine.
It should be noted that when the identification serial number corresponds to the serial number of the cargo channel, the commodity information is obtained, the audio/video signal is transmitted to the display screen 2 through the HDMI cable, and the display screen 2 displays the commodity information and performs voice prompt.
In this embodiment, the touch screen 3 is a transparent glass plate, and the detection device 1 is an acoustic wave sensor, which specifically includes:
establishing an absolute coordinate system on the glass plate, wherein the upper left corner is taken as a coordinate origin (0, 0), the Y axis is along the length direction of the glass plate, and the X axis is along the width direction of the glass plate;
dividing the glass plate into 48 rectangles with equal size by taking centimeters as a unit, wherein the 48 rectangles correspond to 48 goods channels, and sequencing the rectangles from the upper left corner to 1, 2, 3 and 4 … 48 in sequence;
when the glass plate is clicked, the acoustic wave sensors on each corner respectively receive water ripples generated by clicking, the time of the water ripples reaching the four acoustic wave sensors is calculated according to the wave speed, the distances between the clicked position of the glass plate and the X axis and the Y axis are calculated according to the wave speed, a corresponding first coordinate value is calculated according to an absolute coordinate system, and a corresponding identification serial number searched by the first coordinate value is transmitted into the industrial personal computer;
the industrial personal computer is provided with vending software of the vending machine, when the industrial personal computer receives a touch signal generated by clicking, the signal corresponding to the mouse programming protocol is converted into a second coordinate value, the maximum value of the coordinate of the X axis is set to be 48 in the industrial personal computer, the second coordinate value is mapped into the serial number of the goods channel, and the coordinate value of the Y axis is not counted;
the method comprises the steps of establishing a corresponding relation between an identification serial number and a goods channel serial number, wherein the identification serial number corresponds to the goods channel serial number one to one, when the identification serial number is the same as the goods channel serial number, for example, a rectangular serial number 1 corresponds to the goods channel serial number 1, displaying goods information on a display screen 2 through an HDMI (high-definition multimedia interface) line and giving a voice prompt, and after the automatic vending machine finishes payment settlement, selecting needed goods from the goods channel corresponding to a touch position and conveying the goods to a goods outlet.
There are several standards for the data format of the MOUSE programming protocol, including MICROSOFT standard, MOUSE SYSTEM standard, and IBM PS \2MOUSE standard, which can be applied in industrial personal computers.
For example, the maximum value of the X axis on the glass plate is 6, the maximum value of the Y axis is 8, when a user clicks the glass plate, the time of the vibration wave reaching the four sound wave sensors is used, the distances between the clicked position of the glass plate and the X axis and the Y axis are calculated according to the wave velocity, the corresponding first coordinate values (1 and 2) are calculated according to the absolute coordinate system, the rectangular serial number is 7, the industrial personal computer receives the touch signal, the mapping of the X axis of the second coordinate obtained through a mouse programming protocol is 7, and then the commodity of the 7 goods channel is displayed on the display screen 2.
By the control method, a user can directly observe real commodities through the touch screen and can purchase the commodities by clicking the touch screen, so that the operation is more visual and convenient, and the experience of the user is improved; and the low price of installation sound wave sensor on the touch-sensitive screen need not traditional touch-sensitive screen display and shows the ware, and convenient to use, the maintenance is simple, reduces the cost of labor, improves work efficiency.
Referring to fig. 3, a schematic diagram of a virtual control device of a vending machine according to a third embodiment of the present invention is shown. A control device of a vending machine, comprising:
a coordinate system establishing module 31, configured to establish an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
a touch position sensing module 32 for sensing a touch position of an input operation on the touch screen by a detection device provided on the touch screen;
the cargo channel determining module 33 is configured to determine a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
the commodity information acquisition module 34 is used for acquiring commodity information to be paid according to the commodity channel corresponding to the touch position and generating corresponding payment information;
and the commodity information display module 35 is configured to display the commodity information and the payment information on a display screen, so that after the vending machine completes payment settlement, a required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
The coordinate system establishing module comprises 31: a transparent region marking module, a first mapping module and a second mapping module,
transparent region marking module: the system comprises a coordinate origin, a plurality of perspective areas, a plurality of identification sequence numbers and a plurality of display units, wherein the coordinate origin is used as a starting point for sequencing the plurality of perspective areas, and the identification sequence numbers are sequentially added to each perspective area;
a first mapping module: the first mapping relation is used for establishing a first mapping relation between all coordinates in any one perspective area and the corresponding identification serial numbers;
a second mapping module: and establishing a second mapping relation between the identification serial number of any one perspective area and the serial number of the corresponding goods channel.
The touch position sensing module includes 32: a touch position collection module and a touch position calculation module,
the touch position collection module is used for detecting water ripples generated when the touch screen is touched through the detection device;
and the touch position calculation module is used for calculating the coordinates of the touch position according to the duration and the wave speed of the water ripples received by each detection device.
The lane determining module 33 includes:
the corresponding module of the touch position and the perspective area is used for determining the identification serial number corresponding to the perspective area where the touch position is located according to the first mapping relation;
and the corresponding module of the perspective area and the goods channel is used for determining the serial number of the goods channel corresponding to the identification serial number of the perspective area where the touch position is located according to the second mapping relation.
Referring to fig. 4, a schematic diagram of a control device/apparatus of a vending machine according to a third embodiment of the present invention is shown. A control apparatus/device of a vending machine of this embodiment includes: a processor 11, a memory 15 and a computer program 152 stored in the memory 15 and operable on the processor 11, wherein the steps in each of the above embodiments of the vending machine control method, such as the steps shown in fig. 2, are implemented when the computer program 152 is executed by the processor 11. Alternatively, the processor 11, when executing the computer program 152, implements the functions of the modules/units in the above-mentioned device embodiments, such as the coordinate system establishing module 31, for establishing an absolute coordinate system on the surface of the touch screen 3; the touch screen 3 is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way; a touch position sensing module 32 for sensing a touch position of an input operation on the touch screen 3 by the detection device 1 provided on the touch screen 3; the cargo channel determining module 33 is configured to determine a cargo channel corresponding to the touch position according to the perspective area where the touch position is located; the commodity information acquisition module 34 is used for acquiring commodity information to be paid according to the commodity channel corresponding to the touch position and generating corresponding payment information; and the commodity information display module 35 is configured to display the commodity information and the payment information on the display screen 2, so that after the vending machine completes payment settlement, a required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
Illustratively, the computer program 152 may be divided into one or more modules/units, which are stored in the memory 15 and executed by the processor 11 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 152 in the control device of the vending machine. For example, the computer program 152 may be divided into a coordinate system establishing module 31, a touch position sensing module 32, a lane determining module 33, an article information acquiring module 34, and an article information displaying module 35. The specific functions of each module are as follows: a coordinate system establishing module 31, configured to establish an absolute coordinate system on the surface of the touch screen 3; the touch screen 3 is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way; a touch position sensing module 32 for sensing a touch position of an input operation on the touch screen 3 by the detection device 1 provided on the touch screen 3; the cargo channel determining module 33 is configured to determine a cargo channel corresponding to the touch position according to the perspective area where the touch position is located; the commodity information acquisition module 34 is used for acquiring commodity information to be paid according to the commodity channel corresponding to the touch position and generating corresponding payment information; and the commodity information display module 35 is configured to display the commodity information and the payment information on the display screen 2, so that after the vending machine completes payment settlement, a required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
The control device/equipment of the vending machine can be computing equipment such as a desktop computer, a notebook computer, a palm computer and a cloud server. The control device/apparatus of the vending machine may include, but is not limited to, a processor 11, a memory 15, a user interface 13, and a network interface 14. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a control apparatus/device of a vending machine and is not intended to be limiting of a control apparatus/device of a vending machine, and may include more or fewer components than those shown, or some components in combination, or different components, for example, the control apparatus/device of a vending machine may also include input output devices, network access devices, bus 12, etc.
The Processor 11 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the controls/equipment of the one type of vending machine, with various interfaces and lines connecting the various parts of the controls/equipment of the entire one type of vending machine.
The memory 15 may be used to store the computer programs 152 and/or modules, and the processor may be used to implement the various functions of the control device/terminal device of the vending machine by running or executing the computer programs 152 and/or modules stored in the memory 15, as well as by invoking data stored in the memory 15. The memory 15 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system 151, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the control device/equipment integrated module/unit of the vending machine can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A control method of a vending machine, comprising:
establishing an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
sensing a touch position of an input operation on the touch screen through a detection device arranged on the touch screen;
determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
according to the goods channel corresponding to the touch position, obtaining information of goods to be paid and generating corresponding payment information;
and displaying the commodity information and the payment information on a display screen so that after the vending machine finishes payment settlement, the required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to a commodity outlet.
2. The control method of the vending machine according to claim 1, wherein the absolute coordinate system has a vertex angle of the touch screen as a coordinate origin, a width direction of the touch screen as an X-axis, and a height direction of the touch screen as a Y-axis;
the method further comprises the following steps:
sequencing a plurality of perspective areas by taking the origin of coordinates as a starting point, and sequentially adding identification serial numbers to each perspective area in sequence;
establishing a first mapping relation between all coordinates in any one perspective area and the corresponding identification serial numbers;
and establishing a second mapping relation between the identification serial number of any one perspective area and the serial number of the corresponding goods channel.
3. The method for controlling a vending machine according to claim 2, wherein the sensing of the touch position of the input operation on the touch screen by the detection device provided on the touch screen specifically comprises:
detecting water ripples generated when the touch screen is touched through the detection device, wherein the detection device is arranged at each of four top corners of the touch screen;
and calculating the coordinates of the touch position according to the duration and the wave speed of the water ripples received by each detection device.
4. The method for controlling a vending machine as claimed in claim 3, wherein the determining of the lane corresponding to the touch position according to the perspective area where the touch position is located specifically comprises:
determining an identification serial number corresponding to a perspective area where the touch position is located according to the first mapping relation;
and determining the number of the goods channel corresponding to the identification serial number of the perspective area where the touch position is located according to the second mapping relation.
5. The vending machine control method as recited in claim 1, further comprising:
generating voice prompt information according to the acquired commodity information;
and playing the voice prompt information by setting a voice broadcasting device on the vending machine.
6. The vending machine control method according to any one of claims 1 to 3, wherein the touch screen is transparent glass, and the detection device is an acoustic wave sensor; and the four top corners of the transparent glass are respectively provided with the acoustic wave sensors.
7. The control method of vending machine as recited in claim 1, wherein the display screen is movably disposed at the outlet and is reciprocally movable in a set direction to open or close the outlet.
8. A control device for a vending machine, comprising:
the coordinate system establishing module is used for establishing an absolute coordinate system on the surface of the touch screen; the touch screen is virtually divided into a plurality of perspective areas by the absolute coordinate system, and each perspective area corresponds to one cargo way;
the touch position sensing module is used for sensing a touch position of an input operation on the touch screen through a detection device arranged on the touch screen;
the cargo channel determining module is used for determining a cargo channel corresponding to the touch position according to the perspective area where the touch position is located;
the commodity information acquisition module is used for acquiring commodity information to be paid and generating corresponding payment information according to the commodity channel corresponding to the touch position;
and the commodity information display module is used for displaying the commodity information and the payment information on a display screen so that after the vending machine finishes payment settlement, the required commodity is selected from the commodity channel corresponding to the touch position and is conveyed to the commodity outlet.
9. A control apparatus of a vending machine comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a control method of a vending machine as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer program, when running, controls an apparatus in which the computer-readable storage medium is located to perform the method for controlling a vending machine according to any one of claims 1 to 7.
CN201811611121.4A 2018-12-27 2018-12-27 Control method, device, equipment and storage medium of vending machine Expired - Fee Related CN109727370B (en)

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 CN109727370A (en) 2019-05-07
CN109727370B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820020B (en) * 2019-11-15 2023-06-30 威海新北洋数码科技有限公司 Vending machine and shipment method thereof
CN115294689B (en) * 2022-08-02 2023-07-07 广东便捷神科技股份有限公司 Shipment fault decision system based on vending machine self-checking

Family Cites Families (8)

* Cited by examiner, † Cited by third party
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
TWI526888B (en) * 2011-12-20 2016-03-21 友達光電股份有限公司 Vending machine and operating system and operating method thereof
US10181014B2 (en) * 2015-03-02 2019-01-15 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
CN108389320B (en) * 2018-04-17 2024-05-14 合肥美的智能科技有限公司 Sales counter and control method of sales counter
CN109001748B (en) * 2018-07-16 2021-03-23 北京旷视科技有限公司 Target object and article association method, device and system

Also Published As

Publication number Publication date
CN109727370A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN107608668B (en) Method and device for making and compatibly displaying H5 page, terminal equipment and storage medium
US11029833B2 (en) Numerical value determination method, numerical value determination apparatus, electronic device and storage medium
CN109727370B (en) Control method, device, equipment and storage medium of vending machine
CN110119733B (en) Page identification method and device, terminal equipment and computer readable storage medium
CN109491502B (en) Haptic rendering method, terminal device and computer-readable storage medium
CN110377215B (en) Model display method and device and terminal equipment
CN110853488B (en) POI (Point of interest) label display method, device and equipment
CN109637017B (en) Control method, device, equipment and medium for vending machine based on touch film
CN108008891A (en) A kind of control method and device of navigation bar, terminal, readable storage medium storing program for executing
US20130321303A1 (en) Touch detection
CN105183217A (en) Touch display device and touch display method
CN109848052B (en) Goods sorting method and terminal equipment
CN107783932B (en) Information processing method of calculator, mobile terminal and computer readable storage medium
CN112596725A (en) Grading method and grading device for programming works, terminal equipment and storage medium
CN109407955A (en) User interface interaction method, computer installation, computer readable storage medium
CN114995741B (en) Multi-point touch method, device and system for multi-screen display
CN107948362A (en) Screen display method, device, computer installation and computer-readable recording medium
CN103914174A (en) Information processing device, information processing method and program storage medium
CN208722168U (en) A kind of screen control device
CN113934312A (en) Touch object identification method based on infrared touch screen and terminal equipment
CN108415656B (en) Display control method, device, medium and electronic equipment in virtual scene
CN112541645A (en) Data processing method and system along with vehicle product project development and related device
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
CN112740151B (en) Data input method of terminal equipment, terminal equipment and storage medium
CN110162251B (en) Image scaling method and device, storage medium and electronic equipment

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

Granted publication date: 20201215

Termination date: 20211227

CF01 Termination of patent right due to non-payment of annual fee