Electronic price tag relay communication method, device and computer readable storage medium

By setting the electronic price tag as a relay price tag when the base station and the target electronic price tag cannot communicate, the problem of the base station being unable to communicate with the electronic price tag that is far away is solved and normal data communication is realized.

CN112929943BActive Publication Date: 2024-09-20NUBIA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110289960.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-18
Publication Date
2024-09-20
Estimated Expiration
2041-03-18

AI Technical Summary

Technical Problem

Under the star network topology, the base station and the electronic price tags that are far away cannot complete normal data communication, resulting in the inability to control these electronic price tags to perform normal business actions.

Method used

When the base station fails to establish a communication connection with the target electronic price tag, a group of electronic price tags are set as relay price tags based on preset rules, and communication instructions and response information are sent to the target electronic price tag through these relay price tags to realize data communication.

Benefits of technology

By relaying price tags, the base station can achieve data communication with the target electronic price tag when it cannot directly establish a communication connection with it, improving the communication success rate of the electronic price tag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112929943B
    Figure CN112929943B
Patent Text Reader

Abstract

The present application provides an electronic price tag relay communication method, including: when a base station fails to establish a communication connection with at least one target electronic price tag after M times within a first preset time, the base station sets p electronic price tags as relay price tags based on preset rules; the base station sends a communication instruction to the target electronic price tag through the relay price tag; when the relay price tag receives a response message from the target electronic price tag within a second preset time period, the relay price tag forwards the response message to the base station; the base station receives the response message. The present application also provides an electronic price tag relay communication device and a computer-readable storage medium. In this way, when the base station fails to establish a communication connection with the target electronic price tag, a communication instruction can be sent to the target electronic price tag through the relay price tag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an electronic price tag relay communication method, device and computer-readable storage medium. Background Art

[0002] With the rise of concepts such as smart retail, smart supermarkets, and unmanned stores, electronic shelf labels (ESL) have become a trend in recent years to replace traditional paper price tags. At present, it has become the standard of the new retail industry, and various large supermarkets use electronic price tags.

[0003] The electronic price tag system usually consists of at least two parts: a base station and an electronic price tag. A base station is responsible for managing a group of price tags and sending correct product information to the electronic price tag. The electronic price tag is responsible for receiving and parsing product information and displaying the information to customers in an appropriate manner. Usually, the network topology between the base station and the electronic price tag is a star network. The electronic price tag only interacts with the base station in a two-way manner, and there is no communication between the electronic price tags.

[0004] In a star network topology, if one or some electronic price tags are far away from the base station, the base station cannot complete normal data communication with these electronic price tags, and it is also impossible to control these electronic price tags to perform business actions normally. Summary of the invention

[0005] The main purpose of this application is to propose an electronic price tag relay communication method, device and computer-readable storage medium, aiming to solve the problem that a base station cannot complete normal data communication with some electronic price tags that are far away.

[0006] To achieve the above purpose, the present application provides an electronic price tag relay communication method, the electronic price tag relay communication method comprising:

[0007] When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule;

[0008] The base station sends a communication instruction to the target electronic price tag through the relay price tag;

[0009] When the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station;

[0010] The base station receives the response information.

[0011] Optionally, when the base station fails to establish a communication connection with at least one target electronic price tag M times within the first preset time, before the step of setting p electronic price tags as relay price tags based on a preset rule, the method further includes:

[0012] The base station acquires and stores the signal strength of the uplink signal of at least one electronic price tag;

[0013] The base station calculates an average value of the signal strength of the most recent N uplink signals of each electronic price tag.

[0014] Optionally, the step of the base station setting p electronic price tags as relay price tags based on a preset rule includes:

[0015] The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule;

[0016] The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the most recent N uplink signals of the electronic price tag.

[0017] Optionally, the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag includes:

[0018] The base station sends a relay instruction and the communication instruction to the relay price tag;

[0019] The relay price tag receives the relay instruction and the communication instruction, and forwards the communication instruction to the target electronic price tag based on the relay instruction.

[0020] Optionally, after the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag, the method further includes:

[0021] Determine whether a response message from the target electronic price label is received within the second preset time.

