A price tag power control method, device and computer readable storage medium
By dynamically adjusting the uplink power in the electronic price tag system and adjusting the power according to the delivery success rate, the problem of power waste caused by fixed power is solved, efficient power consumption management of the electronic price tag is realized, and the battery life is extended.
Patent Information
- Application Number
- CN202110439714.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-23
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-04-23
AI Technical Summary
In the existing electronic price tag system, the power of the electronic price tag is fixed when transmitting uplink signaling, which results in a waste of power for devices close to the base station, increases battery consumption, and affects battery life.
By counting the delivery success rate of uplink signaling within the preset detection period, the uplink power of the electronic price tag is dynamically adjusted. If the success rate is higher than the first preset value, it is lowered, and if the success rate is lower than the second preset value, it is raised. , until the delivery success rate is between the two thresholds, as the default power.
It realizes efficient dynamic control of power consumption of electronic price tags, adaptively adjusts uplink power, reduces power consumption, and extends battery life.
Smart Images

Figure CN113518415B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communications, and in particular to a price tag power control method, device and computer-readable storage medium. Background Art
[0002] In the prior art, with the rise of concepts such as smart retail, smart supermarkets, and unmanned stores, the application of electronic price tags has become increasingly widespread in recent years. People have also seen electronic price tags in more and more scenes in their daily lives. An electronic price tag is an intelligent terminal device for displaying product information. It is usually composed of a control component, a communication component, a storage component, and a display component. Electronic price tags usually also require matching base station equipment. A base station is a management device that can manage multiple price tags at the same time. It stores the information of the managed price tags and the information of the corresponding products that these price tags need to display. It can be seen that the existing electronic price tag system generally consists of three parts: a cloud server, a base station, and a price tag. The cloud server uniformly manages the information of base stations and price tags scattered in various stores. A store usually has multiple base stations, and a base station is responsible for managing a group of price tags and sending correct product information to the price tags. The electronic price tag is responsible for receiving and parsing product information and displaying the information to customers in an appropriate manner.
[0003] Normally, a fixed uplink power level is set when the electronic price tag leaves the factory to ensure that the uplink signaling can be delivered to the base station even under the worst working conditions that meet the design indicators. In this case, the electronic price tag will not adaptively adjust the uplink power level according to the working conditions. It can be seen that in the current electronic price tag system, no matter how far the electronic price tag is from the base station, it always sends uplink information to the base station at a fixed transmission power. For electronic price tags that are closer to the base station, it will cause a waste of power, resulting in increased power consumption and affecting the battery life of the electronic price tag. Summary of the invention
[0004] In order to solve the above technical defects in the prior art, the present invention proposes a price tag power control method, which includes:
[0005] In a preset detection period, the delivery success rate of the uplink signaling of the electronic price tag is obtained by statistics.
[0006] If the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude in the next detection cycle; if the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude.
[0007] Repeat the steps of decreasing or increasing the uplink power until the delivery success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value.
[0008] The current uplink power is used as the default uplink power of the electronic price tag for this operation and the next power-on.
[0009] Optionally, before obtaining the delivery success rate of the uplink signaling of the electronic price tag within the preset detection period, the method includes:
[0010] When the electronic price tag is powered on, the built-in uplink power information and power adjustment information are read.
[0011] The initial uplink power is determined according to the uplink power information, the detection starting point and cycle duration of the detection cycle are determined according to the power adjustment information, and the first preset value, the first amplitude, the second preset value and the second amplitude included in the power adjustment information are read.
[0012] Optionally, within a preset detection period, obtaining the delivery success rate of the uplink signaling of the electronic price tag by counting, includes:
[0013] The statistical number within the detection period is preset.
[0014] When the cumulative number of times the uplink signaling is delivered reaches the statistical number within the detection period, the delivery success rate of the uplink signaling to the corresponding base station is counted.
[0015] Optionally, if the delivery success rate is higher than a first preset value, the uplink power of the electronic price tag is lowered by a preset first amplitude in the next detection cycle; if the delivery success rate is lower than a second preset value, the uplink power is increased by a preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, including:
[0016] If the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, the current detection cycle is switched to the next detection cycle.
[0017] At the beginning of the next detection cycle, the uplink power adjusted down according to the first amplitude is used as the current uplink power, or the uplink power adjusted up according to the second amplitude is used as the current uplink power.
[0018] Optionally, if the delivery success rate is higher than a first preset value, the uplink power of the electronic price tag is lowered by a preset first amplitude in the next detection cycle; if the delivery success rate is lower than a second preset value, the uplink power is increased by a preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, and further comprising:
[0019] If, within a detection cycle, the transmission success rate is less than the first preset value and greater than the second preset value, then the current uplink power is used for operation within the detection cycle and subsequent preset detection cycles.
[0020] In the next detection cycle after the subsequent preset detection cycles, the steps of counting and judging the delivery success rate are executed again.
[0021] Optionally, the repeatedly performing the step of lowering or raising the uplink power until the delivery success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value includes:
[0022] The first amplitude is gradually increased according to the number of consecutive executions of the decreasing step.
[0023] The second amplitude is increased successively according to the number of consecutive executions of the increasing step, wherein the successively increasing amplitude of the first amplitude is smaller than the successively increasing amplitude of the second amplitude.
[0024] Optionally, the step of repeatedly performing the step of lowering or raising the uplink power until the delivery success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value further includes:
[0025] A limit value of the number of consecutive executions is preset.
[0026] When the number of consecutive executions of the decreasing step exceeds the limit value, the first preset value is increased, and when the number of consecutive executions of the increasing step exceeds the limit value, the second preset value is decreased.
[0027] Optionally, the using the current uplink power as the default uplink power of the electronic price tag for the current operation and the next power-on includes:
[0028] Cache the power level corresponding to the current uplink power.
[0029] When powered on next time, the uplink power corresponding to the power level in the cache is read.
[0030] The present invention also proposes a price tag power control device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the price tag power control method as described in any one of the above items are implemented.
[0031] The present invention also proposes a computer-readable storage medium, on which a price tag power control program is stored. When the price tag power control program is executed by a processor, the steps of the price tag power control method as described in any one of the above items are implemented.
[0032] The price tag power control method, device and computer-readable storage medium of the present invention are implemented. By statistically obtaining the delivery success rate of the uplink signaling of the electronic price tag within a preset detection cycle, if the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude within the next detection cycle. If the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude within the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude. Then, the uplink power reduction or increase step is repeated until the delivery success rate within a detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value. Finally, the current uplink power is used as the default uplink power of the electronic price tag for this operation and the next power-on. An efficient price tag power consumption dynamic control scheme is implemented, so that the price tag can adaptively control the current uplink power, and the price tag power consumption can be effectively reduced while ensuring the communication effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0034] Figure 1 It is a hardware structure diagram of a mobile terminal involved in the present invention;
[0035] Figure 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
[0036] Figure 3 is a flow chart of a first embodiment of a price tag power control method of the present invention;
[0037] Figure 4 is a flow chart of a second embodiment of a price tag power control method of the present invention;
[0038] Figure 5 is a flow chart of a third embodiment of a price tag power control method of the present invention;
[0039] Figure 6is a flow chart of a fourth embodiment of a price tag power control method of the present invention;
[0040] Figure 7 is a flow chart of a fifth embodiment of a price tag power control method of the present invention;
[0041] Figure 8 is a flow chart of a sixth embodiment of a price tag power control method of the present invention;
[0042] Fig. 9 is a flow chart of a seventh embodiment of a price tag power control method of the present invention;
[0043] Fig.10 It is a flow chart of the eighth embodiment of the price tag power control method of the present invention. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0046] The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0047] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.
[0048] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0049] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0050] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0051] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0052] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0053] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0054] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0055] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0056] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0057] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0058] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0059] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0060] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0061] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0062] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0063] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.
[0064] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are sequentially connected for communication.
[0065] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0066] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .
[0067] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0068] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0069] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.
[0070] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
[0071] Embodiment 1
[0072] Figure 3 1 is a flow chart of a first embodiment of a price tag power control method of the present invention. A price tag power control method, the method comprising:
[0073] S1. Within a preset detection period, the delivery success rate of the uplink signaling of the electronic price tag is obtained by counting.
[0074] S2. If the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude in the next detection cycle; if the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude.
[0075] S3. Repeat the steps of decreasing or increasing the uplink power until the delivery success rate within one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value.
[0076] S4. Use the current uplink power as the default uplink power for the electronic price tag during this operation and the next power-on.
[0077] In this embodiment, it is considered that a fixed uplink power level is set when the electronic price tag leaves the factory, so as to ensure that the uplink signaling can be delivered to the base station even under the worst working conditions that meet the design indicators. In this case, the electronic price tag will not adaptively adjust the uplink power level according to the working conditions. It can be seen that in the current electronic price tag system, no matter how far the electronic price tag is from the base station, it always sends uplink information to the base station at a fixed transmission power. For electronic price tags that are closer to the base station, it will cause a waste of power, resulting in increased power consumption and affecting the battery life of the electronic price tag. Therefore, this embodiment proposes a price tag power control scheme, which dynamically adjusts the uplink power of the electronic price tag to avoid meaningless excessive consumption of the price tag battery.
[0078] Optionally, in this embodiment, according to certain preset conditions, the delivery success rate of the uplink signaling of the electronic price tag is counted periodically or quantitatively. The preset condition may be the detection period set in this embodiment, that is, the delivery success rate of the uplink signaling of the electronic price tag is counted within a certain detection period, and the preset condition may also be the number of executions of the delivery, that is, within a certain number of executions of the delivery, the delivery success rate of the uplink signaling of the electronic price tag is counted.
[0079] Optionally, in this embodiment, the above-mentioned preset condition can also be that within a certain detection period, the number of delivery executions is used as a statistical trigger condition, that is, within a certain detection period, when a certain number of delivery executions are accumulated, the delivery success rate of the uplink signaling of the electronic price tag is counted.
[0080] Optionally, in this embodiment, if the delivery success rate is higher than the first preset value, it is determined that the current uplink power is high enough. Therefore, in order to avoid excessive power messages, the uplink power of the electronic price tag is lowered by a preset first amplitude during the next detection cycle, thereby ensuring a balance between the uplink power and the delivery success rate.
[0081] Optionally, in this embodiment, similarly, if the delivery success rate is lower than the second preset value, it is determined that the current uplink power does not meet the minimum working requirements. Therefore, in order to avoid the uplink signaling from being unable to be successfully delivered, the uplink power of the electronic price tag is increased by the preset second amplitude during the next detection cycle, also to ensure a balance between the uplink power and the delivery success rate.
[0082] Optionally, in this embodiment, in order to prevent the uplink power from being increased or decreased and causing a significant impact on power consumption or uplink signaling transmission, in this embodiment, the first amplitude and the second amplitude are set within a smaller range, and at the same time, a continuous adjustment method is used to dynamically adjust the uplink power, so that the uplink power and the delivery success rate can maintain a dynamic balance within a certain range. Therefore, the solution adopted in this embodiment is to repeatedly perform the uplink power decrease or increase step until the delivery success rate within a detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value.
[0083] Optionally, in this embodiment, in order to maintain a dynamic balance between the uplink power and the transmission success rate within a certain range, in this embodiment, the above-mentioned certain range is greater than the second preset value and less than the first preset value, that is, the relationship between the above-mentioned first preset value and the second preset value is that the first preset value is greater than the second preset value.
[0084] Optionally, in this embodiment, during the process of lowering the power, the main impact is on power consumption, while the impact on signaling transmission is smaller; during the process of increasing the power, the main impact is on signaling transmission, while the impact on power consumption is smaller. Therefore, increasing the power has a higher priority, and the progress of increasing the power precedes the progress of lowering the power. Therefore, in this embodiment, the first amplitude is smaller than the second amplitude.
[0085] Specifically, for example: the transmission power of the electronic price tag is divided into N (such as 10) levels. Based on this, the electronic price tag can dynamically increase or decrease its own uplink power level according to the actual communication indicators. First, after the electronic price tag is powered on, the power level information stored in the storage medium is read. During the interaction between the electronic price tag and the base station, all uplink signaling delivery success rates are counted. When the number of statistics is greater than S times (such as 100 times), the uplink delivery rate is calculated, and it is determined whether the uplink power needs to be adjusted. When the uplink delivery success rate R is higher than the preset threshold R_high (such as 99.90%), the uplink power level is lowered according to the preset strategy until it is adjusted to the lowest. When the uplink delivery success rate R is lower than the preset threshold R_low (such as 95.00%), the uplink power level is increased according to the preset strategy until it is adjusted to the highest. The adjusted power value is stored in the storage medium so that after the electronic price tag is restarted, the power value obtained by the last adjustment can continue to be used. When the uplink transmission success rate is between R_low and R_high, no adjustment is made and the existing uplink transmission power is maintained. In this embodiment, the "preset adjustment strategy" is: when increasing the transmission power, increase m (such as 3) levels each time; when decreasing the transmission power, decrease n (such as 1) levels each time; the purpose of setting m and n is to: control the power adjustment rate, and differentially control the rate of increase and decrease; adjust quickly when increasing, so that the uplink signaling can be sent successfully as soon as possible; adjust slowly when decreasing, so as to find an available power value as small as possible. It can be seen that through the above-mentioned dynamic control mechanism, the uplink transmission power of the price tag can be automatically and dynamically adjusted. When the relative position between the price tag and the base station changes, or the shielding situation changes, the price tag can automatically adjust to an appropriate uplink power value that is both energy-saving and can ensure the communication effect. Thereby effectively controlling the overall power consumption of the electronic price tag and extending the battery life of the electronic price tag.
[0086] The beneficial effect of this embodiment is that by statistically obtaining the delivery success rate of the uplink signaling of the electronic price tag within a preset detection cycle, if the delivery success rate is higher than the first preset value, then the uplink power of the electronic price tag is lowered by the preset first amplitude within the next detection cycle, and if the delivery success rate is lower than the second preset value, then the uplink power is increased by the preset second amplitude within the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, and then the uplink power reduction or increase step is repeated until the delivery success rate within a detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value, and finally, the current uplink power is used as the default uplink power of the electronic price tag for this operation and the next power-on. An efficient price tag power consumption dynamic control scheme is implemented, so that the price tag can adaptively control the current uplink power, and can effectively reduce the price tag power consumption while ensuring the communication effect.
[0087] Embodiment 2
[0088] Figure 4 Flowchart of the second embodiment of the price tag power control method of the present invention. Based on the above embodiment, before obtaining the delivery success rate of the uplink signaling of the electronic price tag within the preset detection period, the method includes:
[0089] S01. When the electronic price tag is powered on, its built-in uplink power information and power adjustment information are read.
[0090] S02. Determine the initial uplink power according to the uplink power information, determine the detection starting point and cycle length of the detection period according to the power adjustment information, and read the first preset value, the first amplitude, the second preset value and the second amplitude contained in the power adjustment information.
[0091] Optionally, in this embodiment, when the electronic price tag is powered on, its built-in uplink power information and power adjustment information are read, wherein the uplink power information may be power level setting information divided by levels, and the power adjustment information includes the detection starting point of the cycle, the cycle duration, or the cumulative number of times in the above scheme, etc.
[0092] Optionally, in this embodiment, the first preset value, the first amplitude, the second preset value and the second amplitude are also included in the power adjustment information. The first amplitude and the second amplitude may be amplitudes of power values or amplitudes of power levels, that is, the power value of the current uplink power is adjusted according to the power value of the first amplitude or the second amplitude, or the level of the current uplink power is adjusted according to the power level of the first amplitude or the second amplitude.
[0093] The beneficial effect of this embodiment is that by identifying when the electronic price tag is powered on, the built-in uplink power information and power adjustment information are read, and then the initial uplink power is determined according to the uplink power information, the detection starting point and cycle length of the detection cycle are determined according to the power adjustment information, and the first preset value, the first amplitude, the second preset value and the second amplitude contained in the power adjustment information are read. A more efficient price tag power consumption dynamic control scheme is implemented, and built-in control conditions of the price tag are provided, so that the price tag can adaptively control the current uplink power, and effectively reduce the price tag power consumption while ensuring the communication effect.
[0094] Embodiment 3
[0095] Figure 5: is a flow chart of the third embodiment of the price tag power control method of the present invention. Based on the above embodiment, within the preset detection period, the delivery success rate of the uplink signaling of the electronic price tag is obtained by statistics, including:
[0096] S11. Preset the statistical number within the detection period.
[0097] S12: When the cumulative number of times the uplink signaling is delivered reaches the statistical number within the detection period, the delivery success rate of the uplink signaling to the corresponding base station is counted.
[0098] Optionally, in this embodiment, according to certain preset conditions, the delivery success rate of the uplink signaling of the electronic price tag is counted periodically or quantitatively. The preset condition may be the detection period set in this embodiment, that is, the delivery success rate of the uplink signaling of the electronic price tag is counted within a certain detection period, and the preset condition may also be the number of executions of the delivery, that is, within a certain number of executions of the delivery, the delivery success rate of the uplink signaling of the electronic price tag is counted.
[0099] Optionally, in this embodiment, the above-mentioned preset condition can also be that within a certain detection period, the number of delivery executions is used as a statistical trigger condition, that is, within a certain detection period, when a certain number of delivery executions are accumulated, the delivery success rate of the uplink signaling of the electronic price tag is counted.
[0100] Optionally, in this embodiment, for example, the detection period may be five minutes, and the number of executions may be 100 times. Therefore, within the five-minute detection period, when a certain number of delivery executions is accumulated to 100 times, the delivery success rate of the uplink signaling of the above 100 electronic price tags begins to be counted.
[0101] The beneficial effect of this embodiment is that by presetting the statistical number within the detection period, when the cumulative number of uplink signaling delivery reaches the statistical number within the detection period, the delivery success rate of the uplink signaling to the corresponding base station is counted. A more efficient price tag power consumption dynamic control scheme is implemented, and the price tag built-in control conditions are provided, so that the price tag can adaptively control the current uplink power, which can effectively reduce the price tag power consumption while ensuring the communication effect.
[0102] Embodiment 4
[0103] Figure 6It is a flowchart of the fourth embodiment of the price tag power control method of the present invention. Based on the above embodiment, if the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude in the next detection cycle. If the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, including:
[0104] S21. If the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, switch from the current detection cycle to the next detection cycle.
[0105] S22. At the beginning of the next detection cycle, the uplink power adjusted down according to the first amplitude is used as the current uplink power, or the uplink power adjusted up according to the second amplitude is used as the current uplink power.
[0106] Optionally, in this embodiment, when the detection cycle is used as a single detection trigger condition, if the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, the current detection cycle is switched to the next detection cycle.
[0107] Optionally, in this embodiment, when the cumulative number of deliveries is used as a single detection trigger condition within a detection cycle, if the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, the current detection cycle is switched to the next detection cycle, and the current detection cycle that has not been completed will no longer be continued.
[0108] Optionally, in this embodiment, when the detection cycle is used as a single detection trigger condition, at the beginning of the next detection cycle, the uplink power lowered by the first amplitude is used as the current uplink power, or the uplink power increased by the second amplitude is used as the current uplink power.
[0109] Optionally, in this embodiment, when the accumulated number of deliveries is used as a single detection trigger condition within a detection cycle, at the beginning of the next detection cycle, the accumulated number of delivery operations is performed with the uplink power adjusted lowered according to the first amplitude as the current uplink power, or the accumulated number of delivery operations is performed with the uplink power adjusted higher according to the second amplitude as the current uplink power.
[0110] The beneficial effect of this embodiment is that if the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, the current detection cycle is switched to the next detection cycle, and then, at the beginning of the next detection cycle, the uplink power adjusted down by the first amplitude is used as the current uplink power, or the uplink power adjusted up by the second amplitude is used as the current uplink power. A more efficient price tag power consumption dynamic control scheme is implemented, providing dynamic control conditions, so that the price tag can adaptively control the current uplink power, effectively reducing the price tag power consumption while ensuring the communication effect.
[0111] Embodiment 5
[0112] Figure 7 It is a flowchart of the fifth embodiment of the price tag power control method of the present invention. Based on the above embodiment, if the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude in the next detection cycle. If the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, and also includes:
[0113] S23: If, within a detection cycle, the delivery success rate is less than the first preset value and greater than the second preset value, then the current uplink power is used for operation within the detection cycle and subsequent preset detection cycles.
[0114] S24, in the next detection cycle after the subsequent preset detection cycles, re-execute the steps of counting and judging the delivery success rate.
[0115] Optionally, in this embodiment, when the detection period is used as the execution cycle, if within one of the detection periods, the delivery success rate is less than the first preset value and greater than the second preset value, then within the detection period and subsequent preset detection periods, the current uplink power is used for operation.
[0116] Optionally, in this embodiment, within a detection cycle, when the number of signaling uploads is used as the execution loop, if within a detection cycle, the delivery success rate is less than the first preset value and greater than the second preset value, then within the preset upload times within the detection cycle and subsequent preset detection cycles, it operates with the current uplink power.
[0117] Optionally, in this embodiment, the steps of counting and judging the delivery success rate are re-executed in the next detection cycle after the subsequent preset detection cycles or after the preset number of uploads.
[0118] The beneficial effect of this embodiment is that if it is determined that within a detection cycle, the delivery success rate is less than the first preset value and greater than the second preset value, then within the detection cycle and subsequent preset detection cycles, the current uplink power is used for operation, and then, in the next detection cycle after the subsequent preset detection cycles, the delivery success rate statistics and judgment steps are re-executed. A more efficient price tag power consumption dynamic control scheme is implemented, providing cyclic dynamic control conditions, so that the price tag can adaptively control the current uplink power, effectively reducing the price tag power consumption while ensuring the communication effect.
[0119] Embodiment 6
[0120] Figure 8 is a flow chart of a sixth embodiment of the price tag power control method of the present invention. Based on the above embodiment, the step of repeatedly performing the step of lowering or raising the uplink power until the delivery success rate within one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value includes:
[0121] S31. According to the number of consecutive executions of the decreasing step, gradually increase the first amplitude.
[0122] S32. According to the number of consecutive executions of the increasing step, the second amplitude is increased successively, wherein the amplitude of the successive increase of the first amplitude is smaller than the amplitude of the successive increase of the second amplitude.
[0123] Optionally, in this embodiment, the first amplitude is gradually increased according to the number of consecutive executions of the lowering step, that is, in order to increase the execution progress of the lowering, the rate of decrease of the uplink power is dynamically increased, so as to reach a balanced power consumption state as soon as possible and further reduce power consumption.
[0124] Optionally, in this embodiment, the second amplitude is gradually increased according to the number of consecutive executions of the increasing step. That is, in order to avoid delays in signaling upload or too low a success rate, the execution progress of the power increase is increased, and the rising rate of the uplink power is dynamically increased, so as to reach the appropriate uplink power as soon as possible and avoid delays in signaling transmission.
[0125] Optionally, in this embodiment, considering that the priority of signaling transmission is higher than the priority of power consumption control, therefore, in this embodiment, the successive increase amplitude of the first amplitude is smaller than the successive increase amplitude of the second amplitude.
[0126] The beneficial effect of this embodiment is that the first amplitude is gradually increased by the number of consecutive executions of the lowering step, and then the second amplitude is gradually increased according to the number of consecutive executions of the raising step, wherein the magnitude of the successive increase of the first amplitude is smaller than the magnitude of the successive increase of the second amplitude. A more efficient price tag power consumption dynamic control scheme is implemented, providing dynamic control conditions with adjustable power control progress, so that the price tag can adaptively control the current uplink power, effectively reducing the price tag power consumption while ensuring the communication effect.
[0127] Embodiment 7
[0128] Fig. 9 is a flow chart of the seventh embodiment of the price tag power control method of the present invention. Based on the above embodiment, the step of repeatedly performing the step of lowering or raising the uplink power until the delivery success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value, further comprising:
[0129] S33, presetting a limit value for the number of consecutive executions.
[0130] S34. When the number of consecutive executions of the lowering step exceeds the limit value, the first preset value is increased; and when the number of consecutive executions of the highering step exceeds the limit value, the second preset value is decreased.
[0131] Optionally, in this embodiment, in order to avoid the power consumption problem caused by frequent power regulation operations themselves, in this embodiment, a limit value of the number of consecutive executions is preset.
[0132] Optionally, in this embodiment, different limits of the number of consecutive executions are preset for increasing or decreasing respectively.
[0133] Optionally, in this embodiment, when the number of consecutive executions of the lowering step exceeds the limit value, the first preset value is increased, and when the number of consecutive executions of the raising step exceeds the limit value, the second preset value is reduced, thereby further improving the regulation progress and avoiding the problem of additional power consumption caused by multiple regulations.
[0134] The beneficial effect of this embodiment is that by presetting the limit of the number of consecutive executions, when the number of consecutive executions of the lowering step exceeds the limit, the first preset value is increased, and when the number of consecutive executions of the raising step exceeds the limit, the second preset value is decreased. A more efficient price tag power consumption dynamic control scheme is implemented, providing a dynamic control condition with controllable power control times, so that the price tag can adaptively control the current uplink power, effectively reducing the price tag power consumption while ensuring the communication effect.
[0135] Embodiment 8
[0136] Fig.10 : is a flow chart of the eighth embodiment of the price tag power control method of the present invention. Based on the above embodiment, the current uplink power is used as the default uplink power of the electronic price tag for this operation and the next power-on, including:
[0137] S41. Cache the power level corresponding to the current uplink power.
[0138] S42: When the power is turned on next time, read the uplink power corresponding to the cached power level.
[0139] Optionally, in this embodiment, the amplitude of the uplink power reduction or increase can be a specific value or a level. For example, when the uplink power is set as a value, the amplitude of the uplink power reduction or increase can be a specific value or a level. After the value or level is adjusted, the level at which the value is located or the adjusted level is taken as the cache object.
[0140] Optionally, in this embodiment, when powered on next time, the uplink power corresponding to the cached power level is read, and at the same time, based on the power level, the required value or level is adjusted.
[0141] Optionally, in this embodiment, the number of executions of the above adjustment up or down is recorded, and the above execution number information is counted, so that the price tags in each area are divided or screened according to the power consumption, so as to adjust the distribution status of different price tags, so that the power consumption of each price tag is balanced, thereby improving the effective working period of the entire batch of products.
[0142] The beneficial effect of this embodiment is that by caching the power level corresponding to the current uplink power, the uplink power corresponding to the cached power level is read when the power is turned on next time. A more efficient price tag power consumption dynamic control solution is implemented, and a product redistribution basis based on the number of power control times is provided, so that the price tag can adaptively control the current uplink power, and effectively reduce the price tag power consumption while ensuring the communication effect.
[0143] Embodiment 9
[0144] Based on the above embodiments, the present invention also proposes a price tag power control device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the price tag power control method as described in any one of the above items are implemented.
[0145] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.
[0146] Embodiment 10
[0147] Based on the above embodiments, the present invention further proposes a computer-readable storage medium, on which a price tag power control program is stored. When the price tag power control program is executed by a processor, the steps of the price tag power control method as described in any one of the above items are implemented.
[0148] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.
[0149] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0150] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0152] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A price tag power control method, characterized in that: The method comprises: Within a preset detection period, the delivery success rate of the uplink signaling of the electronic price tag is obtained by statistics; If the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by the preset first amplitude in the next detection cycle; if the delivery success rate is lower than the second preset value, the uplink power is increased by the preset second amplitude in the next detection cycle, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude; Repeat the step of decreasing or increasing the uplink power until the transmission success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value; Using the current uplink power as the default uplink power for the current operation and the next power-on of the electronic price tag; Before obtaining the delivery success rate of the uplink signaling of the electronic price tag within the preset detection period, the method includes: When the electronic price tag is powered on, the built-in uplink power information and power adjustment information are read; Determine the initial uplink power according to the uplink power information, determine the detection starting point and cycle duration of the detection cycle according to the power adjustment information, and read the first preset value, the first amplitude, the second preset value, and the second amplitude included in the power adjustment information; The method of obtaining the success rate of transmitting the uplink signaling of the electronic price tag within the preset detection period includes: Presetting the statistical number within the detection period; When the cumulative number of uplink signaling delivery times reaches the statistical number within the detection period, the delivery success rate of the uplink signaling to the corresponding base station is counted; if the delivery success rate is higher than the first preset value, the uplink power of the electronic price tag is lowered by a preset first amplitude within the next detection period; if the delivery success rate is lower than the second preset value, the uplink power is increased by a preset second amplitude within the next detection period, wherein the first preset value is greater than the second preset value, and the first amplitude is less than the second amplitude, including: If the delivery success rate is higher than the first preset value, or if the delivery success rate is lower than the second preset value, switching from the current detection cycle to the next detection cycle; At the beginning of the next detection cycle, the uplink power adjusted down according to the first amplitude is used as the current uplink power, or the uplink power adjusted up according to the second amplitude is used as the current uplink power; If, in one of the detection cycles, the transmission success rate is less than the first preset value and greater than the second preset value, then in the detection cycle and subsequent preset detection cycles, the current uplink power is used for operation; In the next detection cycle after the subsequent preset detection cycles, re-execute the steps of counting and judging the delivery success rate; The step of repeatedly performing the step of lowering or raising the uplink power until the delivery success rate in one detection cycle running at the current uplink power is less than the first preset value and greater than the second preset value includes: According to the number of consecutive executions of the decreasing step, the first amplitude is gradually increased; According to the number of consecutive executions of the increasing step, the second amplitude is increased successively, wherein the successively increasing amplitude of the first amplitude is smaller than the successively increasing amplitude of the second amplitude; Presetting a limit value of the number of consecutive executions; When the number of consecutive executions of the decreasing step exceeds the limit value, the first preset value is increased, and when the number of consecutive executions of the increasing step exceeds the limit value, the second preset value is decreased.
2. The price tag power control method according to claim 1, characterized in that: The method of using the current uplink power as the default uplink power of the electronic price tag for the current operation and the next power-on includes: Cache the power level corresponding to the current uplink power; When powered on next time, the uplink power corresponding to the power level in the cache is read.
3. A price tag power control device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the price tag power control method according to claim 1 or 2 are implemented.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a price tag power control program, and when the price tag power control program is executed by the processor, the steps of the price tag power control method according to claim 1 or 2 are implemented.
