Price tag channel scanning method, device and computer-readable storage medium

By optimizing the channel scanning method of electronic price tags, selecting the base station with the highest energy and skipping unnecessary frequency band scanning, the problems of long network access time and high power consumption of electronic price tags are solved, and efficient channel scanning and power saving are achieved.

CN114302484BActive Publication Date: 2025-09-12NUBIA TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111592373.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2025-09-12
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

In the existing technology, the full channel scanning of the base station when the electronic price tag joins the network takes a long time and consumes a lot of power, and the product strength is insufficient.

Method used

After the full channel scan is completed, the channels with energy values ​​from large to small are extracted for scanning to determine the base station with the largest average energy value. After successful network access, the frequency band is monitored, unnecessary frequency band scanning is skipped, and the channel scanning strategy is optimized.

Benefits of technology

It reduces the number of times electronic price tags are scanned, saves power consumption, and improves the battery life of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114302484B_ABST
    Figure CN114302484B_ABST
Patent Text Reader

Abstract

The present invention discloses a price tag channel scanning method, device and computer-readable storage medium, wherein the method includes: when the price tag is powered on and connected to the network, performing a full channel scan and then selecting a suitable channel to connect to the network, regularly monitoring the signal energy value of the current network base station, and when the signal energy value is less than a preset threshold, scanning all other channels except the five used channels, and then selecting the base station with the maximum energy value to connect to the network. When the time reaches the full channel scanning cycle, the electronic price tag obtains the monitored energy value of the networked base station, and when the energy value of the networked base station is less than the preset threshold, scanning all other channels except the five used channels, and then selecting the base station with the maximum energy value to connect to the network, otherwise the electronic price tag skips this full channel scan. An efficient price tag channel scanning solution is implemented, the full channel scanning strategy of the electronic price tag is optimized, the number of scans is reduced, power consumption is saved, and product strength is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communications, and in particular to a price tag channel scanning method, device, and computer-readable storage medium. Background Art

[0002] In the prior art, electronic shelf labels, as an IoT device, are electronic tags that display price information in supermarkets, convenience stores, pharmacies, and other places. These electronic labels are primarily placed on shelves and can replace traditional paper price tags. Each electronic shelf label is connected to the store's computer database via a wired or wireless network, and displays the latest product prices on its screen.

[0003] However, in the existing technology, electronic price tags will perform a full-channel scan of the base station when accessing the network. The network access time is long, the power consumption is large, and the product strength needs to be improved. Summary of the Invention

[0004] In order to solve the above technical defects in the prior art, the present invention proposes a price tag channel scanning method, which includes:

[0005] After the price tag completes the scan of all channels, it extracts the first number of channels with energy values ​​from large to small, and performs the first number of scans on the first number of channels in sequence, calculates the energy average of the first number of scans of the first number of channels, and determines the first base station corresponding to the largest energy average.

[0006] After the price tag successfully accesses the first base station, it monitors a second number of frequency bands of the base station and obtains energy values ​​of the first base station of the second number in sequence. When an energy value of the first base station of the second number is greater than or equal to the third number and is less than a first preset energy value, a frequency band scan is performed on all other frequency bands of the first base station excluding the second number of frequency bands.

[0007] After the price tag completes the frequency band scan on all other frequency bands, it extracts a first number of channels with energy values ​​from large to small, and performs a first number of scans on the first number of channels in sequence, calculates the energy average of the first number of scans of the first number of channels, and determines the second base station corresponding to the largest energy average.

[0008] After the price tag successfully accesses the second base station, it monitors a third number of frequency bands of the base station at a preset time interval, and obtains the energy value of the second base station for the fourth time in sequence. When the average energy value of the second base station for the fourth time is greater than or equal to the second preset energy value, the full channel scan is skipped.

[0009] Optionally, after the price tag completes scanning all channels, extracting a first number of channels having energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating an energy average of the first number of scans of the first number of channels, and determining a first base station corresponding to a maximum energy average, includes:

[0010] When the price tag is connected to a battery for power supply and the controller of the price tag is initialized, the price tag controller controls the transceiver module of the price tag to start working and monitor the broadcast signal of the base station.

[0011] The transceiver module starts full-channel scanning at each frequency point according to the preset channel to receive signals, and the order of the full-channel scanning is to scan in sequence according to the frequency band.

[0012] Optionally, after the price tag completes scanning all channels, extracting a first number of channels having energy values ​​in descending order, sequentially performing a first number of scans on the first number of channels, calculating an energy average of the first number of channels scanned the first times, and determining a first base station corresponding to a maximum energy average, further comprising:

[0013] After the transceiver module completes the full channel scan according to the preset channels, the transceiver module extracts five channels Band 0 to Band 4 with the largest energy values ​​from the scanned channels and performs the first scan.

[0014] The transceiver module performs the second scan and the third scan of the five channels Band0 to Band4 according to the set channel order.

[0015] Optionally, after the price tag completes scanning all channels, extracting a first number of channels having energy values ​​in descending order, sequentially performing a first number of scans on the first number of channels, calculating an energy average of the first number of channels scanned the first times, and determining a first base station corresponding to a maximum energy average, further comprising:

[0016] After the transceiver module completes scanning the five channels according to the preset scanning order, three energy values ​​of the five channels are obtained and an average value is calculated.

[0017] A first base station corresponding to a channel with the largest average energy value is selected, and a network access request is sent to the first base station.

[0018] Optionally, after the price tag successfully accesses the first base station, monitoring a second number of frequency bands of the base station, sequentially obtaining energy values ​​of the first base station for the second number of times, and when an energy value greater than or equal to a third number of energy values ​​of the first base station for the second number of times is less than a first preset energy value, performing frequency band scanning on all other frequency bands of the first base station excluding the second number of frequency bands, including:

[0019] When the price tag successfully joins the network, the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station are obtained, and the signal energy value of the first base station is monitored regularly, and the first base station signal energy values ​​Tx_power0 to 9 monitored the most recently are stored.

[0020] The ten signal energy values ​​of the first base station are sorted. When eight of the ten signal energy values ​​of the first base station are lower than the preset energy value threshold Tx_power_min, all other frequency bands except the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station are scanned.

[0021] Optionally, after the price tag completes the frequency band scan on all other frequency bands, extracting a first number of channels having energy values ​​in descending order, sequentially performing a first number of scans on the first number of channels, calculating an energy average of the first number of channels scanned the first times, and determining a second base station corresponding to the largest energy average, including:

[0022] After the transceiver module completes scanning of five channels according to the preset scanning order, three energy values ​​of the five channels are obtained and an average value is calculated.

[0023] A second base station corresponding to the channel with the largest average energy value is selected, and a network access request is sent to the second base station.

[0024] Optionally, after the price tag successfully accesses the second base station, monitoring a third number of frequency bands of the base station at a preset time interval, sequentially obtaining energy values ​​of the second base station for a fourth time, and when the average energy value of the second base station for the fourth time is greater than or equal to a second preset energy value, skipping the current full channel scan, including:

[0025] After the price tag successfully accesses the second base station, it periodically scans the base stations in all channels. When the time for scanning the base stations in all channels is reached, it obtains the three most recent signal energy values ​​Tx_power0~2 of the second base station monitored, and performs data averaging Tx_power_avg on the three most recent signal energy values ​​of the second base station.

[0026] If the current average value Tx_power_avg of the signal energy value of the second base station is greater than the preset energy value threshold Tx_power_min, this full channel scan is skipped.

[0027] Optionally, after the price tag successfully accesses the second base station, monitoring a third number of frequency bands of the base station at a preset time interval, sequentially obtaining energy values ​​of the second base station for a fourth time, and when the average energy value of the second base station for the fourth time is greater than or equal to a second preset energy value, skipping the current full channel scan further includes:

[0028] After the transceiver module completes scanning of five channels according to the preset scanning order, three energy values ​​of the five channels are obtained and an average value is calculated.

[0029] A third base station corresponding to the channel with the largest average energy value is selected, and a network access request is sent to the third base station.

[0030] The present invention also proposes a price tag channel scanning 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 channel scanning method described in any one of the above items are implemented.

[0031] The present invention further provides a computer-readable storage medium storing a price tag channel scanning program. When the price tag channel scanning program is executed by a processor, the steps of any of the above-mentioned price tag channel scanning methods are implemented.

[0032] The price tag channel scanning method, device and computer-readable storage medium of the present invention are implemented by extracting a first number of channels with energy values ​​from large to small after the price tag completes the full channel scan, and performing the first number of scans on the first number of channels in sequence, calculating the energy average value of the first number of channels scanned the first number of times, and determining the first base station corresponding to the largest energy average value; after the price tag successfully accesses the first base station, monitoring the second number of frequency bands of the base station, and sequentially obtaining the energy value of the first base station for the second number of times; when the energy value of the first base station for the second number of times has an energy value greater than or equal to the third number and less than the first preset energy value, the first base station is removed. Perform frequency band scanning on all other frequency bands of the second number of frequency bands; after the price tag completes frequency band scanning on all other frequency bands, extract the first number of channels with energy values ​​from large to small, and perform the first number of scans on the first number of channels in sequence, calculate the energy average value of the first number of channels scanned the first time, and determine the second base station corresponding to the largest energy average value; after the price tag successfully accesses the second base station, monitor the third number of frequency bands of the base station at a preset time interval, and obtain the energy value of the second base station for the fourth time in sequence. When the energy average value of the second base station for the fourth time is greater than or equal to the second preset energy value, skip this full channel scan. An efficient price tag channel scanning solution is implemented, which optimizes the full channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product strength. 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 This is a hardware structure diagram of a mobile terminal according to the present invention;

[0035] Figure 2 This is a diagram of a communication network system architecture provided by an embodiment of the present invention;

[0036] Figure 3 is a flow chart of a first embodiment of a price tag channel scanning method according to the present invention;

[0037] Figure 4 is a flow chart of a second embodiment of the price tag channel scanning method of the present invention;

[0038] Figure 5 is a flow chart of a third embodiment of the price tag channel scanning method of the present invention;

[0039] Figure 6 is a flowchart of a fourth embodiment of the price tag channel scanning method of the present invention;

[0040] Figure 7 is a flowchart of a fifth embodiment of the price tag channel scanning method of the present invention;

[0041] Figure 8 is a flowchart of a sixth embodiment of the price tag channel scanning method of the present invention;

[0042] Figure 9 is a flow chart of a seventh embodiment of the price tag channel scanning method of the present invention;

[0043] Figure 10 4 is a flow chart of an eighth embodiment of the price tag channel scanning 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 intended to limit the present invention.

[0045] In the subsequent description, 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 meaning. Therefore, "module," "component," or "unit" can be used interchangeably.

[0046] The terminal can 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. It will be understood by those skilled in the art 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: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation to 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] The following combination Figure 1 A detailed introduction to the various components of the mobile terminal:

[0050] The RF unit 101 can be used to send and receive information or receive signals during calls. Specifically, it receives downlink information from the base station and transmits it to the processor 110 for processing. It also transmits uplink data to the base station. Typically, the RF unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and more. Furthermore, the RF unit 101 can communicate with the network and other devices via wireless communication. The above-mentioned wireless communications may 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 the 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 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, or the like. Furthermore, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, or the like.

[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 processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos captured by an image capture device (e.g., a camera) in video capture mode or image capture mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the GPU 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the RF unit 101 or the WiFi module 102. The microphone 1042 may receive sound (audio data) in operating modes such as a phone call mode, a recording mode, and a voice recognition mode, and may process such sound into audio data. In the phone call mode, the processed audio (voice) data may be converted into a format that can be transmitted to a mobile communication base station via the RF unit 101. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of 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 be configured in the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described 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 generate key signal input related to 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 user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 1071) 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 direction and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 110. It can also receive commands sent by the processor 110 and execute them. In addition, the touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further 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, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, a joystick, etc., and 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 touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize 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 realize 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] Memory 109 can be used to store software programs and various data. Memory 109 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the mobile phone (such as audio data, a phone book, etc.). Furthermore, memory 109 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0060] Processor 110 is the control center of the mobile terminal, connecting all components of the mobile terminal using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 109 and accessing data stored in memory 109, it executes various functions of the mobile terminal and processes data, thereby providing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, processor 110 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into 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 through a power management system, thereby managing functions such as charging, discharging, and power consumption 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 Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, an Evolved Packet Core (EPC) 203, and an operator's IP service 204, which are sequentially connected in 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 via 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] EPC 203 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. MME 2031 is the control node that handles signaling between UE 201 and EPC 203, providing bearer and connection management. HSS 2032 provides registers for managing functions such as the Home Location Register (not shown) and stores 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, and it 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 description is based on 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, and is not limited here.

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

[0071] Example 1

[0072] Figure 3 Flowchart of the first embodiment of the price tag channel scanning method of the present invention. A price tag channel scanning method, the method comprising:

[0073] S1. After the price tag completes the scan of all channels, extract a first number of channels with energy values ​​from large to small, perform a first number of scans on the first number of channels in sequence, calculate the energy average of the first number of scans of the first number of channels, and determine the first base station corresponding to the largest energy average.

[0074] S2. After the price tag successfully accesses the first base station, monitor a second number of frequency bands of the base station, and obtain energy values ​​of the first base station of the second number in sequence. When an energy value of the first base station of the second number is greater than or equal to the third number and is less than a first preset energy value, perform frequency band scanning on all other frequency bands of the first base station excluding the second number of frequency bands.

[0075] S3. After the price tag completes the frequency band scan on all other frequency bands, extract a first number of channels with energy values ​​from large to small, and perform a first number of scans on the first number of channels in sequence, calculate the energy average of the first number of channels for the first number of scans, and determine the second base station corresponding to the largest energy average.

[0076] S4. After the price tag successfully accesses the second base station, monitor a third number of frequency bands of the base station at a preset time interval, and obtain the energy value of the second base station for the fourth time in sequence. When the average energy value of the second base station for the fourth time is greater than or equal to the second preset energy value, skip the full channel scan this time.

[0077] In this embodiment, after the electronic label is connected to a battery and the electronic label controller is initialized, the electronic label controller controls the electronic label RX module to begin monitoring base station broadcast signals. The electronic label RX module begins a full channel scan of all frequencies according to the preset channels to receive signals. The full channel scan sequence is sequentially scanned by frequency band. After the electronic label RX module completes the full channel scan of the preset channels, it extracts the five channels with the highest energy values, Bands 0 to 4, from the scanned channels and performs a second scan. The electronic label RX module then scans Bands 0 to 4 again according to the preset channels. After the electronic label RX module completes the full channel scan of the preset five channels, it scans these five channels, Bands 0 to 4, three times. The electronic label RX module then scans Bands 0 to 4 again according to the preset channels. After the electronic label RX module completes the full channel scan of the preset five channels, it averages the three energy values ​​of the five channels and selects the base station band with the highest average energy value. The electronic label TX module then selects the base station with the highest energy value and sends a network access request.

[0078] In this embodiment, after the electronic price tag successfully joins the network, it obtains the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the networked base station. The electronic price tag regularly monitors the signal energy value of the networked base station and stores the 10 most recently monitored signal energy values ​​of the networked base station Tx_power0-9. The electronic price tag also sorts the data of the 10 signal energy values ​​of the networked base station. If 8 of the 10 signal energy values ​​of the networked base station are lower than the preset energy value threshold Tx_power_min, the electronic price tag performs a frequency band scan on all other frequency bands except Band0, Band1, Band2, Band3, and Band4 used by the networked base station.

[0079] In this embodiment, after the electronic price tag RX module completes a full channel scan according to the preset channels, it extracts the five channels Band 0 to 4 with the largest energy values ​​from the scanned channels and performs a second scan. The electronic price tag RX module then scans Band 0 to 4 again according to the preset channels. After the electronic price tag RX module completes a full channel scan according to the preset channels, it scans these five channels Band 0 to 4 three times. The electronic price tag RX module then scans Band 0 to 4 again according to the preset channels. After the electronic price tag RX module completes a full channel scan according to the preset channels, it calculates the average of the three energy values ​​of the five channels and selects the band base station with the largest average energy value. The electronic price tag TX module then selects the base station with the largest energy value to send a network access request. Otherwise, the electronic price tag continues to periodically monitor the energy value of the incoming base station signal.

[0080] In this embodiment, after the electronic price tag successfully joins the network, it will periodically scan all base stations across all channels. When the interval reaches the full-channel base station scan time, the electronic price tag obtains the three most recent signal energy values ​​(Tx_power0-2) monitored by the networked base station and averages these three signal energy values ​​(Tx_power_avg). If the current signal energy value (Tx_power_avg) of the networked base station is greater than the preset energy value threshold (Tx_power_min), the electronic price tag skips this full-channel scan. Otherwise, the electronic price tag performs a frequency band scan on all other frequency bands except Band 0, Band 1, Band 2, Band 3, and Band 4, which are already used by the networked base station. After the electronic price tag RX module completes the full-channel scan according to the preset channels, it extracts the five channels (Bands 0-4) with the highest energy values ​​from the scanned channels for a second scan. The electronic price tag RX module then scans Bands 0-4 again according to the preset channels. After the electronic label RX module completes the scan of the five preset channels, it scans Bands 0 to 4 three times. It then scans Bands 0 to 4 again according to the preset channels. After the electronic label RX module completes the scan of the five preset channels, it calculates the average of the three energy values ​​of the five channels and selects the base station with the highest average energy value. The electronic label TX module then selects the base station with the highest energy value and sends a network access request.

[0081] Specifically, in this embodiment, after the electronic price tag successfully joins the network, it obtains the five frequency bands used by the network base station: Band 0, Band 1, Band 2, Band 3, and Band 4. The electronic price tag regularly monitors the signal energy value of the network base station and stores the 10 most recent monitored signal energy values ​​of the network base station, Tx_power0-9. The electronic price tag also organizes the data of the 10 signal energy values ​​of the network base station. If 8 of the 10 signal energy values ​​of the network base station are below the preset energy value threshold Tx_power_min, the electronic price tag performs a frequency band scan on all other frequency bands except the five bands used by the network base station: Band 0, Band 1, Band 2, Band 3, and Band 4. After the electronic price tag RX module completes the full channel scan according to the preset channels, it extracts the five channels with the largest energy values, Band 0-4, from the scanned channels for a second scan. The electronic price tag RX module then scans Band 0-4 again according to the preset channels. After the electronic label RX module completes the scan of the five preset channels, it scans Bands 0 to 4 three times. It then scans Bands 0 to 4 again according to the preset channels. After the electronic label RX module completes the scan of the five preset channels, it calculates the average of the three energy values ​​of the five channels and selects the base station with the highest average energy value. The electronic label TX module then selects the base station with the highest energy value and sends a network access request.

[0082] Specifically, in this embodiment, after the electronic price tag successfully joins the network, it will periodically scan the base station through all channels. When the time interval reaches the time for scanning the base station through all channels, the electronic price tag obtains the last three signal energy values ​​Tx_power0~2 monitored by the networked base station, and the electronic price tag takes the average value Tx_power_avg of the last three signal energy values ​​of the networked base station. If the electronic price tag determines that the current signal energy value Tx_power_avg of the networked base station is greater than the preset energy value threshold Tx_power_min, the electronic price tag skips this full channel scan and continues to monitor the current signal energy value of the networked base station.

[0083] It can be seen that in this embodiment, when the electronic price tag is powered on and connected to the network, a full channel scan is performed and then a suitable channel is selected to connect to the network. After the electronic price tag is connected to the network, the signal energy value of the current base station is monitored periodically. When the signal energy value is less than the preset threshold, all other channels except the five channels that have been used are scanned, and then the base station with the maximum energy value is selected to connect to the network. When the time reaches the full channel scan cycle, the electronic price tag obtains the energy value of the monitored base station connected to the network. When the energy value of the base station connected to the network is less than the preset threshold Tx_power_min, all other channels except the five channels that have been used are scanned, and then the base station with the maximum energy value is selected to connect to the network. Otherwise, the electronic price tag skips this full channel scan. Through this embodiment, the full channel scanning strategy of the electronic price tag can be optimized, the number of full channel scans can be reduced, and the battery life of the electronic price tag can be improved.

[0084] The beneficial effect of this embodiment is that after the price tag completes the scanning of all channels, a first number of channels with energy values ​​from large to small are extracted, and the first number of scans are performed on the first number of channels in sequence, the energy average value of the first number of channels scanned the first number of times is calculated, and the first base station corresponding to the largest energy average value is determined; after the price tag successfully accesses the first base station, a second number of frequency bands of the base station are monitored, and the energy value of the first base station of the second number is obtained in sequence. When the energy value of the first base station of the second number has an energy value greater than or equal to the third number and is less than the first preset energy value, the first base station is monitored except for the second number of frequency bands. Perform frequency band scanning on all other frequency bands of the same segment; after the price tag completes frequency band scanning on all other frequency bands, extract a first number of channels with energy values ​​from large to small, and perform the first number of scans on the first number of channels in sequence, calculate the energy average of the first number of channels scanned the first time, and determine the second base station corresponding to the largest energy average; after the price tag successfully accesses the second base station, monitor the third number of frequency bands of the base station at a preset time interval, and obtain the energy value of the second base station for the fourth time in sequence. When the energy average of the second base station for the fourth time is greater than or equal to the second preset energy value, skip this full channel scan. An efficient price tag channel scanning solution is implemented, which optimizes the full channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product strength.

[0085] Example 2

[0086] Figure 4This is a flow chart of a second embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag completes scanning of all channels, extracting a first number of channels with energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating the energy average of the first number of channels scanned the first times, and determining the first base station corresponding to the largest energy average, including:

[0087] S11. When the price tag is connected to a battery for power supply and the controller of the price tag is initialized, the price tag controller controls the transceiver module of the price tag to start working and monitor the broadcast signal of the base station.

[0088] S12. The transceiver module starts full-channel scanning at each frequency point according to the preset channel to receive signals. The full-channel scanning is performed in sequence according to the frequency bands.

[0089] The beneficial effect of this embodiment is that, after the price tag is connected to a battery and the price tag controller is initialized, the price tag controller controls the price tag's transceiver module to start operating and monitor the base station's broadcast signal. The transceiver module then begins a full-channel scan of each frequency point according to a preset channel to receive signals. The full-channel scan is performed sequentially by frequency band. This achieves an efficient price tag channel scanning solution, optimizes the full-channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product quality.

[0090] Example 3

[0091] Figure 5 This is a flowchart of a third embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag completes scanning of all channels, a first number of channels with energy values ​​in descending order are extracted, and a first number of scans are performed on the first number of channels in sequence, and an energy average value of the first number of channels for the first number of scans is calculated, and a first base station corresponding to the largest energy average value is determined. The method further includes:

[0092] S13 . After the transceiver module completes the full channel scan according to the preset channels, the transceiver module extracts five channels Band 0 to Band 4 with the largest energy values ​​from the scanned channels and performs a first scan.

[0093] S14. The transceiver module performs a second scan and a third scan of the five channels Band 0 to Band 4 according to the set channel order.

[0094] The beneficial effect of this embodiment is that after the transceiver module completes a full channel scan according to the preset channels, it extracts the five channels Band 0 to 4 with the highest energy values ​​from the scanned channels and performs a first scan. The transceiver module then performs a second and third scan of these five channels Band 0 to 4 according to the preset channel order. This achieves an efficient price tag channel scanning solution, optimizes the full channel scanning strategy of electronic price tags, reduces the number of scans, saves power consumption, and enhances product quality.

[0095] Example 4

[0096] Figure 6 This is a flowchart of a fourth embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag completes scanning of all channels, a first number of channels with energy values ​​in descending order are extracted, and a first number of scans are performed sequentially on the first number of channels. The energy averages of the first number of channels scanned the first times are calculated, and a first base station corresponding to the largest energy average is determined. The method further includes:

[0097] S15 . After the transceiver module completes scanning the five channels in a preset scanning order, it obtains three energy values ​​of the five channels and calculates an average value.

[0098] S16: Select a first base station corresponding to a channel with the largest average energy value, and send a network access request to the first base station.

[0099] The beneficial effect of this embodiment lies in that, after the transceiver module completes scanning the five channels in a preset scanning order, it takes three energy values ​​of the five channels and calculates an average value; selects the first base station corresponding to the channel with the largest average energy value, and sends a network access request to the first base station. This implements an efficient price tag channel scanning solution, optimizes the full-channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product quality.

[0100] Example 5

[0101] Figure 7 This is a flowchart of a fifth embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag successfully accesses the first base station, the second number of frequency bands of the base station are monitored, and the energy value of the first base station for the second number of times is sequentially obtained. When there is an energy value greater than or equal to the third number of energy values ​​of the first base station for the second number of times and less than a first preset energy value, a frequency band scan is performed on all other frequency bands of the first base station except the second number of frequency bands, including:

[0102] S21. After the price tag successfully joins the network, obtain the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station, monitor the signal energy value of the first base station regularly, and store the first base station signal energy values ​​Tx_power0 to 9 monitored for the last ten times.

[0103] S22. Perform data sorting on the ten signal energy values ​​of the first base station. When eight of the ten signal energy values ​​of the first base station are lower than the preset energy value threshold Tx_power_min, perform frequency band scanning on all other frequency bands except the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station.

[0104] The beneficial effect of this embodiment is that, after the price tag successfully joins the network, the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station are obtained, and the signal energy value of the first base station is monitored regularly, and the signal energy values ​​Tx_power0~9 of the first base station monitored for the last ten times are stored; the ten signal energy values ​​of the first base station are sorted, and when eight of the ten signal energy values ​​of the first base station are lower than the preset energy value threshold Tx_power_min, all other frequency bands except the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station are scanned. An efficient price tag channel scanning solution is implemented, the full channel scanning strategy of the electronic price tag is optimized, the number of scans is reduced, power consumption is saved, and product strength is enhanced.

[0105] Example 6

[0106] Figure 8 This is a flowchart of a sixth embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag completes the frequency band scan on all other frequency bands, extracting a first number of channels with energy values ​​in descending order, sequentially performing a first number of scans on the first number of channels, calculating the energy averages of the first number of channels scanned the first times, and determining the second base station corresponding to the largest energy average, including:

[0107] S31 . After the transceiver module completes scanning five channels in a preset scanning order, it obtains three energy values ​​of the five channels and calculates an average value.

[0108] S32: Select a second base station corresponding to the channel with the largest average energy value, and send a network access request to the second base station.

[0109] The beneficial effect of this embodiment lies in that, after the transceiver module completes scanning five channels in a preset scanning order, it takes three energy values ​​from the five channels and calculates an average value; selects the second base station corresponding to the channel with the largest average energy value, and sends a network access request to the second base station. This implements an efficient price tag channel scanning solution, optimizes the full-channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product quality.

[0110] Example 7

[0111] Figure 9 This is a flowchart of a seventh embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag successfully accesses the second base station, the method monitors a third number of frequency bands of the base station at a preset time interval, sequentially obtains energy values ​​of the second base station for a fourth number of times, and skips the current full channel scan when the average energy value of the second base station for the fourth number of times is greater than or equal to a second preset energy value. The method includes:

[0112] S41. After the price tag successfully accesses the second base station, a full-channel scan of base stations is performed periodically. When the full-channel scan of base stations is completed, the energy values ​​of the three most recently monitored signals of the second base station (Tx_power0-2) are obtained, and the average value (Tx_power_avg) of the three most recently monitored signal energy values ​​of the second base station is calculated.

[0113] S42: If the current average value Tx_power_avg of the signal energy value of the second base station is greater than the preset energy value threshold Tx_power_min, skip the current full channel scan.

[0114] The beneficial effect of this embodiment is that after the price tag successfully connects to the second base station, it periodically performs a full-channel scan of the base station. When the full-channel scan time is reached, the three most recent signal energy values ​​Tx_power0-2 monitored by the second base station are obtained, and the data of the three most recent signal energy values ​​of the second base station are averaged Tx_power_avg. If the current average value Tx_power_avg of the second base station's signal energy value is greater than the preset energy value threshold Tx_power_min, the full-channel scan is skipped. This implements an efficient price tag channel scanning solution, optimizes the full-channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product strength.

[0115] Example 8

[0116] Figure 10This is a flowchart of an eighth embodiment of the price tag channel scanning method of the present invention. Based on the above embodiment, after the price tag successfully accesses the second base station, the method monitors a third number of frequency bands of the base station at a preset time interval, sequentially obtains energy values ​​of the second base station for a fourth number of times, and skips the current full channel scan when the average energy value of the second base station for the fourth number of times is greater than or equal to a second preset energy value. The method further includes:

[0117] S43 . After the transceiver module completes scanning five channels in a preset scanning order, it obtains three energy values ​​of the five channels and calculates an average value.

[0118] S44: Select a third base station corresponding to the channel with the largest average energy value, and send a network access request to the third base station.

[0119] The beneficial effect of this embodiment lies in that, after the transceiver module completes scanning five channels in a preset scanning order, it takes three energy values ​​from the five channels and calculates an average value; selects the third base station corresponding to the channel with the largest average energy value, and sends a network access request to the third base station. This implements an efficient price tag channel scanning solution, optimizes the full-channel scanning strategy of the electronic price tag, reduces the number of scans, saves power consumption, and enhances product quality.

[0120] Embodiment 9

[0121] Based on the above embodiments, the present invention further proposes a price tag channel scanning 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 channel scanning method described in any one of the above items are implemented.

[0122] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are applicable to the device embodiment, which will not be repeated here.

[0123] Example 10

[0124] Based on the above embodiments, the present invention further proposes a computer-readable storage medium storing a price tag channel scanning program. When the price tag channel scanning program is executed by a processor, the steps of any of the above price tag channel scanning methods are implemented.

[0125] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are applicable to the medium embodiment, which will not be repeated here.

[0126] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0127] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0128] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this 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, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0129] 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 methods. The above-mentioned specific implementation methods are merely illustrative and not 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 protected by the present invention.

Claims

1. A price tag channel scanning method, characterized in that: The method comprises: After the price tag completes scanning all channels, extracting a first number of channels with energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating an energy average of the first number of scans of the first number of channels, and determining a first base station corresponding to the largest energy average; After the price tag successfully accesses the first base station, monitoring a second number of frequency bands of the base station, sequentially obtaining energy values ​​of the first base station for the second number of frequency bands, and when an energy value greater than or equal to a third number of energy values ​​of the first base station for the second number of frequency bands is less than a first preset energy value, performing frequency band scanning on all frequency bands of the first base station excluding the second number of frequency bands; After the price tag completes the frequency band scan for all other frequency bands, extracting a first number of channels with energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating an energy average of the first number of channels scanned the first times, and determining a second base station corresponding to the largest energy average; After the price tag successfully accesses the second base station, monitoring a third number of frequency bands of the base station at a preset time interval, sequentially obtaining energy values ​​of the second base station for a fourth number of times, and skipping the current full channel scan when an average energy value of the second base station for the fourth number of times is greater than or equal to a second preset energy value; After the price tag completes scanning all channels, extracting a first number of channels with energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating an energy average of the first number of scans of the first number of channels, and determining a first base station corresponding to a maximum energy average, including: When the price tag is connected to a battery for power supply and the controller of the price tag is initialized, the price tag controller controls the transceiver module of the price tag to start working and monitor the broadcast signal of the base station; The transceiver module starts full-channel scanning at each frequency point according to the preset channel to receive signals, and the order of the full-channel scanning is to scan in sequence according to the frequency band; After the transceiver module completes the full channel scan according to the preset channels, the transceiver module extracts five channels Band 0 to Band 4 with the largest energy values ​​from the scanned channels and performs the first scan; The transceiver module performs a second scan and a third scan of the five channels Band 0 to Band 4 according to a set channel order; After the transceiver module completes scanning the five channels in a preset scanning order, three energy values ​​of the five channels are taken and an average value is calculated; Selecting a first base station corresponding to a channel with the largest average energy value, and sending a network access request to the first base station; After the price tag successfully accesses the first base station, monitoring a second number of frequency bands of the base station, sequentially acquiring energy values ​​of the first base station of the second number, and when an energy value greater than or equal to a third number among the energy values ​​of the first base station of the second number is less than a first preset energy value, performing frequency band scanning on all other frequency bands of the first base station excluding the second number of frequency bands, including: After the price tag successfully joins the network, the five frequency bands Band0, Band1, Band2, Band3, and Band4 used by the first base station are obtained, and the signal energy value of the first base station is monitored regularly, and the signal energy values ​​Tx_power0 to Tx_power9 of the first base station monitored the most recently are stored; Performing data sorting on the ten signal energy values ​​of the first base station, and when eight of the ten signal energy values ​​of the first base station are lower than a preset energy value threshold Tx_power_min, performing frequency band scanning on all other frequency bands except the five frequency bands Band 0, Band 1, Band 2, Band 3, and Band 4 used by the first base station; After the price tag completes the frequency band scanning for all other frequency bands, extracting a first number of channels with energy values ​​in descending order, performing a first number of scans on the first number of channels in sequence, calculating an energy average of the first number of channels scanned the first times, and determining a second base station corresponding to the largest energy average, including: After the transceiver module completes scanning five channels in a preset scanning order, three energy values ​​of the five channels are taken and an average value is calculated; Selecting a second base station corresponding to the channel with the largest average energy value, and sending a network access request to the second base station; After the price tag successfully accesses the second base station, monitoring a third number of frequency bands of the base station at a preset time interval, sequentially obtaining energy values ​​of the second base station for a fourth number of times, and skipping the current full channel scan when an average energy value of the second base station for the fourth number of times is greater than or equal to a second preset energy value, including: After the price tag successfully accesses the second base station, a full-channel scan of base stations is performed periodically. When the full-channel scan of base stations is reached, the energy values ​​of the three most recently monitored signals of the second base station (Tx_power0-2) are obtained, and the average value (Tx_power_avg) of the three most recently monitored signal energy values ​​of the second base station is calculated. If the current average value Tx_power_avg of the signal energy value of the second base station is greater than the preset energy value threshold Tx_power_min, skip the current full channel scan; After the transceiver module completes scanning five channels in a preset scanning order, three energy values ​​of the five channels are taken and an average value is calculated; A third base station corresponding to the channel with the largest average energy value is selected, and a network access request is sent to the third base station.

2. A price tag channel scanning device, characterized in that: The 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 steps of the price tag channel scanning method according to claim 1 are implemented.

3. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a price tag channel scanning program, and when the price tag channel scanning program is executed by the processor, the steps of the price tag channel scanning method according to claim 1 are implemented.

Citation Information

Patent Citations

  • Electronic price tag channel selection method and device and computer storage medium

    CN112821970A