CN110335410A - Vending machine replenishment method, device and computer equipment based on big data - Google Patents
Vending machine replenishment method, device and computer equipment based on big data Download PDFInfo
- Publication number
- CN110335410A CN110335410A CN201910267764.XA CN201910267764A CN110335410A CN 110335410 A CN110335410 A CN 110335410A CN 201910267764 A CN201910267764 A CN 201910267764A CN 110335410 A CN110335410 A CN 110335410A
- Authority
- CN
- China
- Prior art keywords
- commodity
- replenishment
- vending machine
- sales
- time period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000004622 sleep time Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 16
- 238000012216 screening Methods 0.000 claims description 12
- 230000007958 sleep Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 229910052500 inorganic mineral Inorganic materials 0.000 description 8
- 239000011707 mineral Substances 0.000 description 8
- 235000013606 potato chips Nutrition 0.000 description 8
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 8
- 230000005059 dormancy Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 3
- 235000013361 beverage Nutrition 0.000 description 2
- 235000008429 bread Nutrition 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 235000013305 food Nutrition 0.000 description 2
- 235000015203 fruit juice Nutrition 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000009469 supplementation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F9/00—Details other than those peculiar to special kinds or types of apparatus
- G07F9/02—Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
- G07F9/026—Devices 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
本申请提供了一种基于大数据的售货机补货方法、装置、计算机设备和可读存储介质,涉及数据分析技术领域,包括:监测各售货机的交易状态,并根据交易状态判断售货机当前是否完成交易;若完成交易,则分别获取当前商品信息和位置信息;判断是否设置预设时间段;若设置预设时间段,则判断当前时刻是否包含于预设时间段内;若包含于预设时间段内,则分别调取各预设商品名称对应的热销商品数量;分别判断各当前商品数量是否均大于对应的热销商品数量;若不是,则按照预设规则制定第一补货信息。本申请通过实时监测售货机的交易状态,并根据各台售货机的商品交易的大数据,动态调整各售货机对应的补货信息,实现远程终端智能预测售货机的补货趋势。
This application provides a vending machine replenishment method, device, computer equipment and readable storage medium based on big data. Whether to complete the transaction; if the transaction is completed, obtain the current product information and location information respectively; judge whether to set the preset time period; if the preset time period is set, then judge whether the current moment is included in the preset time period; Within the set time period, the number of hot-selling products corresponding to each preset product name is respectively retrieved; respectively, whether the current number of products is greater than the corresponding number of hot-selling products is judged; if not, the first replenishment is formulated according to the preset rules information. This application monitors the transaction status of vending machines in real time, and dynamically adjusts the replenishment information corresponding to each vending machine according to the big data of commodity transactions of each vending machine, so as to realize the intelligent prediction of the replenishment trend of vending machines by remote terminals.
Description
技术领域technical field
本申请涉及数据分析技术领域,特别涉及一种基于大数据的售货机补货方法、装置和计算机设备。The present application relates to the technical field of data analysis, in particular to a method, device and computer equipment for vending machine replenishment based on big data.
背景技术Background technique
自动售货机越来越多地走入了人们的生活,对于自动售货机的商品配送管理显得日益重要。商品的供货商家需要对自动售货装置中的商品进行补充,目前通常采用的补货方式是,由供货商家安排的专门的补货人员定期的对自动售货装置进行检查,发现有需要补充商品的地方,就携带对应的商品进行补充。这种补货的方式,过于麻烦,而且效率不高。因此,如何实现在远程终端根据自动售货机的售货趋势生成对应的补货信息是现阶段需要解决的技术问题。More and more vending machines have entered people's lives, and it is becoming more and more important for the commodity distribution management of vending machines. The supplier of the goods needs to replenish the goods in the automatic vending device. At present, the replenishment method usually adopted is that the special replenishment personnel arranged by the supplier regularly check the automatic vending device and find that there is a need Where the goods are replenished, carry the corresponding goods for supplementation. This replenishment method is too troublesome and not efficient. Therefore, how to generate corresponding replenishment information at the remote terminal according to the sales trend of the automatic vending machine is a technical problem that needs to be solved at this stage.
发明内容Contents of the invention
本申请的主要目的为提供一种基于大数据的售货机补货方法、装置和计算机设备,旨在解决现有自动售货机无法实现在远程终端根据自动售货机的售货趋势生成对应的补货信息的弊端。The main purpose of this application is to provide a vending machine replenishment method, device and computer equipment based on big data, aiming to solve the problem that existing vending machines cannot generate corresponding replenishment at the remote terminal according to the sales trend of the vending machine The evils of information.
为实现上述目的,本申请提供了一种基于大数据的售货机补货方法,应用于售货平台,所述售货平台与多个售货机通过无线信号连接,各所述售货机分别设置在不同区域,所述售货平台记录有各所述售货机分别对应的位置信息,包括:In order to achieve the above purpose, the present application provides a method for replenishing vending machines based on big data, which is applied to a vending platform, and the vending platform is connected to a plurality of vending machines through wireless signals, and each of the vending machines is respectively set in In different regions, the sales platform records the location information corresponding to each of the vending machines, including:
接收各所述售货机上传的交易完成的信号;receiving a transaction completion signal uploaded by each of the vending machines;
分别获取各交易完成的售货机中剩余的商品信息和位置信息,所述商品信息包括多个商品名称、以及与各所述商品名称对应的商品数量;Respectively acquire the remaining commodity information and location information in the vending machines where each transaction is completed, the commodity information includes multiple commodity names and the quantity of commodities corresponding to each of the commodity names;
判断是否针对所述完成交易的售货机设置商品热销时间段,所述商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段;Judging whether to set a hot-selling time period for the vending machine that completed the transaction, the hot-selling time period is a preset time period when the unit time sales volume of the vending machine is greater than the first threshold;
若设置有商品热销时间段,则判断当前时刻是否包含于所述商品热销时间段内;If there is a hot sale time period of the commodity, it is judged whether the current moment is included in the hot sale time period of the commodity;
若包含于所述商品热销时间段内,则获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量,其中,所述单位时间商品热销量为售货机的商品在商品热销时间段内的单位时间销售量;If it is included in the hot sale time period of the commodity, obtain a plurality of hot sales volumes of the commodity per unit time corresponding to each commodity name of the vending machine that completed the transaction before the current time, wherein the commodity per unit time Hot sales volume refers to the sales volume per unit time of the commodity in the vending machine during the hot-selling period of the commodity;
根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值,所述第一补货阈值为售货机中的商品在商品热销时间段内,需要进行补货的最小值;According to the hot sales volume of each commodity per unit time, the average commodity hot sales per unit time is calculated, and the average commodity best sales per unit time is set as the first replenishment threshold corresponding to each commodity name, and the first The replenishment threshold is the minimum value that needs to be replenished during the hot sale period of the commodities in the vending machine;
筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息,所述第一补货信息用于提示对所述待补货商品进行补货,所述第一补货信息包括所述待补货商品的标识信息、所述待补货商品对应的售货机的位置信息和所述待补货商品的商品数量。Screen out the first replenishment commodity whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to the preset rules, and the first replenishment information is used to prompt the replenishment of the commodity to be replenished For replenishment, the first replenishment information includes the identification information of the commodity to be replenished, the location information of the vending machine corresponding to the commodity to be replenished, and the quantity of the commodity to be replenished.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之前,包括:Further, before the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
根据第一预设频率获取各所述售货机的多个第一单位时间售货量,所述第一单位时间售货量为售货机在单位时间段内的总售货量;Acquiring a plurality of first sales volumes per unit time of each of the vending machines according to a first preset frequency, the first sales volume per unit time being the total sales volume of the vending machines within a unit time period;
分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。Comparing each of the first sales volumes per unit time with the first threshold, and selecting the unit time period corresponding to the first sales volume per unit time greater than the first threshold as the commodity best-selling time period.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之后,包括:Further, after the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
若没有设置商品热销时间段,则分别调取各所述商品名称对应的第二补货阈值;If no commodity hot sale time period is set, the second replenishment threshold corresponding to each commodity name is called respectively;
筛选出商品数量小于对应的第二补货阈值的第二待补货商品,并按照所述预设规则发送第二补货信息。Screening out the second commodities to be replenished whose quantity is smaller than the corresponding second replenishment threshold, and sending the second replenishment information according to the preset rule.
进一步的,所述筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息的步骤,包括:Further, the step of screening out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and sending the first replenishment information according to preset rules includes:
分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;Comparing the quantity of each of the commodities with the corresponding first replenishment threshold, and selecting the commodity whose quantity is smaller than the corresponding first replenishment threshold as the first commodity name to be replenished;
调取所述第一待补货商品名称对应的预设商品数量,所述预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量;Retrieving the 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;
计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;Calculating the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference as the first replenishment commodity quantity;
根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;generating the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
将所述第一补货信息发送到所述位置信息对应的补货人员的终端。Sending the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
进一步的,所述实时接收各所述售货机上传的交易完成的信号的步骤之前,包括:Further, before the step of receiving the signal of completion of the transaction uploaded by each vending machine in real time, it includes:
根据第二预设频率更新各所述售货机的售货信息,所述售货信息包括至少一个售出商品名称、各所述售出商品名称分别对应的售货数量以及总售货量;updating the sales information of each of the vending machines according to a second preset frequency, the sales information including at least one sold commodity name, the sales quantity corresponding to each of the sold commodity names, and the total sales volume;
分别计算各售货数量在所述总售货量中的占比;Calculating the proportion of each sales volume in the total sales volume;
根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。According to the total capacity of the vending machine and the ratio, the preset commodity quantity of the commodity corresponding to each ratio in the vending machine is calculated.
进一步的,所述总售货量由多个第二单位时间售货量组成,所述根据第二预设频率更新各所述售货机的售货信息的步骤之后,包括:Further, the total sales volume is composed of a plurality of second unit time sales volumes, after the step of updating the sales information of each vending machine according to the second preset frequency, it includes:
分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段,所述休眠时间段与所述售货机的位置信息对应关联,所述休眠时间段为售货机进入休眠状态的时间段。Comparing each of the sales volume per unit time with a second threshold, and selecting a unit time period corresponding to the second sales volume per unit time that is smaller than the second threshold, as the sleep time period of the vending machine, the The sleep time period is correspondingly associated with the location information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state.
进一步的,所述将所述第一补货信息发送到所述位置信息对应的补货人员的终端的步骤,包括:Further, the step of sending the first replenishment information to the terminal of the replenishment personnel corresponding to the location information includes:
根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;Screening the first replenishment information of each of the vending machines belonging to the same area according to the location information;
将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。Sending the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本申请还提供了一种基于大数据的售货机补货装置,包括:The application also provides a vending machine replenishment device based on big data, including:
接收模块,用于接收各所述售货机上传的交易完成的信号;The receiving module is used to receive the signal of the completion of the transaction uploaded by each vending machine;
第一获取模块,用于分别获取各交易完成的售货机中剩余的商品信息和位置信息;The first obtaining module is used to separately obtain the remaining product information and location information in the vending machines where each transaction is completed;
第一判断模块,用于判断是否针对所述完成交易的售货机设置商品热销时间段;The first judging module is used to judge whether to set a hot sale time period for the vending machine that completed the transaction;
第二判断模块,用于判断当前时刻是否包含于所述商品热销时间段内;The second judging module is used for judging whether the current moment is included in the hot sale time period of the commodity;
第二获取模块,用于获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量;The second acquiring module is used to acquire a plurality of commodity hot sales per unit time corresponding to each commodity name of the vending machine that has completed the transaction before the current time;
设置模块,用于根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值;A setting module, configured to calculate the average best-selling commodity per unit time according to the hot sales volume of each commodity per unit time, and set the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name ;
第一发送模块,用于筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息。The first sending module is configured to filter out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to preset rules.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第三获取模块,用于根据第一预设频率获取各所述售货机的多个第一单位时间售货量;A third acquisition module, configured to acquire a plurality of first unit time sales volumes of each of the vending machines according to a first preset frequency;
第一选择模块,用于分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。The first selection module is configured to respectively compare each of the first unit-time sales volumes with the first threshold, and select the unit time period corresponding to the first unit-time sales volume greater than the first threshold as the unit time period. The hot selling time period of the above-mentioned commodities.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第二调取模块,用于分别调取各所述商品名称对应的第二补货阈值,;The second retrieval module is used to respectively retrieve the second replenishment thresholds corresponding to the commodity names;
第二发送模块,用于筛选出商品数量小于对应的第二补货阈值的第二待补货商品,并按照所述预设规则发送第二补货信息。The second sending module is configured to screen out the second commodities to be replenished whose quantity is smaller than the corresponding second replenishment threshold, and send the second replenishment information according to the preset rule.
进一步的,所述第一发送模块包括:Further, the first sending module includes:
选择单元,用于分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;The selection unit is used to compare the quantity of each commodity with the corresponding first replenishment threshold, and select the commodity whose quantity is smaller than the corresponding first replenishment threshold as the first commodity name to be replenished;
调取单元,用于调取所述第一待补货商品名称对应的预设商品数量;A calling unit, configured to call the preset quantity of goods corresponding to the name of the first commodity to be replenished;
计算单元,用于计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;A calculation unit, configured to calculate the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and select the difference as the first replenishment commodity quantity;
生成单元,用于根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;A generating unit, configured to generate the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
发送单元,用于将所述第一补货信息发送到所述位置信息对应的补货人员的终端。A sending unit, configured to send the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
更新模块,用于根据第二预设频率更新各所述售货机的售货信息;An update module, configured to update the vending information of each vending machine according to a second preset frequency;
第一计算模块,用于分别计算各售货数量在所述总售货量中的占比;The first calculation module is used to separately calculate the proportion of each sales volume in the total sales volume;
第二计算模块,用于根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。The second calculation module is configured to calculate the preset quantity of commodities corresponding to each proportion in the vending machine according to the total capacity of the vending machine and the proportion.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第二选择模块,用于分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段。The second selection module is configured to respectively compare each of the second unit time sales volume with a second threshold, and select a unit time period corresponding to the second unit time sales volume smaller than the second threshold value as a vending machine sleep period.
进一步的,所述发送单元包括:Further, the sending unit includes:
筛选子单元,用于根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;A screening subunit, configured to screen the first replenishment information of each of the vending machines belonging to the same area according to the location information;
发送子单元,用于将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。The sending subunit is configured to send the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本申请还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述方法的步骤。The present application also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of any one of the methods described above when executing the computer program.
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤。The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
本申请中提供的一种基于大数据的售货机补货方法、装置和计算机设备,通过实时监测售货机的交易状态,并根据各台售货机的商品交易的大数据,动态调整各售货机对应的补货时间、补货数量以及补货商品,实现远程终端智能预测售货机的补货趋势。The big data-based vending machine replenishment method, device and computer equipment provided in this application monitor the transaction status of the vending machines in real time and dynamically adjust the corresponding The replenishment time, replenishment quantity and replenishment products can be realized, and the remote terminal intelligently predicts the replenishment trend of the vending machine.
附图说明Description of drawings
图1是本申请一实施例中基于大数据的售货机补货方法步骤示意图;Fig. 1 is a schematic diagram of steps of a vending machine replenishment method based on big data in an embodiment of the present application;
图2是本申请一实施例中基于大数据的售货机补货装置整体结构框图;Fig. 2 is a block diagram of the overall structure of a vending machine replenishment device based on big data in an embodiment of the present application;
图3是本申请一实施例的计算机设备的结构示意框图。Fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
参照图1,本申请一实施例中提供了一种基于大数据的售货机补货方法,应用于售货平台,所述售货平台与多个售货机通过无线网络连接,各所述售货机分别设置在不同区域,所述售货平台记录有各所述售货机分别对应的位置信息,包括:Referring to FIG. 1 , an embodiment of the present application provides a big data-based vending machine replenishment method, which is applied to a vending platform, and the vending platform is connected to a plurality of vending machines through a wireless network, and each of the vending machines Set in different areas respectively, the vending platform records the position information corresponding to each of the vending machines, including:
S1:接收各所述售货机上传的交易完成的信号;S1: Receive the signal of the completion of the transaction uploaded by each vending machine;
S2:分别获取各售货机中剩余的商品信息和位置信息,所述商品信息包括多个商品名称、以及与各所述商品名称对应的商品数量;S2: Respectively acquire remaining product information and location information in each vending machine, where the product information includes a plurality of product names and the quantity of products corresponding to each of the product names;
S3:判断是否针对所述完成交易的售货机设置商品热销时间段,所述商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段;S3: Judging whether to set a hot-selling time period for the vending machine that completed the transaction, the hot-selling time period is a preset time period when the unit time sales volume of the vending machine is greater than the first threshold;
S4:若设置有商品热销时间段,则判断当前时刻是否包含于所述商品热销时间段内;S4: If there is a hot-selling time period of the commodity, determine whether the current moment is included in the hot-selling time period of the commodity;
S5:若包含于所述商品热销时间段内,则获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量,其中,所述单位时间商品热销量为售货机的商品在商品热销时间段内的单位时间销售量;S5: If it is included in the hot sale time period of the commodity, obtain a plurality of hot sales volumes of the commodity corresponding to each of the commodity names before the current time of the vending machine that completed the transaction, wherein the unit Time commodity hot sales volume refers to the sales volume per unit time of the commodity in the vending machine during the commodity hot sales period;
S6:根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值,所述第一补货阈值为售货机中的商品在商品热销时间段内,需要进行补货的最小值;S6: Calculate the average best-selling commodity per unit time according to the hot sales volume of each commodity per unit time, and set the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name, the The first replenishment threshold is the minimum value that needs to be replenished during the time period when the commodities in the vending machine are hot;
S7:筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息,所述第一补货信息用于提示对所述待补货商品进行补货,所述第一补货信息包括所述待补货商品的标识信息、所述待补货商品对应的售货机的位置信息和所述待补货商品的商品数量。S7: Screen out the first commodity to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to the preset rules, and the first replenishment information is used to remind the to-be-replenishment The commodity is replenished, and the first replenishment information includes the identification information of the commodity to be replenished, the location information of the vending machine corresponding to the commodity to be replenished, and the quantity of the commodity to be replenished.
本实施例中,售货平台为售货机的直销服务平台,用于记录各个售货机的商品信息、位置信息以及实现售货机的自动售货服务。售货平台与各个售货机通过无线信号连接。其中,各个售货机分设在不同区域。用户在使用售货机的自动售货功能时,首先通过移动终端扫描售货机自带的静态码,然后输入金额,并选择支付银行。其中,支付银行包括各大国有银行和中小银行。售货机在用户选择支付银行后,将支付信息发送到售货平台。支付信息包括支付金额、购买商品名称以及购买数量。售货平台在完成扣款后,发送指令到售货机,允许用户取出相应的商品。同时,售货平台根据商品名称以及购买数量更新该售货机对应的当前商品信息。售货平台实时或定时接收各售货机上传的交易完成的信号。如果完成交易,则售货平台分别获取各完成交易的售货机的中剩余的商品信息和位置信息。其中,商品信息包括售货机当前剩余的所有商品的商品名称以及与各个商品名称对应的商品数量。售货平台根据各地区的售货量对售货机设置有商品热销时间段,该商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段。售货平台可以将商品热销时间与售货机的位置信息相关联,其中,售货机的位置信息起标识作用,用于售货平台与售货机之间的关联标识。因此,售货平台可以根据完成交易的售货机的位置信息,直接查询是否关联有商品热销时间段,从而直接判断该售货机是否设置有商品热销时间段。如果完成交易的该售货机设置有商品热销时间段,则售货平台获取当前时刻,并判断当前时刻是否包含于商品热销时间段内。比如商品热销时间段为12:00—13:00,当前时刻为12:45,则售货平台判定当前时刻包含于商品热销时间段内。此时,售货平台分别获取完成交易的售货机在当前时间之前的多个与各商品名称对应过的单位时间商品热销量,比如商品热销时间段为12:00—13:00,售货平台调取当前时间之前的一周内,在热销时间段内的各个商品单位时间对应的售货量,即得到各商品总数为7个的单位时间商品热销量的详细数据。售货平台根据各单位时间商品热销量计算得到在当前时间前的一周内各商品分别对应的商品热销总量,再根据单位时间商品热销量的数据数量以及商品热销总量,计算得到单位时间商品热销均量。售票平台按照这个计算规则计算得到各个商品名称分别对应的单位时间商品热销均量,并将单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值。其中,第一补货阈值为设置有商品热销时间段的售货机在时间段内,触发补货功能的最小值。比如第一补货阈值为50,当商品的当前商品数量为40时,小于第一补货阈值,则触发补货功能。售货平台根据商品的预设商品名称,分别判断各商品的商品数量是否均大于对应的第一补货阈值。售货平台分别将各商品数量与对应的第一补货阈值进行比较,选择小于所述第一补货阈值的商品数量对应的商品名称作为第一待补货商品名称。然后调取第一待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第一补货商品名称对应的商品数量之间的差值,并选择该差值作为第一补货商品数量。最后根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息,并将第一补货信息发送到与完成交易的售货机的位置信息对应的补货人员的终端。In this embodiment, the vending platform is a direct sales service platform for vending machines, which is used to record commodity information and location information of each vending machine and realize automatic vending services for vending machines. The vending platform is connected with each vending machine through wireless signals. Among them, each vending machine is located in different areas. When using the automatic vending function of the vending machine, the user first scans the static code that comes with the vending machine through the mobile terminal, then enters the amount, and selects the payment bank. Among them, payment banks include major state-owned banks and small and medium-sized banks. After the user selects the payment bank, the vending machine sends the payment information to the vending platform. The payment information includes the payment amount, the name of the product to be purchased, and the quantity to be purchased. After the vending platform completes the deduction, it sends an instruction to the vending machine, allowing the user to take out the corresponding product. At the same time, the vending platform updates the current commodity information corresponding to the vending machine according to the commodity name and the purchase quantity. The vending platform receives the transaction completion signal uploaded by each vending machine in real time or at regular intervals. If the transaction is completed, the vending platform obtains the remaining commodity information and location information of each vending machine that has completed the transaction. Wherein, the commodity information includes commodity names of all commodities currently remaining in the vending machine and commodity quantities corresponding to each commodity name. According to the sales volume in each region, the vending platform sets a commodity hot-selling time period for the vending machine. The commodity hot-selling time period is a preset time period when the sales volume of the vending machine per unit time is greater than the first threshold. The vending platform can associate the hot selling time of the commodity with the location information of the vending machine, wherein the location information of the vending machine serves as an identification and is used for the association identification between the vending platform and the vending machine. Therefore, the vending platform can directly inquire whether there is a best-selling time period associated with the vending machine based on the location information of the vending machine that completed the transaction, so as to directly determine whether the vending machine is set with a best-selling time period. If the vending machine that completes the transaction is set with a hot commodity time zone, the vending platform acquires the current time and judges whether the current moment is included in the commodity hot sales time zone. For example, the best-selling time period of a product is 12:00-13:00, and the current time is 12:45, then the sales platform determines that the current time is included in the best-selling time period of the product. At this time, the vending platform separately obtains the hot sales volume of the vending machine corresponding to each product name before the current time. The goods platform retrieves the sales volume corresponding to the unit time of each product in the hot-selling time period in the week before the current time, that is, obtains the detailed data of the hot sales volume of each product with a total of 7 products per unit time. The sales platform calculates the total sales volume of each product corresponding to each product in the week before the current time based on the hot sales volume of each unit time, and then calculates Obtain the average sales volume of commodities per unit time. According to this calculation rule, the ticketing platform calculates the average best-selling commodity per unit time corresponding to each commodity name, and sets the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name. Wherein, the first replenishment threshold is the minimum value that triggers the replenishment function within the time period for the vending machine that is set with a hot-selling commodity period. For example, the first replenishment threshold is 50, and when the current commodity quantity of the product is 40, which is less than the first replenishment threshold, the replenishment function is triggered. The vending platform respectively judges whether the quantity of each commodity is greater than the corresponding first replenishment threshold according to the preset commodity name of the commodity. The sales platform compares the quantity of each commodity with the corresponding first replenishment threshold, and selects the commodity name corresponding to the commodity quantity smaller than the first replenishment threshold as the first commodity name to be replenished. Then the preset commodity quantity corresponding to the first commodity name to be replenished is called. Wherein, the preset commodity quantity is the upper limit quantity of the commodity corresponding to the first commodity name to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the first replenishment commodity name, and selects the difference as the first replenishment commodity quantity. Finally, according to the name of the first product to be replenished and the quantity of the first replenishment product, the first replenishment information is generated, and the first replenishment information is sent to the location information corresponding to the vending machine that completed the transaction. A terminal for replenishment personnel.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之前,包括:Further, before the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S8:根据第一预设频率获取各所述售货机的多个第一单位时间售货量,所述第一单位时间售货量为售货机在单位时间段内的总售货量;S8: Obtain a plurality of first sales volumes per unit time of each of the vending machines according to a first preset frequency, where the first sales volume per unit time is the total sales volume of the vending machines within a unit time period;
S9:分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。S9: Comparing each of the first unit-time sales volumes with the first threshold, and selecting the unit time period corresponding to the first unit-time sales volume greater than the first threshold as the commodity hot sales time part.
本实施例中,售货平台根据第一预设频率获取各个售货机对应的多个第一单位时间售货量。其中,第一单位时间售货量为售货机单位时间内的总售货量。比如,在每日中,1号售货机在8—9点的售货总数量;1号售货机在9—10点的售货总数量。售货平台调取第一阈值,并将各个第一单位时间售货量与第一阈值进行比较,从各第一单位时间售货量中筛选出大于第一阈值的部分第一单位时间售货量。售货平台将该部分第一单位时间售货量对应的单位时间段设置为商品热销时间段。比如,第一阈值为100,1号售货机在8—9点的单位时间售货量为50,在9—10点的第一单位时间售货量为120,则售货平台设置1号售货机的商品热销时间段为。进一步的,收货平台将商品热销时间段与售货机的位置信息建立关联,比如,将商品热销时间段9—10点与1号售货机的位置信息相关联。In this embodiment, the vending platform acquires a plurality of first unit time sales quantities corresponding to each vending machine according to a first preset frequency. Wherein, the first unit time sales volume is the total sales volume of the vending machine per unit time. For example, in every day, the total number of sales of No. 1 vending machine at 8-9 o'clock; the total number of sales of No. 1 vending machine at 9-10 o'clock. The sales platform retrieves the first threshold, and compares the sales volume of each first unit time with the first threshold, and screens out the part of the first unit time sales that are greater than the first threshold from the sales volume of each first unit time. quantity. The sales platform sets the unit time period corresponding to the part of the first unit time sales volume as the commodity best-selling time period. For example, the first threshold is 100, the sales volume of No. 1 vending machine is 50 per unit time from 8 to 9 o'clock, and the sales volume is 120 per unit time from 9 to 10 o'clock, then the vending platform sets No. 1 vending machine The hot selling time period for cargo aircraft is . Further, the goods receiving platform associates the best-selling time period of the product with the location information of the vending machine, for example, associates the best-selling time period of the product at 9-10 o'clock with the location information of the No. 1 vending machine.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之后,包括:Further, after the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S10:若没有设置商品热销时间段,则分别调取各所述预设商品名称对应的第二补货阈值;S10: If no commodity hot-selling time period is set, respectively call the second replenishment threshold corresponding to each of the preset commodity names;
S11:筛选出商品数量小于对应的第二补货阈值的第二待商品,并按照所述预设规则发送第二补货信息。S11: Screen out the second pending commodities whose quantity is smaller than the corresponding second replenishment threshold, and send the second replenishment information according to the preset rule.
本实施例中,售货平台可以根据完成交易的售货机的位置信息,直接查询是否关联有商品热销时间段,从而直接判断该售货机是否设置有商品热销时间段。如果该售货机没有设置商品热销时间段,则说明该售货机不存在商品热销时间段,其售货速度平缓,不会出现商品在短时间内售罄的情况。售货平台调取各商品名称对应的第二补货阈值。其中,第二补货阈值为售货机当前不处于商品热销时间段或没有设置商品热销时间段时,商品需要进行补货的最小值。比如,商品A的正常商品数量为30,商品B的正常商品数量为20,售货平台根据各商品的历史销售记录设置有不同的第二补货阈值。售货平台分别将各商品数量与第二补货阈值进行比较,选择小于第二补货阈值的商品数量对应的商品名称作为第二待补货商品名称。然后调取第二待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第二待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第二待补货商品名称对应的商品数量之间的差值,并选择该差值作为第二补货商品数量。最后根据所述第二待补货商品名称和所述第二补货商品数量,生成所述第二补货信息,并将第二补货信息发送到对应的补货人员的终端。In this embodiment, the vending platform can directly inquire whether there is a hot-selling time period associated with the vending machine based on the location information of the vending machine that completed the transaction, so as to directly determine whether the vending machine is set with a hot-selling time period. If the vending machine is not set with a time period for the hot sale of commodities, it means that the vending machine does not have a time period for the hot sale of commodities, and its sales speed is gentle, and the situation that the commodities will not be sold out in a short time will not occur. The sales platform retrieves the second replenishment threshold corresponding to each commodity name. Wherein, the second replenishment threshold is the minimum value that the commodity needs to be replenished when the vending machine is not currently in a commodity hot sale time period or is not set in a commodity hot sale time period. For example, the normal product quantity of product A is 30, and the normal product quantity of product B is 20. The sales platform sets different second replenishment thresholds according to the historical sales records of each product. The sales platform respectively compares the quantity of each commodity with the second replenishment threshold, and selects the commodity name corresponding to the commodity quantity smaller than the second replenishment threshold as the name of the second commodity to be replenished. Then, the preset commodity quantity corresponding to the second commodity name to be replenished is retrieved. Wherein, the preset quantity of commodities is the upper limit quantity of commodities corresponding to the name of the second commodity to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the second commodity name to be replenished, and selects the difference as the second replenishment commodity quantity. Finally, the second replenishment information is generated according to the name of the second commodity to be replenished and the quantity of the second replenishment commodity, and the second replenishment information is sent to the terminal of the corresponding replenishment personnel.
进一步的,如果第二待补货商品名称有多个,售后平台最后将各第二待补货商品名称以及各第二待补货商品名称对应的第二补货商品数量,按照商品类型进行分类,生成第二补货信息。Further, if there are multiple second commodity names to be replenished, the after-sales platform finally classifies each second commodity name to be replenished and the quantity of the second replenishment commodity corresponding to each second commodity name to be replenished according to commodity types , to generate the second replenishment information.
进一步的,所述筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息的步骤,包括:Further, the step of screening out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and sending the first replenishment information according to preset rules includes:
S701:分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;S701: Comparing the quantity of each commodity with the corresponding first replenishment threshold, and selecting the name of the commodity whose quantity is smaller than the corresponding first replenishment threshold as the name of the first commodity to be replenished;
S702:调取所述第一待补货商品名称对应的预设商品数量,所述预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量;S702: Retrieve the preset commodity quantity corresponding to the first commodity name to be replenished, where 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:计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;S703: Calculating the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference as the first replenishment commodity quantity;
S704:根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;S704: Generate the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
S705:将所述第一补货信息发送到所述位置信息对应的补货人员的终端。S705: Send the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
本实施例中,售货平台分别将各商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第二补货阈值的商品名称,作为第一待补货商品名称。然后,售货平台调取第一待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第一待补货商品名称对应的商品数量之间的差值,并选择该差值作为第一补货商品数量。售货平台将第一待补货商品名称与第一补货商品数量一一对应,并按照商品类型进行分类后,生成第一补货信息。比如,将果汁、矿泉水等需要补货的第一补货商品数量和第一待补货商品名称分设为同一组,作为饮料组;将薯片、面包灯需要需要补货的第一补货商品数量和第一待补货商品名称分设为同一组,作为食物组,以便在后期进行补货时,补货人员可以根据商品的类型快速找到相应的商品。在生成所有的第一补货信息后,售货平台根据位置信息筛选属于同一区域的各售货机的第一补货信息,再将同一区域的各售货机的第一补货信息发送到对应的补货人员的终端,以方便补货人员就近补货,提高补货效率。In this embodiment, the sales platform compares the quantity of each product with the corresponding first replenishment threshold, and selects the name of the product whose quantity is smaller than the corresponding second replenishment threshold as the name of the first product to be replenished. Then, the sales platform retrieves the preset quantity of commodities corresponding to the name of the first commodity to be replenished. Wherein, the preset commodity quantity is the upper limit quantity of the commodity corresponding to the first commodity name to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selects the difference as the first replenishment commodity quantity. The sales platform generates the first replenishment information after one-to-one correspondence between the name of the first commodity to be replenished and the quantity of the first replenishment commodity, and classifying them according to the type of commodity. For example, the quantity of the first replenishment product that needs to be replenished, such as fruit juice and mineral water, and the name of the first product to be replenished are divided into the same group as the beverage group; the first replenishment of potato chips and bread lamps that need to be replenished The quantity of the product and the name of the first product to be replenished are divided into the same group as a food group, so that when replenishing later, the replenishment personnel can quickly find the corresponding product according to the type of product. After generating all the first replenishment information, the sales platform screens the first replenishment information of each vending machine belonging to the same area according to the location information, and then sends the first replenishment information of each vending machine in the same area to the corresponding The terminal of the replenishment personnel is convenient for the replenishment personnel to replenish the goods nearby and improve the efficiency of replenishment.
进一步的,所述实时接收各所述售货机上传的交易完成的信号的步骤之前,包括:Further, before the step of receiving the signal of completion of the transaction uploaded by each vending machine in real time, it includes:
S12:根据第二预设频率更新各所述售货机的售货信息,所述售货信息包括至少一个售出商品名称、各所述售出商品名称分别对应的售货数量以及总售货量;S12: Update the sales information of each of the vending machines according to a second preset frequency, the sales information includes at least one sold commodity name, the sales quantity corresponding to each sold commodity name, and the total sales quantity ;
S13:分别计算各售货数量在所述总售货量中的占比;S13: Calculate the proportion of each sales volume in the total sales volume;
S14:根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。S14: According to the total capacity of the vending machine and the ratio, calculate and obtain the preset commodity quantity of the commodity corresponding to each ratio in the vending machine.
本实施例中,售货平台根据第二预设频率对各个售货机的售货信息进行更新,比如每周或每日更新一次各个售货机在本周或本日内的售货信息。其中,售货信息包括售货机售卖出去的多个商品的售货商品名称、各个售货商品名称对应的售货数量以及该时间内的总售货量。以一周为例,售货平台分别计算本周内售货机的各售货数量与总售货量的比例,即各售货数量在总售货量中的占比。然后,售货平台根据售货机的总容量和占比,计算得到各占比对应的商品在售货机中的预设商品数量,即各个商品的商品名称对应的在下一周的总的商品数量。比如一周时间中,总售货量为1000,矿泉水的售货量为100,薯片为50。对应的,薯片与总售货量之间的比例,即相对于总售货量的占比为5%;矿泉水相对于总售货量的占比为10%。该售货机的总存储量为100,则在下周中,矿泉水的预设商品数量为10,薯片的预设商品数量为5。售货平台根据第二预设频率更新各售货机的售货信息,可以实现对各个区域的售货机的最佳商品数量的设定。In this embodiment, the sales platform updates the sales information of each vending machine according to the second preset frequency, for example, updates the sales information of each vending machine in this week or this day once a week or a day. Wherein, the sales information includes the names of the commodities sold by the vending machine, the sales quantity corresponding to each commodity name, and the total sales quantity within the time period. Taking a week as an example, the vending platform calculates the ratio of each sales volume of the vending machine to the total sales volume in this week, that is, the proportion of each sales volume to the total sales volume. Then, according to the total capacity and proportion of the vending machine, the vending platform calculates the preset quantity of commodities corresponding to each proportion in the vending machine, that is, the total quantity of commodities in the next week corresponding to the commodity names of each commodity. For example, in a week, the total sales volume is 1000, the sales volume of mineral water is 100, and the number of potato chips is 50. Correspondingly, the ratio between potato chips and the total sales volume, that is, the proportion relative to the total sales volume is 5%; the proportion of mineral water to the total sales volume is 10%. The total storage capacity of the vending machine is 100, then in the next week, the preset product quantity of mineral water is 10, and the preset product quantity of potato chips is 5. The vending platform updates the sales information of each vending machine according to the second preset frequency, which can realize the setting of the optimal commodity quantity of vending machines in each area.
进一步的,本实施中,售货平台在检测到更新后的售货机的总售货量小于售货达标量时,会更新该售货机的不达标次数。如果该售货机的不达标次数大于第一预设次数,则售货平台会输出第一报警信息,提示售货平台的直销商是否需要撤销该售货机。Further, in this implementation, when the vending platform detects that the total sales volume of the updated vending machine is less than the standard sales volume, it will update the non-standard times of the vending machine. If the number of times the vending machine fails to meet the standard is greater than the first preset number of times, the vending platform will output a first alarm message, prompting the direct seller of the vending platform whether to cancel the vending machine.
进一步的,本实施中,售货平台在检测到更新后的商品名称对应的售货数量小于售货保底数量时,会更新该商品名称的滞销次数。如果该商品名称的滞销次数大于第二预设次数,则售货平台会输出第二报警信息,提示售货平台的直销商是否需要下架该商品名称对应的商品。Further, in this implementation, when the sales platform detects that the sales quantity corresponding to the updated commodity name is less than the minimum sales quantity, it will update the number of unsold goods of the commodity name. If the unsalable times of the product name is greater than the second preset number of times, the sales platform will output a second alarm message, prompting the direct seller of the sales platform whether to remove the product corresponding to the product name.
进一步的,所述总售货量由多个第二单位时间售货量组成,所述根据第二预设频率更新各所述售货机的售货信息的步骤之后,包括:Further, the total sales volume is composed of a plurality of second unit time sales volumes, after the step of updating the sales information of each vending machine according to the second preset frequency, it includes:
S15:分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段,所述休眠时间段与所述售货机的位置信息对应关联,所述休眠时间段为售货机进入休眠状态的时间段。S15: Comparing each of the second sales volume per unit time with a second threshold, and selecting a unit time period corresponding to the second sales volume per unit time smaller than the second threshold as a sleep time period of the vending machine, The sleep time period is correspondingly associated with the location information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state.
本实施例中,售货平台更新的各个售货机对应的总售货量由多个第二单位时间售货量组成。比如,1号售货机在8—9点的第二单位时间售货量;1号售货机在9—10点的第二单位时间售货量。售货平台在根据第二预设频率更新各售货机的售货信息后,调取预先设置的第二阈值,并将各个售货机的对应的各个第二单位时间售货量与第二阈值一一对比。其中,第二阈值有售货平台的人员自由定义,当售货机单位时间的售货量小于第二阈值时,售货平台的人员认为该单位时间为商品滞销期,较少发生交易。如果各第二单位时间售货量中有大于第二阈值的,则售货平台将第二单位时间售货量对应的单位时间段设置为对应的售货机的休眠时间段。其中,休眠时间段与售货机的位置信息对应关联,休眠时间段为售货机进入休眠状态的时间段。比如,第二阈值为10,1号售货机在20—21点的第二单位时间售货量为20,在21—22点的第二单位时间售货量为5,则售货平台设置1号售货机的休眠时间段为21—22点,并将休眠时间段与1号售货机的位置信息相关联。售货平台会实时监测时间,并在各台售货机的休眠时间段内,启动休眠时间段对应的售货机的休眠功能。比如,关闭售货机显示屏幕,关闭照明灯光,以节省能源消耗。In this embodiment, the total sales volume corresponding to each vending machine updated by the sales platform is composed of multiple second unit time sales volumes. For example, the sales volume of No. 1 vending machine in the second unit time of 8-9 o'clock; the sales volume of No. 1 vending machine in the second unit time of 9-10 o'clock. After the vending platform updates the sales information of each vending machine according to the second preset frequency, it calls the preset second threshold value, and compares the corresponding second unit time sales volume of each vending machine with the second threshold value. A comparison. Among them, the second threshold is freely defined by the personnel of the vending platform. When the sales volume per unit time of the vending machine is less than the second threshold, the personnel of the vending platform considers the unit time to be a slow-moving period of commodities, and fewer transactions occur. If any of the second sales volumes per unit time is greater than the second threshold, the sales platform sets the unit time period corresponding to the second unit time sales volume as the sleep time period of the corresponding vending machine. Wherein, the sleep time period is correspondingly associated with the position information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state. For example, if the second threshold is 10, the sales volume of No. 1 vending machine in the second unit time from 20-21 o'clock is 20, and the sales volume in the second unit time from 21-22 o'clock is 5, then the vending platform sets 1 The sleep time period of vending machine No. 1 is 21-22 o'clock, and the sleep time period is associated with the position information of vending machine No. 1. The vending platform will monitor the time in real time, and activate the dormancy function of the vending machine corresponding to the dormancy time period within the dormancy time period of each vending machine. For example, turn off the display screen of the vending machine and turn off the lighting to save energy consumption.
进一步的,所述将所述第一补货信息发送到所述位置信息对应的补货人员的终端的步骤,包括:Further, the step of sending the first replenishment information to the terminal of the replenishment personnel corresponding to the location information includes:
S7051:根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;S7051: Screen the first replenishment information of each of the vending machines belonging to the same area according to the location information;
S7052:将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。S7052: Send the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本实施例中,售货平台在得到各个售货机对应的第一补货信息后,根据售货机的位置信息对所有的补货信息进行筛选,以将同一区域的各个售货机对应的补货信息汇总为一组。在完成筛选后,售货平台将各组售货机的位置信息以及第一补货信息发送到指定终端,即同一区域的补货人员对应的预设的终端。其中,售货平台根据各地区的不同,预先分设有对应的补货人员的终端,以便补货人员针对同一区域的售货机进行补货。比如,设置在某街道的售货机和设置在某商场的售货机均属于1号区域,1号区域对应设有补货人员的1号预设终端,则售货平台将两台售货机的补货信息均发送到1号预设终端,以便补货人员快速完成商品补充。In this embodiment, after obtaining the first replenishment information corresponding to each vending machine, the vending platform screens all the replenishment information according to the location information of the vending machines, so that the replenishment information corresponding to each vending machine in the same area aggregated into a group. After the screening is completed, the vending platform sends the location information of each group of vending machines and the first replenishment information to a designated terminal, that is, a preset terminal corresponding to replenishment personnel in the same area. Wherein, the vending platform is pre-assigned with terminals corresponding to replenishment personnel according to different regions, so that the replenishment personnel can replenish the vending machines in the same area. For example, the vending machines set up in a certain street and the vending machines set up in a shopping mall both belong to No. 1 area, and No. 1 area corresponds to the No. 1 preset terminal with replenishment personnel. The goods information is sent to the No. 1 preset terminal, so that the replenishment personnel can quickly complete the replenishment of goods.
本实施例提供的一种基于大数据的售货机补货方法,通过实时监测售货机的交易状态,并根据各台售货机的商品交易的大数据,动态调整各售货机对应的补货时间、补货数量以及补货商品,实现远程终端智能预测售货机的补货趋势。The big data-based replenishment method for vending machines provided in this embodiment monitors the transaction status of the vending machines in real time, and dynamically adjusts the replenishment time, Replenishment quantity and replenishment products, realize remote terminal intelligent prediction of vending machine replenishment trend.
参照图2,本申请一实施例中还提供了一种基于大数据的售货机补货装置,包括:Referring to Figure 2, an embodiment of the present application also provides a big data-based vending machine replenishment device, including:
接收模块1,用于接收各所述售货机上传的交易完成的信号;The receiving module 1 is used to receive the signal of the completion of the transaction uploaded by each vending machine;
第一获取模块2,用于分别获取各交易完成的售货机中剩余的商品信息和位置信息;The first acquiring module 2 is used to respectively acquire the commodity information and location information remaining in the vending machines where each transaction is completed;
第一判断模块3,用于判断是否针对所述完成交易的售货机设置商品热销时间段;The first judging module 3 is used for judging whether to set a hot sale time period for the vending machine that has completed the transaction;
第二判断模块4,用于判断当前时刻是否包含于所述商品热销时间段内;The second judging module 4 is used to judge whether the current moment is included in the time period when the product is hot;
第二获取模块5,用于获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量;The second acquisition module 5 is used to acquire a plurality of commodity hot sales per unit time corresponding to each commodity name of the vending machine that has completed the transaction before the current time;
设置模块6,用于根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值;The setting module 6 is used to calculate the average best-selling commodity per unit time according to the hot sales volume of each commodity per unit time, and set the average best-selling commodity per unit time as the first replenishment corresponding to each commodity name threshold;
第一发送模块7,用于筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息。The first sending module 7 is configured to screen out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to preset rules.
本实施例中,售货平台为售货机的直销服务平台,用于记录各个售货机的商品信息、位置信息以及实现售货机的自动售货服务。售货平台与各个售货机通过无线信号连接。其中,各个售货机分设在不同区域。用户在使用售货机的自动售货功能时,首先通过移动终端扫描售货机自带的静态码,然后输入金额,并选择支付银行。其中,支付银行包括各大国有银行和中小银行。售货机在用户选择支付银行后,将支付信息发送到售货平台。支付信息包括支付金额、购买商品名称以及购买数量。售货平台在完成扣款后,发送指令到售货机,允许用户取出相应的商品。同时,售货平台根据商品名称以及购买数量更新该售货机对应的当前商品信息。售货平台实时或定时接收各售货机上传的交易完成的信号。如果完成交易,则售货平台分别获取各完成交易的售货机的中剩余的商品信息和位置信息。其中,商品信息包括售货机当前剩余的所有商品的商品名称以及与各个商品名称对应的商品数量。售货平台根据各地区的售货量对售货机设置有商品热销时间段,该商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段。售货平台可以将商品热销时间与售货机的位置信息相关联,其中,售货机的位置信息起标识作用,用于售货平台与售货机之间的关联标识。因此,售货平台可以根据完成交易的售货机的位置信息,直接查询是否关联有商品热销时间段,从而直接判断该售货机是否设置有商品热销时间段。如果完成交易的该售货机设置有商品热销时间段,则售货平台获取当前时刻,并判断当前时刻是否包含于商品热销时间段内。比如商品热销时间段为12:00—13:00,当前时刻为12:45,则售货平台判定当前时刻包含于商品热销时间段内。此时,售货平台分别获取完成交易的售货机在当前时间之前的多个与各商品名称对应过的单位时间商品热销量,比如商品热销时间段为12:00—13:00,售货平台调取当前时间之前的一周内,在热销时间段内的各个商品单位时间对应的售货量,即得到各商品总数为7个的单位时间商品热销量的详细数据。售货平台根据各单位时间商品热销量计算得到在当前时间前的一周内各商品分别对应的商品热销总量,再根据单位时间商品热销量的数据数量以及商品热销总量,计算得到单位时间商品热销均量。售票平台按照这个计算规则计算得到各个商品名称分别对应的单位时间商品热销均量,并将单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值。其中,第一补货阈值为设置有商品热销时间段的售货机在时间段内,触发补货功能的最小值。比如第一补货阈值为50,当商品的当前商品数量为40时,小于第一补货阈值,则触发补货功能。售货平台根据商品的预设商品名称,分别判断各商品的商品数量是否均大于对应的第一补货阈值。售货平台分别将各商品数量与对应的第一补货阈值进行比较,选择小于所述第一补货阈值的商品数量对应的商品名称作为第一待补货商品名称。然后调取第一待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第一补货商品名称对应的商品数量之间的差值,并选择该差值作为第一补货商品数量。最后根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息,并将第一补货信息发送到与完成交易的售货机的位置信息对应的补货人员的终端。In this embodiment, the vending platform is a direct sales service platform for vending machines, which is used to record commodity information and location information of each vending machine and realize automatic vending services for vending machines. The vending platform is connected with each vending machine through wireless signals. Among them, each vending machine is located in different areas. When using the automatic vending function of the vending machine, the user first scans the static code that comes with the vending machine through the mobile terminal, then enters the amount, and selects the payment bank. Among them, payment banks include major state-owned banks and small and medium-sized banks. After the user selects the payment bank, the vending machine sends the payment information to the vending platform. The payment information includes the payment amount, the name of the product to be purchased, and the quantity to be purchased. After the vending platform completes the deduction, it sends an instruction to the vending machine, allowing the user to take out the corresponding product. At the same time, the vending platform updates the current commodity information corresponding to the vending machine according to the commodity name and the purchase quantity. The vending platform receives the transaction completion signal uploaded by each vending machine in real time or at regular intervals. If the transaction is completed, the vending platform obtains the remaining commodity information and location information of each vending machine that has completed the transaction. Wherein, the commodity information includes commodity names of all commodities currently remaining in the vending machine and commodity quantities corresponding to each commodity name. According to the sales volume in each region, the vending platform sets a commodity hot-selling time period for the vending machine. The commodity hot-selling time period is a preset time period when the sales volume of the vending machine per unit time is greater than the first threshold. The vending platform can associate the hot selling time of the commodity with the location information of the vending machine, wherein the location information of the vending machine serves as an identification and is used for the association identification between the vending platform and the vending machine. Therefore, the vending platform can directly inquire whether there is a best-selling time period associated with the vending machine based on the location information of the vending machine that completed the transaction, so as to directly determine whether the vending machine is set with a best-selling time period. If the vending machine that completes the transaction is set with a hot commodity time zone, the vending platform acquires the current time and judges whether the current moment is included in the commodity hot sales time zone. For example, the best-selling time period of a product is 12:00-13:00, and the current time is 12:45, then the sales platform determines that the current time is included in the best-selling time period of the product. At this time, the vending platform separately obtains the hot sales volume of the vending machine corresponding to each product name before the current time. The goods platform retrieves the sales volume corresponding to the unit time of each product in the hot-selling time period in the week before the current time, that is, obtains the detailed data of the hot sales volume of each product with a total of 7 products per unit time. The sales platform calculates the total sales volume of each product corresponding to each product in the week before the current time based on the hot sales volume of each unit time, and then calculates Obtain the average sales volume of commodities per unit time. According to this calculation rule, the ticketing platform calculates the average best-selling commodity per unit time corresponding to each commodity name, and sets the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name. Wherein, the first replenishment threshold is the minimum value that triggers the replenishment function within the time period for the vending machine that is set with a hot-selling commodity period. For example, the first replenishment threshold is 50, and when the current commodity quantity of the product is 40, which is less than the first replenishment threshold, the replenishment function is triggered. The vending platform respectively judges whether the quantity of each commodity is greater than the corresponding first replenishment threshold according to the preset commodity name of the commodity. The sales platform compares the quantity of each commodity with the corresponding first replenishment threshold, and selects the commodity name corresponding to the commodity quantity smaller than the first replenishment threshold as the first commodity name to be replenished. Then the preset commodity quantity corresponding to the first commodity name to be replenished is called. Wherein, the preset commodity quantity is the upper limit quantity of the commodity corresponding to the first commodity name to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the first replenishment commodity name, and selects the difference as the first replenishment commodity quantity. Finally, according to the name of the first product to be replenished and the quantity of the first replenishment product, the first replenishment information is generated, and the first replenishment information is sent to the location information corresponding to the vending machine that completed the transaction. Terminal for replenishment personnel.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第三获取模块8,用于根据第一预设频率获取各所述售货机的多个第一单位时间售货量;A third acquisition module 8, configured to acquire a plurality of first unit time sales volumes of each of the vending machines according to a first preset frequency;
第一选择模块9,用于分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。The first selection module 9 is configured to respectively compare each of the first unit-time sales volumes with the first threshold, and select the unit time period corresponding to the first unit-time sales volume greater than the first threshold as The hot selling time period of the commodity.
本实施例中,售货平台根据第一预设频率获取各个售货机对应的多个第一单位时间售货量。其中,第一单位时间售货量为售货机单位时间内的总售货量。比如,在每日中,1号售货机在8—9点的售货总数量;1号售货机在9—10点的售货总数量。售货平台调取第一阈值,并将各个第一单位时间售货量与第一阈值进行比较,从各第一单位时间售货量中筛选出大于第一阈值的部分第一单位时间售货量。售货平台将该部分第一单位时间售货量对应的单位时间段设置为商品热销时间段。比如,第一阈值为100,1号售货机在8—9点的单位时间售货量为50,在9—10点的第一单位时间售货量为120,则售货平台设置1号售货机的商品热销时间段为。进一步的,收货平台将商品热销时间段与售货机的位置信息建立关联,比如,将商品热销时间段9—10点与1号售货机的位置信息相关联。In this embodiment, the vending platform acquires a plurality of first unit time sales quantities corresponding to each vending machine according to a first preset frequency. Wherein, the first unit time sales volume is the total sales volume of the vending machine per unit time. For example, in every day, the total number of sales of No. 1 vending machine at 8-9 o'clock; the total number of sales of No. 1 vending machine at 9-10 o'clock. The sales platform retrieves the first threshold, and compares the sales volume of each first unit time with the first threshold, and screens out the part of the first unit time sales that are greater than the first threshold from the sales volume of each first unit time. quantity. The sales platform sets the unit time period corresponding to the part of the first unit time sales volume as the commodity best-selling time period. For example, the first threshold is 100, the sales volume of No. 1 vending machine is 50 per unit time from 8 to 9 o'clock, and the sales volume is 120 per unit time from 9 to 10 o'clock, then the vending platform sets No. 1 vending machine The hot selling time period for cargo aircraft is . Further, the goods receiving platform associates the best-selling time period of the product with the location information of the vending machine, for example, associates the best-selling time period of the product at 9-10 o'clock with the location information of the No. 1 vending machine.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第二调取模块10,用于分别调取各所述商品名称对应的第二补货阈值,;The second retrieval module 10 is used to respectively retrieve the second replenishment thresholds corresponding to the commodity names;
第二发送模块11,用于筛选出商品数量小于对应的第二补货阈值的第二待补货商品,并按照所述预设规则发送第二补货信息。The second sending module 11 is configured to screen out the second commodities to be replenished whose quantity is smaller than the corresponding second replenishment threshold, and send the second replenishment information according to the preset rule.
本实施例中,售货平台可以根据完成交易的售货机的位置信息,直接查询是否关联有商品热销时间段,从而直接判断该售货机是否设置有商品热销时间段。如果该售货机没有设置商品热销时间段,则说明该售货机不存在商品热销时间段,其售货速度平缓,不会出现商品在短时间内售罄的情况。售货平台调取各商品名称对应的第二补货阈值。其中,第二补货阈值为售货机当前不处于商品热销时间段或没有设置商品热销时间段时,商品需要进行补货的最小值。比如,商品A的正常商品数量为30,商品B的正常商品数量为20,售货平台根据各商品的历史销售记录设置有不同的第二补货阈值。售货平台分别将各商品数量与第二补货阈值进行比较,选择小于第二补货阈值的商品数量对应的商品名称作为第二待补货商品名称。然后调取第二待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第二待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第二待补货商品名称对应的商品数量之间的差值,并选择该差值作为第二补货商品数量。最后根据所述第二待补货商品名称和所述第二补货商品数量,生成所述第二补货信息,并将第二补货信息发送到对应的补货人员的终端。In this embodiment, the vending platform can directly inquire whether there is a hot-selling time period associated with the vending machine based on the location information of the vending machine that completed the transaction, so as to directly determine whether the vending machine is set with a hot-selling time period. If the vending machine is not set with a time period for the hot sale of commodities, it means that the vending machine does not have a time period for the hot sale of commodities, and its sales speed is gentle, and the situation that the commodities will not be sold out in a short time will not occur. The sales platform retrieves the second replenishment threshold corresponding to each commodity name. Wherein, the second replenishment threshold is the minimum value that the commodity needs to be replenished when the vending machine is not currently in a commodity hot sale time period or is not set in a commodity hot sale time period. For example, the normal product quantity of product A is 30, and the normal product quantity of product B is 20. The sales platform sets different second replenishment thresholds according to the historical sales records of each product. The sales platform respectively compares the quantity of each commodity with the second replenishment threshold, and selects the commodity name corresponding to the commodity quantity smaller than the second replenishment threshold as the name of the second commodity to be replenished. Then, the preset commodity quantity corresponding to the second commodity name to be replenished is retrieved. Wherein, the preset quantity of commodities is the upper limit quantity of commodities corresponding to the name of the second commodity to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the second commodity name to be replenished, and selects the difference as the second replenishment commodity quantity. Finally, the second replenishment information is generated according to the name of the second commodity to be replenished and the quantity of the second replenishment commodity, and the second replenishment information is sent to the terminal of the corresponding replenishment personnel.
进一步的,如果第二待补货商品名称有多个,售后平台最后将各第二待补货商品名称以及各第二待补货商品名称对应的第二补货商品数量,按照商品类型进行分类,生成第二补货信息。Further, if there are multiple second commodity names to be replenished, the after-sales platform finally classifies each second commodity name to be replenished and the quantity of the second replenishment commodity corresponding to each second commodity name to be replenished according to commodity types , to generate the second replenishment information.
进一步的,所述第一发送模块7包括:Further, the first sending module 7 includes:
选择单元,用于分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;The selection unit is used to compare the quantity of each commodity with the corresponding first replenishment threshold, and select the commodity whose quantity is smaller than the corresponding first replenishment threshold as the first commodity name to be replenished;
调取单元,用于调取所述第一待补货商品名称对应的预设商品数量;A calling unit, configured to call the preset quantity of goods corresponding to the name of the first commodity to be replenished;
计算单元,用于计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;A calculation unit, configured to calculate the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and select the difference as the first replenishment commodity quantity;
生成单元,用于根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;A generating unit, configured to generate the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
发送单元,用于将所述第一补货信息发送到所述位置信息对应的补货人员的终端。A sending unit, configured to send the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
本实施例中,售货平台分别将各商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第二补货阈值的商品名称,作为第一待补货商品名称。然后,售货平台调取第一待补货商品名称对应的预设商品数量。其中,预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量。售货平台计算预设商品数量与第一待补货商品名称对应的商品数量之间的差值,并选择该差值作为第一补货商品数量。售货平台将第一待补货商品名称与第一补货商品数量一一对应,并按照商品类型进行分类后,生成第一补货信息。比如,将果汁、矿泉水等需要补货的第一补货商品数量和第一待补货商品名称分设为同一组,作为饮料组;将薯片、面包灯需要需要补货的第一补货商品数量和第一待补货商品名称分设为同一组,作为食物组,以便在后期进行补货时,补货人员可以根据商品的类型快速找到相应的商品。在生成所有的第一补货信息后,售货平台根据位置信息筛选属于同一区域的各售货机的第一补货信息,再将同一区域的各售货机的第一补货信息发送到对应的补货人员的终端,以方便补货人员就近补货,提高补货效率。In this embodiment, the sales platform compares the quantity of each product with the corresponding first replenishment threshold, and selects the name of the product whose quantity is smaller than the corresponding second replenishment threshold as the name of the first product to be replenished. Then, the sales platform retrieves the preset quantity of commodities corresponding to the name of the first commodity to be replenished. Wherein, the preset commodity quantity is the upper limit quantity of the commodity corresponding to the first commodity name to be replenished in the vending machine. The sales platform calculates the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selects the difference as the first replenishment commodity quantity. The sales platform generates the first replenishment information after one-to-one correspondence between the name of the first commodity to be replenished and the quantity of the first replenishment commodity, and classifying them according to the type of commodity. For example, the quantity of the first replenishment product that needs to be replenished, such as fruit juice and mineral water, and the name of the first product to be replenished are divided into the same group as the beverage group; the first replenishment of potato chips and bread lamps that need to be replenished The quantity of the product and the name of the first product to be replenished are divided into the same group as a food group, so that when replenishing later, the replenishment personnel can quickly find the corresponding product according to the type of product. After generating all the first replenishment information, the sales platform screens the first replenishment information of each vending machine belonging to the same area according to the location information, and then sends the first replenishment information of each vending machine in the same area to the corresponding The terminal of the replenishment personnel is convenient for the replenishment personnel to replenish the goods nearby and improve the efficiency of replenishment.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
更新模块12,用于根据第二预设频率更新各所述售货机的售货信息;An update module 12, configured to update the vending information of each vending machine according to a second preset frequency;
第一计算模块13,用于分别计算各售货数量在所述总售货量中的占比;The first calculation module 13 is used to separately calculate the proportion of each sales volume in the total sales volume;
第二计算模块14,用于根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。The second calculation module 14 is configured to calculate and obtain the preset quantity of commodities in the vending machine corresponding to each proportion according to the total capacity of the vending machine and the proportion.
本实施例中,售货平台根据第二预设频率对各个售货机的售货信息进行更新,比如每周或每日更新一次各个售货机在本周或本日内的售货信息。其中,售货信息包括售货机售卖出去的多个商品的售货商品名称、各个售货商品名称对应的售货数量以及该时间内的总售货量。以一周为例,售货平台分别计算本周内售货机的各售货数量与总售货量的比例,即各售货数量在总售货量中的占比。然后,售货平台根据售货机的总容量和占比,计算得到各占比对应的商品在售货机中的预设商品数量,即各个商品的商品名称对应的在下一周的总的商品数量。比如一周时间中,总售货量为1000,矿泉水的售货量为100,薯片为50。对应的,薯片与总售货量之间的比例,即相对于总售货量的占比为5%;矿泉水相对于总售货量的占比为10%。该售货机的总存储量为100,则在下周中,矿泉水的预设商品数量为10,薯片的预设商品数量为5。售货平台根据第二预设频率更新各售货机的售货信息,可以实现对各个区域的售货机的最佳商品数量的设定。In this embodiment, the sales platform updates the sales information of each vending machine according to the second preset frequency, for example, updates the sales information of each vending machine in this week or this day once a week or a day. Wherein, the sales information includes the names of the commodities sold by the vending machine, the sales quantity corresponding to each commodity name, and the total sales quantity within the time period. Taking a week as an example, the vending platform calculates the ratio of each sales volume of the vending machine to the total sales volume in this week, that is, the proportion of each sales volume to the total sales volume. Then, according to the total capacity and proportion of the vending machine, the vending platform calculates the preset quantity of commodities corresponding to each proportion in the vending machine, that is, the total quantity of commodities in the next week corresponding to the commodity names of each commodity. For example, in a week, the total sales volume is 1000, the sales volume of mineral water is 100, and the number of potato chips is 50. Correspondingly, the ratio between potato chips and the total sales volume, that is, the proportion relative to the total sales volume is 5%; the proportion of mineral water to the total sales volume is 10%. The total storage capacity of the vending machine is 100, then in the next week, the preset product quantity of mineral water is 10, and the preset product quantity of potato chips is 5. The vending platform updates the sales information of each vending machine according to the second preset frequency, which can realize the setting of the optimal commodity quantity of vending machines in each area.
进一步的,本实施中,售货平台在检测到更新后的售货机的总售货量小于售货达标量时,会更新该售货机的不达标次数。如果该售货机的不达标次数大于第一预设次数,则售货平台会输出第一报警信息,提示售货平台的直销商是否需要撤销该售货机。Further, in this implementation, when the vending platform detects that the total sales volume of the updated vending machine is less than the standard sales volume, it will update the non-standard times of the vending machine. If the number of times the vending machine fails to meet the standard is greater than the first preset number of times, the vending platform will output a first alarm message, prompting the direct seller of the vending platform whether to cancel the vending machine.
进一步的,本实施中,售货平台在检测到更新后的商品名称对应的售货数量小于售货保底数量时,会更新该商品名称的滞销次数。如果该商品名称的滞销次数大于第二预设次数,则售货平台会输出第二报警信息,提示售货平台的直销商是否需要下架该商品名称对应的商品。Further, in this implementation, when the sales platform detects that the sales quantity corresponding to the updated commodity name is less than the minimum sales quantity, it will update the number of unsold goods of the commodity name. If the unsalable times of the product name is greater than the second preset number of times, the sales platform will output a second alarm message, prompting the direct seller of the sales platform whether to remove the product corresponding to the product name.
进一步的,所述补货装置还包括:Further, the replenishment device also includes:
第二选择模块15,用于分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段。The second selection module 15 is configured to compare each of the second unit time sales volumes with a second threshold, and select the unit time period corresponding to the second unit time sales volume smaller than the second threshold value as the sales volume. The sleep period of the cargo aircraft.
本实施例中,售货平台更新的各个售货机对应的总售货量由多个第二单位时间售货量组成。比如,1号售货机在8—9点的第二单位时间售货量;1号售货机在9—10点的第二单位时间售货量。售货平台在根据第二预设频率更新各售货机的售货信息后,调取预先设置的第二阈值,并将各个售货机的对应的各个第二单位时间售货量与第二阈值一一对比。其中,第二阈值有售货平台的人员自由定义,当售货机单位时间的售货量小于第二阈值时,售货平台的人员认为该单位时间为商品滞销期,较少发生交易。如果各第二单位时间售货量中有大于第二阈值的,则售货平台将第二单位时间售货量对应的单位时间段设置为对应的售货机的休眠时间段。其中,休眠时间段与售货机的位置信息对应关联,休眠时间段为售货机进入休眠状态的时间段。比如,第二阈值为10,1号售货机在20—21点的第二单位时间售货量为20,在21—22点的第二单位时间售货量为5,则售货平台设置1号售货机的休眠时间段为21—22点,并将休眠时间段与1号售货机的位置信息相关联。售货平台会实时监测时间,并在各台售货机的休眠时间段内,启动休眠时间段对应的售货机的休眠功能。比如,关闭售货机显示屏幕,关闭照明灯光,以节省能源消耗。In this embodiment, the total sales volume corresponding to each vending machine updated by the sales platform is composed of multiple second unit time sales volumes. For example, the sales volume of No. 1 vending machine in the second unit time of 8-9 o'clock; the sales volume of No. 1 vending machine in the second unit time of 9-10 o'clock. After the vending platform updates the sales information of each vending machine according to the second preset frequency, it calls the preset second threshold value, and compares the corresponding second unit time sales volume of each vending machine with the second threshold value. A comparison. Among them, the second threshold is freely defined by the personnel of the vending platform. When the sales volume per unit time of the vending machine is less than the second threshold, the personnel of the vending platform considers the unit time to be a slow-moving period of commodities, and fewer transactions occur. If any of the second sales volumes per unit time is greater than the second threshold, the sales platform sets the unit time period corresponding to the second unit time sales volume as the sleep time period of the corresponding vending machine. Wherein, the sleep time period is correspondingly associated with the position information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state. For example, if the second threshold is 10, the sales volume of No. 1 vending machine in the second unit time from 20-21 o'clock is 20, and the sales volume in the second unit time from 21-22 o'clock is 5, then the vending platform sets 1 The sleep time period of vending machine No. 1 is 21-22 o'clock, and the sleep time period is associated with the position information of vending machine No. 1. The vending platform will monitor the time in real time, and activate the dormancy function of the vending machine corresponding to the dormancy time period within the dormancy time period of each vending machine. For example, turn off the display screen of the vending machine and turn off the lighting to save energy consumption.
进一步的,所述发送单元包括:Further, the sending unit includes:
筛选子单元,用于根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;A screening subunit, configured to screen the first replenishment information of each of the vending machines belonging to the same area according to the location information;
发送子单元,用于将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。The sending subunit is configured to send the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本实施例中,售货平台在得到各个售货机对应的第一补货信息后,根据售货机的位置信息对所有的补货信息进行筛选,以将同一区域的各个售货机对应的补货信息汇总为一组。在完成筛选后,售货平台将各组售货机的位置信息以及第一补货信息发送到指定终端,即同一区域的补货人员对应的预设的终端。其中,售货平台根据各地区的不同,预先分设有对应的补货人员的终端,以便补货人员针对同一区域的售货机进行补货。比如,设置在某街道的售货机和设置在某商场的售货机均属于1号区域,1号区域对应设有补货人员的1号预设终端,则售货平台将两台售货机的补货信息均发送到1号预设终端,以便补货人员快速完成商品补充。In this embodiment, after obtaining the first replenishment information corresponding to each vending machine, the vending platform screens all the replenishment information according to the location information of the vending machines, so that the replenishment information corresponding to each vending machine in the same area aggregated into a group. After the screening is completed, the vending platform sends the location information of each group of vending machines and the first replenishment information to a designated terminal, that is, a preset terminal corresponding to replenishment personnel in the same area. Wherein, the vending platform is pre-assigned with terminals corresponding to replenishment personnel according to different regions, so that the replenishment personnel can replenish the vending machines in the same area. For example, the vending machines set up in a certain street and the vending machines set up in a shopping mall both belong to No. 1 area, and No. 1 area corresponds to the No. 1 preset terminal with replenishment personnel. The goods information is sent to the No. 1 preset terminal, so that the replenishment personnel can quickly complete the replenishment of goods.
本实施例提供的一种基于大数据的售货机补货装置,通过实时监测售货机的交易状态,并根据各台售货机的商品交易的大数据,动态调整各售货机对应的补货时间、补货数量以及补货商品,实现远程终端智能预测售货机的补货趋势。A vending machine replenishment device based on big data provided in this embodiment monitors the transaction status of the vending machines in real time, and dynamically adjusts the replenishment time, Replenishment quantity and replenishment products, to realize the remote terminal intelligently predict the replenishment trend of the vending machine.
参照图3,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储预设时间段等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基于大数据的售货机补货方法。Referring to FIG. 3 , an embodiment of the present application further provides a computer device, which may be a server, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, memory, network interface and database connected by a system bus. Among them, the processor designed by the computer is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs and databases. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data such as preset time periods. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for replenishing vending machines based on big data is realized.
上述处理器执行上述基于大数据的售货机补货的步骤:The above-mentioned processor executes the above-mentioned steps of vending machine replenishment based on big data:
S1:接收各所述售货机上传的交易完成的信号;S1: Receive the signal of the completion of the transaction uploaded by each vending machine;
S2:分别获取各售货机中剩余的商品信息和位置信息,所述商品信息包括多个商品名称、以及与各所述商品名称对应的商品数量;S2: Respectively acquire remaining product information and location information in each vending machine, where the product information includes a plurality of product names and the quantity of products corresponding to each of the product names;
S3:判断是否针对所述完成交易的售货机设置商品热销时间段,所述商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段;S3: Judging whether to set a hot-selling time period for the vending machine that completed the transaction, the hot-selling time period is a preset time period when the unit time sales volume of the vending machine is greater than the first threshold;
S4:若设置有商品热销时间段,则判断当前时刻是否包含于所述商品热销时间段内;S4: If there is a hot-selling time period of the commodity, determine whether the current moment is included in the hot-selling time period of the commodity;
S5:若包含于所述商品热销时间段内,则则获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量,其中,所述单位时间商品热销量为售货机的商品在商品热销时间段内的单位时间销售量;S5: If it is included in the hot sale time period of the commodity, obtain a plurality of hot sales volumes of the commodity per unit time corresponding to each of the commodity names of the vending machine that completed the transaction before the current time, wherein the Product hot sales per unit time refers to the sales volume per unit time of the product on the vending machine during the hot-selling time period of the product;
S6:根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值,所述第一补货阈值为售货机中的商品在商品热销时间段内,需要进行补货的最小值;S6: Calculate the average best-selling commodity per unit time according to the hot sales of each commodity per unit time, and set the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name, the The first replenishment threshold is the minimum value that needs to be replenished during the time period when the commodity in the vending machine is hot;
S7:筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息,所述第一补货信息用于提示对所述待补货商品进行补货,所述第一补货信息包括所述待补货商品的标识信息、所述待补货商品对应的售货机的位置信息和所述待补货商品的商品数量。S7: Screen out the first commodity to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to the preset rules, and the first replenishment information is used to remind the to-be-replenishment The commodity is replenished, and the first replenishment information includes the identification information of the commodity to be replenished, the location information of the vending machine corresponding to the commodity to be replenished, and the quantity of the commodity to be replenished.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之前,包括:Further, before the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S8:根据第一预设频率获取各所述售货机的多个第一单位时间售货量,所述第一单位时间售货量为售货机在单位时间段内的总售货量;S8: Obtain a plurality of first sales volumes per unit time of each of the vending machines according to a first preset frequency, where the first sales volume per unit time is the total sales volume of the vending machines within a unit time period;
S9:分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。S9: Comparing each of the sales volumes per unit time with the first threshold, and selecting the unit time period corresponding to the sales volume per unit time greater than the first threshold as the commodity hot sales time part.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之后,包括:Further, after the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S10:若没有设置商品热销时间段,则分别调取各所述预设商品名称对应的第二补货阈值;S10: If no commodity hot-selling time period is set, respectively call the second replenishment threshold corresponding to each of the preset commodity names;
S11:筛选出商品数量小于对应的第二补货阈值的第二待商品,并按照所述预设规则发送第二补货信息。S11: Screen out the second pending commodities whose quantity is smaller than the corresponding second replenishment threshold, and send the second replenishment information according to the preset rule.
进一步的,所述筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息的步骤,包括:Further, the step of screening out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and sending the first replenishment information according to preset rules includes:
S701:分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;S701: Comparing the quantity of each commodity with the corresponding first replenishment threshold, and selecting the name of the commodity whose quantity is smaller than the corresponding first replenishment threshold as the name of the first commodity to be replenished;
S702:调取所述第一待补货商品名称对应的预设商品数量,所述预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量;S702: Retrieve the preset commodity quantity corresponding to the first commodity name to be replenished, where 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:计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;S703: Calculating the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference as the first replenishment commodity quantity;
S704:根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;S704: Generate the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
S705:将所述第一补货信息发送到所述位置信息对应的补货人员的终端。S705: Send the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
进一步的,所述实时接收各所述售货机上传的交易完成的信号的步骤之前,包括:Further, before the step of receiving the signal of completion of the transaction uploaded by each vending machine in real time, it includes:
S12:根据第二预设频率更新各所述售货机的售货信息,所述售货信息包括至少一个售出商品名称、各所述售出商品名称分别对应的售货数量以及总售货量;S12: Update the sales information of each of the vending machines according to a second preset frequency, the sales information includes at least one sold commodity name, the sales quantity corresponding to each sold commodity name, and the total sales quantity ;
S13:分别计算各售货数量在所述总售货量中的占比;S13: Calculate the proportion of each sales volume in the total sales volume;
S14:根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。S14: According to the total capacity of the vending machine and the ratio, calculate and obtain the preset commodity quantity of the commodity corresponding to each ratio in the vending machine.
进一步的,所述总售货量由多个第二单位时间售货量组成,所述根据第二预设频率更新各所述售货机的售货信息的步骤之后,包括:Further, the total sales volume is composed of a plurality of second unit time sales volumes, after the step of updating the sales information of each vending machine according to the second preset frequency, it includes:
S15:分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段,所述休眠时间段与所述售货机的位置信息对应关联,所述休眠时间段为售货机进入休眠状态的时间段。S15: Comparing each of the second sales volume per unit time with a second threshold, and selecting a unit time period corresponding to the second sales volume per unit time smaller than the second threshold as a sleep time period of the vending machine, The sleep time period is correspondingly associated with the location information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state.
进一步的,所述将所述第一补货信息发送到所述位置信息对应的补货人员的终端的步骤,包括:Further, the step of sending the first replenishment information to the terminal of the replenishment personnel corresponding to the location information includes:
S7051:根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;S7051: Screen the first replenishment information of each of the vending machines belonging to the same area according to the location information;
S7052:将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。S7052: Send the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation on the computer equipment to which the solution of this application is applied.
本申请一实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现一种基于大数据的售货机补货方法,具体为:An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, a method for replenishing vending machines based on big data is implemented, specifically:
S1:接收各所述售货机上传的交易完成的信号;S1: Receive the signal of the completion of the transaction uploaded by each vending machine;
S2:分别获取各售货机中剩余的商品信息和位置信息,所述商品信息包括多个商品名称、以及与各所述商品名称对应的商品数量;S2: Respectively acquire remaining product information and location information in each vending machine, where the product information includes a plurality of product names and the quantity of products corresponding to each of the product names;
S3:判断是否针对所述完成交易的售货机设置商品热销时间段,所述商品热销时间段为售货机的单位时间售货量大于第一阈值的预设时间段;S3: Judging whether to set a hot-selling time period for the vending machine that completed the transaction, the hot-selling time period is a preset time period when the unit time sales volume of the vending machine is greater than the first threshold;
S4:若设置有商品热销时间段,则判断当前时刻是否包含于所述商品热销时间段内;S4: If there is a hot-selling time period of the commodity, determine whether the current moment is included in the hot-selling time period of the commodity;
S5:若包含于所述商品热销时间段内,则则获取所述完成交易的售货机在当前时间之前的多个与各所述商品名称对应的单位时间商品热销量,其中,所述单位时间商品热销量为售货机的商品在商品热销时间段内的单位时间销售量;S5: If it is included in the hot sale time period of the commodity, obtain a plurality of hot sales volumes of the commodity per unit time corresponding to each of the commodity names of the vending machine that completed the transaction before the current time, wherein the Product hot sales per unit time refers to the sales volume per unit time of the product on the vending machine during the hot-selling time period of the product;
S6:根据各所述单位时间商品热销量计算得到单位时间商品热销均量,并将所述单位时间商品热销均量设置为各所述商品名称对应的第一补货阈值,所述第一补货阈值为售货机中的商品在商品热销时间段内,需要进行补货的最小值;S6: Calculate the average best-selling commodity per unit time according to the hot sales volume of each commodity per unit time, and set the average best-selling commodity per unit time as the first replenishment threshold corresponding to each commodity name, the The first replenishment threshold is the minimum value that needs to be replenished during the time period when the commodities in the vending machine are hot;
S7:筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息,所述第一补货信息用于提示对所述待补货商品进行补货,所述第一补货信息包括所述待补货商品的标识信息、所述待补货商品对应的售货机的位置信息和所述待补货商品的商品数量。S7: Screen out the first commodity to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and send the first replenishment information according to the preset rules, and the first replenishment information is used to remind the to-be-replenishment The commodity is replenished, and the first replenishment information includes the identification information of the commodity to be replenished, the location information of the vending machine corresponding to the commodity to be replenished, and the quantity of the commodity to be replenished.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之前,包括:Further, before the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S8:根据第一预设频率获取各所述售货机的多个第一单位时间售货量,所述第一单位时间售货量为售货机在单位时间段内的总售货量;S8: Obtain a plurality of first sales volumes per unit time of each of the vending machines according to a first preset frequency, where the first sales volume per unit time is the total sales volume of the vending machines within a unit time period;
S9:分别将各所述第一单位时间售货量与所述第一阈值进行比较,选择大于所述第一阈值的第一单位时间售货量对应的单位时间段作为所述商品热销时间段。S9: Comparing each of the sales volumes per unit time with the first threshold, and selecting the unit time period corresponding to the sales volume per unit time greater than the first threshold as the commodity hot sales time part.
进一步的,所述判断是否针对所述完成交易的售货机设置商品热销时间段的步骤之后,包括:Further, after the step of judging whether to set a hot sale time period for the vending machine that completed the transaction, it includes:
S10:若没有设置商品热销时间段,则分别调取各所述预设商品名称对应的第二补货阈值;S10: If no commodity hot-selling time period is set, respectively call the second replenishment threshold corresponding to each of the preset commodity names;
S11:筛选出商品数量小于对应的第二补货阈值的第二待商品,并按照所述预设规则发送第二补货信息。S11: Screen out the second pending commodities whose quantity is smaller than the corresponding second replenishment threshold, and send the second replenishment information according to the preset rule.
进一步的,所述筛选出商品数量小于对应的第一补货阈值的第一待补货商品,并按照预设规则发送第一补货信息的步骤,包括:Further, the step of screening out the first commodities to be replenished whose quantity is smaller than the corresponding first replenishment threshold, and sending the first replenishment information according to preset rules includes:
S701:分别将各所述商品数量与对应的第一补货阈值进行比较,选择商品数量小于对应的第一补货阈值的商品名称作为第一待补货商品名称;S701: Comparing the quantity of each commodity with the corresponding first replenishment threshold, and selecting the name of the commodity whose quantity is smaller than the corresponding first replenishment threshold as the name of the first commodity to be replenished;
S702:调取所述第一待补货商品名称对应的预设商品数量,所述预设商品数量为售货机中,第一待补货商品名称对应的商品的上限数量;S702: Retrieve the preset commodity quantity corresponding to the first commodity name to be replenished, where 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:计算所述预设商品数量与所述第一待补货商品名称对应的商品数量之间的差值,并选择所述差值作为第一补货商品数量;S703: Calculating the difference between the preset commodity quantity and the commodity quantity corresponding to the first commodity name to be replenished, and selecting the difference as the first replenishment commodity quantity;
S704:根据所述第一待补货商品名称和所述第一补货商品数量,生成所述第一补货信息;S704: Generate the first replenishment information according to the name of the first commodity to be replenished and the quantity of the first replenishment commodity;
S705:将所述第一补货信息发送到所述位置信息对应的补货人员的终端。S705: Send the first replenishment information to the terminal of the replenishment personnel corresponding to the location information.
进一步的,所述实时接收各所述售货机上传的交易完成的信号的步骤之前,包括:Further, before the step of receiving the signal of completion of the transaction uploaded by each vending machine in real time, it includes:
S12:根据第二预设频率更新各所述售货机的售货信息,所述售货信息包括至少一个售出商品名称、各所述售出商品名称分别对应的售货数量以及总售货量;S12: Update the sales information of each of the vending machines according to a second preset frequency, the sales information includes at least one sold commodity name, the sales quantity corresponding to each sold commodity name, and the total sales quantity ;
S13:分别计算各售货数量在所述总售货量中的占比;S13: Calculate the proportion of each sales volume in the total sales volume;
S14:根据所述售货机的总容量和所述占比,计算得到各占比对应的商品在所述售货机中的所述预设商品数量。S14: According to the total capacity of the vending machine and the ratio, calculate and obtain the preset commodity quantity of the commodity corresponding to each ratio in the vending machine.
进一步的,所述总售货量由多个第二单位时间售货量组成,所述根据第二预设频率更新各所述售货机的售货信息的步骤之后,包括:Further, the total sales volume is composed of a plurality of second unit time sales volumes, after the step of updating the sales information of each vending machine according to the second preset frequency, it includes:
S15:分别将各所述第二单位时间售货量与第二阈值进行比较,选择小于所述第二阈值的第二单位时间售货量对应的单位时间段,作为售货机的休眠时间段,所述休眠时间段与所述售货机的位置信息对应关联,所述休眠时间段为售货机进入休眠状态的时间段。S15: Comparing each of the second sales volume per unit time with a second threshold, and selecting a unit time period corresponding to the second sales volume per unit time smaller than the second threshold as a sleep time period of the vending machine, The sleep time period is correspondingly associated with the location information of the vending machine, and the sleep time period is a time period when the vending machine enters a sleep state.
进一步的,所述将所述第一补货信息发送到所述位置信息对应的补货人员的终端的步骤,包括:Further, the step of sending the first replenishment information to the terminal of the replenishment personnel corresponding to the location information includes:
S7051:根据位置信息筛选属于同一区域的各所述售货机的第一补货信息;S7051: Screen the first replenishment information of each of the vending machines belonging to the same area according to the location information;
S7052:将同一区域的各所述售货机的第一补货信息发送到对应的所述补货人员的终端。S7052: Send the first replenishment information of each of the vending machines in the same area to the terminal of the corresponding replenishment personnel.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储与一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM通过多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media provided in the present application and used in the embodiments may include non-volatile and/or volatile memory. Nonvolatile 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 Data Rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, apparatus, article or method comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, apparatus, article, or method. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional same elements in the process, apparatus, article or method comprising the element.
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the patent scope of the application. Any equivalent structure or equivalent process conversion made by using the specification and drawings of the application, or directly or indirectly used in other relevant All technical fields are equally included in the patent protection scope of the present application.
Claims (10)
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 true CN110335410A (en) | 2019-10-15 |
| CN110335410B CN110335410B (en) | 2022-03-29 |
Family
ID=68139206
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910267764.XA Expired - Fee Related 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) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111080206A (en) * | 2019-12-26 | 2020-04-28 | 北京每日优鲜电子商务有限公司 | Method, device and equipment for generating replenishment list and storage medium |
| CN111126893A (en) * | 2019-11-05 | 2020-05-08 | 深圳友宝科斯科技有限公司 | Vending machine stock management method, vending machine stock management equipment and computer-readable storage medium |
| CN113220765A (en) * | 2021-05-13 | 2021-08-06 | 广东便捷神科技股份有限公司 | Data organization method for retail terminal cost control data warehouse |
| CN113935697A (en) * | 2021-12-15 | 2022-01-14 | 畅捷通信息技术股份有限公司 | Stock method and device for vending machine and storage medium |
| CN113989980A (en) * | 2021-10-29 | 2022-01-28 | 海南睿德感知物联科技有限公司 | Intelligent vending machine based on television on-demand |
| CN114077696A (en) * | 2021-11-24 | 2022-02-22 | 南京理工大学 | Information cascade control method and system based on space-time data |
Citations (9)
| 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 |
-
2019
- 2019-04-03 CN CN201910267764.XA patent/CN110335410B/en not_active Expired - Fee Related
Patent Citations (9)
| 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 |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111126893A (en) * | 2019-11-05 | 2020-05-08 | 深圳友宝科斯科技有限公司 | Vending machine stock management method, vending machine stock management equipment and computer-readable storage medium |
| 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 |
| CN113220765A (en) * | 2021-05-13 | 2021-08-06 | 广东便捷神科技股份有限公司 | 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 |
| CN114077696A (en) * | 2021-11-24 | 2022-02-22 | 南京理工大学 | Information cascade control method and system based on space-time data |
| CN113935697A (en) * | 2021-12-15 | 2022-01-14 | 畅捷通信息技术股份有限公司 | Stock method and device for vending machine and storage medium |
| CN113935697B (en) * | 2021-12-15 | 2022-04-08 | 畅捷通信息技术股份有限公司 | Stock method and device for vending machine and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110335410B (en) | 2022-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110335410A (en) | Vending machine replenishment method, device and computer equipment based on big data | |
| US20140316875A1 (en) | Method for dynamically adjusting a price of a vended product | |
| US5608621A (en) | System and method for controlling the number of units of parts in an inventory | |
| CN110570273A (en) | Quick delivery method of automatic vending equipment | |
| KR20210129262A (en) | Managed inventory | |
| US9710779B1 (en) | System, method and apparatus for receiving bids from diners for expedited food delivery | |
| US20220240713A1 (en) | Smart beverage preparation machine and method | |
| WO2018204837A1 (en) | System and method for automatically restocking items on shelves using a conveyor system | |
| JP3831328B2 (en) | Inventory management method, inventory management system, and inventory management program | |
| US11521144B2 (en) | Automated resupply based on sensor data | |
| US20180276770A1 (en) | Restaurant table management system | |
| CN110414877B (en) | Distribution mode determination method and device | |
| US20150262085A1 (en) | Integrated use of information generated in association with servicing patrons within a venue | |
| US20170116631A1 (en) | Systems and methods for dynamically setting values in a computing system based on scanning of machine-readable representations associated with physical objects | |
| US20210241210A1 (en) | Systems and methods for facilitating self-serve transactions with a freezer | |
| CN108961587A (en) | A kind of self-service medicine selling machine system and method | |
| WO2022045225A1 (en) | Work assistance device, work assistance method, and computer program | |
| CN114445007A (en) | Delivery order distribution method, device and computer equipment | |
| CA2952092A1 (en) | Systems and methods for forecasting on-shelf product availability | |
| JP6823158B2 (en) | Inventory management system, inventory management method and program | |
| JP2020107018A (en) | Systems, methods and programs for supporting the distribution of pharmaceuticals | |
| CN111967945A (en) | Order distribution method and device and electronic equipment | |
| TWI887288B (en) | Fried food display management device and fried food display management method | |
| JP7179098B2 (en) | Inventory control device, inventory control system, inventory control method and program | |
| CN111126893A (en) | Vending machine stock management method, vending machine stock management equipment and computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220329 |