Method and device for predicting battery capacity of electronic price tag

By obtaining the battery full-capacity value and dynamic power consumption constant of the electronic price tag, combined with the power consumption state relationship, dynamically calculate the battery power, the problem of large battery power prediction error in the existing technology is solved, and more accurate power prediction is achieved.

CN119199559APending Publication Date: 2024-12-27HANSHOW TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411573552.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art is difficult to accurately predict the battery power of the electronic price tag, resulting in large errors, especially because battery voltage fluctuations and power consumption states outside the service are not fully considered.

Method used

By obtaining the battery full charge value of the electronic price tag, the current dynamic power consumption constant and the triggering time of different power consumption behaviors, combined with the pre-established power consumption constant and state relationship, the power consumption value and duration in each power consumption state are dynamically determined. , calculate the residual power value.

Benefits of technology

Accurate prediction of the battery capacity of electronic price tags is achieved, improving prediction accuracy and reducing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119199559A_ABST
    Figure CN119199559A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for predicting the battery capacity of an electronic price tag. The method comprises the following steps: acquiring a battery full capacity value, a plurality of current dynamic power consumption constants and different power consumption behavior triggering moments of a to-be-tested electronic price tag; determining a power consumption value corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested in each power consumption state according to a plurality of current dynamic power consumption constants of the electronic price tag battery to be tested and a pre-established relationship between the power consumption constants and the power consumption values of the electronic price tag battery in different power consumption states; dynamically determining the duration in each power consumption state corresponding to each current dynamic power consumption constant of the to-be-tested electronic price tag battery according to each different power consumption behavior triggering moment; and determining the battery remaining electric quantity value of the to-be-tested electronic price tag according to the battery full electric quantity value of the to-be-tested electronic price tag, the power consumption value in each power consumption state and the duration in each power consumption state. According to the invention, the battery capacity of the electronic price tag can be accurately predicted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic price tags, and in particular to a method and device for predicting battery power of an electronic price tag. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] At present, in addition to displaying general information, electronic shelf labels can also be used for many applications, such as fast picking, out-of-stock management, fast inventory, and human-computer interaction between users. Electronic shelf labels are limited by the capacity of the battery and are in a deep sleep state most of the time. They only wake up periodically to receive the RF signal from the base station. This period of periodic wake-up reception is called the listening frame period. Electronic price tags are low-power devices. Two button batteries have to have a lifespan of many years. How to accurately estimate and manage the battery power of electronic price tags is a challenging problem.

[0004] The existing scheme for predicting the battery power of electronic price tags is to periodically collect the battery voltage through the electronic price tag and report it to the cloud server. The cloud server estimates the battery power based on the voltage value, thereby estimating the battery life. Since the battery voltage fluctuates greatly in different working states of the electronic price tag, the estimated battery power of the electronic price tag has a large error.

[0005] Existing solutions for predicting the battery power of electronic price tags also estimate the amount of power consumed by the electronic price tag processing business. For example, some systems can record the number of updates of the electronic price tag processing business (such as the number of updates when processing the update data packet business) or the number of flashes (such as the number of flashes required for the product identification business) through a cloud server to predict the power consumed by the electronic price tag. This prediction scheme limits the power consumption of the electronic price tag to only the power consumed by the business. Therefore, this method of predicting the battery power of the electronic price tag also has a relatively large error. Summary of the invention

[0006] An embodiment of the present invention provides a method for predicting the battery power of an electronic price tag, for accurately predicting the battery power of the electronic price tag. The method includes:

[0007] Obtain the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested;

[0008] According to a plurality of current dynamic power consumption constants of the electronic price tag battery to be tested, and a pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states, determine the power consumption value under each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested;

[0009] According to the triggering moment of each different power consumption behavior of the electronic price tag to be tested, dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested;

[0010] The remaining power value of the battery of the electronic price tag to be tested is determined according to the full power value of the battery of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

[0011] The embodiment of the present invention further provides a battery power prediction device for an electronic price tag, which is used to accurately predict the battery power of the electronic price tag. The device includes:

[0012] An acquisition unit, used to acquire the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested;

[0013] A power consumption value determination unit, used to determine the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested according to multiple current dynamic power consumption constants of the electronic price tag battery to be tested and the pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery in different power consumption states;

[0014] A duration determination unit, used to dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the battery of the electronic price tag to be tested according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested;

[0015] The prediction unit is used to determine the remaining battery power value of the electronic price tag to be tested based on the full battery power value of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

[0016] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for predicting the battery power of the electronic price tag when executing the computer program.

[0017] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the battery power prediction method of the electronic price tag is implemented.

[0018] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the battery power prediction method of the electronic price tag is implemented.

