CN110335410B - Vending machine replenishment method and device based on big data and computer equipment - Google Patents

Vending machine replenishment method and device based on big data and computer equipment Download PDF

Info

Publication number
CN110335410B
CN110335410B CN201910267764.XA CN201910267764A CN110335410B CN 110335410 B CN110335410 B CN 110335410B CN 201910267764 A CN201910267764 A CN 201910267764A CN 110335410 B CN110335410 B CN 110335410B
Authority
CN
China
Prior art keywords
commodity
vending machine
replenishment
time period
vending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910267764.XA
Other languages
Chinese (zh)
Other versions
CN110335410A (en
Inventor
汪胜其
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201910267764.XA priority Critical patent/CN110335410B/en
Publication of CN110335410A publication Critical patent/CN110335410A/en
Application granted granted Critical
Publication of CN110335410B publication Critical patent/CN110335410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The application provides a vending machine replenishment method and device based on big data, computer equipment and a readable storage medium, which relate to the technical field of data analysis and comprise the following steps: monitoring the transaction state of each vending machine, and judging whether the vending machine completes the transaction currently according to the transaction state; if the transaction is completed, current commodity information and position information are respectively obtained; judging whether a preset time period is set or not; if the preset time period is set, judging whether the current time is included in the preset time period; if the hot sales commodity number is contained in the preset time period, respectively calling the hot sales commodity number corresponding to each preset commodity name; respectively judging whether the quantity of each current commodity is greater than the quantity of the corresponding hot-sold commodities; if not, the first replenishment information is formulated according to a preset rule. According to the method and the device, the transaction state of the vending machine is monitored in real time, the replenishment information corresponding to each vending machine is dynamically adjusted according to the commodity transaction big data of each vending machine, and the replenishment trend of the vending machine is intelligently predicted by the remote terminal.

Description

Vending machine replenishment method and device based on big data and computer equipment
Technical Field
The application relates to the technical field of data analysis, in particular to a vending machine replenishment method and device based on big data and computer equipment.
Background
Vending machines are increasingly going into people's lives, and are increasingly important for managing the distribution of goods to the vending machines. The supplier of goods needs to replenish the goods in the automatic vending device, and the currently commonly adopted replenishment mode is that a special replenishment person arranged by the supplier regularly checks the automatic vending device, finds a place where the goods need to be replenished, and carries the corresponding goods for replenishment. This replenishment is cumbersome and inefficient. Therefore, how to generate corresponding replenishment information at the remote terminal according to the vending trend of the vending machine is a technical problem to be solved at the present stage.
Disclosure of Invention
The application mainly aims to provide a vending machine replenishment method and device based on big data and computer equipment, and aims to solve the problem that the existing vending machine cannot generate corresponding replenishment information according to the vending trend of the vending machine at a remote terminal.
In order to achieve the above object, the present application provides a vending machine replenishment method based on big data, is applied to the platform of selling goods, the platform of selling goods passes through wireless signal with a plurality of vending machines and is connected, each the vending machine sets up respectively in different regions, the platform of selling goods record each the vending machine respectively corresponds positional information, include:
receiving a signal of transaction completion uploaded by each vending machine;
respectively acquiring the residual commodity information and the position information in the vending machine after each transaction is finished, wherein the commodity information comprises a plurality of commodity names and commodity quantity corresponding to each commodity name;
judging whether a commodity hot selling time period is set for the vending machine completing the transaction, wherein the commodity hot selling time period is a preset time period when the unit time selling quantity of the vending machine is larger than a first threshold value;
if the commodity hot selling time period is set, judging whether the current time is included in the commodity hot selling time period;
if the commodity hot selling time period is included, acquiring a plurality of unit time commodity hot selling quantities corresponding to the commodity names before the current time of the vending machine completing the transaction, wherein the unit time commodity hot selling quantities are unit time selling quantities of commodities of the vending machine in the commodity hot selling time period;
calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
screening out the first goods to be restocked that goods quantity is less than the first goods threshold value that corresponds to send first goods information of restocking according to predetermineeing the rule, first goods information of restocking is used for the suggestion right the goods to be restocked carry out the restocking, first goods information of restocking includes the identification information of goods to be restocked, the position information of the vending machine that goods to be restocked correspond with the goods quantity of goods to be restocked.
Further, before the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency, wherein the first unit time selling quantities are the total selling quantities of the vending machines in a unit time period;
and comparing the sales volume of each first unit time with the first threshold value respectively, and selecting a unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodities.
Further, after the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
if the commodity hot sale time period is not set, respectively calling a second replenishment threshold corresponding to each commodity name;
and screening out second goods to be replenished with the goods quantity smaller than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
Further, the step of screening out the first goods to be replenished of which the quantity of the goods is smaller than the corresponding first replenishment threshold value and sending first replenishment information according to a preset rule includes:
comparing each commodity quantity with a corresponding first replenishment threshold value respectively, and selecting the commodity name with the commodity quantity smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
calling a preset commodity quantity corresponding to the first commodity name to be replenished, wherein the preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine;
calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
Further, before the step of receiving a signal of completion of a transaction uploaded by each of the vending machines in real time, the method includes:
updating vending information of each vending machine according to a second preset frequency, wherein the vending information comprises at least one sold commodity name, and a vending quantity and a total vending quantity which correspond to each sold commodity name respectively;
respectively calculating the ratio of each selling quantity in the total selling quantity;
and calculating the preset commodity quantity of the commodity corresponding to each ratio in the vending machine according to the total capacity of the vending machine and the ratio.
Further, the step of updating the vending information of each of the vending machines according to a second preset frequency includes:
and comparing the selling amount of each second unit time with a second threshold value respectively, and selecting a unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as a dormant time period of the vending machine, wherein the dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state.
Further, the step of sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information includes:
screening first replenishment information of each vending machine belonging to the same area according to the position information;
and sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
The application also provides a vending machine replenishment device based on big data, includes:
the receiving module is used for receiving a signal of transaction completion uploaded by each vending machine;
the first acquisition module is used for respectively acquiring the information and the position information of the remaining commodities in the vending machine after the completion of each transaction;
the first judgment module is used for judging whether a commodity hot selling time period is set for the vending machine completing the transaction;
the second judgment module is used for judging whether the current moment is included in the commodity hot sales time period;
the second acquisition module is used for acquiring a plurality of commodity heat sales amounts corresponding to the commodity names in unit time before the current time of the vending machine completing the transaction;
the setting module is used for calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name;
and the first sending module is used for screening out the first goods to be replenished of which the number of the goods is less than the corresponding first replenishment threshold value, and sending the first replenishment information according to a preset rule.
Further, the replenishment device further comprises:
the third acquisition module is used for acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency;
and the first selection module is used for respectively comparing the sales volume of each first unit time with the first threshold value and selecting the unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodity.
Further, the replenishment device further comprises:
the second calling module is used for calling a second replenishment threshold corresponding to each commodity name respectively;
and the second sending module is used for screening out second goods to be replenished of which the number of the goods is less than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
Further, the first sending module comprises:
the selecting unit is used for respectively comparing each commodity quantity with the corresponding first replenishment threshold value and selecting the commodity name of which the commodity quantity is smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
the calling unit is used for calling the preset commodity quantity corresponding to the first commodity name to be replenished;
the calculation unit is used for calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
the generating unit is used for generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
and the sending unit is used for sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
Further, the replenishment device further comprises:
the updating module is used for updating the vending information of each vending machine according to a second preset frequency;
the first calculation module is used for calculating the proportion of each selling quantity in the total selling quantity;
and the second calculation module is used for calculating the preset commodity quantity of the commodity corresponding to each proportion in the vending machine according to the total capacity of the vending machine and the proportion.
Further, the replenishment device further comprises:
and the second selection module is used for respectively comparing the selling amount of each second unit time with a second threshold value, and selecting the unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as the dormant time period of the vending machine.
Further, the sending unit includes:
the screening subunit is used for screening first replenishment information of each vending machine belonging to the same area according to the position information;
and the sending subunit is used for sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
According to the vending machine replenishment method and device based on the big data and the computer equipment, the transaction state of the vending machine is monitored in real time, the replenishment quantity and the replenishment commodities corresponding to each vending machine are dynamically adjusted according to the big data of commodity transaction of each vending machine, and the replenishment trend of the vending machine is intelligently predicted by the remote terminal.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a big data based vending machine replenishment method according to an embodiment of the present application;
FIG. 2 is a block diagram illustrating an overall structure of a big data-based replenishment device of a vending machine according to an embodiment of the present application;
fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a vending machine replenishment method based on big data, which is applied to a vending platform, where the vending platform is connected to a plurality of vending machines through a wireless network, each vending machine is respectively disposed in different areas, and the vending platform records position information corresponding to each vending machine, where the method includes:
s1: receiving a signal of transaction completion uploaded by each vending machine;
s2: respectively acquiring the residual commodity information and the position information in each vending machine, wherein the commodity information comprises a plurality of commodity names and commodity quantity corresponding to each commodity name;
s3: judging whether a commodity hot selling time period is set for the vending machine completing the transaction, wherein the commodity hot selling time period is a preset time period when the unit time selling quantity of the vending machine is larger than a first threshold value;
s4: if the commodity hot selling time period is set, judging whether the current time is included in the commodity hot selling time period;
s5: if the commodity hot selling time period is included, acquiring a plurality of unit time commodity hot selling quantities corresponding to the commodity names before the current time of the vending machine completing the transaction, wherein the unit time commodity hot selling quantities are unit time selling quantities of commodities of the vending machine in the commodity hot selling time period;
s6: calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
s7: screening out the first goods to be restocked that goods quantity is less than the first goods threshold value that corresponds to send first goods information of restocking according to predetermineeing the rule, first goods information of restocking is used for the suggestion right the goods to be restocked carry out the restocking, first goods information of restocking includes the identification information of goods to be restocked, the position information of the vending machine that goods to be restocked correspond with the goods quantity of goods to be restocked.
In this embodiment, the vending platform is a direct sales service platform of the vending machine, and is used to record commodity information and location information of each vending machine and to implement automatic vending service of the vending machine. The vending platform is connected with each vending machine through wireless signals. Wherein each vending machine is divided into different zones. When the user uses the automatic vending function of the vending machine, the static code of the vending machine is scanned through the mobile terminal, then the amount of money is input, and a payment bank is selected. The payment banks comprise banks in all big countries and small and medium banks. The vending machine sends payment information to the vending platform after the user selects the payment bank. The payment information includes a payment amount, a purchase item name, and a purchase amount. After the money deduction is completed, the vending platform sends an instruction to the vending machine to allow the user to take out the corresponding commodity. Meanwhile, the vending platform updates the current commodity information corresponding to the vending machine according to the commodity name and the purchase quantity. And the vending platform receives a signal of transaction completion uploaded by each vending machine in real time or at regular time. If the transaction is completed, the vending platform respectively acquires the commodity information and the position information left in each vending machine completing the transaction. The commodity information includes commodity names of all currently remaining commodities of the vending machine and commodity numbers corresponding to the commodity names. The vending platform is provided with a commodity hot selling time period for the vending machine according to the vending quantity of each region, and the commodity hot selling time period is a preset time period when the vending quantity of the vending machine per unit time is larger than a first threshold value. The vending platform can associate the hot selling time of the commodity with the position information of the vending machine, wherein the position information of the vending machine plays a role in identification and is used for association identification between the vending platform and the vending machine. Therefore, the vending platform can directly inquire whether the commodity hot-selling time period is associated according to the position information of the vending machine completing the transaction, and therefore whether the commodity hot-selling time period is set in the vending machine is directly judged. And if the vending machine completing the transaction is provided with a commodity hot selling time period, the vending platform acquires the current time and judges whether the current time is included in the commodity hot selling time period. For example, the commodity hot-selling time period is 12: 00-13: 00, if the current time is 12:45, the vending platform judges that the current time is included in the hot commodity selling time period. At this time, the vending platform respectively obtains a plurality of hot sales amounts of commodities corresponding to each commodity name in unit time before the current time of the vending machine completing the transaction, for example, the hot sales time period of the commodities is 12: 00-13: 00, the selling platform calls the selling amount corresponding to each commodity unit time in the hot selling time period within one week before the current time, and the detailed data of the commodity hot selling amount of each commodity unit time with the total number of 7 is obtained. The selling platform calculates the total commodity heat sales amount corresponding to each commodity in a week before the current time according to the commodity heat sales amount in each unit time, and calculates the average commodity heat sales amount in each unit time according to the data amount of the commodity heat sales amount in each unit time and the total commodity heat sales amount. And the ticket selling platform calculates according to the calculation rule to obtain the average hot sales amount of the commodities in unit time corresponding to each commodity name, and sets the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name. The first replenishment threshold value is the minimum value of the vending machine which is provided with the commodity hot sales time period and triggers the replenishment function in the time period. For example, the first replenishment threshold is 50, and when the current number of the commodities is 40 and is smaller than the first replenishment threshold, the replenishment function is triggered. And the goods selling platform respectively judges whether the quantity of the goods of each goods is greater than the corresponding first replenishment threshold value according to the preset goods name of the goods. The goods selling platform compares the quantity of each commodity with the corresponding first replenishment threshold value respectively, and selects the commodity name corresponding to the quantity of the commodity smaller than the first replenishment threshold value as the first to-be-replenished commodity name. And then, calling a preset commodity quantity corresponding to the name of the first commodity to be replenished. The preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine. The goods selling platform calculates the difference value between the preset goods quantity and the goods quantity corresponding to the first replenishment goods name, and selects the difference value as the first replenishment goods quantity. And finally, generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity, and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information of the vending machine completing the transaction.
Further, before the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s8: acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency, wherein the first unit time selling quantities are the total selling quantities of the vending machines in a unit time period;
s9: and comparing the sales volume of each first unit time with the first threshold value respectively, and selecting a unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodities.
In this embodiment, the vending platform obtains a plurality of first unit-time vending amounts corresponding to each vending machine according to the first preset frequency. Wherein, the first unit time sales volume is the total sales volume of the vending machine in unit time. For example, the total number of vends for vending machine # 1 at 8-9 points per day; total number of vends for vending machine No. 1 at 9-10 points. The vending platform calls a first threshold value, compares each first unit time vending quantity with the first threshold value, and screens out partial first unit time vending quantities larger than the first threshold value from each first unit time vending quantity. The vending platform sets the unit time period corresponding to the part of the first unit time vending amount as the hot commodity selling time period. For example, if the first threshold is 100, the sales volume of the vending machine No. 1 at 8-9 o 'clock per unit time is 50, and the sales volume of the vending machine No. 1 at 9-10 o' clock per unit time is 120, the vending platform sets the hot sales time period of the vending machine No. 1 to be. Further, the receiving platform associates the hot selling time period of the goods with the position information of the vending machine, for example, the hot selling time period 9-10 of the goods is associated with the position information of the vending machine No. 1.
Further, after the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s10: if the commodity hot sale time period is not set, respectively calling a second replenishment threshold corresponding to each preset commodity name;
s11: and screening out second to-be-detected commodities of which the quantity of the commodities is less than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
In this embodiment, the vending platform may directly query whether a commodity hot-selling time period is associated according to the position information of the vending machine that completes the transaction, thereby directly determining whether the vending machine is provided with the commodity hot-selling time period. If the vending machine is not provided with the commodity hot-selling time period, the situation that the vending machine is not provided with the commodity hot-selling time period, the vending speed is slow, and the situation that commodities are sold out in a short time cannot occur. And the vending platform calls a second replenishment threshold corresponding to each commodity name. The second replenishment threshold value is the minimum value of replenishment of the commodity when the vending machine is not in the commodity hot selling time period or the commodity hot selling time period is not set. For example, the normal number of the article a is 30, the normal number of the article B is 20, and the vending platform sets different second replenishment thresholds according to the historical sales records of the articles. And the goods selling platform compares the quantity of each commodity with the second replenishment threshold value respectively, and selects the commodity name corresponding to the quantity of the commodity smaller than the second replenishment threshold value as the second to-be-replenished commodity name. And then calling a preset commodity quantity corresponding to the name of the second commodity to be replenished. And presetting the commodity quantity as the upper limit quantity of the commodities corresponding to the name of the second commodity to be replenished in the vending machine. And the vending platform calculates the difference value between the preset commodity quantity and the commodity quantity corresponding to the second commodity name to be replenished, and selects the difference value as the second replenishment commodity quantity. And finally, generating second replenishment information according to the name of the second goods to be replenished and the quantity of the second replenishment goods, and sending the second replenishment information to a terminal of a corresponding replenishment worker.
Further, if a plurality of second goods names to be replenished exist, the after-sale platform classifies the second goods names to be replenished and the number of second goods replenishing corresponding to the second goods names to be replenished according to the types of the goods to generate second goods replenishing information.
Further, the step of screening out the first goods to be replenished of which the quantity of the goods is smaller than the corresponding first replenishment threshold value and sending first replenishment information according to a preset rule includes:
s701: comparing each commodity quantity with a corresponding first replenishment threshold value respectively, and selecting the commodity name with the commodity quantity smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
s702: calling a preset commodity quantity corresponding to the first commodity name to be replenished, wherein the preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine;
s703: calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
s704: generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
s705: and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
In this embodiment, the vending platform compares the quantity of each commodity with the corresponding first replenishment threshold value, and selects the commodity name with the quantity of the commodity smaller than the corresponding second replenishment threshold value as the first to-be-replenished commodity name. Then, the vending platform calls a preset commodity quantity corresponding to the first commodity name to be replenished. The preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine. And the vending platform calculates the difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selects the difference value as the first replenishment commodity quantity. The goods selling platform corresponds the name of the first goods to be replenished and the quantity of the first goods to be replenished one by one, and generates first replenishment information after classifying the first goods to be replenished according to the types of the goods. For example, the number of first replenishment commodities such as fruit juice and mineral water which need replenishment and the name of a first replenishment commodity to be replenished are divided into the same group as a beverage group; the number of first replenishment commodities needing replenishment of potato chips and bread lamps and the name of the first to-be-replenished commodity are divided into the same group to serve as a food group, so that replenishment personnel can quickly find corresponding commodities according to the types of the commodities when replenishment is carried out at the later stage. After all the first replenishment information is generated, the vending platform screens the first replenishment information of the vending machines belonging to the same region according to the position information, and then sends the first replenishment information of the vending machines in the same region to the corresponding terminals of replenishment personnel, so that the replenishment personnel can conveniently replenish nearby, and the replenishment efficiency is improved.
Further, before the step of receiving a signal of completion of a transaction uploaded by each of the vending machines in real time, the method includes:
s12: updating vending information of each vending machine according to a second preset frequency, wherein the vending information comprises at least one sold commodity name, and a vending quantity and a total vending quantity which correspond to each sold commodity name respectively;
s13: respectively calculating the ratio of each selling quantity in the total selling quantity;
s14: and calculating the preset commodity quantity of the commodity corresponding to each ratio in the vending machine according to the total capacity of the vending machine and the ratio.
In this embodiment, the vending platform updates the vending information of each vending machine according to a second preset frequency, for example, the vending information of each vending machine in the week or the day is updated once a week or a day. The vending information comprises vending commodity names of a plurality of commodities sold by the vending machine, the corresponding vending quantity of each vending commodity name and the total vending quantity in the time. Taking a week as an example, the vending platform calculates the ratio of the vending quantity to the total vending quantity of the vending machine in the week, i.e. the ratio of the vending quantity to the total vending quantity. Then, the vending platform calculates to obtain the preset commodity quantity of the commodity corresponding to each occupation ratio in the vending machine, namely the total commodity quantity of the next week corresponding to the commodity name of each commodity according to the total capacity and occupation ratio of the vending machine. For example, in one week, the total sale amount is 1000, the sale amount of mineral water is 100, and the number of potato chips is 50. Correspondingly, the proportion between the potato chips and the total selling amount, namely the proportion of the potato chips to the total selling amount is 5 percent; the ratio of mineral water to the total amount of the sold goods is 10%. The total storage capacity of the vending machine is 100, the preset commodity quantity of mineral water is 10, and the preset commodity quantity of the potato chips is 5 in the next week. The vending platform updates vending information of each vending machine according to the second preset frequency, and the optimal commodity quantity of the vending machines in each area can be set.
Further, in this embodiment, the vending platform updates the number of substandard venues of the vending machine when detecting that the total vending amount of the updated vending machine is less than the vending amount reaching the scalar. If the number of substandard times of the vending machine is larger than the first preset number of times, the vending platform can output first alarm information to prompt whether a direct seller of the vending platform needs to withdraw the vending machine or not.
Further, in this embodiment, when the vending platform detects that the number of vends corresponding to the updated commodity name is less than the number of vends reserved, the sales-delayed number of the commodity name is updated. If the number of times of late selling of the commodity name is larger than the second preset number of times, the selling platform outputs second alarm information to prompt whether a direct seller of the selling platform needs to put down the commodity corresponding to the commodity name.
Further, the step of updating the vending information of each of the vending machines according to a second preset frequency includes:
s15: and comparing the selling amount of each second unit time with a second threshold value respectively, and selecting a unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as a dormant time period of the vending machine, wherein the dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state.
In this embodiment, the total sales volume corresponding to each vending machine updated by the vending platform is composed of a plurality of sales volumes for the second unit time. For example, the vending machine No. 1 sells the amount of goods at the second unit time of 8 to 9 points; the vending machine No. 1 sells the goods in the second unit time of 9-10 points. And after the vending platform updates the vending information of each vending machine according to the second preset frequency, the preset second threshold value is called, and the corresponding vending amount of each vending machine in each unit time is compared with the second threshold value one by one. And when the vending amount of the vending machine in unit time is less than the second threshold value, the personnel of the vending platform think that the unit time is the commodity sale lag period, and the transaction is less. If the sales volume of each second unit time is larger than the second threshold value, the vending platform sets the unit time period corresponding to the sales volume of the second unit time as the sleep time period of the corresponding vending machine. The dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state. For example, if the second threshold is 10, the vending machine No. 1 sells 20 at 20 to 21 o ' clock in the second unit time, and 5 at 21 to 22 o ' clock in the second unit time, the vending platform sets the sleep time period of the vending machine No. 1 to 21 to 22 o ' clock, and associates the sleep time period with the location information of the vending machine No. 1. The vending platform can monitor time in real time, and in the dormant time period of each vending machine, the dormant function of the vending machine corresponding to the dormant time period is started. For example, the display screen of the vending machine is turned off, and the lighting lamp is turned off, so that energy consumption is saved.
Further, the step of sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information includes:
s7051: screening first replenishment information of each vending machine belonging to the same area according to the position information;
s7052: and sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
In this embodiment, after obtaining the first replenishment information corresponding to each vending machine, the vending platform screens all replenishment information according to the position information of the vending machine, so as to summarize the replenishment information corresponding to each vending machine in the same area into a group. After the screening is completed, the vending platform sends the position information and the first replenishment information of each group of vending machines to a designated terminal, namely a preset terminal corresponding to the replenishment personnel in the same area. Wherein, the platform of selling goods is according to the difference in each district, divides in advance to be equipped with the terminal of the replenishment personnel that corresponds to replenishment personnel carries out replenishment to the vending machine in same region. For example, the vending machine that sets up in certain street all belongs to No. 1 region with the vending machine that sets up in certain market, and No. 1 regional correspondence is equipped with No. 1 of replenishment personnel and presets the terminal, and then the platform of selling goods all sends the replenishment information of two vending machines to No. 1 and presets the terminal to replenishment personnel accomplish commodity fast and supply.
According to the vending machine replenishment method based on the big data, the transaction state of the vending machine is monitored in real time, the replenishment quantity and the replenishment commodities corresponding to each vending machine are dynamically adjusted according to the commodity transaction big data of each vending machine, and the replenishment trend of the vending machine is intelligently predicted by the remote terminal.
Referring to fig. 2, an embodiment of the present application further provides a big data based vending machine replenishment device, including:
the receiving module 1 is used for receiving a signal of transaction completion uploaded by each vending machine;
the first acquisition module 2 is used for respectively acquiring the residual commodity information and the position information in the vending machine after the completion of each transaction;
the first judging module 3 is used for judging whether a commodity hot selling time period is set for the vending machine completing the transaction;
the second judging module 4 is used for judging whether the current time is included in the commodity hot sales time period;
a second obtaining module 5, configured to obtain a plurality of commodity heat sales amounts, corresponding to each commodity name, of the vending machine that completes the transaction before a current time;
the setting module 6 is used for calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name;
and the first sending module 7 is used for screening out the first goods to be replenished of which the number of the goods is less than the corresponding first replenishment threshold value, and sending the first replenishment information according to a preset rule.
In this embodiment, the vending platform is a direct sales service platform of the vending machine, and is used to record commodity information and location information of each vending machine and to implement automatic vending service of the vending machine. The vending platform is connected with each vending machine through wireless signals. Wherein each vending machine is divided into different zones. When the user uses the automatic vending function of the vending machine, the static code of the vending machine is scanned through the mobile terminal, then the amount of money is input, and a payment bank is selected. The payment banks comprise banks in all big countries and small and medium banks. The vending machine sends payment information to the vending platform after the user selects the payment bank. The payment information includes a payment amount, a purchase item name, and a purchase amount. After the money deduction is completed, the vending platform sends an instruction to the vending machine to allow the user to take out the corresponding commodity. Meanwhile, the vending platform updates the current commodity information corresponding to the vending machine according to the commodity name and the purchase quantity. And the vending platform receives a signal of transaction completion uploaded by each vending machine in real time or at regular time. If the transaction is completed, the vending platform respectively acquires the commodity information and the position information left in each vending machine completing the transaction. The commodity information includes commodity names of all currently remaining commodities of the vending machine and commodity numbers corresponding to the commodity names. The vending platform is provided with a commodity hot selling time period for the vending machine according to the vending quantity of each region, and the commodity hot selling time period is a preset time period when the vending quantity of the vending machine per unit time is larger than a first threshold value. The vending platform can associate the hot selling time of the commodity with the position information of the vending machine, wherein the position information of the vending machine plays a role in identification and is used for association identification between the vending platform and the vending machine. Therefore, the vending platform can directly inquire whether the commodity hot-selling time period is associated according to the position information of the vending machine completing the transaction, and therefore whether the commodity hot-selling time period is set in the vending machine is directly judged. And if the vending machine completing the transaction is provided with a commodity hot selling time period, the vending platform acquires the current time and judges whether the current time is included in the commodity hot selling time period. For example, the commodity hot-selling time period is 12: 00-13: 00, if the current time is 12:45, the vending platform judges that the current time is included in the hot commodity selling time period. At this time, the vending platform respectively obtains a plurality of hot sales amounts of commodities corresponding to each commodity name in unit time before the current time of the vending machine completing the transaction, for example, the hot sales time period of the commodities is 12: 00-13: 00, the selling platform calls the selling amount corresponding to each commodity unit time in the hot selling time period within one week before the current time, and the detailed data of the commodity hot selling amount of each commodity unit time with the total number of 7 is obtained. The selling platform calculates the total commodity heat sales amount corresponding to each commodity in a week before the current time according to the commodity heat sales amount in each unit time, and calculates the average commodity heat sales amount in each unit time according to the data amount of the commodity heat sales amount in each unit time and the total commodity heat sales amount. And the ticket selling platform calculates according to the calculation rule to obtain the average hot sales amount of the commodities in unit time corresponding to each commodity name, and sets the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name. The first replenishment threshold value is the minimum value of the vending machine which is provided with the commodity hot sales time period and triggers the replenishment function in the time period. For example, the first replenishment threshold is 50, and when the current number of the commodities is 40 and is smaller than the first replenishment threshold, the replenishment function is triggered. And the goods selling platform respectively judges whether the quantity of the goods of each goods is greater than the corresponding first replenishment threshold value according to the preset goods name of the goods. The goods selling platform compares the quantity of each commodity with the corresponding first replenishment threshold value respectively, and selects the commodity name corresponding to the quantity of the commodity smaller than the first replenishment threshold value as the first to-be-replenished commodity name. And then, calling a preset commodity quantity corresponding to the name of the first commodity to be replenished. The preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine. The goods selling platform calculates the difference value between the preset goods quantity and the goods quantity corresponding to the first replenishment goods name, and selects the difference value as the first replenishment goods quantity. And finally, generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity, and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information of the vending machine completing the transaction.
Further, the replenishment device further comprises:
a third obtaining module 8, configured to obtain, according to a first preset frequency, a plurality of first unit-time sales volumes of the vending machines;
and a first selecting module 9, configured to compare each of the first unit time sales volumes with the first threshold, and select a unit time period corresponding to the first unit time sales volume greater than the first threshold as the commodity hot sales time period.
In this embodiment, the vending platform obtains a plurality of first unit-time vending amounts corresponding to each vending machine according to the first preset frequency. Wherein, the first unit time sales volume is the total sales volume of the vending machine in unit time. For example, the total number of vends for vending machine # 1 at 8-9 points per day; total number of vends for vending machine No. 1 at 9-10 points. The vending platform calls a first threshold value, compares each first unit time vending quantity with the first threshold value, and screens out partial first unit time vending quantities larger than the first threshold value from each first unit time vending quantity. The vending platform sets the unit time period corresponding to the part of the first unit time vending amount as the hot commodity selling time period. For example, if the first threshold is 100, the sales volume of the vending machine No. 1 at 8-9 o 'clock per unit time is 50, and the sales volume of the vending machine No. 1 at 9-10 o' clock per unit time is 120, the vending platform sets the hot sales time period of the vending machine No. 1 to be. Further, the receiving platform associates the hot selling time period of the goods with the position information of the vending machine, for example, the hot selling time period 9-10 of the goods is associated with the position information of the vending machine No. 1.
Further, the replenishment device further comprises:
a second retrieving module 10, configured to retrieve a second replenishment threshold corresponding to each of the product names, respectively;
and the second sending module 11 is configured to screen out second goods to be replenished of which the number of goods is smaller than the corresponding second replenishment threshold value, and send second replenishment information according to the preset rule.
In this embodiment, the vending platform may directly query whether a commodity hot-selling time period is associated according to the position information of the vending machine that completes the transaction, thereby directly determining whether the vending machine is provided with the commodity hot-selling time period. If the vending machine is not provided with the commodity hot-selling time period, the situation that the vending machine is not provided with the commodity hot-selling time period, the vending speed is slow, and the situation that commodities are sold out in a short time cannot occur. And the vending platform calls a second replenishment threshold corresponding to each commodity name. The second replenishment threshold value is the minimum value of replenishment of the commodity when the vending machine is not in the commodity hot selling time period or the commodity hot selling time period is not set. For example, the normal number of the article a is 30, the normal number of the article B is 20, and the vending platform sets different second replenishment thresholds according to the historical sales records of the articles. And the goods selling platform compares the quantity of each commodity with the second replenishment threshold value respectively, and selects the commodity name corresponding to the quantity of the commodity smaller than the second replenishment threshold value as the second to-be-replenished commodity name. And then calling a preset commodity quantity corresponding to the name of the second commodity to be replenished. And presetting the commodity quantity as the upper limit quantity of the commodities corresponding to the name of the second commodity to be replenished in the vending machine. And the vending platform calculates the difference value between the preset commodity quantity and the commodity quantity corresponding to the second commodity name to be replenished, and selects the difference value as the second replenishment commodity quantity. And finally, generating second replenishment information according to the name of the second goods to be replenished and the quantity of the second replenishment goods, and sending the second replenishment information to a terminal of a corresponding replenishment worker.
Further, if a plurality of second goods names to be replenished exist, the after-sale platform classifies the second goods names to be replenished and the number of second goods replenishing corresponding to the second goods names to be replenished according to the types of the goods to generate second goods replenishing information.
Further, the first sending module 7 includes:
the selecting unit is used for respectively comparing each commodity quantity with the corresponding first replenishment threshold value and selecting the commodity name of which the commodity quantity is smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
the calling unit is used for calling the preset commodity quantity corresponding to the first commodity name to be replenished;
the calculation unit is used for calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
the generating unit is used for generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
and the sending unit is used for sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
In this embodiment, the vending platform compares the quantity of each commodity with the corresponding first replenishment threshold value, and selects the commodity name with the quantity of the commodity smaller than the corresponding second replenishment threshold value as the first to-be-replenished commodity name. Then, the vending platform calls a preset commodity quantity corresponding to the first commodity name to be replenished. The preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine. And the vending platform calculates the difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selects the difference value as the first replenishment commodity quantity. The goods selling platform corresponds the name of the first goods to be replenished and the quantity of the first goods to be replenished one by one, and generates first replenishment information after classifying the first goods to be replenished according to the types of the goods. For example, the number of first replenishment commodities such as fruit juice and mineral water which need replenishment and the name of a first replenishment commodity to be replenished are divided into the same group as a beverage group; the number of first replenishment commodities needing replenishment of potato chips and bread lamps and the name of the first to-be-replenished commodity are divided into the same group to serve as a food group, so that replenishment personnel can quickly find corresponding commodities according to the types of the commodities when replenishment is carried out at the later stage. After all the first replenishment information is generated, the vending platform screens the first replenishment information of the vending machines belonging to the same region according to the position information, and then sends the first replenishment information of the vending machines in the same region to the corresponding terminals of replenishment personnel, so that the replenishment personnel can conveniently replenish nearby, and the replenishment efficiency is improved.
Further, the replenishment device further comprises:
the updating module 12 is configured to update the vending information of each vending machine according to a second preset frequency;
a first calculating module 13, configured to calculate a ratio of each selling quantity to the total selling quantity;
and a second calculating module 14, configured to calculate, according to the total capacity of the vending machine and the percentage, the preset number of the commodities in the vending machine corresponding to each percentage.
In this embodiment, the vending platform updates the vending information of each vending machine according to a second preset frequency, for example, the vending information of each vending machine in the week or the day is updated once a week or a day. The vending information comprises vending commodity names of a plurality of commodities sold by the vending machine, the corresponding vending quantity of each vending commodity name and the total vending quantity in the time. Taking a week as an example, the vending platform calculates the ratio of the vending quantity to the total vending quantity of the vending machine in the week, i.e. the ratio of the vending quantity to the total vending quantity. Then, the vending platform calculates to obtain the preset commodity quantity of the commodity corresponding to each occupation ratio in the vending machine, namely the total commodity quantity of the next week corresponding to the commodity name of each commodity according to the total capacity and occupation ratio of the vending machine. For example, in one week, the total sale amount is 1000, the sale amount of mineral water is 100, and the number of potato chips is 50. Correspondingly, the proportion between the potato chips and the total selling amount, namely the proportion of the potato chips to the total selling amount is 5 percent; the ratio of mineral water to the total amount of the sold goods is 10%. The total storage capacity of the vending machine is 100, the preset commodity quantity of mineral water is 10, and the preset commodity quantity of the potato chips is 5 in the next week. The vending platform updates vending information of each vending machine according to the second preset frequency, and the optimal commodity quantity of the vending machines in each area can be set.
Further, in this embodiment, the vending platform updates the number of substandard venues of the vending machine when detecting that the total vending amount of the updated vending machine is less than the vending amount reaching the scalar. If the number of substandard times of the vending machine is larger than the first preset number of times, the vending platform can output first alarm information to prompt whether a direct seller of the vending platform needs to withdraw the vending machine or not.
Further, in this embodiment, when the vending platform detects that the number of vends corresponding to the updated commodity name is less than the number of vends reserved, the sales-delayed number of the commodity name is updated. If the number of times of late selling of the commodity name is larger than the second preset number of times, the selling platform outputs second alarm information to prompt whether a direct seller of the selling platform needs to put down the commodity corresponding to the commodity name.
Further, the replenishment device further comprises:
and a second selecting module 15, configured to compare the second unit time sales volume with a second threshold value, and select a unit time period corresponding to the second unit time sales volume smaller than the second threshold value as a sleep time period of the vending machine.
In this embodiment, the total sales volume corresponding to each vending machine updated by the vending platform is composed of a plurality of sales volumes for the second unit time. For example, the vending machine No. 1 sells the amount of goods at the second unit time of 8 to 9 points; the vending machine No. 1 sells the goods in the second unit time of 9-10 points. And after the vending platform updates the vending information of each vending machine according to the second preset frequency, the preset second threshold value is called, and the corresponding vending amount of each vending machine in each unit time is compared with the second threshold value one by one. And when the vending amount of the vending machine in unit time is less than the second threshold value, the personnel of the vending platform think that the unit time is the commodity sale lag period, and the transaction is less. If the sales volume of each second unit time is larger than the second threshold value, the vending platform sets the unit time period corresponding to the sales volume of the second unit time as the sleep time period of the corresponding vending machine. The dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state. For example, if the second threshold is 10, the vending machine No. 1 sells 20 at 20 to 21 o ' clock in the second unit time, and 5 at 21 to 22 o ' clock in the second unit time, the vending platform sets the sleep time period of the vending machine No. 1 to 21 to 22 o ' clock, and associates the sleep time period with the location information of the vending machine No. 1. The vending platform can monitor time in real time, and in the dormant time period of each vending machine, the dormant function of the vending machine corresponding to the dormant time period is started. For example, the display screen of the vending machine is turned off, and the lighting lamp is turned off, so that energy consumption is saved.
Further, the sending unit includes:
the screening subunit is used for screening first replenishment information of each vending machine belonging to the same area according to the position information;
and the sending subunit is used for sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
In this embodiment, after obtaining the first replenishment information corresponding to each vending machine, the vending platform screens all replenishment information according to the position information of the vending machine, so as to summarize the replenishment information corresponding to each vending machine in the same area into a group. After the screening is completed, the vending platform sends the position information and the first replenishment information of each group of vending machines to a designated terminal, namely a preset terminal corresponding to the replenishment personnel in the same area. Wherein, the platform of selling goods is according to the difference in each district, divides in advance to be equipped with the terminal of the replenishment personnel that corresponds to replenishment personnel carries out replenishment to the vending machine in same region. For example, the vending machine that sets up in certain street all belongs to No. 1 region with the vending machine that sets up in certain market, and No. 1 regional correspondence is equipped with No. 1 of replenishment personnel and presets the terminal, and then the platform of selling goods all sends the replenishment information of two vending machines to No. 1 and presets the terminal to replenishment personnel accomplish commodity fast and supply.
The vending machine replenishment device based on big data that this embodiment provided through the transaction state of real-time supervision vending machine to according to the big data of the commodity transaction of each vending machine, the replenishment time, the replenishment quantity and the replenishment commodity that each vending machine corresponds are adjusted to the developments, realize the replenishment trend of remote terminal intelligence prediction vending machine.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as preset time periods and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a big data based vending machine replenishment method.
The processor executes the step of the vending machine replenishment based on the big data:
s1: receiving a signal of transaction completion uploaded by each vending machine;
s2: respectively acquiring the residual commodity information and the position information in each vending machine, wherein the commodity information comprises a plurality of commodity names and commodity quantity corresponding to each commodity name;
s3: judging whether a commodity hot selling time period is set for the vending machine completing the transaction, wherein the commodity hot selling time period is a preset time period when the unit time selling quantity of the vending machine is larger than a first threshold value;
s4: if the commodity hot selling time period is set, judging whether the current time is included in the commodity hot selling time period;
s5: if the commodity hot selling time period is included, acquiring a plurality of unit time commodity hot selling quantities corresponding to the commodity names before the current time of the vending machine completing the transaction, wherein the unit time commodity hot selling quantities are unit time selling quantities of commodities of the vending machine in the commodity hot selling time period;
s6: calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
s7: screening out the first goods to be restocked that goods quantity is less than the first goods threshold value that corresponds to send first goods information of restocking according to predetermineeing the rule, first goods information of restocking is used for the suggestion right the goods to be restocked carry out the restocking, first goods information of restocking includes the identification information of goods to be restocked, the position information of the vending machine that goods to be restocked correspond with the goods quantity of goods to be restocked.
Further, before the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s8: acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency, wherein the first unit time selling quantities are the total selling quantities of the vending machines in a unit time period;
s9: and comparing the sales volume of each first unit time with the first threshold value respectively, and selecting a unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodities.
Further, after the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s10: if the commodity hot sale time period is not set, respectively calling a second replenishment threshold corresponding to each preset commodity name;
s11: and screening out second to-be-detected commodities of which the quantity of the commodities is less than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
Further, the step of screening out the first goods to be replenished of which the quantity of the goods is smaller than the corresponding first replenishment threshold value and sending first replenishment information according to a preset rule includes:
s701: comparing each commodity quantity with a corresponding first replenishment threshold value respectively, and selecting the commodity name with the commodity quantity smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
s702: calling a preset commodity quantity corresponding to the first commodity name to be replenished, wherein the preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine;
s703: calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
s704: generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
s705: and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
Further, before the step of receiving a signal of completion of a transaction uploaded by each of the vending machines in real time, the method includes:
s12: updating vending information of each vending machine according to a second preset frequency, wherein the vending information comprises at least one sold commodity name, and a vending quantity and a total vending quantity which correspond to each sold commodity name respectively;
s13: respectively calculating the ratio of each selling quantity in the total selling quantity;
s14: and calculating the preset commodity quantity of the commodity corresponding to each ratio in the vending machine according to the total capacity of the vending machine and the ratio.
Further, the step of updating the vending information of each of the vending machines according to a second preset frequency includes:
s15: and comparing the selling amount of each second unit time with a second threshold value respectively, and selecting a unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as a dormant time period of the vending machine, wherein the dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state.
Further, the step of sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information includes:
s7051: screening first replenishment information of each vending machine belonging to the same area according to the position information;
s7052: and sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is only a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects may be applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a vending machine replenishment method based on big data, and specifically includes:
s1: receiving a signal of transaction completion uploaded by each vending machine;
s2: respectively acquiring the residual commodity information and the position information in each vending machine, wherein the commodity information comprises a plurality of commodity names and commodity quantity corresponding to each commodity name;
s3: judging whether a commodity hot selling time period is set for the vending machine completing the transaction, wherein the commodity hot selling time period is a preset time period when the unit time selling quantity of the vending machine is larger than a first threshold value;
s4: if the commodity hot selling time period is set, judging whether the current time is included in the commodity hot selling time period;
s5: if the commodity hot selling time period is included, acquiring a plurality of unit time commodity hot selling quantities corresponding to the commodity names before the current time of the vending machine completing the transaction, wherein the unit time commodity hot selling quantities are unit time selling quantities of commodities of the vending machine in the commodity hot selling time period;
s6: calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
s7: screening out the first goods to be restocked that goods quantity is less than the first goods threshold value that corresponds to send first goods information of restocking according to predetermineeing the rule, first goods information of restocking is used for the suggestion right the goods to be restocked carry out the restocking, first goods information of restocking includes the identification information of goods to be restocked, the position information of the vending machine that goods to be restocked correspond with the goods quantity of goods to be restocked.
Further, before the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s8: acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency, wherein the first unit time selling quantities are the total selling quantities of the vending machines in a unit time period;
s9: and comparing the sales volume of each first unit time with the first threshold value respectively, and selecting a unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodities.
Further, after the step of determining whether to set a commodity hot-selling time period for the vending machine completing the transaction, the method includes:
s10: if the commodity hot sale time period is not set, respectively calling a second replenishment threshold corresponding to each preset commodity name;
s11: and screening out second to-be-detected commodities of which the quantity of the commodities is less than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
Further, the step of screening out the first goods to be replenished of which the quantity of the goods is smaller than the corresponding first replenishment threshold value and sending first replenishment information according to a preset rule includes:
s701: comparing each commodity quantity with a corresponding first replenishment threshold value respectively, and selecting the commodity name with the commodity quantity smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
s702: calling a preset commodity quantity corresponding to the first commodity name to be replenished, wherein the preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine;
s703: calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
s704: generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
s705: and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
Further, before the step of receiving a signal of completion of a transaction uploaded by each of the vending machines in real time, the method includes:
s12: updating vending information of each vending machine according to a second preset frequency, wherein the vending information comprises at least one sold commodity name, and a vending quantity and a total vending quantity which correspond to each sold commodity name respectively;
s13: respectively calculating the ratio of each selling quantity in the total selling quantity;
s14: and calculating the preset commodity quantity of the commodity corresponding to each ratio in the vending machine according to the total capacity of the vending machine and the ratio.
Further, the step of updating the vending information of each of the vending machines according to a second preset frequency includes:
s15: and comparing the selling amount of each second unit time with a second threshold value respectively, and selecting a unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as a dormant time period of the vending machine, wherein the dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state.
Further, the step of sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information includes:
s7051: screening first replenishment information of each vending machine belonging to the same area according to the position information;
s7052: and sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. The utility model provides a vending machine replenishment method based on big data which characterized in that, is applied to the platform of selling goods, the platform of selling goods passes through wireless signal connection with a plurality of vending machines, each vending machine sets up respectively in different regions, the platform of selling goods record each the vending machine respectively corresponding positional information, include:
receiving a signal of transaction completion uploaded by each vending machine;
respectively acquiring the residual commodity information and the position information in each vending machine which completes the transaction, wherein the commodity information comprises a plurality of commodity names and commodity quantity corresponding to each commodity name;
judging whether a commodity hot selling time period is set for the vending machine completing the transaction, wherein the commodity hot selling time period is a preset time period when the unit time selling quantity of the vending machine is larger than a first threshold value;
if a commodity hot selling time period is set for the vending machine completing the transaction, judging whether the current time is included in the commodity hot selling time period;
if the commodity hot selling time period is included, acquiring a plurality of unit time commodity hot selling quantities corresponding to the commodity names before the current time of the vending machine completing the transaction, wherein the unit time commodity hot selling quantities are unit time selling quantities of commodities of the vending machine in the commodity hot selling time period;
calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
screening out the first goods to be restocked that goods quantity is less than the first goods threshold value that corresponds to send first goods information of restocking according to predetermineeing the rule, first goods information of restocking is used for the suggestion right the goods to be restocked carry out the restocking, first goods information of restocking includes the identification information of goods to be restocked, the position information of the vending machine that goods to be restocked correspond with the goods quantity of goods to be restocked.
2. The big data based vending machine replenishment method according to claim 1, wherein the step of determining whether or not a commodity hot-sell time period is set for the vending machine completing the transaction is preceded by:
acquiring a plurality of first unit time selling quantities of each vending machine according to a first preset frequency, wherein the first unit time selling quantities are the total selling quantities of the vending machines in a unit time period;
and comparing the sales volume of each first unit time with the first threshold value respectively, and selecting a unit time period corresponding to the sales volume of the first unit time larger than the first threshold value as the hot sales time period of the commodities.
3. The big data based vending machine replenishment method according to claim 1, wherein the step of determining whether a commodity hot-selling time period is set for the vending machine completing the transaction is followed by:
if no commodity hot selling time period is set for the vending machine completing the transaction, respectively calling a second replenishment threshold corresponding to each commodity name;
and screening out second goods to be replenished with the goods quantity smaller than the corresponding second replenishment threshold value, and sending second replenishment information according to the preset rule.
4. The big data-based vending machine replenishment method according to claim 1, wherein the step of screening out the first to-be-replenished commodities with the commodity quantity smaller than the corresponding first replenishment threshold value and sending the first replenishment information according to a preset rule comprises:
comparing each commodity quantity with a corresponding first replenishment threshold value respectively, and selecting the commodity name with the commodity quantity smaller than the corresponding first replenishment threshold value as a first to-be-replenished commodity name;
calling a preset commodity quantity corresponding to the first commodity name to be replenished, wherein the preset commodity quantity is the upper limit quantity of commodities corresponding to the first commodity name to be replenished in the vending machine;
calculating a difference value between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference value as the first commodity quantity to be replenished;
generating the first replenishment information according to the name of the first to-be-replenished commodity and the quantity of the first replenishment commodity;
and sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information.
5. The big data based vending machine replenishment method according to claim 4, wherein the step of receiving a signal that a transaction uploaded by each of the vending machines is complete is preceded by:
updating vending information of each vending machine according to a second preset frequency, wherein the vending information comprises at least one sold commodity name, and a vending quantity and a total vending quantity which correspond to each sold commodity name respectively;
respectively calculating the ratio of each selling quantity in the total selling quantity;
and calculating the preset commodity quantity of the commodity corresponding to each ratio in the vending machine according to the total capacity of the vending machine and the ratio.
6. The big data based vending machine replenishment method according to claim 5, wherein the total sales volume is composed of a plurality of sales volumes per unit time, and the step of updating the vending information of each vending machine according to a second preset frequency is followed by the steps of:
and comparing the selling amount of each second unit time with a second threshold value respectively, and selecting a unit time period corresponding to the selling amount of the second unit time smaller than the second threshold value as a dormant time period of the vending machine, wherein the dormant time period is correspondingly associated with the position information of the vending machine, and the dormant time period is a time period when the vending machine enters a dormant state.
7. The big data based vending machine replenishment method according to claim 4, wherein the step of sending the first replenishment information to a terminal of a replenishment worker corresponding to the position information comprises:
screening first replenishment information of each vending machine belonging to the same area according to the position information;
and sending the first replenishment information of each vending machine in the same area to the corresponding replenishment worker terminal.
8. A vending machine replenishment device based on big data, characterized by comprising:
the receiving module is used for receiving a signal of transaction completion uploaded by each vending machine;
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for respectively acquiring the residual commodity information and the position information in each vending machine which completes the transaction, and the commodity information comprises a plurality of commodity names and the commodity quantity corresponding to each commodity name;
the first judgment module is used for judging whether a commodity hot selling time period is set for the vending machine which completes the transaction, and the commodity hot selling time period is a preset time period when the unit time selling amount of the vending machine is larger than a first threshold value;
the second judgment module is used for judging whether the current moment is included in the commodity hot sales time period;
a second obtaining module, configured to obtain a plurality of unit-time commodity heat sales amounts corresponding to the commodity names of the vending machine completing the transaction before a current time, where the unit-time commodity heat sales amount is a unit-time sales amount of a commodity of the vending machine in a commodity heat sales time period;
the setting module is used for calculating the average hot sales amount of the commodities in unit time according to the hot sales amount of the commodities in unit time, and setting the average hot sales amount of the commodities in unit time as a first replenishment threshold corresponding to each commodity name, wherein the first replenishment threshold is the minimum value of the commodities in the vending machine which need replenishment within the hot sales time period of the commodities;
the first sending module is used for screening out first goods to be replenished of which the quantity of the goods is smaller than a corresponding first replenishment threshold value, and sending first replenishment information according to a preset rule, wherein the first replenishment information is used for prompting that the goods to be replenished are replenished, and the first replenishment information comprises identification information of the goods to be replenished, position information of a vending machine corresponding to the goods to be replenished and the quantity of the goods to be replenished.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910267764.XA 2019-04-03 2019-04-03 Vending machine replenishment method and device based on big data and computer equipment Active CN110335410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910267764.XA CN110335410B (en) 2019-04-03 2019-04-03 Vending machine replenishment method and device based on big data and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910267764.XA CN110335410B (en) 2019-04-03 2019-04-03 Vending machine replenishment method and device based on big data and computer equipment

Publications (2)

Publication Number Publication Date
CN110335410A CN110335410A (en) 2019-10-15
CN110335410B true CN110335410B (en) 2022-03-29

Family

ID=68139206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910267764.XA Active CN110335410B (en) 2019-04-03 2019-04-03 Vending machine replenishment method and device based on big data and computer equipment

Country Status (1)

Country Link
CN (1) CN110335410B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126893B (en) * 2019-11-05 2024-03-08 深圳友宝科斯科技有限公司 Vending machine stock management method, equipment and computer readable storage medium
CN111080206A (en) * 2019-12-26 2020-04-28 北京每日优鲜电子商务有限公司 Method, device and equipment for generating replenishment list and storage medium
CN113220765B (en) * 2021-05-13 2022-02-08 广东便捷神科技股份有限公司 Data organization method for retail terminal cost control data warehouse
CN113989980A (en) * 2021-10-29 2022-01-28 海南睿德感知物联科技有限公司 Intelligent vending machine based on television on-demand
CN114077696B (en) * 2021-11-24 2022-06-28 南京理工大学 Information cascade control method and system based on space-time data
CN113935697B (en) * 2021-12-15 2022-04-08 畅捷通信息技术股份有限公司 Stock method and device for vending machine and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596493A (en) * 1991-04-19 1997-01-21 Meiji Milk Products Co., Ltd. Method for classifying sale amount characteristics, method for predicting sale volume, method for ordering for restocking, system for classifying sale amount characteristics and system for ordering for restocking
CN106600341A (en) * 2016-12-29 2017-04-26 江西博瑞彤芸科技有限公司 Commodity sales volume statistical method
CN108171531A (en) * 2017-12-08 2018-06-15 广州云印信息科技有限公司 A kind of vending machine intelligent management system and method based on data mining
CN108629894A (en) * 2018-04-17 2018-10-09 合肥美的智能科技有限公司 Automatic replenishment method, system, sales counter and computer equipment
CN108711021A (en) * 2018-04-25 2018-10-26 广州葵翼信息科技有限公司 A kind of merchandise control method of automatic selling counter
CN108710921A (en) * 2018-03-27 2018-10-26 佛山市欢腾电子有限公司 A kind of long-range control method of unmanned supermarket, system
CN108765702A (en) * 2018-05-23 2018-11-06 济南每日优鲜便利购网络科技有限公司 Automatic vending machine
CN109523690A (en) * 2018-09-26 2019-03-26 北京缤歌网络科技有限公司 It is a kind of to want pallet piling up method automatically
CN109544057A (en) * 2018-10-12 2019-03-29 广州快批信息科技有限公司 A kind of automatic replenishing method, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596493A (en) * 1991-04-19 1997-01-21 Meiji Milk Products Co., Ltd. Method for classifying sale amount characteristics, method for predicting sale volume, method for ordering for restocking, system for classifying sale amount characteristics and system for ordering for restocking
CN106600341A (en) * 2016-12-29 2017-04-26 江西博瑞彤芸科技有限公司 Commodity sales volume statistical method
CN108171531A (en) * 2017-12-08 2018-06-15 广州云印信息科技有限公司 A kind of vending machine intelligent management system and method based on data mining
CN108710921A (en) * 2018-03-27 2018-10-26 佛山市欢腾电子有限公司 A kind of long-range control method of unmanned supermarket, system
CN108629894A (en) * 2018-04-17 2018-10-09 合肥美的智能科技有限公司 Automatic replenishment method, system, sales counter and computer equipment
CN108711021A (en) * 2018-04-25 2018-10-26 广州葵翼信息科技有限公司 A kind of merchandise control method of automatic selling counter
CN108765702A (en) * 2018-05-23 2018-11-06 济南每日优鲜便利购网络科技有限公司 Automatic vending machine
CN109523690A (en) * 2018-09-26 2019-03-26 北京缤歌网络科技有限公司 It is a kind of to want pallet piling up method automatically
CN109544057A (en) * 2018-10-12 2019-03-29 广州快批信息科技有限公司 A kind of automatic replenishing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110335410A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN110335410B (en) Vending machine replenishment method and device based on big data and computer equipment
EP0757826B1 (en) Methods for monitoring a plurality of remote local units connected in a network and generating messages therefrom, and a device employed in said local units
US20140316875A1 (en) Method for dynamically adjusting a price of a vended product
US8484068B2 (en) Method and system for evaluating consumer demand for multiple products and services at remotely located equipment
US7218228B2 (en) Article management apparatus and information processing methods
CN107016810B (en) Self-service decrement weighing charging system and self-service decrement weighing charging method
CN110570273A (en) Quick delivery method of automatic vending equipment
KR101087709B1 (en) Remote managing system for vending machine and method of the same
CN107169711A (en) The intelligent monitoring system and application method of a kind of agricultural product Cold Chain Logistics
JP2001520419A (en) Method and apparatus for controlling a vending machine
JPH10316210A (en) Storage warehouse
US20150262086A1 (en) Managing patron servicing resources within a venue
CN112581182B (en) Sales management method and system for automatic vending equipment
CN110619961A (en) Drug management method, drug management system, and storage medium
US20150262085A1 (en) Integrated use of information generated in association with servicing patrons within a venue
CN109741142A (en) Order allocation method, Order splitting device, readable storage medium storing program for executing and electronic equipment
CN110599086A (en) Intelligent medicine box based medicine management method, intelligent medicine box and storage medium
CN110415427A (en) A kind of auto inventory method, apparatus, equipment and the medium of self-service device
US11922388B2 (en) Energy-efficient systems and methods for producing and vending ice
US20070203809A1 (en) Method and apparatus for regulating store inventory
CN114821894B (en) Intelligent beverage vending machine based on Internet of things and control method thereof
JP2001266252A (en) Electronic shelf tag system
CN110348653B (en) Service data processing method and device and electronic equipment
CN110969763A (en) Horizontal refrigeration equipment and purchase, sales and storage management and use method thereof
CN109064154B (en) Information transmission method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant