CN113706771A - Material distribution method and equipment of vending machine and computer program product - Google Patents

Material distribution method and equipment of vending machine and computer program product Download PDF

Info

Publication number
CN113706771A
CN113706771A CN202110833866.0A CN202110833866A CN113706771A CN 113706771 A CN113706771 A CN 113706771A CN 202110833866 A CN202110833866 A CN 202110833866A CN 113706771 A CN113706771 A CN 113706771A
Authority
CN
China
Prior art keywords
vending machine
mode
disaster
emergency
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110833866.0A
Other languages
Chinese (zh)
Inventor
晁华
杨双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ubox Online Technology Co ltd
Original Assignee
Beijing Ubox Online 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 Beijing Ubox Online Technology Co ltd filed Critical Beijing Ubox Online Technology Co ltd
Priority to CN202110833866.0A priority Critical patent/CN113706771A/en
Publication of CN113706771A publication Critical patent/CN113706771A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/006Details of the software used for the vending machines
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty

Landscapes

  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention discloses a material distribution method, equipment and a computer program product of a vending machine, wherein the material distribution method of the vending machine comprises the following steps: when the vending machine starts an emergency mode, determining an emergency material distribution mode based on the emergency mode; and controlling the vending machine to dispense materials based on the emergency material dispensing mode. When an emergency disaster occurs around the vending machine, the vending machine starts an emergency mode so that the vending machine dispenses materials, the materials can be directly dispensed without paying and purchasing the materials by personnel, the convenience of the vending machine under the emergency disaster is improved, and the material dispensing efficiency of the vending machine is improved. Meanwhile, different emergency material distribution modes are determined according to different emergency modes, so that the flexibility of material distribution can be improved, and the material distribution efficiency of the vending machine can be improved.

Description

