Counting method and device for item replenishment, and computer-readable storage medium

The method enhances item replenishment accuracy by combining roller count and weight sensor data for dual verification and automatic correction, addressing signal interference issues in roller count sensors.

US20260384091A1Pending Publication Date: 2026-12-03GUANGDONG HANMO TECHNOLOGY CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/299535
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-06-03
Filing Date
2025-08-14
Publication Date
2026-12-03

AI Technical Summary

Technical Problem

Roller count sensors in item replenishment processes are prone to signal interference, leading to errors in quantity counting due to pulse signal loss.

Method used

A method that combines pulse signals from a roller count sensor with weight signals from a weight sensor for dual verification of replenishment quantity, with automatic correction mechanisms triggered when pulse signals are abnormal, using data from the weight sensor to ensure accuracy.

Benefits of technology

Improves the accuracy of item replenishment quantity calculation by correcting anomalies in pulse signals based on weight sensor data, ensuring reliable and precise stock management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260384091A1-D00000_ABST
    Figure US20260384091A1-D00000_ABST
Patent Text Reader

Abstract

The present application discloses a counting method and device for item replenishment, and a computer-readable storage medium, and relates to the technical field of data processing. The method includes: obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region; calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and the replenishment length information of the target item; determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item. According to the present application, the technical effect of improving the counting accuracy of the item replenishment quantity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, in particular to a counting method and device for item replenishment, and a computer-readable storage medium.BACKGROUND ART

[0002] At present, during an item replenishment process, a roller count sensor is typically used to count the quantity of items. However, the roller count sensor is prone to signal interference, which can lead to the loss of pulse signals and further cause errors in the replenishment quantity counting.

[0003] The foregoing content is merely intended for aiding in understanding the technical solutions proposed in the present application, and it does not represent that the foregoing content is acknowledged as the prior art.SUMMARY

[0004] A main objective of the present application is to provide a counting method and device for item replenishment, and a computer-readable storage medium, so as to address the technical problem of errors in the replenishment quantity counting caused by sensor signal loss.

[0005] To achieve the foregoing objective, the present application provides a counting method for item replenishment. The counting method for item replenishment includes:

[0006] obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region;

[0007] calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and the replenishment length information of the target item;

[0008] determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item; and

[0009] correcting, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data.

[0010] In an embodiment, after the determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item, the counting method for item replenishment further includes:

[0011] obtaining the preset replenishment quantity;

[0012] generating, in a case neither of the first item quantity data and the second item quantity data match the preset replenishment quantity, an error message for a replenishment item type; and

[0013] rendering the error message for a replenishment item type to a corresponding electronic price tag.

[0014] In an embodiment, the calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and the replenishment length information of the target item includes:

[0015] counting the pulse signal to obtain a pulse quantity;

[0016] calculating, based on the pulse quantity and a pulse length per unit corresponding to the pulse signal, a roller rotation distance as the replenishment length information of the target item; and

[0017] obtaining, based on a pre-established item information database, the standard length information corresponding to the target item, and calculating, based on a quotient of the replenishment length information and the standard length information, the first item quantity data.

[0018] In an embodiment, the calculating, based on the pulse quantity and a pulse length per unit corresponding to the pulse signal, a roller rotation distance as the replenishment length information of the target item includes:

[0019] obtaining operating state data from the roller count sensor, and calculating a dynamic correction coefficient for the roller rotation distance of the roller count sensor; and

[0020] calculating, based on the pulse quantity, the pulse length per unit, and the dynamic correction coefficient, the roller rotation distance to obtain the replenishment length information corresponding to the target item.

[0021] In an embodiment, after the determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item, the counting method for item replenishment further includes:

[0022] calculating a pulse interval time standard deviation based on the pulse signal from the roller count sensor to determine a pulse stability coefficient, and normalizing the pulse stability coefficient to a counting dimension confidence;

[0023] calculating, based on the weight signal from the weight sensor, a mean absolute deviation of weight to determine a weight fluctuation ratio, and normalizing the weight fluctuation ratio to a mass dimension confidence;

[0024] establishing, based on the counting dimension confidence and the mass dimension confidence, a two-dimensional confidence evaluation system for item quantity data;

[0025] based on the two-dimensional confidence evaluation system, and combining an environmental factor correction coefficient, dynamically adjusting a weight coefficient of the first item quantity data corresponding to the counting dimension confidence, as well as a weight coefficient of the second item quantity data corresponding to the mass dimension confidence; and

[0026] calculating, based on the weight coefficient of the first item quantity data and the weight coefficient of the second item quantity data, an actual item quantity for replenishment.

[0027] In an embodiment, after the correcting, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data, the counting method for item replenishment further includes:

[0028] determining a replenishment item is lost in a case the corrected first quantity data differs from the preset replenishment quantity;

[0029] calculating a difference quantity between the corrected first quantity data and the preset replenishment quantity; and

[0030] generating replenishment item loss information based on the difference quantity, and rendering the replenishment item loss information to a corresponding electronic price tag.

[0031] In an embodiment, before the obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region, the counting method for item replenishment further includes:

[0032] entering a replenishment mode of the target item in response to a user-triggered replenishment start operation;

[0033] based on the replenishment mode, receiving the pulse signal outputted from the roller count sensor in real time, and storing the pulse signal in the cache region;

[0034] detecting a weight change of items on a shelf in real time through the weight sensor, converting the weight signal into a digital signal, and storing the digital signal in the cache region; and

[0035] in response to the replenishment completion operation, exiting the replenishment mode and stopping receiving signals outputted from the roller count sensor and the weight sensor.

[0036] In an embodiment, before the obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region, the counting method for item replenishment further includes:

[0037] identifying, in response to a replenishment start operation, a type of the target item for replenishment;

[0038] in a case the target item is of an irregular type, obtaining characteristic parameters corresponding to the type of the target item, and calculating a pulse signal compensation value and a weight signal compensation value;

[0039] compensating the pulse signal based on the pulse signal compensation value, and compensating the weight signal based on the weight signal compensation value;

[0040] in a case a difference between a value after compensation and a value before compensation is greater than a compensation threshold, analyzing vibration signals and pressure distribution on a shelf; and

[0041] in a case vibration signals or abnormal pressure distribution is detected, determining structural anomaly exists in the shelf, generating manual review information, and displaying the manual review information on an electronic price tag corresponding to the shelf.

[0042] In addition, to achieve the foregoing objective, the present application further provides a counting device for item replenishment. The counting device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program is configured to implement steps of the counting method for item replenishment as described above.

[0043] In addition, to achieve the foregoing objective, the present application further provides a storage medium, where the storage medium is a computer-readable storage medium storing a computer program, and the computer program, when executed by a processor, implements steps of the counting method for item replenishment as described above.

[0044] The present application provides a counting method for item replenishment. The method includes: obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region; calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and replenishment length information of the target item; determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item; and correcting, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data. By combining the pulse signal from the roller count sensor and the weight signal from the weight sensor, the replenishment quantity is subject to dual verification, thereby improving the accuracy of replenishment quantity calculation. When the pulse signal is abnormal, signal loss is automatically determined, and a correction mechanism is triggered. The anomaly in the pulse signal is corrected based on data from the weight sensor, thereby ensuring the accuracy of the replenishment quantity. According to the present application, the technical effect of improving the counting accuracy of the item replenishment quantity is improved.BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this description, illustrate the embodiments of the present disclosure and together with the description, serve to explain the principles of the present disclosure.

[0046] To describe the technical solutions in the embodiments of the present application or in the prior art more clearly, the drawings that need to be used in the description of the examples or the prior art will be briefly introduced below. Obviously, other drawings can be obtained by those of ordinary skill in the art based on these drawings without creative work.

[0047] FIG. 1 is a schematic flowchart of a counting method for item replenishment according to Embodiment I of the present application.