[0022] Optionally, after the step of determining whether the response information of the target electronic price label is received within the second preset time, the method further includes:

[0023] When the relay price tag does not receive the response information of the target electronic price tag within the second preset time, the relay price tag sends relay failure information to the base station.

[0024] The present application also provides an electronic price tag relay communication device, the electronic price tag relay communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the following is achieved:

[0025] When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule;

[0026] The base station sends a communication instruction to the target electronic price tag through the relay price tag;

[0027] When the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station;

[0028] The response information is received by the base station.

[0029] Optionally, when the computer program is executed by the processor, it further implements:

[0030] The base station acquires and stores the signal strength of an uplink signal of at least one electronic price tag;

[0031] The base station calculates the average signal strength of the most recent N uplink signals of each electronic price tag.

[0032] Optionally, when the computer program is executed by the processor, it further implements:

[0033] The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule;

[0034] The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the most recent N uplink signals of the electronic price tag.

[0035] The present application also provides a computer-readable storage medium, which has one or more programs, and the one or more programs are executed by one or more processors to implement the above-mentioned electronic price tag relay communication method.

[0036] The electronic price tag method, device and computer-readable storage medium provided by the present application, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; further, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; finally, the base station receives the response information, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rule, thereby establishing a communication connection with the target electronic price tag.

[0037] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the hardware structure of an optional mobile terminal for implementing various embodiments of the present application;

[0039] Figure 2 For Figure 1 A schematic diagram of a communication network system of a mobile terminal shown;

[0040] Figure 3 A flowchart of an electronic price tag relay communication method provided in one embodiment of the present application;

[0041] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] 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.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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 1 The 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.

[0047] Combine the following Figure 1 The various components of the mobile terminal 100 are introduced in detail:

[0048] 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.

[0049] 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.

[0050] 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.

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] 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.

[0059] 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.

[0060] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0061] 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.

[0062] 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.

[0063] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0064] 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 .

[0065] 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).

[0066] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0067] 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.

[0068] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0069] Figure 3 This is a flowchart of an embodiment of the electronic price tag relay communication method provided by the present application. Each step can be performed in the order shown in the flowchart, or multiple steps can be performed simultaneously according to the actual situation, which is not limited here. The electronic price tag relay communication method provided by the present application includes the following steps:

[0070] Step S310, when the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule;

[0071] Step S330, the base station sends a communication instruction to the target electronic price tag through the relay price tag;

[0072] Step S350, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station;

[0073] Step S370: the base station receives the response information.

[0074] Through the above implementation, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; furthermore, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; finally, the base station receives the response information, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rules, thereby establishing a communication connection with the target electronic price tag.

[0075] The above steps will be described in detail below in conjunction with specific embodiments.

[0076] In step S310, when the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule.

[0077] In this embodiment, the first preset time can be set according to actual conditions, such as 5s, 10s, etc. M and p can both be positive integers. M can be set according to actual conditions, such as 3 times, 4 times, etc.

[0078] In this embodiment, the base station may establish a communication connection with one or more of the electronic price tags to manage the electronic price tags. The electronic price tags may include the target electronic price tags. The target electronic price tag may refer to an electronic price tag whose distance from the base station is greater than a preset threshold. When the distance between the base station and the electronic price tag is greater than the preset threshold, it may cause the base station to be unable to establish a communication connection with these electronic price tags, i.e., the target electronic price tags, resulting in the inability to complete normal data communication. The preset threshold can be set according to actual conditions. For example, the preset threshold can be two meters, three meters, etc.

[0079] It is understandable that in other embodiments, the target electronic price tag may also be an electronic price tag that meets a preset condition. The preset condition may also be set according to actual conditions.

[0080] In this embodiment, when the base station fails to establish a communication connection with at least one target electronic price tag M times within the first preset time, before the step of setting p electronic price tags as relay price tags based on a preset rule, the step further includes:

[0081] Step S3101, the base station acquires and stores the signal strength of an uplink signal of at least one electronic price tag;

[0082] Step S3102: the base station calculates the average signal strength of the most recent N uplink signals of each electronic price tag.

[0083] Specifically, N can be a positive integer. The base station can obtain and store the signal strength of the uplink signal of at least one electronic price tag that establishes a communication connection with the base station, and then calculate the average signal strength of the uplink signal of each electronic price tag for the most recent N times. Taking N as 5 as an example, the base station can obtain and store the signal strength of the uplink signal of at least one electronic price tag, and calculate the average signal strength of the uplink signal of each electronic price tag for the most recent 5 times. At this time, the average signal strength of each electronic price tag is the sum of the signal strengths of the 5 uplink signals divided by 5.

[0084] In other embodiments, the base station may also obtain and store the signal strength of the uplink signal of at least one electronic price tag, and select the signal strength of any N uplink signals of each electronic price tag within a preset time period to calculate the average signal strength of each electronic price tag.

[0085] In this embodiment, the base station may also receive the price tag information reported by each of the electronic price tags. The price tag information may also include the current sleep cycle of the electronic price tag, label information, whether the current display state of the electronic price tag is normal or abnormal, the current power value of the electronic price tag, the location of the electronic price tag, etc. The label information may refer to the identity information of the electronic price tag, and the identity information may be a mark of each electronic price tag, which is used to identify the electronic price tag. The identity information may be a unique number that comes with the electronic price tag when it leaves the factory, or it may be a random code automatically generated by the electronic price tag, or it may be a unique code, character, number, etc. set by the user for each electronic price tag. It should be noted that the above-mentioned identity information is only an exemplary description and is not limited to this.

[0086] In this embodiment, the base station can establish a mapping relationship between the average value of the signal strength of multiple electronic price tags and the label information of multiple electronic price tags, so that in the subsequent steps, the base station can find the mapping relationship based on the label information of the electronic price tags to determine the average value of the signal strength of the electronic price tags, or find the mapping relationship based on the average value of the signal strength to determine the electronic price tag corresponding to the average value of the signal strength. It can be understood that the mapping relationship between the label information of the electronic price tag and the average value of the signal strength of the electronic price tag can be one-to-one or many-to-one.

[0087] In this implementation, the base station sets p electronic price tags as relay price tags based on a preset rule, including:

[0088] Step S3103, the base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule;

[0089] The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the most recent N uplink signals of the electronic price tag.

[0090] In this embodiment, p may be less than or equal to the number of the target electronic price tags. For example, when the base station fails to establish a communication connection with four target electronic price tags M times within the first preset time, the base station may select four, three, two or one electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule.

[0091] In this embodiment, the preset rule can be set according to actual needs. For example, the preset rule can be to select an electronic price tag close to the middle position between the base station and the target electronic price tag as the relay price tag. w can also be set according to actual conditions, for example, setting w to 2, 3, etc.

[0092] In this embodiment, when the base station obtains and stores the signal strength of the uplink signal of at least one of the electronic price tags and calculates the average signal strength of the uplink signals of each electronic price tag for the most recent N times and the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can search the mapping relationship based on the preset rule and select p electronic price tags with signal strength close to w*u as the relay price tags. In this way, an electronic price tag that communicates well with the base station and is located between the base station and the target electronic price tag can be selected as the relay price tag, so as to realize data communication between the base station and the target electronic price tag through the relay price tag.

[0093] In this embodiment, taking the first preset time as 10s, M as 3, N as 5, w and p as 2 as an example, the base station can obtain and store the signal strength of the uplink signal of at least one of the electronic price tags, and calculate the average signal strength u of the uplink signal of each electronic price tag for the last five times. When the base station fails to establish a communication connection with at least one target electronic price tag after three times within 10s, two electronic price tags close to the middle position between the base station and the target electronic price tag and with a signal strength close to 2u can be selected as the relay price tags.

[0094] In step S330, the base station sends a communication instruction to the target electronic price tag through the relay price tag.

[0095] In this embodiment, the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag includes:

[0096] Step S3301, the base station sends a relay instruction and the communication instruction to the relay price tag;

[0097] Step S3302: The relay price tag receives the relay instruction and the communication instruction, and forwards the communication instruction to the target electronic price tag based on the relay instruction.

[0098] In this implementation, the relay instruction may include an instruction to forward the communication instruction.

[0099] In this embodiment, after the base station sends a communication instruction to the target electronic price tag through the relay price tag, the method further includes:

[0100] Step S3303, determining whether a response message from the target electronic price tag is received within a second preset time.

[0101] In this embodiment, the second preset time can be set according to actual conditions, such as 10s, 15s, etc. After the base station sends a communication instruction to the target electronic price tag through the relay price tag, it can be determined whether the relay price tag receives the response information of the target electronic price tag within the second preset time.

[0102] In other implementations, it may also be determined whether the base station receives the response information of the target electronic price tag within the second preset time.

[0103] In this embodiment, after the step of determining whether the response information of the target electronic price tag is received within the second preset time, the method further includes:

[0104] Step S3304: When the relay price tag does not receive the response information of the target electronic price tag within the second preset time, the relay price tag sends a relay failure message to the base station.

[0105] Specifically, the base station may first send a relay instruction and the communication instruction to p of the relay price tags, and the relay price tag may receive the relay instruction and the communication instruction, and forward the communication instruction to the target electronic price tag based on the relay instruction, and then determine whether a response message from the target electronic price tag is received within the second preset time. When the relay price tag does not receive a response message from the target electronic price tag within the second preset time, the relay price tag sends a relay failure message to the base station, and the base station receives the relay failure message and returns to step S310 to reset a new relay price tag.

[0106] In step S350, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station.

[0107] In this embodiment, taking the second preset time of 15s as an example, when it is determined that the relay price tag receives the response information of the target electronic price tag within 15s, the relay price tag can forward the response information to the base station; when it is determined that the relay price tag does not receive the response information of the target electronic price tag within 15s, the relay price tag can send relay failure information to the base station.

[0108] In step S370, the base station receives the response information.

[0109] In this embodiment, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station, and the base station receives the response information. In this way, without adding hardware equipment, some electronic price tags can have the function of "base station repeater", realize the data communication function between the base station and the more distant electronic price tag, namely the target electronic price tag, and effectively improve the situation where the communication success rate of the edge electronic price tag is low or the communication cannot be normal.

[0110] Through the above implementation, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; furthermore, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; finally, the base station receives the response information, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rules, thereby establishing a communication connection with the target electronic price tag.

[0111] The present application also provides an electronic price tag relay communication device, the electronic price tag relay communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the following is achieved:

[0112] When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule;

[0113] The base station sends a communication instruction to the target electronic price tag through the relay price tag;

[0114] When the relay price tag receives the response information of the target electronic price tag within the second preset time period, the relay price tag forwards the response information to the base station;

[0115] The response information is received by the base station.

[0116] In this embodiment, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; furthermore, when the relay price tag receives a response message from the target electronic price tag within the second preset time, the relay price tag forwards the response message to the base station; finally, the base station receives the response message, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rules, thereby establishing a communication connection with the target electronic price tag.

[0117] In this embodiment, when the computer program is executed by the processor, it also implements:

[0118] The base station acquires and stores the signal strength of the uplink signal of at least one electronic price tag;

[0119] The base station calculates the average signal strength of the most recent N uplink signals of each electronic price tag.

[0120] In this embodiment, when the computer program is executed by the processor, it also implements:

[0121] The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule;

[0122] The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the most recent N uplink signals of the electronic price tag.

[0123] Through the above-mentioned electronic price tag relay communication device, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on the preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; furthermore, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; finally, the base station receives the response information, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rules, thereby establishing a communication connection with the target electronic price tag.

[0124] The embodiment of the present application further provides a computer-readable storage medium, the computer-readable storage medium having one or more programs, and the one or more programs are executed by one or more processors to implement the following steps:

[0125] When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule;

[0126] The base station sends a communication instruction to the target electronic price tag through the relay price tag;

[0127] When the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station;

[0128] The base station receives the response information.

[0129] Optionally, when the base station fails to establish a communication connection with at least one target electronic price tag M times within the first preset time, before the step of setting p electronic price tags as relay price tags based on a preset rule, the method further includes:

[0130] The base station acquires and stores the signal strength of the uplink signal of at least one electronic price tag;

[0131] The base station calculates an average value of the signal strength of the most recent N uplink signals of each electronic price tag.

[0132] Optionally, the step of the base station setting p electronic price tags as relay price tags based on a preset rule includes:

[0133] The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule;

[0134] The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the most recent N uplink signals of the electronic price tag.

[0135] Optionally, the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag includes:

[0136] The base station sends a relay instruction and the communication instruction to the relay price tag;

[0137] The relay price tag receives the relay instruction and the communication instruction, and forwards the communication instruction to the target electronic price tag based on the relay instruction.

[0138] Optionally, after the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag, the method further includes:

[0139] Determine whether a response message from the target electronic price label is received within the second preset time.

[0140] Optionally, after the step of determining whether the response information of the target electronic price label is received within the second preset time, the method further includes:

[0141] When the relay price tag does not receive the response information of the target electronic price tag within the second preset time, the relay price tag sends relay failure information to the base station.

[0142] Through the above-mentioned computer-readable storage medium, first, when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station sets p electronic price tags as relay price tags based on the preset rules; secondly, the base station sends a communication instruction to the target electronic price tag through the relay price tag; furthermore, when the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; finally, the base station receives the response information, so that when the base station fails to establish a communication connection with at least one target electronic price tag after M times within the first preset time, the base station can send a communication instruction to the target electronic price tag through the relay price tag set based on the preset rules, thereby establishing a communication connection with the target electronic price tag.

[0143] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium here stores one or more programs. The computer-readable storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0144] The corresponding technical features in the above-mentioned embodiments can be used interchangeably without causing contradiction or impracticability of the solutions.

[0145] 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.

[0146] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0147] 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 application, 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 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 application.

[0148] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An electronic price tag relay communication method, It is characterized in that The electronic price tag relay communication method comprises: When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule; The base station sends a communication instruction to the target electronic price tag through the relay price tag; When the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; The base station receives the response information; Before the step of setting p electronic price tags as relay price tags based on a preset rule when the base station fails to establish a communication connection with at least one target electronic price tag M times within the first preset time, the step further includes: The base station acquires and stores the signal strength of the uplink signal of at least one electronic price tag; The base station calculates the average signal strength of the most recent N uplink signals of each electronic price tag; The step of the base station setting p electronic price tags as relay price tags based on a preset rule includes: The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule; The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the latest N uplink signals of the electronic price tag; The step of the base station sending a communication instruction to the target electronic price tag via the relay price tag includes: The base station sends a relay instruction and the communication instruction to the relay price tag; The relay price tag receives the relay instruction and the communication instruction, and forwards the communication instruction to the target electronic price tag based on the relay instruction.

2. The electronic price tag relay communication method according to claim 1, It is characterized in that After the step of the base station sending a communication instruction to the target electronic price tag through the relay price tag, the method further includes: Determine whether a response message from the target electronic price label is received within the second preset time.

3. The electronic price tag relay communication method according to claim 2, It is characterized in that After the step of determining whether the response information of the target electronic price label is received within the second preset time, the method further includes: When the relay price tag does not receive the response information of the target electronic price tag within the second preset time, the relay price tag sends relay failure information to the base station.

4. An electronic price tag relay communication device, It is characterized in that The electronic price tag relay communication device 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 following is achieved: When the base station fails to establish a communication connection with at least one target electronic price tag M times within a first preset time, the base station sets p electronic price tags as relay price tags based on a preset rule; The base station sends a communication instruction to the target electronic price tag through the relay price tag; When the relay price tag receives the response information of the target electronic price tag within the second preset time, the relay price tag forwards the response information to the base station; Receiving the response information by the base station; The base station acquires and stores the signal strength of the uplink signal of at least one electronic price tag; The base station calculates the average signal strength of the most recent N uplink signals of each electronic price tag; The base station selects p electronic price tags with signal strength close to a preset value as the relay price tags based on the preset rule; The preset value is w*u, where w is the weight coefficient and u is the average signal strength of the latest N uplink signals of the electronic price tag; The base station sends a relay instruction and the communication instruction to the relay price tag; The relay price tag receives the relay instruction and the communication instruction, and forwards the communication instruction to the target electronic price tag based on the relay instruction.

5. A computer-readable storage medium, It is characterized in that The computer-readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the electronic price tag relay communication method according to any one of claims 1 to 3.