Material distribution method and equipment of vending machine and computer program product
Technical Field
The invention relates to the technical field of vending machines, in particular to a material distribution method and equipment of a vending machine and a computer program product.
Background
Along with the improvement of the living standard of people, the application of vending machines is more and more extensive. Because the vending machine occupies a small space and can be operated and sold in 24 hours, great convenience is brought to users. Therefore, vending machines are deployed in places with large traffic, such as schools, shopping malls, stations, airports, office buildings, and the like.
At present, when an emergency disaster occurs, a large amount of rescue movements of rescuers can lead to body fatigue and hunger, and due to the fact that the emergency disaster often happens in a moment, goods and materials on a rescue site are very deficient, so that the rescuers cannot obtain goods and materials for assistance in time, or the people suffering from the disaster cannot obtain goods and materials for assistance in time, and then rescue efficiency of the rescuers is reduced. Although the vending machine may exist in the rescue scene, the vending machine is still in a normal vending mode, and people may not have a corresponding payment mode, so that the vending machine is very inconvenient for rescuers and disaster-stricken people. And, when the vending machine is in the normal mode of selling, the goods and materials are provided inefficiency, lead to rescue personnel or the personnel that suffer from a disaster can't in time obtain the goods and materials subsidy, and then reduced rescue personnel's rescue efficiency. In summary, how to improve the convenience of the vending machine in emergency disasters and how to improve the material distribution efficiency of the vending machine is a problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a material distribution method, equipment and a computer program product of a vending machine, aiming at improving the convenience of the vending machine under emergency disasters and improving the material distribution efficiency of the vending machine.
In order to achieve the above object, the present invention provides a material dispensing method for a vending machine, comprising the steps of:
when the vending machine starts an emergency mode, determining an emergency material distribution mode based on the emergency mode;
and controlling the vending machine to dispense materials based on the emergency material dispensing mode.
Optionally, the emergency mode includes a light disaster emergency mode and a heavy disaster emergency mode, and the step of determining the emergency material distribution mode based on the emergency mode when the vending machine starts the emergency mode includes:
when the vending machine starts a light disaster emergency mode, determining that the emergency material distribution mode is a limited free distribution mode or a limited free distribution mode based on the light disaster emergency mode; or the like, or, alternatively,
when the vending machine starts a disaster emergency mode, determining that the emergency material distribution mode is a full-amount free distribution mode or a full-time free distribution mode based on the disaster emergency mode.
Optionally, the emergency material distribution mode includes a quota free distribution mode, and the step of controlling the vending machine to distribute the materials based on the emergency material distribution mode includes:
when the system is in the quota free distribution mode, identity recognition is carried out on the current material distribution object to obtain an identity recognition result;
acquiring the number of times or the number of the current material issuing objects to be picked based on the identity recognition result;
if the pickup times are smaller than a preset time threshold or the pickup quantity is smaller than a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times or the pickup quantity;
and if the pickup times are larger than or equal to a preset time threshold or the pickup quantity is larger than or equal to a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
Optionally, the emergency material distribution mode includes a time-limited free distribution mode, and the step of controlling the vending machine to distribute the materials based on the emergency material distribution mode includes:
when the terminal is in a time-limited free distribution mode, acquiring the current time;
judging whether the time is overtime or not based on the current time;
if not, controlling the vending machine to dispense the materials selected by the current material dispensing object;
and if the payment is over time, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
Optionally, the emergency material distribution mode includes a full-amount free distribution mode or a full-time free distribution mode, and the step of controlling the vending machine to distribute the material based on the emergency material distribution mode includes:
and when the vending machine is in a full-amount free dispensing mode or a full-time free dispensing mode, controlling the vending machine to dispense the materials selected by the current material dispensing object until the materials are sold out or the emergency mode is released.
Optionally, before the step of determining the emergency material dispensing mode based on the emergency mode when the vending machine starts the emergency mode, the method further includes:
acquiring disaster information, and determining a disaster grade and a disaster area based on the disaster information;
determining a plurality of vending machines in the disaster area;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machines to start the emergency mode.
Optionally, a disaster sensor is deployed around the vending machine or the vending machine includes the disaster sensor, and the step of acquiring disaster information and determining a disaster level and a disaster area based on the disaster information includes:
acquiring disaster information of the disaster sensor, and determining a disaster grade based on the disaster information;
and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information.
Optionally, before the step of determining the emergency material dispensing mode based on the emergency mode when the vending machine starts the emergency mode, the method further includes:
when the vending machine receives an emergency mode starting instruction sent by the mobile terminal, determining the disaster grade based on the emergency mode starting instruction;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode.
In addition, in order to achieve the above object, the present invention also provides a material dispensing apparatus of a vending machine, the material dispensing apparatus of the vending machine comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the method for dispensing material for a vending machine as described above.
Further, to achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the material dispensing method of a vending machine as described above.
Further, to achieve the above object, the present invention also provides a computer program product including a computer program which, when executed by a processor, implements the steps of the material dispensing method of the vending machine as described above.
The invention provides a material distribution method, equipment and a computer program product of a vending machine, wherein when the vending machine starts an emergency mode, the emergency material distribution mode is determined based on the emergency mode; and controlling the vending machine to dispense the materials based on the emergency material dispensing mode. Through the mode, when emergence emergency disaster around the vending machine, the vending machine starts emergent mode to make the vending machine provide goods and materials, compare the mode that the vending machine is in normal selling mode, need not personnel's payment and purchase goods and materials, goods and materials can directly be provided, thereby improve the convenience of vending machine under emergency disaster, and improve the goods and materials of vending machine and provide efficiency. Meanwhile, different emergency material distribution modes are determined according to different emergency modes, so that the flexibility of material distribution can be improved, and the material distribution efficiency of the vending machine can be improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a material dispensing method of a vending machine according to the present invention;
fig. 3 is a schematic flow chart illustrating a material dispensing method of a vending machine according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is material distribution equipment of a vending machine, and the material distribution equipment of the vending machine can be terminal equipment with processing functions, such as the vending machine, a Personal Computer (PC), a microcomputer, a notebook computer, a server and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a computer program.
In the terminal shown in fig. 1, the processor 1001 may be configured to call up a computer program stored in the memory 1005 and perform the following operations:
when the vending machine starts an emergency mode, determining an emergency material distribution mode based on the emergency mode;
and controlling the vending machine to dispense materials based on the emergency material dispensing mode.
Further, the emergency modes include a light emergency mode and a heavy emergency mode, and the processor 1001 may be configured to call the computer program stored in the memory 1005, and further perform the following operations:
when the vending machine starts a light disaster emergency mode, determining that the emergency material distribution mode is a limited free distribution mode or a limited free distribution mode based on the light disaster emergency mode; or the like, or, alternatively,
when the vending machine starts a disaster emergency mode, determining that the emergency material distribution mode is a full-amount free distribution mode or a full-time free distribution mode based on the disaster emergency mode.
Further, the processor 1001 may be configured to invoke the computer program stored in the memory 1005 to also perform the following operations:
when the system is in the quota free distribution mode, identity recognition is carried out on the current material distribution object to obtain an identity recognition result;
acquiring the number of times or the number of the current material issuing objects to be picked based on the identity recognition result;
if the pickup times are smaller than a preset time threshold or the pickup quantity is smaller than a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times or the pickup quantity;
and if the pickup times are larger than or equal to a preset time threshold or the pickup quantity is larger than or equal to a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
Further, the emergency material dispensing mode includes a time-limited free dispensing mode, and the processor 1001 may be configured to call the computer program stored in the memory 1005, and further perform the following operations:
when the terminal is in a time-limited free distribution mode, acquiring the current time;
judging whether the time is overtime or not based on the current time;
if not, controlling the vending machine to dispense the materials selected by the current material dispensing object;
and if the payment is over time, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
Further, the emergency material dispensing mode may include a full-charge free dispensing mode or a full-time free dispensing mode, and the processor 1001 may be configured to call the computer program stored in the memory 1005, and further perform the following operations:
and when the vending machine is in a full-amount free dispensing mode or a full-time free dispensing mode, controlling the vending machine to dispense the materials selected by the current material dispensing object until the materials are sold out or the emergency mode is released.
Further, the processor 1001 may be configured to invoke the computer program stored in the memory 1005 to also perform the following operations:
acquiring disaster information, and determining a disaster grade and a disaster area based on the disaster information;
determining a plurality of vending machines in the disaster area;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machines to start the emergency mode.
Further, where disaster sensors are deployed around or include the vending machine, the processor 1001 may be configured to call the computer program stored in the memory 1005, and further perform the following operations:
acquiring disaster information of the disaster sensor, and determining a disaster grade based on the disaster information;
and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information.
Further, the emergency material dispensing mode includes a quota free dispensing mode, and the processor 1001 may be configured to call the computer program stored in the memory 1005, and further perform the following operations:
when the vending machine receives an emergency mode starting instruction sent by the mobile terminal, determining the disaster grade based on the emergency mode starting instruction;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode.
Based on the hardware structure, the invention provides various embodiments of the material distribution method of the vending machine.
The invention provides a material dispensing method of a vending machine.
Referring to fig. 2, fig. 2 is a schematic flow chart of a material dispensing method of a vending machine according to a first embodiment of the present invention.
In this embodiment, the material dispensing method of the vending machine includes the following steps S10 to S20:
step S10, when the vending machine starts the emergency mode, determining an emergency material distribution mode based on the emergency mode;
in this embodiment, the material dispensing method of the vending machine may be applied to a material dispensing device of the vending machine, which may be the vending machine itself; it can also be applied to a control system communicating with a plurality of vending machines, the control system being subordinate to the material dispensing apparatus of the vending machine of fig. 1 described above, the control system being capable of controlling a plurality of vending machines; it is also applicable to a material dispensing system of a vending machine constituted by the vending machine and other related devices, which is subordinate to the material dispensing device of the vending machine of fig. 1 described above.
In the embodiment, when the vending machine starts the emergency mode, the emergency material dispensing mode is determined based on the emergency mode. Specifically, when the vending machine receives an emergency mode starting instruction, an emergency mode is determined based on the emergency mode starting instruction, and the vending machine is controlled to start the emergency mode so as to determine an emergency material distribution mode based on the emergency mode.
The goods sold in the vending machine may be any goods, such as beverages, medicines, living goods, and the like, and is not limited herein.
Wherein the emergency mode comprises at least one of: a light disaster emergency mode, a medium disaster emergency mode, a heavy disaster emergency mode, etc., and of course, the emergency mode may be divided into more or less emergency modes according to actual needs, which is not limited herein. The emergency mode may be classified according to the disaster degree, the disaster occurrence area, the disaster occurrence time, the disaster occurrence environment, the weather condition of the disaster occurrence area, and the like.
Wherein, emergent material provides the mode and includes at least one of following: a limited free distribution mode, a full free distribution mode, etc., and of course, the emergency material distribution mode may be divided into more or less emergency material distribution modes according to actual needs, and is not limited specifically here. In addition, the emergency material distribution mode can be distinguished according to the material distribution amount, the material distribution time length and the like. The limited free distribution mode may limit the number of times of getting the materials or the number of getting the materials for each person, and the limited free distribution mode may limit the total number of times of getting the materials or the total number of getting the materials. The full free distribution mode can be used for not limiting the distribution of the goods and materials until the goods and materials of the vending machine are sold out or the emergency mode is released, namely, the personnel can directly distribute the goods and materials free as long as selecting the corresponding goods and materials.
It should be noted that different emergency modes correspond to different emergency material distribution modes. For example, the light disaster emergency mode corresponds to a limit free distribution mode, and the heavy disaster emergency mode corresponds to a full free distribution mode.
In an embodiment, the emergency mode includes a light emergency mode and a heavy emergency mode, and the step S10 includes the following steps a11-a 12:
step A11, when the vending machine starts a light disaster emergency mode, determining that the emergency material distribution mode is a quota free distribution mode based on the light disaster emergency mode;
in this embodiment, when the vending machine starts the light disaster emergency mode, the emergency material distribution mode is determined to be the quota free distribution mode based on the light disaster emergency mode. Specifically, when the vending machine receives an emergency mode starting instruction, an emergency mode is determined based on the emergency mode starting instruction, if the emergency mode is a light disaster emergency mode, the vending machine is controlled to start the light disaster emergency mode, and the emergency material distribution mode is determined based on the light disaster emergency mode to be a quota free distribution mode.
The limited free distribution mode can limit the number of times of getting materials or the quantity of getting materials for each person, and can limit the total number of times of getting materials or the total quantity of getting materials for each person.
Step A12, when the vending machine starts the disaster emergency mode, determining the emergency material distribution mode as a full free distribution mode based on the disaster emergency mode.
In this embodiment, when the vending machine starts the disaster emergency mode, the emergency material distribution mode is determined to be a full free distribution mode based on the disaster emergency mode. Specifically, when the vending machine receives an emergency mode starting instruction, an emergency mode is determined based on the emergency mode starting instruction, if the emergency mode is a disaster recovery emergency mode, the vending machine is controlled to start the disaster recovery emergency mode, and the emergency material distribution mode is determined to be a full free distribution mode based on the disaster recovery emergency mode.
The full free distribution mode can be used for not limiting the distribution of the materials until the materials of the vending machine are sold out or the emergency mode is released, namely, the materials can be directly and freely distributed as long as a person selects the corresponding materials.
In another embodiment, the emergency mode includes a light emergency mode and a heavy emergency mode, and the step S10 includes the following steps a13-a 14:
step A13, when the vending machine starts a light disaster emergency mode, determining that the emergency material distribution mode is a time-limited free distribution mode based on the light disaster emergency mode;
step A14, when the vending machine starts the disaster emergency mode, determining the emergency material distribution mode as a full-time free distribution mode based on the disaster emergency mode.
Specifically, when the vending machine receives an emergency mode starting instruction, an emergency mode is determined based on the emergency mode starting instruction, if the emergency mode is a light disaster emergency mode, the vending machine is controlled to start the light disaster emergency mode, and the emergency material distribution mode is determined to be a time-limited free distribution mode based on the light disaster emergency mode; and if the emergency mode is the disaster recovery emergency mode, controlling the vending machine to start the disaster recovery emergency mode so as to determine that the emergency material distribution mode is a full-time free distribution mode based on the disaster recovery emergency mode.
The time-limited free distribution mode can limit the total material distribution time. The full-time free distribution mode can be used for not limiting the distribution of the materials until the materials of the vending machine are sold out or the emergency mode is released, namely, the materials can be directly and freely distributed as long as a person selects the corresponding materials.
In an embodiment, before the step S10, the material dispensing method for a vending machine further includes:
when the vending machine receives an emergency mode starting instruction, determining the disaster grade based on the emergency mode starting instruction; and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode. Specifically, when a dangerous condition occurs, field workers (such as workers of an emergency bureau, rescuers, manufacturers of vending machines, and the like) search the vending machines nearby, and trigger an emergency mode opening instruction on the vending machines to determine disaster levels based on the emergency mode opening instruction; and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode.
Further, before the step S10, the material dispensing method for a vending machine further includes:
when the vending machine receives an emergency mode opening instruction, performing identity recognition on a current opener to obtain an identity recognition result, and verifying the identity recognition result; if the verification is successful, determining the disaster grade based on the emergency mode opening instruction; determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode; if the verification fails, no processing is performed.
It should be noted that the manner of performing identity recognition at least includes one of the following: password login mode, code scanning mode, biological characteristic identification mode and the like. The biological characteristic identification mode can comprise a human face identification mode, a voiceprint identification mode, a fingerprint identification mode, an iris identification mode and other biological characteristic identification modes.
In an embodiment, the identification method is a password login method, and when the vending machine receives an emergency mode opening instruction, the identification method identifies the current opening person to obtain an identification result, including:
when the vending machine receives an emergency mode opening instruction, password information input by current opening personnel is obtained, and the password information is verified to obtain an identity recognition result. Specifically, the personnel input the password before the vending machine to start the emergency mode, and meanwhile, the type of the emergency mode can be confirmed on the vending machine.
In another embodiment, the identification mode is a biological characteristic identification mode, and when the vending machine receives an emergency mode opening instruction, the identification is performed on a current opener to obtain an identification result, including:
when the vending machine receives an emergency mode opening instruction, collecting the biological characteristic information of the current opening personnel, and verifying the biological characteristic information to obtain an identity recognition result.
In another embodiment, before the step S10, the material dispensing method for a vending machine further includes:
when the vending machine receives an emergency mode starting instruction sent by a remote terminal, determining the disaster grade based on the emergency mode starting instruction; and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode. Specifically, after the personnel remotely start the emergency mode and simultaneously determine the type of the emergency mode, namely determining the disaster level, or the personnel contact the vending machine staff and provide the position information (such as a vending machine in a certain building and a nearby range of 2 kilometers or a vending machine in the whole city) or the machine number of the vending machine, the vending machine staff remotely starts the emergency mode.
And step S20, controlling the vending machine to dispense materials based on the emergency material dispensing mode.
In the embodiment, the vending machine is controlled to dispense the materials based on the emergency material dispensing mode. Specifically, when the vending machine dispenses materials, the corresponding emergency material dispensing program is called according to the emergency material dispensing mode, so that the vending machine executes the emergency material dispensing program, and the material dispensing of the vending machine is realized.
In one embodiment, the emergency material distribution mode includes a quota free distribution mode, and the step S20 includes:
when the system is in a quota free distribution mode, acquiring the number of times of getting a current material distribution object; if the pickup times are smaller than a preset time threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times; and if the pickup times are larger than or equal to a preset time threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful. The preset number threshold may be set according to actual needs, for example, 2, 3, 4, and the like, and is not limited herein.
Further, the step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the number of drawing times includes:
and controlling the vending machine to dispense the materials selected by the current material dispensing object, and adding one to the drawing times.
In another embodiment, the emergency material distribution mode includes a quota free distribution mode, and the step S20 includes:
when the system is in a quota free distribution mode, acquiring the receiving quantity of the current material distribution object; if the receiving quantity is smaller than a preset quantity threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the receiving quantity; and if the receiving quantity is larger than or equal to a preset quantity threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful. The preset number threshold may be set according to actual needs, for example, 2, 3, 4, and the like, and is not limited herein.
Further, the step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the pickup quantity comprises:
controlling the vending machine to dispense the materials selected by the current material dispensing object, and determining the quantity of the materials; and adding the receiving quantity and the quantity of the materials to obtain an updated receiving quantity.
In another embodiment, the emergency material distribution mode includes a quota free distribution mode, and the step S20 includes:
when the system is in a quota free distribution mode, acquiring the total receiving times of the current materials; if the total receiving times are smaller than a preset time threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the receiving times; and if the pickup times are larger than or equal to a preset time threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful. The preset number threshold may be set according to actual needs, for example, 50, 100, 150, and the like, and is not limited herein.
Further, the step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the drawing times comprises:
and controlling the vending machine to dispense the materials selected by the current material dispensing object, and adding one to the drawing times.
In another embodiment, the emergency material distribution mode includes a quota free distribution mode, and the step S20 includes:
when the system is in a quota free distribution mode, acquiring the total receiving quantity of the current materials; if the total receiving quantity is smaller than a preset quantity threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the receiving quantity; and if the receiving quantity is larger than or equal to a preset quantity threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful. The preset number threshold may be set according to actual needs, for example, 50, 100, 150, and the like, and is not limited herein.
Further, the step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the pickup quantity comprises:
controlling the vending machine to dispense the materials selected by the current material dispensing object and determining the quantity of the materials; and adding the receiving quantity and the quantity of the materials to obtain an updated receiving quantity.
In another embodiment, the emergency material distribution mode includes a full free distribution mode, and the step S20 includes the following steps:
step a, when the vending machine is in a full free dispensing mode, controlling the vending machine to dispense the materials selected by the current material dispensing object until the materials are sold out or the emergency mode is released. Specifically, when the vending machine is in the full free distribution mode, the vending machine immediately discharges goods when receiving goods and materials discharging requests until goods and materials are sold out or the disaster is relieved, and then the emergency mode is stopped and the normal business mode is recovered.
In another embodiment, the emergency material distribution mode includes a time-limited free distribution mode, and the step S20 includes the following steps a21-a 24:
step A21, when the device is in a time-limited free distribution mode, the current time is obtained;
step A22, judging whether time is out based on the current time;
step A23, if not overtime, controlling the vending machine to dispense the materials selected by the current material dispensing object;
and step A24, if the payment is overtime, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
In this embodiment, when the vending machine is in the time-limited free dispensing mode, the current time is acquired, then whether the time is overtime is judged based on the current time, and if the time is not overtime, the vending machine is controlled to dispense the materials selected by the current material dispensing object; if the payment is over time, the vending machine is controlled to dispense the materials selected by the current material dispensing object after the payment is successful, namely, the emergency mode is stopped, and the normal business mode is recovered. The judgment method of whether the time is out is to judge whether the time from the start of the emergency mode to the current time exceeds a preset time threshold, and the preset time threshold may be set according to actual needs, for example, 2 hours, 3 hours, and the like, which is not limited herein.
In another embodiment, the emergency material distribution mode includes a full-time free distribution mode, and the step S20 includes the following steps b:
and b, controlling the vending machine to dispense the materials selected by the current material dispensing object when the vending machine is in a full-time free dispensing mode until the materials are sold out or the emergency mode is released. Specifically, when the vending machine is in a full-time free distribution mode, the vending machine immediately discharges goods when receiving goods and materials discharging requests until goods and materials are sold out or the disaster is relieved, and then the emergency mode is stopped and the normal business mode is recovered.
Further, after the step S20, the material dispensing method for a vending machine further includes:
and if the vending machine detects that the goods and materials in the vending machine are sold out, stopping the emergency mode to recover to a normal business mode. And/or stopping the emergency mode to recover to the normal business mode if disaster relief is detected.
The embodiment of the invention provides a material distribution method of a vending machine, which is characterized in that when the vending machine starts an emergency mode, the emergency material distribution mode is determined based on the emergency mode; and controlling the vending machine to dispense the materials based on the emergency material dispensing mode. Through the mode, when emergence emergency disaster around the vending machine, the vending machine starts emergent mode to make the vending machine provide goods and materials, compare the mode that the vending machine is in normal selling mode, need not personnel's payment and purchase goods and materials, goods and materials can directly be provided, thereby improve the convenience of vending machine under emergency disaster, and improve the goods and materials of vending machine and provide efficiency. Meanwhile, different emergency material distribution modes are determined according to different emergency modes, so that the flexibility of material distribution can be improved, and the material distribution efficiency of the vending machine can be improved.
Further, based on the first embodiment, a second embodiment of the material dispensing method of the vending machine of the present invention is provided.
Referring to fig. 3, fig. 3 is a schematic flow chart of a material dispensing method of a vending machine according to a second embodiment of the present invention.
In this embodiment, the emergency material distribution mode includes a quota free distribution mode, and the step S20 includes the following steps S21-S24:
step S21, when the system is in the quota free distribution mode, the identity of the current material distribution object is identified to obtain the identity identification result;
in this embodiment, when the system is in the quota free distribution mode, the identity of the current material distribution object is identified to obtain an identity identification result. The limited free distribution mode can limit the number of times of getting materials or the quantity of getting materials for each person, and can limit the total number of times of getting materials or the total quantity of getting materials for each person.
It should be noted that the manner of performing identity recognition at least includes one of the following: code scanning mode, biological characteristic identification mode, etc. The biological characteristic identification mode can comprise a human face identification mode, a voiceprint identification mode, a fingerprint identification mode, an iris identification mode and other biological characteristic identification modes.
In an embodiment, the identification manner is a biometric identification manner, and the step S21 includes:
and when the system is in the quota free distribution mode, collecting the biological characteristic information of the current material distribution object, and matching the biological characteristic information to obtain an identity recognition result.
Further, the biometric identification method is a face identification method, the vending machine includes a face recognition device, and the step S21 includes:
when the system is in the quota free distribution mode, the face recognition device is used for collecting face information of a current material distribution object and matching the face information to obtain an identity recognition result. The face recognition device may include a camera, a sensor, and the like.
In another embodiment, the identification is performed by scanning a code, the vending machine includes a scanning device, and the step S21 includes:
when the system is in the quota free distribution mode, the scanning code of the current material distribution object is collected through the scanning device, and the scanning code is matched to obtain an identity recognition result. The scanning device may include a camera, a sensor, and the like. The scan code can be a two-dimensional code, a bar code, a three-dimensional code, and the like, and has a unique identification function for identifying the identity.
Step S22, acquiring the number of times or quantity of the current material distribution object based on the identification result;
in one embodiment, the number of times of picking up the current material issuing object is acquired based on the identification result. Specifically, based on the identification result, the corresponding number of times of picking up in the preset database is inquired. The preset database stores the number of picking times corresponding to each identification result, that is, the preset database stores the number of picking times corresponding to each person.
It should be noted that, if the number of times of getting corresponding to the identification result does not exist in the preset database, the number of times of getting the current material issuing object corresponding to the identification result is 0, at this time, the number of times of getting corresponding to the identification result is newly established in the preset database, and the number of times of getting is set to 0.
In another embodiment, the drawing number of the current material issuing object is obtained based on the identification result. Specifically, based on the identification result, the corresponding number of retrievals in the preset database is queried. The preset database stores the picking number corresponding to each identity recognition result, that is, the preset database stores the picking number corresponding to each person.
It should be noted that, if the receiving number corresponding to the identification result does not exist in the preset database, the receiving number of the current material issuing object corresponding to the identification result is 0, at this time, the receiving number corresponding to the identification result is newly established in the preset database, and the receiving number is set to be 0.
Step S23, if the pickup times are less than a preset times threshold value or the pickup quantity is less than a preset quantity threshold value, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times or the pickup quantity;
in an embodiment, if the number of picking times is smaller than a preset number threshold, the vending machine is controlled to dispense the materials selected by the current material dispensing object, and the number of picking times is increased. The preset number threshold may be set according to actual needs, for example, 2, 3, 4, and the like, and is not limited herein.
Specifically, the step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the number of drawing times includes:
and controlling the vending machine to dispense the materials selected by the current material dispensing object, and adding one to the drawing times.
In another embodiment, if the pickup number is smaller than a preset number threshold, the vending machine is controlled to dispense the materials selected by the current material dispensing object, and the pickup number is increased. The preset number threshold may be set according to actual needs, for example, 2, 3, 4, and the like, and is not limited herein.
The step of controlling the vending machine to dispense the materials selected by the current material dispensing object and increasing the receiving quantity comprises the following steps:
controlling the vending machine to dispense the materials selected by the current material dispensing object, and determining the quantity of the materials; and adding the receiving quantity and the quantity of the materials to obtain an updated receiving quantity.
And step S24, if the pickup times are larger than or equal to a preset time threshold or the pickup quantity is larger than or equal to a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
In an embodiment, if the number of picking times is greater than or equal to a preset number threshold, the vending machine is controlled to dispense the materials selected by the current material dispensing object after the payment is successful. The specific execution flow of this embodiment is a processing flow of a normal selling mode of the vending machine, and is not described herein any more.
In another embodiment, if the pickup quantity is greater than or equal to the preset quantity threshold value, the vending machine is controlled to dispense the materials selected by the current material dispensing object after successful payment.
In the embodiment, when the system is in the quota free distribution mode, the identity of the current material distribution object is identified to obtain an identity identification result; acquiring the number of times or the number of times of getting the current material distribution object based on the identity recognition result; if the pickup times are smaller than a preset time threshold or the pickup quantity is smaller than a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times or the pickup quantity; and if the pickup times are larger than or equal to a preset time threshold or the pickup quantity is larger than or equal to a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful. Through the mode, when the emergency disasters occur around the vending machine, the vending machine limits the material distribution times and the distribution quantity of each person, so that the material is reasonably distributed, the quantity of the material distribution objects is increased, and the material distribution effect of the vending machine is further improved.
Further, based on the first and second embodiments, a third embodiment of the material dispensing method of the vending machine of the present invention is provided.
In this embodiment, before the step S10, the material dispensing method for a vending machine further includes the following steps a30-a 50:
step A30, acquiring disaster information, and determining disaster grade and disaster area based on the disaster information;
in the present embodiment, disaster information is acquired, and a disaster level and a disaster-affected area are determined based on the disaster information. Wherein the disaster information at least comprises one of the following: disaster level, disaster area, and disaster occurrence time. The disaster level is used to represent a disaster degree, the disaster area is used to represent a location where the disaster occurred, and the disaster time is used to represent a time when the disaster occurred.
In one embodiment, the disaster sensor is deployed around or comprises the vending machine, and the step a30 comprises the following steps a31-a 32:
step A31, acquiring disaster information of the disaster sensor, and determining disaster grade based on the disaster information;
step a32, determining location information of the disaster sensor based on the disaster information, and determining a disaster area based on the location information.
In the present embodiment, first, disaster information of the disaster sensor is acquired, and a disaster level is determined based on the disaster information, and then, location information of the disaster sensor is determined based on the disaster information, and a disaster-affected area is determined based on the location information. Wherein the disaster information at least comprises one of the following: disaster grade, disaster sensor position and disaster occurrence time. The disaster level is used to represent a disaster degree, the disaster area is used to represent a location where the disaster occurred, and the disaster time is used to represent a time when the disaster occurred.
In some embodiments, disaster sensors are deployed around the vending machine, and the step a30 includes:
acquiring disaster information of the disaster sensor, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Wherein, the disaster sensor can include natural disaster sensors such as quiver inductor, wind speed tester, camera, rainfall tester, temperature sensor, humidity transducer.
Wherein the disaster information at least comprises one of the following: disaster grade, disaster sensor position and disaster occurrence time. The disaster level is used to represent a disaster degree, the disaster area is used to represent a location where the disaster occurred, and the disaster time is used to represent a time when the disaster occurred.
Optionally, the disaster sensor includes an anemometer, and the step a30 includes:
acquiring disaster information of the tremor sensor, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an earthquake inductor is arranged around the position of the vending machine, the earthquake inductor is connected with a central system, and an earthquake grade range corresponding to the disaster grade is preset in the central system; when the ground tremor level of a certain area reaches a preset disaster threshold value, the vending machine within a disaster occurrence range is inquired according to the positioning system, an emergency mode is automatically opened by issuing an instruction to the vending machine, and then different emergency modes are automatically switched to achieve different ground tremor levels.
Optionally, the disaster sensor includes an anemometer, and the step a30 includes:
acquiring disaster information of the wind speed tester, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an air speed tester is installed around the position of the vending machine and monitors the air speed grade in real time, the air speed tester is connected with a central system, the central system judges the environment to be severe based on the air speed grade, and when the typhoon disaster standard is reached, the vending machine within the disaster occurrence range is inquired according to a positioning system so as to issue an instruction to the vending machine to automatically start an emergency mode, and then different emergency modes are automatically switched to achieve different typhoon disaster grades.
Further, the disaster sensor includes an anemometer and a camera, and the step a30 includes:
acquiring first disaster information of the wind speed tester and second disaster information of the camera, combining the first disaster information and the second disaster information to obtain disaster information, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an air speed tester and a camera are installed around the position of the vending machine, the camera is used for monitoring the real-time situation around the vending machine, the air speed tester is used for monitoring the air speed grade in real time, the air speed tester and the camera are connected with a central system, the central system judges the environment to be severe based on the air speed grade and the real situation around the vending machine, when the typhoon disaster standard is reached, the vending machine in the disaster occurrence range is inquired according to a positioning system, the vending machine is issued an instruction to automatically start an emergency mode, and then the purpose of automatically switching different emergency modes according to different typhoon disaster grades is achieved.
In some embodiments, the vending machine includes a disaster sensor, and the step a30 includes:
acquiring disaster information of the disaster sensor, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Wherein, the disaster sensor can include natural disaster sensors such as quiver inductor, wind speed tester, camera, rainfall tester, temperature sensor, humidity transducer.
Wherein the disaster information at least comprises one of the following: disaster grade, disaster sensor position and disaster occurrence time. The disaster level is used to represent a disaster degree, the disaster area is used to represent a location where the disaster occurred, and the disaster time is used to represent a time when the disaster occurred.
Optionally, the disaster sensor includes an anemometer, and the step a30 includes:
acquiring disaster information of the tremor sensor, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an earthquake inductor is arranged around the position of the vending machine, the earthquake inductor is connected with a central system, and an earthquake grade range corresponding to the disaster grade is preset in the central system; when the ground tremor level of a certain area reaches a preset disaster threshold value, the vending machine within a disaster occurrence range is inquired according to the positioning system, an emergency mode is automatically opened by issuing an instruction to the vending machine, and then different emergency modes are automatically switched to achieve different ground tremor levels.
Optionally, the disaster sensor includes an anemometer, and the step a30 includes:
acquiring disaster information of the wind speed tester, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an air speed tester is installed around the position of the vending machine and monitors the air speed grade in real time, the air speed tester is connected with a central system, the central system judges the environment to be severe based on the air speed grade, and when the typhoon disaster standard is reached, the vending machine within the disaster occurrence range is inquired according to a positioning system so as to issue an instruction to the vending machine to automatically start an emergency mode, and then different emergency modes are automatically switched to achieve different typhoon disaster grades.
Further, the disaster sensor includes an anemometer and a camera, and the step a30 includes:
acquiring first disaster information of the wind speed tester and second disaster information of the camera, combining the first disaster information and the second disaster information to obtain disaster information, and determining a disaster grade based on the disaster information; and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information. Specifically, an air speed tester and a camera are installed around the position of the vending machine, the camera is used for monitoring the real-time situation around the vending machine, the air speed tester is used for monitoring the air speed grade in real time, the air speed tester and the camera are connected with a central system, the central system judges the environment to be severe based on the air speed grade and the real situation around the vending machine, when the typhoon disaster standard is reached, the vending machine in the disaster occurrence range is inquired according to a positioning system, the vending machine is issued an instruction to automatically start an emergency mode, and then the purpose of automatically switching different emergency modes according to different typhoon disaster grades is achieved.
In another embodiment, the step a30 includes:
step A33, receiving disaster information sent by a disaster early warning center, and determining a disaster grade and a disaster area based on the disaster information.
In this embodiment, disaster information transmitted from a disaster early warning center is received, and a disaster level and a disaster area are determined based on the disaster information. Wherein the disaster information at least comprises one of the following: disaster grade, disaster sensor position and disaster occurrence time. The disaster level is used to represent a disaster degree, the disaster area is used to represent a location where the disaster occurred, and the disaster time is used to represent a time when the disaster occurred.
The disaster early warning center can be set according to actual requirements, such as a geological disaster monitoring early warning system, a meteorological disaster early warning system and other disaster early warning centers.
Specifically, a central system of the vending machine is connected to the disaster early warning center, the central system can receive disaster information of the disaster early warning center, the disaster information comprises disaster grades and radiation ranges, and therefore the emergency mode of the vending machine corresponding to the film area is automatically started according to the disaster grades and the radiation ranges. That is to say, when the disaster grade received and transmitted in real time by the disaster early warning center is within the preset disaster range, the vending machine within the disaster occurrence range is inquired according to the positioning system so as to issue an instruction to automatically start the emergency mode to the vending machine, and then different typhoon disaster grades are automatically switched to different emergency modes.
In another embodiment, before the step S10, the material dispensing method for a vending machine further includes the following steps a60-a 70:
step A60, when a vending machine receives an emergency mode starting instruction sent by a mobile terminal, determining a disaster grade based on the emergency mode starting instruction;
in this embodiment, when the vending machine receives an emergency mode opening instruction sent by the mobile terminal, the disaster level is determined based on the emergency mode opening instruction. The mobile terminal can be in communication connection with the vending machine, the communication connection mode can be network connection or non-network connection, and the non-network connection mode comprises a Bluetooth connection mode, a radio frequency signal connection mode and other wireless connection modes. Specifically, the user can manually start the emergency mode through the mobile terminal, issue an instruction to the vending machine to start the emergency mode, and meanwhile, the user can determine the disaster grade on the mobile terminal.
In an embodiment, the vending machine includes a bluetooth device, and the vending machine and the mobile terminal are communicatively connected through bluetooth, where step a60 includes:
when the vending machine receives an emergency mode starting instruction sent by the mobile terminal through the Bluetooth device, the disaster grade is determined based on the emergency mode starting instruction. Specifically, the vending machine supports Bluetooth connection, and when a disaster occurs, even if the vending machine does not have a network, the vending machine can be manually connected with the emergency mode in a Bluetooth connection range through a mobile terminal (such as a mobile phone) in a Bluetooth mode, the emergency mode is manually started, the machine is issued an instruction to start the emergency mode, and meanwhile, a user can determine the disaster grade on the mobile terminal.
And A70, determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode.
In the embodiment, a corresponding emergency mode is determined based on the disaster level, and the vending machine is controlled to start the emergency mode. Specifically, the user may determine a disaster level on the mobile terminal to determine a corresponding emergency mode based on the disaster level, and control the vending machine to start the emergency mode.
Wherein the emergency mode comprises at least one of: a light disaster emergency mode, a medium disaster emergency mode, a heavy disaster emergency mode, etc., and of course, the emergency mode may be divided into more or less emergency modes according to actual needs, which is not limited herein. The emergency mode may be classified according to the disaster degree, the disaster occurrence area, the disaster occurrence time, the disaster occurrence environment, the weather condition of the disaster occurrence area, and the like.
Step A40, determining a plurality of vending machines in the disaster area;
and A50, determining a corresponding emergency mode based on the disaster grade, and controlling the vending machines to start the emergency mode.
In the embodiment, a plurality of vending machines in a disaster area are determined, corresponding emergency modes are determined based on disaster levels, and the vending machines are controlled to start the emergency modes. Specifically, based on the disaster area, a plurality of corresponding vending machines in a preset address database are inquired, so that corresponding emergency modes are determined based on disaster grades, and the vending machines are controlled to start the emergency modes. The preset address database stores mapping relations between disaster areas and vending machines.
Wherein the emergency mode comprises at least one of: a light disaster emergency mode, a medium disaster emergency mode, a heavy disaster emergency mode, etc., and of course, the emergency mode may be divided into more or less emergency modes according to actual needs, which is not limited herein. The emergency mode may be classified according to the disaster degree, the disaster occurrence area, the disaster occurrence time, the disaster occurrence environment, the weather condition of the disaster occurrence area, and the like.
In the embodiment, disaster information is acquired, and the disaster grade and the disaster area are determined based on the disaster information; determining a plurality of vending machines in a disaster area; and determining a corresponding emergency mode based on the disaster grade, and controlling a plurality of vending machines to start the emergency mode. Through the mode, when emergency disasters occur around the vending machine, different emergency modes can be determined according to disaster grades and disaster areas, and then different emergency material distribution modes can be realized according to different emergency modes, so that the flexibility of material distribution is improved, and the material distribution efficiency of the vending machine is improved.
The invention also provides a material dispensing device of the vending machine.
In this embodiment, the material dispensing apparatus of the vending machine includes:
the mode determining module is used for determining an emergency material distribution mode based on the emergency mode when the vending machine starts the emergency mode;
and the material distribution module is used for controlling the vending machine to distribute materials based on the emergency material distribution mode.
Wherein, each virtual function module of the material dispensing device of the vending machine is stored in the memory 1005 of the material dispensing device of the vending machine shown in fig. 1, and is used for realizing all functions of the material dispensing program of the vending machine; when executed by the processor 1001, the modules may perform the material dispensing function of the vending machine.
Further, the emergency mode includes a light disaster emergency mode and a heavy disaster emergency mode, and the mode determination module includes:
the vending machine comprises a mode determining unit, a data processing unit and a data processing unit, wherein the mode determining unit is used for determining that an emergency material distribution mode is a limited free distribution mode or a limited free distribution mode based on a light disaster emergency mode when the vending machine starts the light disaster emergency mode; or the like, or, alternatively,
and the mode determining unit is also used for determining that the emergency material distribution mode is a full-amount free distribution mode or a full-time free distribution mode based on the disaster emergency mode when the vending machine starts the disaster emergency mode.
Further, the emergency material distribution mode comprises a quota free distribution mode, and the material distribution module comprises:
the identity recognition unit is used for carrying out identity recognition on the current material distribution object when the object is in the quota free distribution mode to obtain an identity recognition result;
the number obtaining unit is used for obtaining the number of times or the number of times of getting the current material distribution object based on the identity recognition result;
the goods and materials distribution unit is used for controlling the vending machine to distribute the goods and materials selected by the current goods and materials distribution object and increasing the drawing times or the drawing quantity if the drawing times are smaller than a preset time threshold or the drawing quantity is smaller than a preset quantity threshold;
and the material issuing unit is also used for controlling the vending machine to issue the materials selected by the current material issuing object after the payment is successful if the pickup times are greater than or equal to a preset time threshold or the pickup quantity is greater than or equal to a preset quantity threshold.
Further, the emergency material distribution mode comprises a time-limited free distribution mode, and the material distribution module comprises:
the time acquisition unit is used for acquiring the current time when the terminal is in a time-limited free distribution mode;
an overtime judging unit for judging whether the time is overtime based on the current time;
the material issuing unit is also used for controlling the vending machine to issue the materials selected by the current material issuing object if the time is not overtime;
and the material issuing unit is also used for controlling the vending machine to issue the materials selected by the current material issuing object after the payment is successful if the time is out.
Further, the emergency material distribution mode includes a full-amount free distribution mode or a full-time free distribution mode, and the material distribution module includes:
and the material distribution unit is also used for controlling the vending machine to distribute the materials selected by the current material distribution object when the material distribution unit is in a full-amount free distribution mode or a full-time free distribution mode until the materials are sold empty or the emergency mode is released.
Further, the material dispensing apparatus of the vending machine further includes:
the information acquisition module is used for acquiring disaster information and determining a disaster grade and a disaster area based on the disaster information;
the vending machine determining module is used for determining a plurality of vending machines in the disaster area;
and the mode starting module is used for determining a corresponding emergency mode based on the disaster grade and controlling the vending machines to start the emergency mode.
Further, a disaster sensor is deployed around the vending machine or the vending machine comprises the disaster sensor, and the information acquisition module comprises:
the information acquisition unit is used for acquiring disaster information of the disaster sensor and determining the disaster grade based on the disaster information;
and the disaster determining unit is used for determining the position information of the disaster sensor based on the disaster information and determining the disaster area based on the position information.
Further, the information acquisition module includes:
and the information receiving unit is used for receiving disaster information sent by the disaster early warning center and determining the disaster grade and the disaster area based on the disaster information.
Further, the material dispensing apparatus of the vending machine further includes:
the system comprises a grade determining module, a disaster grade determining module and a disaster grade determining module, wherein the grade determining module is used for determining the disaster grade based on an emergency mode starting instruction sent by a mobile terminal when the vending machine receives the emergency mode starting instruction;
and the mode starting module is also used for determining a corresponding emergency mode based on the disaster grade and controlling the vending machine to start the emergency mode.
The function implementation of each module in the material dispensing device of the vending machine corresponds to each step in the material dispensing method embodiment of the vending machine, and the function and implementation process are not described in detail herein.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when being executed by a processor, implements the steps of the material dispensing method of a vending machine according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the material dispensing method of the vending machine, and will not be described herein again.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method for dispensing material of a vending machine as described in any one of the above embodiments.
The specific embodiment of the computer program product of the present invention is substantially the same as the embodiments of the material dispensing method of the vending machine, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a vending machine, a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A material dispensing method of a vending machine is characterized by comprising the following steps:
when the vending machine starts an emergency mode, determining an emergency material distribution mode based on the emergency mode;
and controlling the vending machine to dispense materials based on the emergency material dispensing mode.
2. The material distribution method of the vending machine according to claim 1, wherein the emergency mode includes a light emergency mode and a heavy emergency mode, and the step of determining the emergency material distribution mode based on the emergency mode when the vending machine starts the emergency mode includes:
when the vending machine starts a light disaster emergency mode, determining that the emergency material distribution mode is a limited free distribution mode or a limited free distribution mode based on the light disaster emergency mode; or the like, or, alternatively,
when the vending machine starts a disaster emergency mode, determining that the emergency material distribution mode is a full-amount free distribution mode or a full-time free distribution mode based on the disaster emergency mode.
3. The material dispensing method of a vending machine as claimed in claim 1, wherein the emergency material dispensing mode includes a limit free dispensing mode, and the step of controlling the vending machine to dispense the material based on the emergency material dispensing mode includes:
when the system is in the quota free distribution mode, identity recognition is carried out on the current material distribution object to obtain an identity recognition result;
acquiring the number of times or the number of the current material issuing objects to be picked based on the identity recognition result;
if the pickup times are smaller than a preset time threshold or the pickup quantity is smaller than a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object, and increasing the pickup times or the pickup quantity;
and if the pickup times are larger than or equal to a preset time threshold or the pickup quantity is larger than or equal to a preset quantity threshold, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
4. The material dispensing method of a vending machine as claimed in claim 1, wherein the emergency material dispensing mode includes a time-limited free dispensing mode, and the step of controlling the vending machine to dispense the material based on the emergency material dispensing mode includes:
when the terminal is in a time-limited free distribution mode, acquiring the current time;
judging whether the time is overtime or not based on the current time;
if not, controlling the vending machine to dispense the materials selected by the current material dispensing object;
and if the payment is over time, controlling the vending machine to dispense the materials selected by the current material dispensing object after the payment is successful.
5. The material dispensing method of a vending machine as claimed in claim 1, wherein the emergency material dispensing mode includes a full amount free dispensing mode or a full time free dispensing mode, and the step of controlling the vending machine to dispense the material based on the emergency material dispensing mode includes:
and when the vending machine is in a full-amount free dispensing mode or a full-time free dispensing mode, controlling the vending machine to dispense the materials selected by the current material dispensing object until the materials are sold out or the emergency mode is released.
6. The material dispensing method of a vending machine as claimed in any one of claims 1 to 5, wherein said step of determining an emergency material dispensing mode based on said emergency mode when said vending machine starts said emergency mode is preceded by the step of:
acquiring disaster information, and determining a disaster grade and a disaster area based on the disaster information;
determining a plurality of vending machines in the disaster area;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machines to start the emergency mode.
7. The material dispensing method for vending machine according to claim 6, wherein a disaster sensor is disposed around the vending machine or the vending machine includes a disaster sensor, and the step of acquiring disaster information and determining a disaster level and a disaster area based on the disaster information comprises:
acquiring disaster information of the disaster sensor, and determining a disaster grade based on the disaster information;
and determining the position information of the disaster sensor based on the disaster information, and determining a disaster area based on the position information.
8. The material dispensing method of a vending machine as claimed in any one of claims 1 to 5, wherein said step of determining an emergency material dispensing mode based on said emergency mode when said vending machine starts said emergency mode is preceded by the step of:
when the vending machine receives an emergency mode starting instruction sent by the mobile terminal, determining the disaster grade based on the emergency mode starting instruction;
and determining a corresponding emergency mode based on the disaster grade, and controlling the vending machine to start the emergency mode.
9. A material dispensing apparatus of a vending machine, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for dispensing materials for a vending machine according to any of claims 1 to 8.
10. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, carries out the steps of the method for dispensing goods and materials of a vending machine according to any one of claims 1 to 8.
CN202110833866.0A 2021-07-22 2021-07-22 Material distribution method and equipment of vending machine and computer program product Pending CN113706771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110833866.0A CN113706771A (en) 2021-07-22 2021-07-22 Material distribution method and equipment of vending machine and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110833866.0A CN113706771A (en) 2021-07-22 2021-07-22 Material distribution method and equipment of vending machine and computer program product