[0048] FIG. 2 is a schematic flowchart of a counting method for item replenishment according to Embodiment II of the present application.

[0049] FIG. 3 is a schematic flowchart of a counting method for item replenishment according to Embodiment III of the present application.

[0050] FIG. 4 is a schematic flowchart of a counting method for item replenishment according to Embodiment IV of the present application.

[0051] FIG. 5 is a schematic flowchart of a counting method for item replenishment according to Embodiment V of the present application.

[0052] FIG. 6 is a schematic flowchart of a counting method for item replenishment according to Embodiment VI of the present application.

[0053] FIG. 7 is a simplified schematic flowchart of a counting method for item replenishment according to Embodiment VI of the present application.

[0054] FIG. 8 is a schematic structural diagram of a counting device for item replenishment according to an embodiment of the present application.

[0055] The implementation of objectives, functional characteristics, and advantages of the present application will be further described with reference to the accompanying drawings and the embodiments.DETAILED DESCRIPTION OF EMBODIMENTS

[0056] It is to be understood that the specific embodiments described herein are merely used to explain the technical solution of the present application, but are not intended to limit the present application.

[0057] For a better understanding of the technical solution of the present application, the present application is described in detail with reference to the accompanying drawings of the specification and the specific implementations.

[0058] The main solution of the embodiment of the present application is as follows.

[0059] At present, during an item replenishment process, a roller count sensor is typically used to count the quantity of items. However, the roller count sensor is prone to mechanical failure, signal interference, or physical obstruction, which can lead to the loss of pulse signals and cause errors in the replenishment quantity counting.

[0060] By combining the pulse signal from the roller count sensor and the weight signal from the weight sensor to conduct dual verification on the replenishment quantity, the accuracy of replenishment quantity calculation is improved. When the pulse signal is abnormal, signal loss is automatically determined, and a correction mechanism is triggered. The anomaly in the pulse signal is corrected based on data from the weight sensor, thereby ensuring the accuracy of the replenishment quantity.

[0061] It is to be noted that, the execution main body in this embodiment can be a counting system for item replenishment, or a computing service device with functions of data processing, network communication, and program execution, such as a tablet computer, a personal computer and a mobile phone, or an control device for item replenishment capable of implementing the above functions, which is not limited in this embodiment. This embodiment and subsequent embodiments are described below by taking the counting system for item replenishment as the execution main body.Embodiment I

[0062] On this basis, the present application provides a counting method for item replenishment according to Embodiment I. With reference to FIG. 1, the counting method for item replenishment includes:

[0063] Step S10: Obtain, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region.

[0064] By simultaneously obtaining data from the roller count sensor and the weight sensor, a dual-verification basis is provided for the subsequent replenishment quantity calculation, thereby enhancing data reliability.

[0065] In this embodiment, the replenishment completion operation is a confirmation action triggered by replenishment personnel after items are shelved, which may include actions such as clicking a button, scanning a bar code, or triggering a mechanical switch. The roller count sensor is a sensor (including a magnetic sensor, an electrode sensor, or a grating sensor) that generates pulse signals through the rotation of a roller, and is used to calculate the movement distance or quantity of an item. The pulse signal is an electrical signal generated each time the roller rotates by a certain angle, with the frequency being proportional to the movement speed of an item. The weight sensor is a sensor that measures the weight of an item based on principles such as the piezoresistive effect, capacitive variation, or electromagnetic induction. The weight signal is an electrical signal outputted from the weight sensor, with the value being proportional to the weight of the item.

[0066] It is to be noted that, the roller count sensor is provided at one end of the shelf, an electronic price tag is provided at the other end of the shelf, while the weight sensor is provided at the bottom of the shelf. The roller count sensor can be compared to a mouse wheel, which sends pulse signals during rolling. One unit of the pulse signal represents a fixed distance that the sensor rolls by. The roller count sensor is connected to a spring cord, and the other end of the spring cord is connected to a push plate. When items are placed on the shelf, the push plate pushes in the direction of the roller to drive the spring cord to loosen. At this point, the roller count sensor collects the excess spring cord. Based on the distance that the roller rotates by during the collection of the spring cord by the roller count sensor, the length of the placed items can be determined, so that the quantity of the placed items is judged.

[0067] Optionally, the pulse signals from the roller count sensor are received, and corresponding information is transmitted to both the electronic price tag and the backend server. The electronic price tag updates the displayed data, and the backend server can perform counting and management on the item replenishment status.

[0068] Optionally, a grating-type roller sensor can be used, the surface of the roller is provided with a grating disk with evenly spaced light holes, and the grating disk rotates synchronously with the roller. An infrared light source emits parallel beams which vertically illuminate the grating disk. By detecting on-off of light through a receiver, and outputting pulse signals, counting errors caused by fluctuations in the magnetic field strength of magnetic sensors and poor electrode contact in electrode-based sensors can be solved.

[0069] Step S20: Calculate replenishment length information of a target item based on the pulse signal, and determine first item quantity data based on standard length information and the replenishment length information of the target item.

[0070] In this embodiment, the replenishment length information is obtained during the replenishment process by converting the pulse signals from the roller count sensor, based on the length of the target item along the shelf. Standard length information is a preset standard length value corresponding to the target item. It serves as reference data for comparing against actual measured replenishment length information and calculating the item quantity. The standard length information corresponding to the target item can be obtained from a pre-established item information database, based on the item type corresponding to the shelf. The first item quantity data refers to preliminary data on the quantity of items replenished, calculated based on the replenishment length information and the standard length information.

[0071] In an optional implementation, based on calibration parameters of the roller count sensor, the length corresponding to each pulse signal is determined. A pulse quantity is then converted into an actual replenishment length, i.e., “replenishment length=pulse quantity x length per pulse”. A database is queried to obtain a standard length of the target item, then the replenishment length is divided by the standard length to obtain a first item quantity, i.e., “first item quantity=replenishment length / standard length”.

[0072] In another optional implementation, a high-precision linear guide rail is installed on a replenishment track or shelf, and a grating scale is installed next to the guide rail. The roller count sensor is linked with the grating scale. When the roller rotates and drives the replenishment push plate to move, the grating scale simultaneously measures the linear displacement of the push plate. Displacement pulse signals fed back from the grating scale are collected, an actual displacement of the replenishment push plate is calculated based on a resolution of the grating scale, and the displacement is then divided by the standard length of the target item to obtain the first item quantity data.

[0073] Optionally, Step S20 includes:

[0074] S21: Count the pulse signal to obtain a pulse quantity.

[0075] For example, the status of the stored pulse signal of the roller count sensor is read, and when the signal jumps from low to high, the pulse quantity is incremented by 1.

[0076] Optionally, upon receiving a replenishment start signal, a hardware counter connected to an output end of the roller count sensor is activated, and counts pulse signals in real time, and counting results are stored in a register. Upon receiving a replenishment end signal, the hardware counter stops counting. The pulse quantity during the replenishment process is obtained by reading values in the register.

[0077] Step S22: Calculate, based on the pulse quantity and a pulse length per unit corresponding to the pulse signal, a roller rotation distance as the replenishment length information of the target item.

[0078] It is to be noted that, the roller rotation distance is a linear displacement length corresponding to the rotation of the roller during the replenishment process, and reflects the actual length occupied by the replenishment item on the shelf.

[0079] For example, obtain a quantity N of pulse signals generated per full rotation of the roller, and combine N with a measured roller circumference L to calculate a pulse length per unit lpulse=L / N, i.e., an arc length for a rotation angle of the roller corresponding to each pulse signal. The pulse quantity is multiplied by the pulse length per unit to obtain a total distance the roller rotates by.

[0080] Optionally, Step S22 includes:

[0081] Step A10: Obtain operating state data from the roller count sensor, and calculate a dynamic correction coefficient for the roller rotation distance of the roller count sensor.