[0019] In the embodiment of the present invention, the battery power prediction scheme of the electronic price tag is compared with the technical scheme of estimating the battery power of the electronic price tag by voltage or estimating the power consumed by the electronic price tag to process the service in the prior art. The scheme includes: obtaining the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested; determining the power consumption value of the electronic price tag to be tested according to the multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the relationship between the power consumption constants and the power consumption value of the electronic price tag battery under different power consumption states established in advance. The method comprises the following steps: determining the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery; dynamically determining the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested; determining the residual power value of the battery of the electronic price tag to be tested according to the full power value of the battery of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant, thereby accurately predicting the battery power of the electronic price tag and improving the prediction accuracy of the battery power of the electronic price tag. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0021] Figure 1 Schematic diagram of the flow of the method for predicting the battery power of an electronic price tag in an embodiment of the present invention;

[0022] Figure 2 Schematic diagram of the battery power prediction principle of the electronic price tag in an embodiment of the present invention;

[0023] Figure 3 It is a flowchart of a method for predicting the battery power of an electronic price tag according to another embodiment of the present invention;

[0024] Figure 4 Schematic diagram of the structure of a battery power prediction device for an electronic price tag in an embodiment of the present invention;

[0025] Figure 5 A schematic diagram of the structure of a computer device according to an embodiment of the present invention;

[0026] Figure 6 Schematic diagram of the relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0028] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of laws and regulations.

[0029] In order to overcome the technical problem of inaccurate estimation of battery life by simply collecting battery voltage, the embodiment of the present invention mainly improves the accuracy of battery life estimation through a new method for measuring and estimating battery power consumption and life of an electronic price tag.

[0030] At the same time, the existing method of predicting the battery power of an electronic price tag by estimating the amount of power consumed by the electronic price tag to process the business has a relatively large error. Because the power consumption of an electronic price tag is not only the power consumed by the business, but also the power consumed by some electronic price tags to process their own status. For example, the process of re-finding the network after the electronic price tag loses synchronization, and the process of re-registering the electronic price tag during roaming, etc., these processes do not belong to the business level, but the power consumption required for the electronic price tag itself to maintain normal operation. Therefore, the battery power prediction method of the electronic price tag provided in the embodiment of the present invention starts from the several different power consumption states of the electronic price tag itself. The electronic price tag itself records the time length of its own main several different power consumption states, so as to more accurately calculate its own power consumption. The following is a detailed introduction.

[0031] Figure 1 FIG. 1 is a flow chart of a method for predicting the battery power of an electronic price tag according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0032] Step 101: Obtain the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested;

[0033] Step 102: Determine the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested, according to a plurality of current dynamic power consumption constants of the electronic price tag battery to be tested, and a pre-established relationship between the power consumption constant and the power consumption value in different power consumption states of the electronic price tag battery;

[0034] Step 103: dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the battery of the electronic price tag to be tested according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested;

[0035] Step 104: Determine the remaining battery power value of the electronic price tag to be tested according to the full battery power value of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

[0036] The method for predicting the battery power of an electronic price tag provided by an embodiment of the present invention, when working: obtain the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested; determine the power consumption value of each current dynamic power consumption constant of the battery of the electronic price tag to be tested in each power consumption state according to the multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the pre-established relationship between the power consumption constant and the power consumption value of the battery of the electronic price tag under different power consumption states; dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the battery of the electronic price tag to be tested according to the triggering time of each different power consumption behavior of the electronic price tag to be tested; determine the residual power value of the battery of the electronic price tag to be tested according to the full power value of the battery of the electronic price tag to be tested, the power consumption value of each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

[0037] Compared with the prior art technical solutions of estimating the battery power of an electronic price tag by voltage or estimating the power consumed by the electronic price tag to process services, the electronic price tag battery power prediction method provided in the embodiment of the present invention can accurately predict the battery power of the electronic price tag, thereby improving the prediction accuracy of the battery power of the electronic price tag. Figure 2 and Figure 3 The battery power prediction method of the electronic price tag is introduced in detail. Figure 2 Schematic diagram of the battery power prediction principle of the electronic price tag in an embodiment of the present invention. Figure 3 FIG. 4 is a flow chart of a method for predicting battery power of an electronic price tag in another embodiment of the present invention.

[0038] In specific implementation, the battery power prediction method of the electronic price tag in the embodiment of the present invention can be applied to the electronic price tag, that is, the battery power prediction device of the electronic price tag below can be set inside the electronic price tag. Of course, the battery power prediction method of the electronic price tag can also be applied to the server, but the electronic price tag needs to regularly report all these statistical time lengths and other parameters to the server.

[0039] In the battery power prediction method of the electronic price tag provided in the embodiment of the present invention, the main hardware components of the electronic price tag may include a screen module, a main circuit module, a battery module, and a shell. The main circuit module contains a main control chip, which can collect battery voltage through ADC. The battery power prediction method of the electronic price tag provided in the embodiment of the present invention includes the following steps:

[0040] In the above step 101, first, the judgment of whether the electronic price tag is fully charged is the anchor point of the entire accurate calculation. How to determine whether the battery of the electronic price tag is fully charged at this time is the key. At each startup of the main control chip, the startup circuit in the chip can determine whether the current startup is a restart after the battery is powered off and the battery is recharged. If the main control chip detects that the local startup is a restart after recharging the battery, and the battery voltage detected for N consecutive times (N is a positive integer greater than 1) is the highest value Battery_FULL, it is considered that the battery power is now fully charged Battery_FULL_VAL, and the battery power is recorded in the non-volatile memory in the main circuit module, such as Flash and NFC EEPROM, and the power usage is reported regularly according to the configuration cycle. When it is found that the power is in a low power mode during the restart or periodic reporting, the low power icon is displayed according to the pre-configured strategy, and the system's own state is reported as low power. After the system confirms or is in this mode for several consecutive days, the price tag enters a low power state.

[0041] As can be seen from the above, in one embodiment, the above-mentioned method for predicting the battery power of the electronic price tag further includes: determining the full power value of the battery of the electronic price tag to be tested according to the following method:

[0042] Each time the main control chip of the electronic price tag is started, the startup circuit in the main control chip detects whether the current startup is a restart after the battery is powered off and then re-added;

[0043] If so, and the battery voltage detected for multiple consecutive times is the highest value, it is determined that the battery power is now in a fully charged state, and the power value in the fully charged state is used as the battery full power value.

[0044] From the above, it can be seen that in one embodiment, the electronic price tag to be tested is used to: regularly report the power usage of the electronic price tag battery according to the configuration cycle; when it is restarted or found that its own power is in a low-power state during the reporting period according to the configuration cycle, a low-power icon is displayed, and the server is reported that its own state is in a low-power state. After the server confirms or when it is in a low-power state for several consecutive days, the electronic price tag enters a low-power state.

[0045] In the above step 101, if Figure 2 As shown, the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering moment of each different power consumption behavior of the electronic price tag to be tested can be sent to the battery power prediction device of the electronic price tag provided in the embodiment of the present invention, or reported by the electronic price tag to the server, and the server predicts the battery power. The specific power consumption constants can be determined dynamically and can be determined according to different electronic price tag types or usage scenarios of the price tags. For example, the dynamic power consumption constant of the electronic price tag to be tested of type A applied in scenario B can be: Figure 6 The power consumption constant includes the model of different working power consumption states such as RX_CURRENT state and TX_CURRENT, or the power consumption constant includes the size of the screen refresh (SCREEN_CURRENT) power consumption state.

[0046] In the above step 102, how to determine the power consumption constants of several different states inherent to an electronic price tag is the basis of the entire calculation. The method of obtaining the power consumption constants of these different states is described in detail below. It should be noted that the different states mentioned here are distinguished according to the different power consumption of the electronic price tag hardware and software, and there is no one-to-one correspondence with the types of business that the electronic price tag can complete. For a main control chip of a certain model (the power consumption constant of the main control chip model of the electronic price tag), multiple measurements and calibrations are performed during the research and development test phase to obtain the power consumption values ​​of different working states of the main control chip, including, for example, the wireless signal receiving state power consumption value RX_CURRENT, the wireless signal sending state power consumption value TX_CURRENT, the main control chip neither receiving nor sending state power consumption value MCU_CURRENT, and the main chip deep sleep state power consumption value DEEPSLEEP_CURRENT. Of course, Figure 6 As shown, you can also

[0047] Including: the power consumption value of the shallow sleep state DEEPSLEEP_CURRENT. For multiple electronic price tags with different display sizes, even if the main control chip is the same, the state power consumption value of refreshing the screen is different. Therefore, it is necessary to obtain the average power consumption value SCREEN_CURRENT of the electronic price tag refreshing screen corresponding to this display size in the research and development test stage. The basic power consumption value of each screen is affected by the basic parameters of the electronic price tag itself, such as display size, color, and temperature. Its power consumption model is different. When a new (new type) product (thereby generating a new type of power consumption constant) is generated or there is an abnormality, it can be solved later by the system sending it down. That is, in one embodiment, the battery power prediction method of the above electronic price tag also includes: when a new type of power consumption constant appears, updating the relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states, and writing the new type of power consumption constant into the non-volatile memory inside the price tag. Of course, the new type of power consumption constant can also be sent to the electronic price tag to be tested through the server, and the original stored constant is dynamically changed to further improve the accuracy of the battery power prediction of the electronic price tag. In addition, the electronic price tag also has a flashing light service, so it is also necessary to test and obtain the average power consumption value LED_CURRENT of the flashing light, that is, the battery power prediction method of the electronic price tag provided by the embodiment of the present invention can also consider the power consumption value under the power consumption state determined by the power consumption required by the electronic price tag service (such as the flashing light service), such as the average power consumption value LED_CURRENT of the flashing light of the electronic price tag flashing light service. The battery used in each electronic price tag has a battery power rating corresponding to the aforementioned Battery_FULL_VAL, such as 1000mAh, and also a self-consumption coefficient Battery_Rate of the battery, such as 0.01% per day. During the production process of each electronic price tag, the battery parameters corresponding to the electronic price tag, such as Battery_FULL_VAL (battery full power value) and Battery_Rate (battery self-consumption coefficient), such as the main control chip parameters, RX_CURRENT, TX_CURRENT, MCU_CURRENT, DEEPSLEEP_CURRENT, the whole machine power consumption parameters (constants) SCREEN_CURRENT and LED_CURRENT, etc., are written into the non-volatile memory in the main circuit module, such as Flash and NFC EEPROM, for use by the subsequent electronic price tag battery power prediction device. When the device is set on the cloud server, such as Figure 2As shown, the subsequent electronic price tag can actively report these parameters according to a pre-configured period, or send a reporting parameter command to the price tag controller through the server, and the price tag controller forwards the reporting parameter command to the ESL (electronic price tag, or electronic shelf label). After receiving the command, the electronic price tag reports its own full power values, power consumption constants and the triggering moments of various recorded power consumption behaviors (such as the wake-up time point mentioned below, the time point before sleep, the power consumption behavior moments of separate states such as receiving or transmitting) to the server. After receiving the triggering moments of these full power values, power consumption constants and various recorded power consumption behaviors (power consumption behaviors corresponding to various power consumption states, such as power consumption behaviors corresponding to wireless signal receiving states, power consumption behaviors corresponding to wireless signal sending states, etc.), the server executes the battery power prediction method for the electronic price tag provided in an embodiment of the present invention, such as steps 101-104.

[0048] When it comes to specific implementation, Figure 2 The server service can specify the power consumption data parameters and models for each price tag and can predict the service life based on the data reported by each price tag. Figure 2 As shown, the embodiment of the present invention may further include a price tag controller, which sends various commands, instructions, and data from the server to the price tag, and reports various parameters and data of the price tag to the server, that is, plays the role of uploading and downloading. Figure 2 ESls in the figure represents an electronic price tag cluster, including multiple ESLs (electronic price tags). The cluster may include different types of electronic price tags, electronic price tags of different models, sizes, colors, etc. Each electronic price tag can dynamically update the power icon according to its own lifespan, and report detailed power data in a timely manner, multiple current dynamic power consumption constants, and the triggering time of each different power consumption behavior of the electronic price tag to be tested (the triggering time of each power consumption behavior recorded by the electronic price tag itself).

[0049] As can be seen from the above, in one embodiment, the multiple current dynamic power consumption constants of the electronic price tag to be tested may include: any combination of the main control chip model of the electronic price tag and the basic parameters of the electronic price tag itself;

[0050] The power consumption value under the power consumption state corresponding to the main control chip model of the electronic price tag may include: the power consumption value of the wireless signal receiving state, the power consumption value of the wireless signal sending state, the power consumption value of the main control chip not receiving or sending state, and the power consumption value of the main control chip deep sleep state, one of them or any combination thereof;

[0051] The power consumption value in the power consumption state corresponding to the basic parameters of the electronic price tag itself may include: one or any combination of the average power consumption values ​​of the refresh screen state corresponding to different sizes, colors, and temperatures of the electronic price tag.

[0052] From the above, it can be seen that in one embodiment, the multiple current dynamic power consumption constants of the electronic price tag to be tested may also include: the power consumption constant consumed in the service corresponds to the power consumption value in the power consumption state, such as the flashing service power consumption constant LED_CURRENT.

[0053] In the above step 102, the multiple current dynamic power consumption constants obtained from the electronic price tag can be matched to the pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery in different power consumption states, and the power consumption value of each current dynamic power consumption constant of the electronic price tag battery to be tested under each power consumption state can be obtained. The relationship can be a Figure 6 The form, the Figure 6 It can also include power consumption constants such as model, color temperature, etc. Of course, it can also be a neural network model, the input of which is: multiple current dynamic power consumption constants, and the output can be the power consumption value under each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested.

[0054] In the above step 103, when the electronic price tag is working normally and continuously, how to accurately record the length of time of each state is also the key to the entire calculation. When the electronic price tag is installed with a battery, it starts to work continuously. Every time the electronic price tag wakes up after deep sleep, the accumulated time of the electronic price tag in deep sleep is DEEPSLEEP TIME, which is the timing length of this sleep timer. If the sleep is configured for 16s before this sleep, and it actually sleeps for 16s (the actual duration of the deep sleep state of the electronic price tag), then 16s is accumulated to DEEPSLEEP_TIME (the actual duration of the deep sleep state). If this sleep is awakened by an external interrupt before completing 16s, the length of the actual sleep, such as 7.8s (the actual duration of the deep sleep state), is added to DEEPSLEEP_TIME. When the electronic price tag completes a synchronization signal or data receiving process from the base station, the accumulated time MCU_TIME (duration of the non-receiving and non-transmitting state) of the electronic price tag, as well as the receiving time RX_TIME (duration of the wireless signal receiving state) and the sending time TX_TIME (duration of the wireless signal sending state) are accumulated; when the electronic price tag completes a screen refresh or flashing service, in addition to the accumulated time, SCREEN_TIME (duration of the screen refresh state) and LED_TIME (duration of the flashing state) are also accumulated. Each time it is received or sent, each screen refresh or flashing, the actual length of time is a variable value. Here, the electronic price tag software needs to read the system timer in the chip before each behavior starts, and read it again at the end of the behavior to obtain the length of time the behavior is carried out. Note that as long as the software is running, the time should be included in MCU_TIME, so this time length is actually the total time length from each wake-up time of the electronic price tag to the time point before the next sleep time minus the time length of the separate state such as receiving or transmitting in the middle (which can be determined according to the power consumption behavior of the separate state such as receiving or transmitting).

[0055] As can be seen from the above, in one embodiment, according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested, the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested is dynamically determined, including:

[0056] Determine the actual duration of the electronic price tag in the deep sleep state;

[0057] After the electronic price tag completes a process of receiving a synchronization signal or receiving data, the duration of the wireless signal receiving state and the duration of the wireless signal sending state are accumulated. Each time receiving or sending, the actual duration is a variable value. The timer in the electronic price tag main control chip is read before each power consumption behavior starts, and the timer in the electronic price tag main control chip is read again at the end of each power consumption behavior, so as to obtain the duration of each power consumption behavior;

[0058] After the electronic price tag completes a screen refresh, the cumulative screen refresh state lasts for a period of time. The actual duration of each screen refresh is a variable value;

[0059] The duration of the electronic price tag being in a non-receiving and non-sending state is determined based on the duration of the wireless signal receiving state, the duration of the wireless signal sending state, the duration of the screen refreshing state, and the total length of time from each wake-up time of the electronic price tag to the time point before the next sleep time.

[0060] In the above step 103, the electronic price tag can calculate the power consumption according to the predetermined rhythm Days day cycle, and the estimated residual power is obtained by the following formula, that is, in one embodiment, according to the full power value of the battery of the electronic price tag to be tested, the power consumption value of each current dynamic power consumption constant in each power consumption state, and the duration of each current dynamic power consumption constant in each power consumption state, the residual power value of the battery of the electronic price tag to be tested is determined, including determining the residual power value of the battery of the electronic price tag according to the following residual power prediction model:

[0061] Battery_VAL=Battery_FULL_VAL–RX_CURRENT×RX_TIME

[0062] –TX_CURRENT×TX_TIME–MCU_CURRENT×MCU_TIME

[0063] –DEEPSLEEP_CURRENT×DEEPSLEEP_TIME

[0064] –SCREEN_CURRENT×SCREEN_TIME

[0065] –LED_CURRENT×LED_TIME-Battery_Rate×TOTAL_DAYS;

[0066] Among them, Battery_VAL is the remaining battery power of the electronic price tag, Battery_FULL_VAL is the full battery value of the electronic price tag to be tested, RX_CURRENT is the power consumption value of the wireless signal receiving state, RX_TIME is the duration of the wireless signal receiving state, TX_CURRENT is the power consumption value of the wireless signal sending state, TX_TIME is the duration of the wireless signal sending state, MCU_CURRENT is the power consumption value of the main control chip when it is not receiving or sending, MCU_TIME is the duration of the main control chip when it is not receiving or sending, DEEPSLEEP_CURRENT is the power consumption value of the main control chip when it is in deep sleep State power consumption value, DEEPSLEEP_TIME is the duration of the deep sleep state of the main control chip, SCREEN_CURRENT is the average power consumption value of the refresh screen state of the electronic price tag, SCREEN_TIME is the duration of the refresh screen state of the electronic price tag, LED_CURRENT is the average power consumption value of the flashing state of the electronic price tag, LED_TIME is the duration of the flashing state of the electronic price tag, Battery_Rate is the self-consumption coefficient of the battery of the electronic price tag, and TOTAL_DAYS is the length of time from the time the electronic price tag determines that the battery is reloaded and started to this time (this cycle) to calculate all the time.

[0067] In a specific implementation, the above-mentioned Battery_VAL calculation formula may be a prediction model for the remaining power of the electronic price tag battery.

[0068] After calculating the remaining battery power each time, the electronic price tag determines the power indicator icon displayed on the predetermined small area on the screen of the electronic price tag according to the percentage obtained by Battery_VAL / Battery_FULL_VAL. The icon can give three prompts according to the three power indicator icon types of GOOD, MEDIAN and LOW to improve the user experience. That is, in one embodiment, the battery power prediction method of the above electronic price tag also includes: after determining the battery remaining power value of the electronic price tag to be tested each time, sending a power display instruction to the electronic price tag to be tested; the electronic price tag to be tested is used to determine the type of power indicator icon displayed on the predetermined small area on the screen of the electronic price tag according to the ratio of the full battery power value to the remaining battery power value. And the electronic price tag actively reports to the cloud control center via the uplink ( Figure 2 In the server) Battery_VAL, the cloud control center performs statistical analysis and gives managers low-battery prompts for certain price tags. That is, in one embodiment, the above-mentioned electronic price tag battery power prediction method also includes: when it is confirmed that the electronic price tag to be tested is in a low-battery state, sending a low-battery prompt message to the manager terminal corresponding to the electronic price tag.

[0069] The electronic price tag can also calculate the remaining life of its own battery based on TOTAL_DAYS and the percentage of the remaining battery power. That is, in one embodiment, as Figure 3 shown, the battery power prediction method for the above-mentioned electronic price tag further includes step 105: predicting the remaining service life of the electronic price tag battery according to the remaining battery power value of the electronic price tag to be measured and the self-discharge rate of the electronic price tag battery. For example, the remaining service life of the electronic price tag battery is predicted according to the following formula:

[0070] Battery_Life_Remain=(Battery_VAL / (Battery_FULL_VAL - Battery_VAL))

[0071] ×TOTAL_DAYS;

[0072] In specific implementation, regarding the self-discharge rate of the above-mentioned electronic price tag battery, such as the denominator in the Battery_Life_Remain calculation formula above, this denominator represents the consumed power. Therefore, predicting the remaining service life of the electronic price tag battery includes the factor of the battery self-consumption rate. Therefore, the Battery_Life_Remain calculation formula can linearly estimate the remaining battery life time and improve the accuracy of predicting the remaining service life of the electronic price tag battery.

[0073] When the electronic price tag calculates that Battery_Life_Remain < Remain_Thread (remaining service life threshold), it means that a low battery alarm should be given. On the one hand, the icon LOW is displayed, and on the other hand, the cloud server (such as Figure 3 the server in) is reported, and the cloud server gives a low battery prompt to the management personnel.

[0074] In summary, the battery power prediction method for the electronic price tag provided by the embodiment of the present invention realizes:

[0075] 1. A method for an electronic price tag to estimate its total power consumption and thus estimate (predict) the battery life according to the cumulative time length (duration) of all electronic price tags in different power consumption states after restarting from the battery reload, and according to the power consumption values of different power consumption states measured and recorded in advance, as well as the full load power of the battery itself (battery full power value) and the self-discharge rate.

[0076] 2. The average power consumption of different power consumption states measured and recorded is written into the non-volatile memory of each electronic price tag during the production of each electronic price tag.

[0077] 3. The main control chip of the electronic price tag can start calculating the cumulative time length of all states again by detecting whether the battery is re-added to start working.

[0078] 4. The power consumption calculation mode, such as the algorithm (the relationship between the pre-established power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states) and the parameters (dynamic power consumption constant) are sent to the terminal product such as the electronic price tag through the background system through the wireless transceiver.

[0079] 5. The electronic price tag is estimated to have a service life based on the configuration cycle and the previously used model.

[0080] The present invention also provides a battery power prediction device for an electronic price tag, as described in the following embodiments. Since the principle of the device to solve the problem is similar to the battery power prediction method for an electronic price tag, the implementation of the device can refer to the implementation of the battery power prediction method for an electronic price tag, and the repeated parts will not be repeated.

[0081] Figure 4 FIG. 1 is a schematic diagram of the structure of a battery power prediction device for an electronic price tag according to an embodiment of the present invention. Figure 4 As shown, the device comprises:

[0082] The acquisition unit 01 is used to acquire the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested;

[0083] The power consumption value determination unit 02 is used to determine the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested according to multiple current dynamic power consumption constants of the electronic price tag battery to be tested and the pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery in different power consumption states;

[0084] The duration determination unit 03 is used to dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the battery of the electronic price tag to be tested according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested;

[0085] The prediction unit 04 is used to determine the remaining battery power value of the electronic price tag to be tested according to the full battery power value of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

[0086] In one embodiment, the multiple current dynamic power consumption constants of the electronic price tag to be tested include: any combination of the main control chip model of the electronic price tag and the basic parameters of the electronic price tag itself;

[0087] The power consumption values ​​under the power consumption states corresponding to the main control chip model of the electronic price tag include: the power consumption value in the wireless signal receiving state, the power consumption value in the wireless signal sending state, the power consumption value in the main control chip not receiving or sending state, and the power consumption value in the main control chip deep sleep state, one of them or any combination thereof;

[0088] The power consumption value under the power consumption state corresponding to the basic parameters of the electronic price tag itself includes: one or any combination of the average power consumption values ​​of the refresh screen state corresponding to different sizes, colors, and temperatures of the electronic price tag.

[0089] In one embodiment, the battery power prediction device for the electronic price tag further includes a full power value determination unit, which is used to determine the full power value of the battery of the electronic price tag to be tested according to the following method:

[0090] Each time the main control chip of the electronic price tag is started, the startup circuit in the main control chip detects whether the current startup is a restart after the battery is powered off and then re-added;

[0091] If so, and the battery voltage detected for multiple consecutive times is the highest value, it is determined that the battery power is now in a fully charged state, and the power value in the fully charged state is used as the battery full power value.

[0092] In one embodiment, the electronic price tag to be tested is used to: regularly report the power usage of the electronic price tag battery according to the configuration cycle; when it is restarted or found that its own power is in a low-power state during the reporting period according to the configuration cycle, a low-power icon is displayed, and the server is reported that its own state is in a low-power state. After the server confirms or when it is in a low-power state for several consecutive days, the electronic price tag enters a low-power state.

[0093] In one embodiment, the battery power prediction device for the electronic price tag further includes a prompt unit for sending a low-power prompt message to a management terminal corresponding to the electronic price tag when confirming that the electronic price tag to be tested is in a low-power state.

[0094] In one embodiment, the battery power prediction device of the above-mentioned electronic price tag also includes a display control unit, which is used to: send a power display instruction to the electronic price tag to be tested after determining the battery remaining power value of the electronic price tag to be tested each time; the electronic price tag to be tested is used to determine the type of power indicator icon displayed on a predetermined small area on the screen of the electronic price tag according to the ratio of the battery full power value to the battery remaining power value.

[0095] In one embodiment, the battery power prediction device for the electronic price tag further includes a service life prediction unit for predicting the remaining service life of the electronic price tag battery according to the remaining power value of the battery of the electronic price tag to be tested and the self-discharge rate of the electronic price tag battery.

[0096] In one embodiment, the battery power prediction device of the electronic price tag further includes an updating unit, which is used to: when a new type of power consumption constant appears, update the relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states, and write the new type of power consumption constant into the non-volatile memory inside the price tag.

[0097] In one embodiment, the duration determination unit is specifically configured to:

[0098] Determine the actual duration of the electronic price tag in the deep sleep state;

[0099] After the electronic price tag completes a process of receiving a synchronization signal or receiving data, the duration of the wireless signal receiving state and the duration of the wireless signal sending state are accumulated. Each time receiving or sending, the actual duration is a variable value. The timer in the electronic price tag main control chip is read before each power consumption behavior starts, and the timer in the electronic price tag main control chip is read again at the end of each power consumption behavior, so as to obtain the duration of each power consumption behavior;

[0100] After the electronic price tag completes a screen refresh, the cumulative screen refresh state lasts for a period of time. The actual duration of each screen refresh is a variable value;

[0101] The duration of the electronic price tag being in a non-receiving and non-sending state is determined based on the duration of the wireless signal receiving state, the duration of the wireless signal sending state, the duration of the screen refreshing state, and the total length of time from each wake-up time of the electronic price tag to the time point before the next sleep time.

[0102] Based on the above invention concept, Figure 5 As shown, the present invention also proposes a computer device 500, including a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and executable on the processor 520, wherein the processor 520 implements the aforementioned method for predicting the battery power of the electronic price tag when executing the computer program 530.

[0103] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the battery power prediction method of the electronic price tag is implemented.

[0104] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the battery power prediction method of the electronic price tag is implemented.

[0105] In the embodiment of the present invention, the battery power prediction scheme of the electronic price tag is compared with the technical scheme of estimating the battery power of the electronic price tag by voltage or estimating the power consumed by the electronic price tag to process the service in the prior art. The scheme includes: obtaining the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested; determining the power consumption value of the electronic price tag to be tested according to the multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the relationship between the power consumption constants and the power consumption value of the electronic price tag battery under different power consumption states established in advance. The method comprises the following steps: determining the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery; dynamically determining the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested; determining the residual power value of the battery of the electronic price tag to be tested according to the full power value of the battery of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant, thereby accurately predicting the battery power of the electronic price tag and improving the prediction accuracy of the battery power of the electronic price tag.

[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0107] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0108] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0110] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for predicting the battery power of an electronic price tag, characterized in that: The method includes: Obtain the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested; According to a plurality of current dynamic power consumption constants of the electronic price tag battery to be tested, and a pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states, determine the power consumption value under each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested; According to the triggering moment of each different power consumption behavior of the electronic price tag to be tested, dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested; The remaining power value of the battery of the electronic price tag to be tested is determined according to the full power value of the battery of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

2. The method according to claim 1, characterized in that The multiple current dynamic power consumption constants of the electronic price tag to be tested include: any combination of the main control chip model of the electronic price tag and the basic parameters of the electronic price tag itself; The power consumption values ​​under the power consumption states corresponding to the main control chip model of the electronic price tag include: the power consumption value in the wireless signal receiving state, the power consumption value in the wireless signal sending state, the power consumption value in the main control chip not receiving or sending state, and the power consumption value in the main control chip deep sleep state, one of them or any combination thereof; The power consumption value under the power consumption state corresponding to the basic parameters of the electronic price tag itself includes: one or any combination of the average power consumption values ​​of the refresh screen state corresponding to different sizes, colors, and temperatures of the electronic price tag.

3. The method according to claim 1, characterized in that Also includes: Determine the full battery value of the electronic price tag to be tested as follows: Each time the main control chip of the electronic price tag is started, the startup circuit in the main control chip detects whether the current startup is a restart after the battery is powered off and then re-added; If so, and the battery voltage detected for multiple consecutive times is the highest value, it is determined that the battery power is now in a fully charged state, and the power value in the fully charged state is used as the battery full power value.

4. The method according to claim 3, characterized in that The electronic price tag to be tested is used to: regularly report the power usage of the electronic price tag battery according to the configuration cycle; when it is restarted or found that its own power is in a low power state during the reporting period according to the configuration cycle, a low power icon is displayed, and the server is reported that its own state is in a low power state. After the server confirms or when it is in a low power state for several consecutive days, the electronic price tag enters a low power consumption state.

5. The method according to claim 4, characterized in that Also includes: When it is confirmed that the electronic price tag to be tested is in a low-power state, a low-power prompt message is sent to a management terminal corresponding to the electronic price tag.

6. The method according to claim 1, characterized in that Also includes: After each determination of the remaining battery power value of the electronic price tag to be tested, a power display instruction is sent to the electronic price tag to be tested; the electronic price tag to be tested is used to determine the type of power indicator icon displayed on a predetermined small area on the screen of the electronic price tag according to the ratio of the full battery power value to the remaining battery power value.

7. The method according to claim 1, characterized in that Also includes: The remaining service life of the electronic price tag battery is predicted according to the remaining power value of the battery of the electronic price tag to be tested and the self-discharge rate of the electronic price tag battery.

8. The method according to claim 1, characterized in that Also includes: When a new type of power consumption constant appears, the relationship between the power consumption constant and the power consumption value of the electronic price tag battery under different power consumption states is updated, and the new type of power consumption constant is written into the non-volatile memory inside the price tag.

9. The method according to claim 1, characterized in that According to the triggering moment of each different power consumption behavior of the electronic price tag to be tested, the duration of each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested is dynamically determined, including: Determine the actual duration of the electronic price tag in the deep sleep state; After the electronic price tag completes a process of receiving a synchronization signal or receiving data, the duration of the wireless signal receiving state and the duration of the wireless signal sending state are accumulated. Each time receiving or sending, the actual duration is a variable value. The timer in the electronic price tag main control chip is read before each power consumption behavior starts, and the timer in the electronic price tag main control chip is read again at the end of each power consumption behavior, so as to obtain the duration of each power consumption behavior; After the electronic price tag completes a screen refresh, the cumulative screen refresh state lasts for a period of time. The actual duration of each screen refresh is a variable value; The duration of the electronic price tag being in a non-receiving and non-sending state is determined based on the duration of the wireless signal receiving state, the duration of the wireless signal sending state, the duration of the screen refreshing state, and the total length of time from each wake-up time of the electronic price tag to the time point before the next sleep time.

10. A battery power prediction device for an electronic price tag, characterized in that: include: An acquisition unit, used to acquire the full power value of the battery of the electronic price tag to be tested, multiple current dynamic power consumption constants of the battery of the electronic price tag to be tested, and the triggering time of each different power consumption behavior of the electronic price tag to be tested; A power consumption value determination unit, used to determine the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant of the electronic price tag battery to be tested according to multiple current dynamic power consumption constants of the electronic price tag battery to be tested and the pre-established relationship between the power consumption constant and the power consumption value of the electronic price tag battery in different power consumption states; A duration determination unit, used to dynamically determine the duration of each power consumption state corresponding to each current dynamic power consumption constant of the battery of the electronic price tag to be tested according to the triggering moment of each different power consumption behavior of the electronic price tag to be tested; The prediction unit is used to determine the remaining battery power value of the electronic price tag to be tested based on the full battery power value of the electronic price tag to be tested, the power consumption value in each power consumption state corresponding to each current dynamic power consumption constant, and the duration of each power consumption state corresponding to each current dynamic power consumption constant.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Method and apparatus for predicting power of battery of electronic shelf label

    WO2026098576A1