Publications (1)

Publication Number Publication Date
CN113706771A true CN113706771A (en) 2021-11-26

Family

ID=78650334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110833866.0A Pending CN113706771A (en) 2021-07-22 2021-07-22 Material distribution method and equipment of vending machine and computer program product

Country Status (1)

Country Link
CN (1) CN113706771A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163486A (en) * 2004-12-02 2006-06-22 Hitachi Ltd Automatic vending machine, sample supply management device, and sample supply method and system
JP2006262046A (en) * 2005-03-17 2006-09-28 Hitachi Ltd Disaster situation reporting system
JP2008124562A (en) * 2006-11-08 2008-05-29 Fuji Xerox Co Ltd Image processor, image processing system, information processor, and program
JP2010170361A (en) * 2009-01-23 2010-08-05 Panasonic Corp Vending machine
JP2010211659A (en) * 2009-03-12 2010-09-24 Tele Net Kk Disaster support system
JP5444494B1 (en) * 2013-07-31 2014-03-19 株式会社日本マシンサービス Emergency beverage supply device and vending machine
JP5945891B1 (en) * 2016-01-21 2016-07-05 株式会社日本マシンサービス Vending machine system
KR20180077618A (en) * 2016-12-29 2018-07-09 롯데알미늄 주식회사 Vending machine equipped with earthquake detection function and control method thereof
JP2019101527A (en) * 2017-11-29 2019-06-24 株式会社荏原エージェンシー Automatic sales system and automatic sales method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163486A (en) * 2004-12-02 2006-06-22 Hitachi Ltd Automatic vending machine, sample supply management device, and sample supply method and system
JP2006262046A (en) * 2005-03-17 2006-09-28 Hitachi Ltd Disaster situation reporting system
JP2008124562A (en) * 2006-11-08 2008-05-29 Fuji Xerox Co Ltd Image processor, image processing system, information processor, and program
JP2010170361A (en) * 2009-01-23 2010-08-05 Panasonic Corp Vending machine
JP2010211659A (en) * 2009-03-12 2010-09-24 Tele Net Kk Disaster support system
JP5444494B1 (en) * 2013-07-31 2014-03-19 株式会社日本マシンサービス Emergency beverage supply device and vending machine
JP5945891B1 (en) * 2016-01-21 2016-07-05 株式会社日本マシンサービス Vending machine system
KR20180077618A (en) * 2016-12-29 2018-07-09 롯데알미늄 주식회사 Vending machine equipped with earthquake detection function and control method thereof
JP2019101527A (en) * 2017-11-29 2019-06-24 株式会社荏原エージェンシー Automatic sales system and automatic sales method

Similar Documents

Publication Publication Date Title
US10854095B2 (en) Flight control method and apparatus, flight clearance method, flight safety maintenance method and apparatus, server, and aerial vehicle
EP2998945B1 (en) System for auto-configuration of devices in a building information model using bluetooth low energy
US11074545B2 (en) Systems and methods for delivering products via unmanned aerial vehicles to delivery locations designated by customers
CN107103310B (en) Passenger behavior supervision method for unmanned taxi
CN107730634B (en) Parking fee online payment method, device and system in network-free environment of parking lot
CN108172019B (en) Parking lot management method and device and computer readable storage medium
CN108629580B (en) Screen-off payment method and mobile terminal
CN106934946A (en) A kind of locker operating method, method for sending information, apparatus and system
CN110288782B (en) Drawing control method and device based on image, computer device and storage medium
CN107169861A (en) Site sales service system and method
WO2006062591A1 (en) System and method for tracking individuals
CN105825644A (en) Integrated security system based on security guards real-time location information in places
CN202940921U (en) Real-time monitoring system based on face identification
CN203754163U (en) Intelligent elevator control system
CN112732135A (en) Health information display method and device, storage medium and electronic equipment
CN108629280B (en) Face recognition method and mobile terminal
CN112581122A (en) Display method, payment code identification method and device and electronic equipment
US11846941B2 (en) Drone graphical user interface
CN113706771A (en) Material distribution method and equipment of vending machine and computer program product
CN116597371A (en) Dangerous object early warning method, system and computer equipment based on image monitoring
CN113438306B (en) Security monitoring system, security monitoring method and security monitoring equipment
KR20230100368A (en) Service providing system and method for proividing parking warning, service providing apparatus therefor and non-transitory computer readable medium having computer program recorded thereon
WO2017220364A1 (en) Method and an arrangement for sending a user-triggered danger report to a report control unit
CN113286263A (en) Network connection method, network connection device, electronic device and readable storage medium
CN111061451A (en) Information processing method, device and system

Legal Events

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

Application publication date: 20211126