[0082] By obtaining the operating state data from the roller count sensor, and calculating the dynamic correction coefficient of the roller rotation distance, the roller rotation distance measured from the roller count sensor is corrected and optimized. In actual operation, the roller count sensor may be affected by various factors such as wear of the roller, deviations in sensor accuracy, and signal interference caused by environmental factors, leading to a certain error between the measured roller rotation distance and the actual value. By calculating the dynamic correction coefficient, the measurement value can be dynamically adjusted based on the current operating state of the sensor, thereby improving the accuracy of measuring the roller rotation distance.

[0083] It is to be noted that, the roller count sensor is a sensor that measures the movement distance or quantity of an object by detecting the rotation of a roller, and is composed of components such as the roller and an encoder. When the roller comes into contact with the object being measured and rotates as the object moves, the encoder converts the rotation of the roller into pulse signals. By counting and processing the pulse signals, information such as the number of rotations of the roller can be obtained, thereby calculating the movement distance of the object. The operating state data refers to a variety of data generated by the roller count sensor during the operating process, which reflects the working condition of the sensor. The operating state data includes parameters such as the rotation speed, acceleration, and vibration of the roller, and the frequency, amplitude, and stability of the pulse signals outputted from the sensor. The dynamic correction coefficient is a coefficient used to correct the measured roller rotation distance in real time, and is calculated based on the current operating state data of the roller count sensor. Different operating states correspond to different correction coefficients.

[0084] Optionally, a corresponding sensor can be installed in the shelf where the roller count sensor is located, including a rotation speed sensor, a pressure sensor, a current sensor, a temperature sensor, and a humidity sensor.

[0085] Optionally, based on physical characteristics and actual working conditions of the roller count sensor, a mathematical model can be established to describe the relationship between the pulse signal and the actual rotation distance during the rotation process of the roller. By taking the characteristic quantity of the roller count sensor as an input variable for the model, and the dynamic correction coefficient as an output variable for the model, and training and optimizing the model using experimental or historical data, model parameters are determined.

[0086] For example, operating state data such as the roller rotation speed, load pressure, motor current, environmental temperature, and humidity can be collected by the sensor. The collected operating state data is then preprocessed by data cleaning, data smoothing, and characteristic extraction to extract key characteristics (i.e., operating state data) that effectively reflect the operating state of the roller, such as the average rotation speed, standard deviation of load pressure, and peak motor current. The extracted operating state data is input into a trained correction model. Based on the current operating state data and the trained parameters, the model then calculates the dynamic correction coefficient in real time.

[0087] Step A20: Calculate, based on the pulse quantity, the pulse length per unit, and the dynamic correction coefficient, the roller rotation distance to obtain the replenishment length information corresponding to the target item.

[0088] The pulse signal generated by the roller count sensor is converted into the actual replenishment length, providing accurate data support for stock management and replenishment decision-making. The rotation of the roller may be affected by various factors, leading to a deviation between the pulse signal and the actual rotation distance. Therefore, calculating by solely relying on the pulse quantity and pulse length per unit may result in errors. By introducing the dynamic correction coefficient, the calculated roller rotation distance can be corrected in real time to be closer to the actual replenishment length, thereby improving the accuracy of replenishment counting.

[0089] For example, pulse signals generated during the replenishment process are read from a cache region, and the pulse quantity is counted. At the same time, the preset pulse length per unit is obtained, and the pulse quantity is multiplied by the pulse length per unit to obtain an uncorrected roller rotation distance. The uncorrected roller rotation distance is multiplied by the dynamic correction coefficient to obtain a corrected roller rotation distance. Based on dimension parameters and an arrangement mode of the target item, the corrected roller rotation distance is converted into corresponding replenishment length information.

[0090] Step S23: Obtain, based on a pre-established item information database, the standard length information corresponding to the target item, and calculate, based on a quotient of the replenishment length information and the standard length information, the first item quantity data.

[0091] It is to be noted that, the item information database is a database that stores information such as the item type, standard length, standard weight, and price of an item. The standard length information is a preset standard length value corresponding to the target item, determined based on factors such as packaging specifications and dimensions of the item, and stored in the item information database.

[0092] For example, based on the item type corresponding to the shelf to be replenished, the corresponding standard length information is queried from the item information database. Then, the calculated replenishment length information is divided by the standard length information to obtain the first item quantity data.

[0093] Step S30: Determine replenishment weight information of the target item based on the weight signal, and determine second item quantity data based on standard weight information of the target item.

[0094] In this embodiment, the replenishment weight information refers to the total weight change measured by the weight sensor after the target item is placed on the shelf during the replenishment process. The standard weight information is a preset standard single item weight value corresponding to a target item, and is compared against actual measured replenishment weight information to calculate the item quantity. The second item quantity data refers to data on the quantity of items replenished, calculated based on the replenishment weight information and the standard weight information.

[0095] In an optional implementation, when an instruction for the replenishment start operation is received, the initial weight (i.e., the weight of original items on the shelf before replenishment) is recorded based on the weight signal. When an instruction for the replenishment stop operation is received, the final weight is recorded. The initial weight is subtracted from the final weight to obtain the replenishment weight information. The standard weight information corresponding to the target item is queried from the item information database. The replenishment weight information is divided by the standard weight information to obtain the second item quantity data.

[0096] In another optional implementation, during the replenishment process, the weight signal outputted from the weight sensor is collected, and the weight value at each moment is recorded to obtain a weight change trend curve. The standard weight information of the target item is obtained from the item information database. By combining the weight change trend curve and the standard weight information, the second item quantity data can be calculated. The weight change trend curve is analyzed. For cases where the weight change trend curve is relatively stable, a stabilized weight value can be directly used for calculation. For cases where the weight change trend curve shows slight fluctuations, the weight signal is processed using a filtering algorithm before calculating the item quantity.

[0097] Optionally, after the replenishment is completed, the weight sensor is controlled to collect weight signals at a plurality of different time points. Weight values corresponding to the plurality of collected weight signals are subject to arithmetic average to obtain an average weight value as a total weight after replenishment, so that measurement errors caused by environmental interference and other factors are reduced.

[0098] For example, after replenishment is completed, the weight sensor continuously collects weight signals. The system performs real-time monitoring on the collected weight signals. The weight values corresponding to the weight signals yield the total weight after replenishment. The weight before replenishment is obtained from a database cache region. The weight before replenishment is subtracted from the weight after replenishment to obtain the replenishment weight information. The corresponding item type is obtained based on shelf information. Then, standard weight information of the target item is queried from the item information database. The replenishment weight information is divided by the standard weight information to obtain the second item quantity data.

[0099] It is to be noted that, the weight before replenishment refers to the total weight of the target items on the shelf before the replenishment operation begins. When a signal for replenishment start is received, signals of the weight sensor are read, corresponding weight data (i.e., the weight before replenishment) is analyzed, and the weight before replenishment is stored in the database.

[0100] Step S40: Correct, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data.

[0101] In this embodiment, the preset replenishment quantity refers to the planned quantity of items to be replenished before the replenishment operation begins, or the replenishment quantity input by replenishment personnel before the replenishment operation begins. Correction refers to the process of adjusting and modifying the first item quantity data using the second item quantity data through algorithms or rules. This process helps to eliminate counting deviations which may arise from signal loss in the roller count sensor or other error factors, ensuring that the final determined item replenishment quantity is more accurate.

[0102] In an optional implementation, when the system detects that the difference between the first item quantity data and the preset replenishment quantity exceeds a preset range, the second item quantity data is directly used to replace the first item quantity data as the final item replenishment quantity. The corrected item replenishment quantity is then updated in a stock management system.

[0103] In another optional implementation, historical replenishment data is analyzed to establish a replenishment quantity trend model. When it is detected that the first item quantity data does not match the preset replenishment quantity, a comprehensive judgment is made by combining a current replenishment trend and the second item quantity data. If the second item quantity data aligns with the replenishment trend, while the first item quantity data significantly deviates from the trend, the first item quantity data is adjusted by using the trend model and the second item quantity data.

[0104] Optionally, when it is detected that the difference between the first item quantity data and the preset replenishment quantity exceeds a preset range, it can be determined that signal loss occurs to the roller count sensor. A prompt message for signal loss is then displayed on the electronic price tag of the shelf corresponding to the roller count sensor, allowing the management personnel to promptly repair the issue.

[0105] Optionally, after the counting of replenishment items is completed, a current stock quantity of the target shelf is read from the database. The corrected first item quantity is then added to the current stock quantity to obtain an updated stock quantity. The updated result is written in the database, which triggers a stock update event. An item display template is obtained, and fields such as the item name, price, and stock quantity are populated into the template, so that final item display information is generated. The item display information is transmitted to an electronic price tag, and a display content of the electronic price tag according to preset rules and logic to display latest item information.

[0106] This embodiment provides a counting method for item replenishment. By combining the pulse signal from the roller count sensor and the weight signal from the weight sensor to conduct dual verification on the replenishment quantity, the accuracy of replenishment quantity calculation is improved. When the pulse signal is abnormal, signal loss is automatically determined, and a correction mechanism is triggered. The anomaly in Embodiment pulse signal is corrected based on data from the weight sensor, thereby ensuring the accuracy of the replenishment quantity.

[0107] Based on Embodiment I, Embodiment II of the present application provides a counting method for item replenishment. Referring to FIG. 2, after Step S20, the counting method for item replenishment further includes:

[0108] Step B10: Obtain the preset replenishment quantity.

[0109] In an optional implementation, the preset replenishment quantity is determined based on the replenishment quantity input by the replenishment personnel when the replenishment start operation is triggered.

[0110] In another optional implementation, the preset replenishment quantity is determined by further analyzing an average replenishment quantity from the historical replenishment data of the target item.

[0111] Step B20: Generate, in a case neither of the first item quantity data and the second item quantity data match the preset replenishment quantity, an error message for a replenishment item type.

[0112] By comparing the first item quantity data with the preset replenishment quantity, whether the replenishment quantity meets expectations is judged, thereby ensuring the accuracy of the replenishment operation. If the first item quantity data does not match the preset replenishment quantity, the second item quantity data is further compared with the preset replenishment quantity to verify the accuracy of the replenishment quantity, thereby ensuring the reliability of the replenishment operation. If neither of the first item quantity data and the second item quantity data match the preset replenishment quantity, an error message for a replenishment item type is generated to ensure the accuracy of the replenishment operation.

[0113] For example, the difference between the first item quantity data and the preset replenishment quantity is calculated. If an absolute value of the difference is less than or equal to a preset determination threshold, and the first item quantity data is less than the preset replenishment quantity, it is determined the first item quantity data matches the preset replenishment quantity. The difference between the second item quantity data and the preset replenishment quantity is calculated. If an absolute value of the difference is less than or equal to a preset determination threshold, and the second item quantity data is less than the preset replenishment quantity, it is determined the second item quantity data matches the preset replenishment quantity.

[0114] Step B30: Render the error message for a replenishment item type to a corresponding electronic price tag.

[0115] The error message is promptly displayed on the electronic price tag to remind replenishment personnel to handle errors in time, thereby ensuring the accuracy of the replenishment operation.

[0116] For example, the error message for a replenishment item type is transmitted to an electronic price tag, and displayed in real time through a graphic interface.

[0117] Optionally, the error message for a replenishment item type and corresponding shelf information are sent to stock management personnel. After confirmation, the stock management personnel send the error message for a replenishment item type to corresponding replenishment personnel to remind the replenishment personnel to correct the corresponding item replenishment type.

[0118] Optionally, whether the item type is correct can be achieved by scanning an item label using a scanner on the shelf during replenishment and comparing the item label with a shelf-specific type. Alternatively, a camera installed on the shelf can be used to recognize item packaging characteristics through image recognition and match the item packaging characteristics with standard images in the database. Alternatively, a Near Field Communication (NFC) tag built in the item can be detected at a designated location of the shelf, so as to confirm the consistency in type.

[0119] This embodiment provides a counting method for item replenishment. Through dual verification from both the roller count sensor and the weight sensor, the accuracy of the replenishment quantity is ensured. The mismatch in the replenishment quantity is detected and addressed in time, preventing errors and losses in stock management. By displaying the error message in real time on the electronic price tag, the problem can be detected and addressed in time.

[0120] Based on Embodiment I, Embodiment III of the present application provides a counting method for item replenishment. Referring to FIG. 3, after Step S30, the counting method for item replenishment further includes:

[0121] Step S50: Calculate a pulse interval time standard deviation based on the pulse signal from the roller count sensor to determine a pulse stability coefficient, and normalize the pulse stability coefficient to a counting dimension confidence.

[0122] By calculating the pulse interval time standard deviation to determine a pulse stability coefficient, and normalizing the pulse stability coefficient to a counting dimension confidence, the counting reliability of the roller count sensor during the replenishment process is quantitatively evaluated.

[0123] It is to be noted that, the pulse interval time standard deviation refers to a standard deviation of time intervals between adjacent pulse signals generated by the roller count sensor, and reflects the temporal stability of the pulse signals. The smaller the standard deviation is, the more stable the pulse signals are, resulting in more reliable counting. The pulse stability coefficient is a coefficient calculated based on the pulse interval time standard deviation, and is used to measure the stability of the pulse signals generated by the roller count sensor. The counting dimension confidence refers to a value obtained by normalizing the pulse stability coefficient, and represents the degree of confidence in the counting results of the roller count sensor, with a range between 0 and 1.

[0124] In an optional implementation, when output signals from the roller count sensor are received, a timestamp of each pulse signal generated by the sensor is recorded. Based on the recorded timestamps, a time interval between adjacent pulses is calculated. The pulse interval time standard deviation is calculated by using a statistical method. Based on the magnitude of the standard deviation, the pulse stability coefficient is determined through a preset mapping relationship. The pulse stability coefficient is normalized to a range of 0 to 1 to obtain the counting dimension confidence.

[0125] For example, based on the collected timestamps of pulse signals, the time interval between two adjacent pulse signals is calculated. If the timestamp of the first pulse signal is t1, and the timestamp of the second pulse signal is t2, then a pulse interval time is Δt=t1−t2. An average value Δt of all the pulse interval times is calculated. A variance of the pulse interval times is calculated according to the equation σ2=1 / nΣi−1n(Δti−Δt)2, where n represents a total quantity of the pulse interval times, and Δt1 represents an i-th pulse interval time. The pulse interval time standard deviation σ is obtained by taking the square root of the variance.

[0126] Step S60: Calculate, based on the weight signal from the weight sensor, a mean absolute deviation of weight, determine a weight fluctuation ratio, and normalize the weight fluctuation ratio to a mass dimension confidence.

[0127] By calculating the mean absolute deviation of weight to determine the weight fluctuation ratio, and normalizing the weight fluctuation ratio to a mass dimension confidence, the stability of measurement results of the weight sensor during the replenishment process is evaluated.

[0128] It is to be noted that, the mean absolute deviation of weight refers to an average of absolute values of the differences between measurements of the weight sensor and the average weight value within a given time window, and reflects the fluctuation amplitude of the weight measurements. The weight fluctuation ratio is an indicator determined based on the mean absolute deviation of weight, representing the degree of fluctuation in the measurement results of the weight sensor. The mass dimension confidence refers to the confidence level corresponding to the normalized weight fluctuation ratio, and reflects the degree of confidence in the measurement results of the weight sensor, with a range between 0 and 1.

[0129] In an optional implementation, analog weight signals outputted from the weight sensor are converted into a digital signal. Within a preset time window, the collected digital weight signals are averaged to obtain an average weight value. An absolute difference between each weight measurement and the average weight value is calculated. Then all the absolute difference values are averaged to obtain the mean absolute deviation of weight. The weight fluctuation ratio is determined according to a ratio of the mean absolute deviation to a preset reference value. The weight fluctuation ratio is normalized to a range of 0 to 1 to obtain the mass dimension confidence.

[0130] For example, for a collected weight signal sequence W={w1, w2, . . . , wn}, an absolute difference Δw1=|wi+1−wi| between adjacent weight signal values is calculated, where i=1, 2, . . . , n−1. An average value of all the absolute differences is calculated as the mean absolute deviationΔ⁢w_=1n-1⁢∑ i-1n-1⁢Δ⁢wi

[0131] Step S70: Establish, based on the counting dimension confidence and the mass dimension confidence, a two-dimensional confidence evaluation system for item quantity data.

[0132] By constructing the two-dimensional confidence evaluation system for item quantity data based on the counting dimension confidence and the mass dimension confidence, the reliability of the data from both sensors during the replenishment process is comprehensively evaluated.

[0133] It is to be noted that, the two-dimensional confidence evaluation system is an evaluation framework that comprehensively considers both counting dimension confidence and mass dimension confidence to achieve overall assessment of the reliability of item quantity data.

[0134] In an optional implementation, a two-dimensional coordinate system is established with the counting dimension confidence as a horizontal axis and the mass dimension confidence as a vertical axis. The counting dimension confidence and the mass dimension confidence are marked as coordinate points on the system. Based on historical data, a confidence evaluation rule is formulated for different areas.

[0135] Step S80: Based on the two-dimensional confidence evaluation system, and combining an environmental factor correction coefficient, dynamically adjust a weight coefficient of the first item quantity data corresponding to the counting dimension confidence, as well as a weight coefficient of the second item quantity data corresponding to the mass dimension confidence.

[0136] The weight coefficients of two item quantity data are dynamically adjusted based on the two-dimensional confidence evaluation system and the environmental factor correction coefficient. Based on the actual situation, the weights of data from the roller count sensor and the weight sensor in replenishment quantity calculation are reasonably allocated, so as to improve the accuracy of the calculation results.

[0137] It is to be noted that, the environmental factor correction coefficient is a correction factor calculated based on the degree of impact of environmental factors such as temperature, humidity, and electromagnetic interference on sensor data, and is used to adjust the weight of data from the sensor. The weight coefficient represents the proportion of different kinds of data in fusion calculation. The larger the weight coefficient, the greater the impact of the data on the final result.

[0138] In an optional implementation, environmental factors are monitored by using a corresponding sensor, and based on the monitored environmental factors, the environmental factor correction coefficient is calculated through a preset model or formula. Based on the two-dimensional confidence evaluation system and the environmental factor correction coefficient, a weight adjustment rule is formulated.

[0139] For example, if the counting dimension confidence is high and the environmental factors have little impact on the roller count sensor, the weight coefficient of the first item quantity data is increased. If the mass dimension confidence is low and the environmental factors have large impact on the weight sensor, the weight coefficient of the second item quantity data is decreased.

[0140] Optionally, during the replenishment process, based on the current confidence and the environmental factor correction coefficient, the weight coefficient is dynamically calculated and updated according to the weight adjustment rule.

[0141] Step S90: Calculate, based on the weight coefficient of the first item quantity data and the weight coefficient of the second item quantity data, an actual item quantity for replenishment.

[0142] The first item quantity sensor and the second item quantity sensor are fused by using the adjusted weight coefficient to calculate a more accurate quantity of items actually replenished. By reasonably allocating the weights, the advantages of two kinds of data from sensors are fully utilized to improve the calculation accuracy of the replenishment quantity.

[0143] For example, the weighted average method is used to fuse the two types of data based on the weight coefficient. The actual item quantity is calculated as: actual item quantity=(first item quantity data×first weight coefficient+second item quantity data×second weight coefficient) / (first weight coefficient+second weight coefficient). The calculated actual item quantity is outputted as the final replenishment quantity.

[0144] This embodiment provides a counting method for item replenishment. Firstly, by calculating the pulse interval time standard deviation to determine a pulse stability coefficient, and normalizing the pulse stability coefficient to a counting dimension confidence, the reliability of data from the roller count sensor can be precisely quantified. By calculating the mean absolute deviation of weight to determine the weight fluctuation ratio, and normalizing the weight fluctuation ratio to a mass dimension confidence, the stability of data from the weight sensor can be precisely evaluated. By dynamically adjusting the weight coefficient based on the two-dimensional confidence evaluation system and the environmental factor correction coefficient, the calculation accuracy of the replenishment quantity is improved.

[0145] Based on Embodiment I, Embodiment IV of the present application provides a counting method for item replenishment. Referring to FIG. 4, after Step S40, the counting method for item replenishment further includes:

[0146] Step S100: Determine a replenishment item is lost in a case the corrected first quantity data differs from the preset replenishment quantity.

[0147] By comparing the corrected first item quantity data with the preset replenishment quantity, when there is a discrepancy between the two, it indicates that the actual item quantity deviates from the expected replenishment quantity, and the replenishment items may be lost.

[0148] It is to be noted that, the loss of replenishment items occurs when the corrected first item quantity data is less than the preset replenishment quantity, indicating that the actual number of replenishment items put on the shelf does not meet the expected quantity, and items are lost during the replenishment process.

[0149] Step S110: Calculate a difference quantity between the corrected first quantity data and the preset replenishment quantity.

[0150] After it is determined that the replenishment items are lost, a difference quantity between the corrected first quantity data and the preset replenishment quantity is calculated, thereby accurately quantifying the quantity of items lost.

[0151] For example, the difference quantity is obtained by directly subtracting the corrected first item quantity data from the preset replenishment quantity.

[0152] Step S120: Generate replenishment item loss information based on the difference quantity, and render the replenishment item loss information to a corresponding electronic price tag.

[0153] When it is determined that the replenishment items are lost, replenishment item loss information is generated and rendered to the corresponding electronic price tag, so as to promptly notify relevant personnel of the replenishment anomaly and take measures to resolve the problem.

[0154] It is to be noted that, the replenishment item loss information includes specific details about lost replenishment items, such as the item name, item type, the quantity of items lost, the time the items get lost, and the number of the shelf where the loss occurs. An electronic price tag is an electronic display device installed on the shelf that can display item information. It can be remotely controlled via a backend system to display the content. The device displays the content by using an ink screen and is powered by a button battery. When the electronic price tag receives a signal, it is connected to the battery and updates the information shown on the ink screen.

[0155] For example, based on the difference quantity, replenishment item loss information is generated, which includes details such as the quantity and type of items lost. The replenishment item loss information is then formatted according to a display format of the electronic price tag. Text information is converted into a data format that is recognizable by the electronic price tag. The formatted replenishment item loss information is transmitted to the corresponding electronic price tag by using a wireless communication technology. Upon receiving the information, the electronic price tag renders and displays the content.

[0156] This embodiment provides a counting method for item replenishment. In this embodiment, first, by determining the difference between the corrected first item quantity data and the preset replenishment quantity, item loss during the replenishment process can be detected timely. The specific quantity of the items lost is calculated and displayed on the electronic price tag, so that replenishment personnel can immediately take appropriate remedial measures.

[0157] Based on Embodiment I, Embodiment V of the present application provides a counting method for item replenishment. Referring to FIG. 5, before Step S10, the counting method for item replenishment further includes:

[0158] Step S130: Enter a replenishment mode of the target item in response to a user-triggered replenishment start operation.

[0159] It is to be noted that, the replenishment start operation is a replenishment instruction initiated by a user through an operation interface. The operation interface includes a touch screen, a button, or a mobile device application. The replenishment mode is a working mode set by the system for replenishment operations. Under this mode, functions related to replenishment are enabled to receive and process replenishment-related data.

[0160] In an optional implementation, a “Replenishment Start” button is provided on the operation interface of the replenishment management system. Upon the user's click operation on the button, a replenishment start signal is triggered. Upon receiving a replenishment start signal, the system enters the replenishment mode.

[0161] In another optional implementation, when a replenishment action of placing items in the replenishment area is detected by a pressure sensor or a photoelectric sensor installed in the replenishment area, the replenishment start operation can be automatically triggered to drive the system to enter the replenishment mode.

[0162] Step S140: Based on the replenishment mode, receive the pulse signal outputted from the roller count sensor in real time, and store the pulse signal in the cache region.

[0163] The roller count sensor can record the movement of items during the replenishment process. By counting the quantity of pulse signals, the quantity of replenishment items can be calculated. By storing the pulse signals in the cache region, the timeliness and integrity of the data are ensured, which allows for subsequent accurate counting of the replenishment quantity.

[0164] In an optional implementation, under the replenishment mode, the output status of the roller count sensor is polled at a set time interval. When a change in pulse signal is detected, pulse counting in the cache region is updated.

[0165] Step S150: Detect a weight change of items on a shelf in real time through the weight sensor, convert the weight signal into a digital signal, and store the digital signal in the cache region.

[0166] The weight change can reflect the increase or decrease in the quantity of items on the shelf. By converting the weight signal into the digital signal and storing the digital signal in the cache region, the system can easily monitor and verify the quantity of items during the replenishment process, thereby ensuring the accuracy of the replenishment quantity.

[0167] In an optional implementation, the weight sensor detects the weight change of items on the shelf in real time, and outputs a weight signal. The analog weight signal outputted from the weight sensor is converted into a digital signal by using an analog-to-digital converter (ADC). An output value from the ADC is read according to a set sampling frequency, and the digital signal is stored in the cache region.

[0168] Step S160: In response to the replenishment completion operation, exit the replenishment mode and stop receiving signals outputted from the roller count sensor and the weight sensor.

[0169] After the replenishment operation is completed, by stopping receiving signals outputted from the roller count sensor and the weight sensor, and exiting the replenishment mode, data confusion is avoided, ensuring that the data from the exact replenishment process can be accurately extracted and analyzed later, thereby facilitating the calculation of the replenishment quantity.

[0170] For example, upon receiving the replenishment completion operation, the “replenishment mode” is switched back to the normal state, a data collection channel for the roller count sensor and the weight sensor is closed, and the action of receiving signals from the sensors is stopped.

[0171] Optionally, system resources related to the replenishment mode are released, data processing threads dedicated for the replenishment operation are closed, and the memory in the cache region is released, allowing the system to return to the normal operating state and be ready to handle other tasks.

[0172] This embodiment provides a counting method for item replenishment. In this embodiment, the system automatically enters the replenishment mode based on the replenishment start operation. Under the replenishment mode, pulse signals and weight signals are stored in the cache region in real time, preventing data loss and ensuring data integrity, which allows for subsequent accurate counting of the replenishment quantity.

[0173] Based on Embodiment I, Embodiment VI of the present application provides a counting method for item replenishment. Referring to FIG. 6, after Step S40, the counting method for item replenishment further includes:

[0174] Step S170: Identify, in response to a replenishment start operation, a type of the target item for replenishment.

[0175] At the start of replenishment, the types of target replenishment items are recognized to conduct specific data collection, processing, and analysis according to the characteristics of items of different types. Items of different types exhibit variations in aspects of replenishment quantity counting, weight monitoring, and the like. By clearly identifying the item type, the accuracy of replenishment data can be improved, errors caused due to the adoption of a unified processing method is avoided, thereby ensuring more refined stock management.

[0176] It is to be noted that, the type of the target replenishment item refers to the classification of the replenishment item based on the form, specification, packaging, etc. The replenishment item can be classified as regular items and irregular items. Regular items have a more standardized shape, such as item with a square carton packaging. Irregular items have an irregular shape, such as chips or other items with an irregular-shaped packaging.

[0177] In an optional implementation, a barcode scanning device is set up in the replenishment area, and replenishment personnel scan a barcode of the target item during the replenishment process. The backend associates the item code with item type information. When the item code is received from the barcode scanning device, the system queries the database to obtain the corresponding type of the target item.

[0178] In another optional implementation, a camera is installed in the replenishment area to collect images of the target item in real time. The collected images are analyzed by using an image recognition algorithm to extract characteristics such as the shape, outline, and color of the item. The characteristics are compared with item types a pre-stored in a characteristic database to identify the type of the target item.

[0179] Step S180: In a case the target item is of an irregular type, obtain characteristic parameters corresponding to the type of the target item, and calculate a pulse signal compensation value and a weight signal compensation value.

[0180] For items of irregular item types, due to their non-standard shapes, significant errors may occur in pulse signals and weight signals collected during the replenishment process by the roller count sensor and weight sensor. By obtaining the characteristic parameters corresponding to the type of the target item, and calculating the pulse signal compensation value and the weight signal compensation value, original signals are corrected, and errors due to irregularity of items are eliminated, thereby improving the accuracy of replenishment item counting and weight monitoring.

[0181] It is to be noted that, the characteristic parameters refer to parameters which are related to the items of an irregular type, and reflect characteristics of the items, including parameters such as the maximum length, minimum length, average width, height, density, and surface roughness of an item. The pulse signal compensation value is a value used to correct the pulse signals collected by the roller count sensor, so as to eliminate errors in pulse signals caused by non-standard shapes when irregular items pass through the sensor. The weight signal compensation value is a value used to correct the weight signals collected by the weight sensor, so as to eliminate the impact of uneven weight distribution in irregular items on measurement results of the sensor.

[0182] Optionally, through experiments and data analysis, a compensation model can be established between the characteristic parameters of irregular items and the pulse signal compensation value, as well as the weight signal compensation value. For the pulse signal compensation value, a nonlinear relationship between the errors in pulse signals and parameters such as the maximum length and surface roughness of an item is obtained through a large number of experiments. For the weight signal compensation value, a compensation value calculation model can be established based on factors such as the density and shape of the item.

[0183] In an optional implementation, characteristic parameters for different types of irregular items are stored in a pre-established database. Once the type of the target item is identified, the corresponding characteristic parameters can be obtained by querying the database. After characteristic parameters are input into an established compensation model, the pulse signal compensation value and the weight signal compensation value are output.

[0184] In another optional implementation for obtaining characteristic parameters, for those parameters that can be measured in real time during the replenishment process, replenishment items are measured using a corresponding measuring device. For example, the maximum length and minimum length of an irregular item are measured by using a laser distance meter, the density of the item is measured by using a density meter, and the measurement results are then used as the characteristic parameters.

[0185] Step S190: Compensate the pulse signal based on the pulse signal compensation value, and compensate the weight signal based on the weight signal compensation value.

[0186] By correcting errors in sensor signals caused by the irregularity of items, subsequent operations such as stock updating and replenishment quantity checking can be conducted based on accurate data, thereby improving the accuracy of the calculated item quantity.

[0187] For example, original pulse signals are multiplied by calculated pulse signal compensation values to obtain compensated pulse signals, and then the quantity of the compensated pulse signals is counted. Original weight signals are multiplied by calculated weight signal compensation values to obtain compensated weight signals, and then weight values corresponding to the weight signals are calculated.

[0188] Step S200: in a case a difference between a value after compensation and a value before compensation is greater than a compensation threshold, analyze vibration signals and pressure distribution on a shelf.

[0189] If the difference is greater than the compensation threshold, it indicates there may be other factors affecting the accuracy of sensor signals. For example, a structural anomaly in the shelf could lead to unstable placement of items on the shelf, which in turn affects the measurement results of the sensor.

[0190] It is to be noted that, the compensation threshold is a preset value range used to determine whether the difference between the value after compensation and the value before compensation is within an acceptable range. The compensation threshold needs to be set based on factors such as the actual application scenario, sensor accuracy, and item characteristics. Vibration signals are mechanical vibration signals generated by the shelf when the shelf is subjected to external forces, which are collected through a vibration sensor. Structural anomaly in the shelf may cause changes in the frequency, amplitude, and other characteristics of the vibration signals. The pressure distribution refers to the distribution of the pressure exerted by the items on the shelf on the surface of the shelf, which is measured through a pressure sensor array. Structural anomaly in the shelf may cause uneven pressure distribution or the formation of abnormal pressure concentration areas.

[0191] In an optional implementation, an absolute difference value between the pulse signal value after compensation and the pulse signal value before compensation is calculated, and an absolute difference value between the weight signal value after compensation and the weight signal value before compensation is calculated. Then, a relative difference between the value after compensation and the value before compensation is calculated, which is obtained by dividing the absolute difference by the value before compensation. The calculated relative difference is compared with a preset compensation threshold. When the difference exceeds the compensation threshold, vibration signals of the shelf are collected by using a vibration sensor. Characteristics of the vibration signals are analyzed through a signal processing technology. A pressure distribution image on the shelf is obtained by using a pressure distribution sensor, and whether pressure distribution is uniform is determined by using an image processing and pattern recognition technology.

[0192] Step S210: In a case vibration signals or abnormal pressure distribution is detected, determine structural anomaly exists in the shelf, generate manual review information, and display the manual review information on an electronic price tag corresponding to the shelf.

[0193] It is to be noted that, structural anomaly in the shelf refer to problems such as damage, deformation, or looseness occurring in a supporting structure, a connecting component, and a laminate of the shelf. These problems can affect the stability and load-bearing capacity of the shelf, thereby impacting readings of the sensor on the shelf.

[0194] In an optional implementation, when the amplitude of the vibration signal exceeds a set threshold, or when a significant pressure concentration area appears in the pressure distribution image and pressure values exceed a normal range, it is determined anomaly occurs. When vibration signals or abnormal pressure distribution is detected, manual review information is generated based on the type of anomaly in the shelf, and the generated review information is then transmitted to the corresponding electronic price tag on the shelf, and is displayed by the electronic price tag in real time to remind management personnel to take action.

[0195] Optionally, the generated manual review information can also be directly sent to a backend management end to remind management personnel to take action.

[0196] This embodiment provides a counting method for item replenishment. In this embodiment, firstly the type of the target replenishment item is identified to distinguish between regular and irregular items, which avoids data processing errors caused by confusion between item types. For irregular items, characteristic parameters thereof are obtained, and the pulse signal compensation value and weight signal compensation value are calculated, so that original signals are corrected to make pulse signals and weight signals more accurately reflect the actual quantity and weight of the items, thereby improving the accuracy of the replenishment data. The difference between the value after compensation and the value before compensation is analyzed. If the difference exceeds the compensation threshold, the vibration signals and pressure distribution of the shelf are further monitored. In this way, early detection of structural anomaly in the shelf can be achieved, thereby avoiding the situation that items are dropped or damaged due to failure in the shelf.

[0197] For example, to facilitate the understanding of the implementation process of the counting method for item replenishment obtained by combining this embodiment with the above Embodiment VI, please refer to FIG. 7. FIG. 7 is a simplified schematic flowchart of the counting method for item replenishment. Specifically:

[0198] The system enters a replenishment mode of the target item in response to a user-triggered replenishment start operation. Under this mode, the system first identifies the type of the target replenishment item. If the target item is a standard item, the system executes a standard algorithm process to receive the pulse signals outputted from the roller count sensor in real time, and store the pulse signal in the cache region. In the meanwhile, the system detects a weight change of items on a shelf in real time through the weight sensor, converts the weight into digital signal, and stores the digital signal in the cache region.

[0199] In a case the target item is a special item of an irregular item type, the system obtains characteristic parameters corresponding to the type of the target item, loads the characteristic parameters, and then calculates a pulse signal compensation value and a weight signal compensation value. The system then compensates the pulse signal based on the calculated pulse signal compensation value, and compensates the weight signal based on the weight signal compensation value.

[0200] After signal compensation is completed, the system conducts difference detection to detect the difference between a value before compensation and a value after compensation. If the difference is less than a preset threshold, the system directly outputs a result after compensation.

[0201] If the difference is greater than or equal to the preset compensation threshold, the system initiates multi-dimension verification to further analyze vibration signals and detect pressure distribution on the shelf.

[0202] Based on the analysis of vibration signals and pressure distribution detection, the system further determines whether structural anomaly exists in the shelf. If no structural anomaly is found, the compensation coefficient is adjusted to recalculate the result after compensation.

[0203] If it is determined structural anomaly exists in the shelf, a manual review process is triggered to generate manual review information, and the manual review information is displayed on an electronic price tag corresponding to the shelf to remind management personnel to conduct review.

[0204] It is to be noted that, the foregoing example is merely intended for aiding in understanding the present application, and does not constitute a limitation to the counting method for item replenishment according to the present application. Simple modifications in more forms based on the technical concept are within the protection scope of the present application.

[0205] The present application provides a counting device for item replenishment. The counting device for item replenishment includes: at least one processor; and a memory in communication with the at least one processor; where the memory stores an instruction that can be executed by at least one processor, and the instruction, when executed by the at least one processor, causes the at least one processor to implement the counting method for item replenishment according to Embodiment I.

[0206] FIG. 8 shows a schematic structural diagram of a counting device for item replenishment suitable for implementing the embodiment of the present application. The counting device for item replenishment according to the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, Personal Digital Assistants (PDAs), and Portable Application Descriptions (PADs), as well as fixed terminals such as desktop computers. The counting device for item replenishment shown in FIG. 8 is merely an example, and should not cause any limitation to the functions and application range of the embodiments of the present application.

[0207] As shown in FIG. 8, the counting device for item replenishment may include a processing unit 1001 (e.g., center processing unit, graphics processing unit), which can perform various suitable actions and processing according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM) 1004. Various programs and data required for operations of the counting device for item replenishment are also stored in the RAM 1004. The processing unit 1001, the ROM 1002 and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following system may be connected to the I / O interface 1006: an input unit 1007 including, e.g., a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer and a gyroscope; an output unit 1008 including, e.g., a liquid crystal display (LCD), a loudspeaker, and a vibrator; a storage unit 1003 including, e.g., a magnetic tape, and a hard disk; and a communication unit 1009. The communication unit 1009 allows the counting device for item replenishment to conduct wired or wireless communication with other devices to exchange data. Although the figure shows the counting device for item replenishment with various systems, it is to be understood that, it is not required to implement or include all the systems shown. Alternatively, it is possible to implement more or fewer systems.

[0208] Particularly, according to embodiments of the present application, the processes described above with reference to the flowchart may be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product including a computer program carried on a computer-readable medium, the computer program including a program code used for execution of the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication unit, or installed from the storage unit 1003, or installed from the ROM 1002. When the computer program is executed by the processing unit 1001, the functions defined in the method according to embodiments of the present application are executed.

[0209] The counting device for item replenishment provided in the present application adopts the counting method for item replenishment in the foregoing embodiment, thereby solving the technical problem of errors in the replenishment quantity counting caused by sensor signal loss. Compared with the prior art, the beneficial effects of the counting device for item replenishment provided by the present application are the same as those of the counting method for item replenishment described in the above embodiments, and other technical characteristics in the counting device for item replenishment are the same as the characteristics disclosed in the method of the previous embodiment. Therefore, details are not repeated herein.

[0210] It is to be understood that, each part disclosed in the present application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific characteristics, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0211] The above merely describes specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily conceive modifications or replacements within the technical scope of the present disclosure, and these modifications or replacements shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

[0212] The present application provides a computer-readable storage medium having a computer-readable program instruction (i.e., computer program) stored thereupon, the computer-readable program instruction being used for executing the counting method for item replenishment according to the foregoing embodiment.

[0213] The computer-readable storage medium provided in the present application may be, for example, a USB flash disk, but is not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semi-conductive system, system, or component, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, an RAM, an ROM, an erasable programmable read only memory (EPROM) or flash drive, an optical fiber, a portable CD-Read Only Memory (CD-ROM), an optical storage component, a magnetic storage component, or any appropriate combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or used in combination with an instruction execution system, a system, or a component. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, Radio Frequency (RF), or any suitable combination thereof.

[0214] The foregoing computer-readable storage medium can be contained in the counting device for item replenishment; or may exist alone, without being assembled in the counting device for item replenishment.

[0215] The foregoing computer-readable store medium carries one or more programs, the one or more programs, when executed by the counting device for item replenishment, causing the counting device for item replenishment to compile the computer program code for executing the operations in the present application by using one or more program design languages or a combination thereof. The programming languages include object oriented programming languages, such as Java, Smalltalk, and C++, and conventional procedural programming languages, such as C or similar programming languages. The program code may be executed fully on a user computer, executed partially on a user computer, executed as an independent software package, executed partially on a user computer and partially on a remote computer, or executed fully on a remote computer or a server. In a circumstance in which a remote computer is involved, the remote computer may be connected to a user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, connected via the Internet by using an Internet service provider).

[0216] The flowcharts and block diagrams in the accompanying drawings illustrate possible system architectures, functions and operations that may be implemented by a system, a method, and a computer program product according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment or a part of code, and the module, the program segment or the part of code includes one or more executable instructions for implementing specified logic functions. In some implementations used as substitutes, functions annotated in boxes may alternatively occur in a sequence different from that annotated in the accompanying drawings. For example, actually two boxes shown in succession may be performed basically in parallel, and sometimes the two boxes may be performed in a reverse sequence. This is determined by a related function. It should also be noted that each block in the flowcharts and / or block diagrams and combinations of the blocks in the flowcharts and / or block diagrams may be implemented by a dedicated hardware-based system for executing specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0217] Related modules described in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The names of these modules do not constitute any limitation on the units themselves in certain circumstances.

[0218] The readable storage medium provided in the present application is a computer-readable storage medium storing a computer-readable program instruction (i.e., computer program) for executing the foregoing counting method for item replenishment, so that the technical problem of errors in the replenishment quantity counting caused by sensor signal loss can be solved. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the counting method for item replenishment described in the above embodiments, and details are not repeated herein.

[0219] The foregoing descriptions are merely some of embodiments provided by the present application and do not constitute a limitation on the scope of the present patent application. Any equivalent structure or equivalent process change made under the technical concept of the present application by using the description and the accompanying drawings of the present application, or direct or indirect application thereof in other related technical fields, shall still fall in the protection scope of the patent of the present application.

Claims

1. A counting method for item replenishment, comprising:obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region;calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and the replenishment length information of the target item;determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item; andcorrecting, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data.

2. The counting method for item replenishment according to claim 1, wherein after the determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item, the counting method for item replenishment further comprises:obtaining the preset replenishment quantity;generating, in a case neither of the first item quantity data and the second item quantity data match the preset replenishment quantity, an error message for a replenishment item type; andrendering the error message for a replenishment item type to a corresponding electronic price tag.

3. The counting method for item replenishment according to claim 1, wherein the calculating replenishment length information of a target item based on the pulse signal, and determining first item quantity data based on standard length information and the replenishment length information of the target item comprises:counting the pulse signal to obtain a pulse quantity;calculating, based on the pulse quantity and a pulse length per unit corresponding to the pulse signal, a roller rotation distance as the replenishment length information of the target item; andobtaining, based on a pre-established item information database, the standard length information corresponding to the target item, and calculating, based on a quotient of the replenishment length information and the standard length information, the first item quantity data.

4. The counting method for item replenishment according to claim 3, wherein the calculating, based on the pulse quantity and a pulse length per unit corresponding to the pulse signal, a roller rotation distance as the replenishment length information of the target item comprises:obtaining operating state data from the roller count sensor, and calculating a dynamic correction coefficient for the roller rotation distance of the roller count sensor; andcalculating, based on the pulse quantity, the pulse length per unit, and the dynamic correction coefficient, the roller rotation distance to obtain the replenishment length information corresponding to the target item.

5. The counting method for item replenishment according to claim 1, wherein after the determining replenishment weight information of the target item based on the weight signal, and determining second item quantity data based on standard weight information of the target item, the counting method for item replenishment further comprises:calculating a pulse interval time standard deviation based on the pulse signal from the roller count sensor to determine a pulse stability coefficient, and normalizing the pulse stability coefficient to a counting dimension confidence;calculating, based on the weight signal from the weight sensor, a mean absolute deviation of weight to determine a weight fluctuation ratio, and normalizing the weight fluctuation ratio to a mass dimension confidence;establishing, based on the counting dimension confidence and the mass dimension confidence, a two-dimensional confidence evaluation system for item quantity data;based on the two-dimensional confidence evaluation system, and combining an environmental factor correction coefficient, dynamically adjusting a weight coefficient of the first item quantity data corresponding to the counting dimension confidence, as well as a weight coefficient of the second item quantity data corresponding to the mass dimension confidence; andcalculating, based on the weight coefficient of the first item quantity data and the weight coefficient of the second item quantity data, an actual item quantity for replenishment.

6. The counting method for item replenishment according to claim 1, wherein after the correcting, in a case the first item quantity data does not match a preset replenishment quantity, the first item quantity data based on the second item quantity data, the counting method for item replenishment further comprises:determining a replenishment item is lost in a case the corrected first quantity data differs from the preset replenishment quantity;calculating a difference quantity between the corrected first quantity data and the preset replenishment quantity; andgenerating replenishment item loss information based on the difference quantity, and rendering the replenishment item loss information to a corresponding electronic price tag.

7. The counting method for item replenishment according to claim 1, wherein before the obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region, the counting method for item replenishment further comprises:entering a replenishment mode of the target item in response to a user-triggered replenishment start operation;based on the replenishment mode, receiving the pulse signal outputted from the roller count sensor in real time, and storing the pulse signal in the cache region;detecting a weight change of items on a shelf in real time through the weight sensor, converting the weight signal into a digital signal, and storing the digital signal in the cache region; andin response to the replenishment completion operation, exiting the replenishment mode and stopping receiving signals outputted from the roller count sensor and the weight sensor.

8. The counting method for item replenishment according to claim 1, wherein before the obtaining, in response to a replenishment completion operation, a pulse signal fed back from a roller count sensor and a weight signal fed back from a weight sensor during a replenishment process in a cache region, the counting method for item replenishment further comprises:identifying, in response to a replenishment start operation, a type of the target item for replenishment;in a case the target item is of an irregular type, obtaining characteristic parameters corresponding to the type of the target item, and calculating a pulse signal compensation value and a weight signal compensation value;compensating the pulse signal based on the pulse signal compensation value, and compensating the weight signal based on the weight signal compensation value;in a case a difference between a value after compensation and a value before compensation is greater than a compensation threshold, analyzing vibration signals and pressure distribution on a shelf; andin a case vibration signals or abnormal pressure distribution is detected, determining structural anomaly exists in the shelf, generating manual review information, and displaying the manual review information on an electronic price tag corresponding to the shelf.

9. A counting device for item replenishment, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement steps of the counting method for item replenishment according to claim 1.

10. A storage medium, wherein the storage medium is a computer-readable storage medium storing a computer program, and the computer program, when executed by a processor, implements steps of the counting method for item replenishment according to claim 1.