CN113099513B - Base station selection method, electronic terminal and computer readable storage medium - Google Patents
Base station selection method, electronic terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN113099513B CN113099513B CN202110336045.6A CN202110336045A CN113099513B CN 113099513 B CN113099513 B CN 113099513B CN 202110336045 A CN202110336045 A CN 202110336045A CN 113099513 B CN113099513 B CN 113099513B
- Authority
- CN
- China
- Prior art keywords
- base station
- price tag
- electronic price
- preset
- base stations
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 25
- 238000012360 testing method Methods 0.000 claims abstract description 67
- 238000012795 verification Methods 0.000 claims abstract description 16
- 238000012163 sequencing technique Methods 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 238000000034 method Methods 0.000 claims description 23
- 125000004122 cyclic group Chemical group 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 16
- 230000006854 communication Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000009295 sperm incapacitation Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a base station selection method, which comprises the following steps: when the electronic price tag and a preset base station in a plurality of base stations finish registration, monitoring whether the preset base station is in an idle state or not in preset time; when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station; the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station; and the electronic price tag takes the base stations which are ordered at preset positions as final registration base stations. The application also provides an electronic terminal and a computer readable storage medium. The electronic price tag can select the most suitable base station as the final registration base station, and the electronic price tag can be ensured to work and run to achieve the best effect.
Description
Technical Field
The present application relates to the field of electronic price tags, and in particular, to a base station selection method, an electronic terminal, and a computer readable storage medium.
Background
Along with the management and upgrading requirements of supermarket/mall systems, the shelf labels are gradually introduced into electronic price tags (Electronic Shelf Label, ESL), so that the label change and replacement of the supermarket and other vending malls are facilitated.
The method for accessing the universal electronic price tag to the network base station is to measure the signal intensity of each base station, once the network access registration is successful, the base station always works on the base station, the influence of environment change cannot be avoided, the working frequency band of the base station with strong signals is unknown by the interference degree of other signals, the interference is possibly larger, and the information transmission is easy to fail. Therefore, how to select the base station with small interference according to the field environment signal and the interference state, and dynamically adjust the access of the electronic price tag to the base station becomes necessary.
Disclosure of Invention
The application mainly aims to provide a base station selection method, equipment and a computer readable storage medium, wherein an electronic price tag can select a base station with small interference according to an environment signal, and can dynamically adjust the access of the electronic price tag to the base station.
In order to achieve the above object, the present application provides a base station selection method, including:
when the electronic price tag and a preset base station in a plurality of base stations finish registration, monitoring whether the preset base station is in an idle state or not in preset time;
when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station;
the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station;
and the electronic price tag takes the base stations which are ordered at preset positions as final registration base stations.
Optionally, before the step of monitoring whether the preset base station is in the idle state in the preset time when the electronic price tag completes registration with the preset base station in the plurality of base stations, the method further includes:
when the electronic price tag is started, the electronic price tag measures and stores the signal intensity of each base station;
the electronic price tag performs descending order sorting on the plurality of base stations based on the signal intensity of each base station to generate a signal intensity sorting table;
and the electronic price tag sequentially sends a registration request to each base station based on the signal strength sorting table.
Optionally, the base station selection method further includes:
and when the electronic price tag is started, scanning channels in a preset bandwidth.
Optionally, before the step of receiving the test data sent by the preset base station, the electronic price tag further includes:
and the preset base station sends the test data to the electronic price tag at preset intervals.
Optionally, the step of performing a verification analysis on the received test data includes:
and the electronic price tag adopts a CRC (cyclic redundancy check) mode or an MD5 (machine direction) check mode to check and analyze the received test data.
Optionally, the analysis result includes a integrity rate and/or an accuracy rate of the received test data, and the step of the electronic price tag performing interference ranking on the plurality of base stations according to the analysis result of each base station includes:
and the electronic price tag performs interference descending order sequencing on the plurality of base stations according to the integrity rate and/or the accuracy rate of the received test data.
Optionally, the step of using the base station ranked in the preset position as the final registered base station by the electronic price tag includes:
the electronic price tag takes the base station which is ranked first as the final registered base station.
Optionally, after the step of using the base stations ordered at the preset positions as the final registered base stations by the electronic price tag, the method further includes:
and the electronic price tag sends a registration request to the final registration base station and completes registration again.
The application also provides an electronic terminal, which comprises: a processor; and the memory is connected with the processor and contains control instructions, and when the processor reads the control instructions, the electronic terminal is controlled to realize the base station selection method.
The present application also provides a computer-readable storage medium having one or more programs executed by one or more processors to implement the above-described base station selection method.
According to the base station selection method, the electronic terminal and the computer readable storage medium, when the electronic price tag and a preset base station in a plurality of base stations finish registration, whether the preset base station is in an idle state or not in preset time is monitored; secondly, when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station; the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station; and finally, the electronic price tag takes the base stations which are ordered at the preset positions as final registration base stations, so that when the electronic price tag and the preset base stations finish registration and the preset base stations are in the idle state, the electronic price tag can obtain analysis results corresponding to the preset base stations by checking and analyzing test data sent by the preset base stations, and accordingly interference ordering is carried out on a plurality of base stations according to the analysis results of each base station, and the base stations which are ordered at the preset positions are taken as final registration base stations, so that the electronic price tag can dynamically select the registration base stations. Further, the electronic price tag performs interference descending order sorting on the plurality of base stations according to the integrity rate and/or the accuracy rate of the received test data, and the electronic price tag takes the base station which is sorted to be at the first position as a final registration base station, so that the signal strength and quality of the final registration base station are good, meanwhile, the interference is small, and the follow-up working operation of the electronic price tag can be guaranteed to achieve the best effect.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
FIG. 1 is a schematic diagram of the hardware architecture of an alternative electronic terminal for implementing various embodiments of the present application;
FIG. 2 is a schematic diagram of a communication network system of the electronic terminal shown in FIG. 1;
fig. 3 is a flowchart of a base station selection method according to an embodiment of the present application;
fig. 4 is a flowchart of a base station selection method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic terminal according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, terminals described in the present application may include electronic terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking an electronic terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic hardware structure of an electronic terminal for implementing various embodiments of the present application, the electronic 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 appreciate that the electronic terminal structure shown in fig. 1 does not constitute a limitation of the electronic terminal, and the electronic terminal may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components.
The following describes the various components of the electronic terminal 100 in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, 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, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and an electronic terminal can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of an electronic terminal, and can be omitted entirely as required within a range that does not change the essence of the application.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the electronic 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. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted 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 phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The electronic terminal 100 further comprises 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 ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the electronic terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the electronic terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the electronic terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the electronic terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. 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 electronic terminal 100 or may be used to transmit data between the electronic terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the electronic terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic 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, thereby performing overall monitoring of the electronic terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, power consumption management, etc. through the power management system.
Although not shown in fig. 1, the electronic terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the electronic terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the hardware structure of the electronic terminal and the communication network system, various embodiments of the method are provided.
Fig. 3 is a flowchart of an embodiment of a base station selection method provided by the present application. Once triggered by the user, the process in this embodiment automatically operates through the electronic terminal 100, where each step may be performed sequentially as shown in the flowchart, or may be performed simultaneously according to a plurality of steps in actual situations, which is not limited herein. The base station selection method provided by the application comprises the following steps:
step S310, monitoring whether a preset base station is in an idle state or not in preset time when the electronic price tag and the preset base station in a plurality of base stations finish registration;
step S330, when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station;
step S350, the electronic price tag performs interference sequencing on a plurality of base stations according to the analysis result of each base station;
in step S370, the electronic price tag uses the base stations ordered at the preset positions as the final registered base stations.
Through the embodiment, firstly, when the electronic price tag and a preset base station in a plurality of base stations finish registration, whether the preset base station is in an idle state or not in preset time is monitored; secondly, when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station; the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station; and finally, the electronic price tag takes the base stations which are ordered at the preset positions as final registration base stations, so that when the electronic price tag and the preset base stations finish registration and the preset base stations are in the idle state, the electronic price tag can obtain analysis results corresponding to the preset base stations by checking and analyzing test data sent by the preset base stations, and accordingly interference ordering is carried out on a plurality of base stations according to the analysis results of each base station, and the base stations which are ordered at the preset positions are taken as final registration base stations, so that the electronic price tag can dynamically select the registration base stations.
The above steps will be specifically described with reference to specific embodiments.
In step S310, when the electronic price tag completes registration with a preset base station of the plurality of base stations, whether the preset base station is in an idle state within a preset time is monitored.
In this embodiment, the electronic price tag and the preset base station complete registration, that is, the electronic price tag logs into the preset base station. The preset time may be set according to actual situations, for example, the preset time may be a signal period, or a specified duration, etc.
In this embodiment, in the electronic price tag system, the electronic price tag may communicate with the server through the base station, and then perform corresponding data display and data update according to the display data instruction or the update data instruction sent by the server, so that the network access of the electronic price tag establishes communication for the electronic price tag and the corresponding base station, and establishes a binding relationship between the electronic price tag and the corresponding base station in the server. The idle state may refer to that the preset base station has no data pushing task (pushing to an electronic price tag), or may refer to that the preset base station has no data pushing task, and does not receive data from a server and send data to the server.
In this embodiment, when the electronic price tag and the preset base station complete registration, the electronic price tag may monitor whether the preset base station has a data push task in the preset time. When the preset base station is determined to have a data pushing task, the electronic price tag receives data pushed by the preset base station. And when the preset base station is determined to have no data push task, namely, the preset base station is in the idle state, step S330 is performed.
In step S330, when the preset base station is in the idle state, the electronic price tag receives the test data issued by the preset base station and performs verification analysis on the received test data, so as to obtain an analysis result corresponding to the preset base station.
In this embodiment, the preset base station may be a base station included in a signal strength ranking table. The analysis results may include the integrity and/or accuracy of the received test data.
In this embodiment, the performing the verification analysis on the received test data may refer to: and the electronic price tag adopts a CRC (cyclic redundancy check) mode or an MD5 (machine direction) check mode to check and analyze the received test data.
In this embodiment, CRC (cyclic redundancy check code, cyclic Redundancy Check) is a commonly used check code with error detection and correction capability, and can be used to check the integrity and accuracy of test data. MD5 verification may check the integrity and accuracy of test data by performing a hash operation on the received test data.
In this embodiment, the electronic price tag performs a check analysis on the received test data by using a CRC check method. The electronic price tag receives the data packet of the test data, and as the data packet has fixed data codes and numbers, once the test data received by the electronic price tag has differences or discontinuous conditions, the receiving failure, namely the data packet error, is judged, so that the integrity rate and/or the accuracy rate of the received test data can be analyzed.
In this embodiment, the data packet of the test data is exemplified by a 100-packet sequence. If the electronic price tag adopts a CRC check mode to determine that two error data packets exist in the received data packet and one data packet is lost, the analysis result can be 97% of the success rate of receiving the test data. If the electronic price tag adopts a CRC check mode to determine that three data packets are received and two data packets are lost, the analysis result can be 95% of the success rate of receiving the test data.
In step S350, the electronic price tag performs interference ranking on the plurality of base stations according to the analysis result of each base station.
In this embodiment, the electronic price tag may send a registration request to each base station in turn based on the signal strength ranking table, and when the electronic price tag completes registration with each base station in turn and the corresponding base station is in the idle state, receive test data issued by the corresponding base station and perform verification analysis on the received test data, to obtain an analysis result corresponding to the corresponding base station, and finally the electronic price tag may perform interference ranking on a plurality of base stations according to the analysis result of each base station.
In this embodiment, the electronic price tag performing interference ranking on the plurality of base stations according to the analysis result of each base station may refer to:
and the electronic price tag performs interference descending order sequencing on the plurality of base stations according to the integrity rate and/or the accuracy rate of the received test data.
In this embodiment, the electronic price tag may sort the plurality of base stations in an interference descending order according to the integrity rate and/or the accuracy rate of the test data received from each of the base stations.
For example, the signal strength sorting table includes a base station a with the best signal strength, a base station B with the inferior signal strength, and a C with the worst signal strength, the electronic price tag obtains that the analysis result corresponding to the base station a is 97% of the success rate of receiving the test data, the analysis result corresponding to the base station a is 95% of the success rate of receiving the test data, and the analysis result corresponding to the base station a is 94% of the success rate of receiving the test data, so the electronic price tag can sort the three base stations in an interference descending order according to the analysis results of the base stations a, B, and C, and obviously the base stations in the interference descending order sorting table are the base station a, the base station B, and the base station C in sequence from top to bottom.
In step S370, the electronic price tag uses the base stations ordered at the preset positions as the final registered base stations.
In this embodiment, the electronic price tag may refer to that the base station ranked in a preset position is used as a final registered base station:
the electronic price tag takes the base station which is ranked first as the final registered base station.
In this embodiment, the electronic price tag may perform interference descending order sorting on the plurality of base stations according to the integrity rate and/or accuracy rate of the received test data, and use the base station with the first rank as the final registration base station, that is, the electronic price tag may use the base station with the best integrity rate and/or accuracy rate of the received test data as the final registration base station, so that the signal strength quality of the final registration base station is better, and meanwhile, the interference is small, so that the subsequent working operation of the electronic price tag can be guaranteed to achieve the best effect.
It will be appreciated that in other embodiments, the electronic price tag may sort the plurality of base stations in an ascending order of interference based on the integrity and/or accuracy of the received test data. At this time, the electronic price tag may use the base station ranked in the last bit as the final registered base station.
Through the embodiment, firstly, when the electronic price tag and a preset base station in a plurality of base stations finish registration, whether the preset base station is in an idle state or not in preset time is monitored; secondly, when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station; the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station; and finally, the electronic price tag takes the base stations which are ordered at the preset positions as final registration base stations, so that when the electronic price tag and the preset base stations finish registration and the preset base stations are in the idle state, the electronic price tag can obtain analysis results corresponding to the preset base stations by checking and analyzing test data sent by the preset base stations, and accordingly interference ordering is carried out on a plurality of base stations according to the analysis results of each base station, and the base stations which are ordered at the preset positions are taken as final registration base stations, so that the electronic price tag can dynamically select the registration base stations.
Fig. 4 is a flowchart of another embodiment of a base station selection method provided by the present application. Once triggered by the user, the process in this embodiment automatically operates through the electronic terminal 100, where each step may be performed sequentially as shown in the flowchart, or may be performed simultaneously according to a plurality of steps in actual situations, which is not limited herein. The base station selection method provided by the application comprises the following steps:
step S401, when the electronic price tag is started, the electronic price tag measures and stores the signal intensity of each base station.
In this embodiment, when the electronic price tag is started, a channel within a preset bandwidth is first scanned, and after receiving a base station signal, the signal intensity of each base station is measured and stored.
Step S402, the electronic price tag performs descending order sorting on the plurality of base stations based on the signal intensity of each base station, and generates a signal intensity sorting table.
In this embodiment, after all channels within the preset bandwidth are scanned, the electronic price tag may sort the plurality of base stations in descending order based on the signal strength of each base station to generate a signal strength sorting table
Step S403, the electronic price tag sequentially sends a registration request to each base station based on the signal strength ranking table.
In this embodiment, the electronic price tag may send a registration request to each of the base stations in turn based on the signal strength ranking table. That is, the electronic price tag may transmit a registration request to a base station having the best signal strength based on the signal strength ranking table, and then sequentially transmit a registration request to base stations having gradually decreasing signal strengths. The preset bandwidth may be a 2.4G bandwidth, a 5G bandwidth, or the like. The signal strength ranking table may include base station names and corresponding signal strengths.
For example, when the electronic price tag is started, the electronic price tag measures and stores the signal intensity of the base station a and the signal intensity of the base station B, and if the signal intensity of the base station a is greater than the signal intensity of the base station B, the electronic price tag performs descending order ordering on the two base stations based on the signal intensity of the base station a and the signal intensity of the base station B, so as to generate a signal intensity ordering table.
In step S404, when the electronic price tag completes registration with a preset base station of the plurality of base stations, whether the preset base station is in an idle state within a preset time is monitored.
In this embodiment, step S404 is the same as step S310 in the above embodiment, and will not be described here again.
Step S405, when the preset base station is in the idle state, the preset base station sends the test data to the electronic price tag at preset intervals.
In this embodiment, the preset interval may be set as needed. When the preset base station is in the idle state, the preset base station randomly transmits the test data to the electronic price tag which is accessed to the network for the first time at preset intervals.
Step S406, the electronic price tag receives the test data sent by the preset base station and performs verification analysis on the received test data, so as to obtain an analysis result corresponding to the preset base station.
In this embodiment, the preset base station may be a base station included in the signal strength ranking table. The analysis results may include the integrity and/or accuracy of the received test data. The electronic price tag is in a monitoring state, can receive the test data and performs verification analysis on the received test data to obtain the integrity rate and/or the accuracy rate of the electronic price tag for receiving the test data of the preset base station.
And S407, the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station.
In this embodiment, step S407 is the same as step S350 of the above embodiment, and will not be described here again.
In step S408, the electronic price tag uses the base stations ordered at the preset positions as the final registered base stations.
In this embodiment, step S408 is the same as step S370 of the above embodiment, and will not be described here again.
Step S409, the electronic price tag sends a registration request to the final registration base station, and completes registration again.
In this embodiment, after determining the final registration base station, the electronic price tag may send a registration request to the final registration base station and re-complete registration. It can be understood that the electronic price tag can periodically repeat the above steps to dynamically select the base station according to environmental changes, device addition and deletion, etc., so as to ensure that the electronic price tag always operates in an optimal state.
Through the embodiment, firstly, when the electronic price tag and a preset base station in a plurality of base stations finish registration, whether the preset base station is in an idle state or not in preset time is monitored; secondly, when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station; the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station; and finally, the electronic price tag takes the base stations which are ordered at the preset positions as final registration base stations, so that when the electronic price tag and the preset base stations finish registration and the preset base stations are in the idle state, the electronic price tag can obtain analysis results corresponding to the preset base stations by checking and analyzing test data sent by the preset base stations, and accordingly interference ordering is carried out on a plurality of base stations according to the analysis results of each base station, and the base stations which are ordered at the preset positions are taken as final registration base stations, so that the electronic price tag can dynamically select the registration base stations. Further, the electronic price tag performs interference descending order sorting on the plurality of base stations according to the integrity rate and/or the accuracy rate of the received test data, and the electronic price tag takes the base station which is sorted to be at the first position as a final registration base station, so that the signal strength and quality of the final registration base station are good, meanwhile, the interference is small, and the follow-up working operation of the electronic price tag can be guaranteed to achieve the best effect.
Fig. 5 is a schematic structural diagram of an electronic terminal 100 according to an embodiment of the present application, where the electronic terminal 100 includes: a processor 110; the memory 109 is connected to the processor 110, and the memory 109 contains control instructions, and when the processor 110 reads the control instructions, the electronic terminal 100 is controlled to execute the electronic price tag firmware upgrading method as described in fig. 3 or fig. 4.
Note that the configuration illustrated in the present embodiment does not constitute a specific limitation of the electronic terminal 100. In other embodiments, the electronic terminal 100 may further include more components than those shown in the drawings, or some components may be combined or split, which will not be described herein.
Embodiments of the present application also provide a computer-readable storage medium having one or more programs that are executed by one or more processors. When the processor reads the program to control the computer readable storage medium to execute the electronic price tag firmware upgrade method as described in fig. 3 or 4.
It should be noted that, the electronic terminal 100 and the computer readable storage medium provided in the above embodiments are all used for executing the corresponding methods provided above, and therefore, the advantages achieved by the method can refer to the advantages in the corresponding methods provided above, and will not be described herein.
The corresponding technical features in the above embodiments can be used mutually without causing contradiction between schemes or incapacitation.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (7)
1. A base station selection method, characterized in that the base station selection method comprises:
when the electronic price tag and a preset base station in a plurality of base stations finish registration, monitoring whether the preset base station is in an idle state or not in preset time;
when the preset base station is in the idle state, the electronic price tag receives test data issued by the preset base station and performs verification analysis on the received test data to obtain an analysis result corresponding to the preset base station;
the electronic price tag performs interference sequencing on the plurality of base stations according to the analysis result of each base station;
the electronic price tag takes the base stations sequenced at preset positions as final registration base stations;
when the electronic price tag and a preset base station in the plurality of base stations complete registration, before the step of monitoring whether the preset base station is in an idle state in preset time, the method further comprises the following steps:
when the electronic price tag is started, the electronic price tag measures and stores the signal intensity of each base station;
the electronic price tag performs descending order sorting on the plurality of base stations based on the signal intensity of each base station to generate a signal intensity sorting table;
the electronic price tag sends a registration request to each base station in turn based on the signal strength sorting table;
the step of performing verification analysis on the received test data comprises the following steps:
the electronic price tag adopts a CRC (cyclic redundancy check) mode or an MD5 (machine direction) check mode to check and analyze the received test data;
the analysis result comprises the integrity rate and/or the accuracy rate of the received test data, and the step of the electronic price tag for carrying out interference sequencing on the plurality of base stations according to the analysis result of each base station comprises the following steps:
and the electronic price tag performs interference descending order sequencing on the plurality of base stations according to the integrity rate and/or the accuracy rate of the received test data.
2. The base station selection method according to claim 1, wherein the base station selection method further comprises:
and when the electronic price tag is started, scanning channels in a preset bandwidth.
3. The base station selection method according to claim 1, wherein before the step of receiving the test data issued by the preset base station, the electronic price tag further comprises:
and the preset base station sends the test data to the electronic price tag at preset intervals.
4. The base station selection method as claimed in claim 1, wherein the step of using the base stations ordered at the preset positions as the final registered base stations by the electronic price tag comprises:
the electronic price tag takes the base station which is ranked first as the final registered base station.
5. The base station selection method as claimed in claim 1, wherein after the step of using the base stations ordered at the preset positions as the final registered base stations by the electronic price tag, further comprises:
and the electronic price tag sends a registration request to the final registration base station and completes registration again.
6. An electronic terminal, characterized in that the electronic terminal comprises:
a processor; and
And the memory is connected with the processor and contains control instructions, and when the processor reads the control instructions, the electronic terminal is controlled to realize the base station selection method of claims 1-5.
7. A computer readable storage medium having one or more programs for execution by one or more processors to implement the base station selection method of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110336045.6A CN113099513B (en) | 2021-03-29 | 2021-03-29 | Base station selection method, electronic terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110336045.6A CN113099513B (en) | 2021-03-29 | 2021-03-29 | Base station selection method, electronic terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113099513A CN113099513A (en) | 2021-07-09 |
CN113099513B true CN113099513B (en) | 2023-12-08 |
Family
ID=76670644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110336045.6A Active CN113099513B (en) | 2021-03-29 | 2021-03-29 | Base station selection method, electronic terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113099513B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114390526B (en) * | 2022-01-25 | 2025-06-03 | 努比亚技术有限公司 | Price tag control method, device and computer readable storage medium |
CN115315000A (en) * | 2022-08-26 | 2022-11-08 | 努比亚技术有限公司 | Method and equipment for paging price tag by server and computer readable storage medium |
CN116915329B (en) * | 2023-09-13 | 2023-12-08 | 高勘(广州)技术有限公司 | Terminal automatic access method, terminal, base station, communication system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103226685A (en) * | 2013-05-10 | 2013-07-31 | 智坤(江苏)半导体有限公司 | Method for improving radio frequency identification (RFID) tag reading success rate |
CN108255434A (en) * | 2018-01-15 | 2018-07-06 | 腾讯科技(深圳)有限公司 | Label management method, managing device and computer readable storage medium |
CN108966303A (en) * | 2018-06-22 | 2018-12-07 | 北京格瑞空间科技有限公司 | A kind of loaming method of the wireless internet of things equipment based on LoRa |
CN109547578A (en) * | 2019-01-18 | 2019-03-29 | 重庆物奇科技有限公司 | Network-building method for electronics price tag system |
CN109815759A (en) * | 2019-01-24 | 2019-05-28 | 电子科技大学 | A kind of long-distance communication networking system and networking method based on UHF RFID |
CN111935799A (en) * | 2020-09-28 | 2020-11-13 | 浙江汉朔电子科技有限公司 | Base station selection method and system for electronic price tags |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7007219B2 (en) * | 2002-01-11 | 2006-02-28 | Ncr Corporation | Methods and apparatus for error detection and correction of an electronic shelf label system communication error |
KR101412942B1 (en) * | 2012-12-21 | 2014-07-02 | 삼성전기주식회사 | Electronics shelf label system and method for operating electronics shelf label system |
-
2021
- 2021-03-29 CN CN202110336045.6A patent/CN113099513B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103226685A (en) * | 2013-05-10 | 2013-07-31 | 智坤(江苏)半导体有限公司 | Method for improving radio frequency identification (RFID) tag reading success rate |
CN108255434A (en) * | 2018-01-15 | 2018-07-06 | 腾讯科技(深圳)有限公司 | Label management method, managing device and computer readable storage medium |
CN108966303A (en) * | 2018-06-22 | 2018-12-07 | 北京格瑞空间科技有限公司 | A kind of loaming method of the wireless internet of things equipment based on LoRa |
CN109547578A (en) * | 2019-01-18 | 2019-03-29 | 重庆物奇科技有限公司 | Network-building method for electronics price tag system |
CN109815759A (en) * | 2019-01-24 | 2019-05-28 | 电子科技大学 | A kind of long-distance communication networking system and networking method based on UHF RFID |
CN111935799A (en) * | 2020-09-28 | 2020-11-13 | 浙江汉朔电子科技有限公司 | Base station selection method and system for electronic price tags |
Also Published As
Publication number | Publication date |
---|---|
CN113099513A (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108334539B (en) | Object recommendation method, mobile terminal and computer-readable storage medium | |
CN109195143B (en) | Network access method, mobile terminal and readable storage medium | |
CN113099513B (en) | Base station selection method, electronic terminal and computer readable storage medium | |
CN108512625B (en) | Anti-interference method for camera, mobile terminal and storage medium | |
CN110113779B (en) | eSIM card testing method, system and medium | |
CN109144705B (en) | Application management method, mobile terminal and computer readable storage medium | |
CN109840444B (en) | Code scanning identification method, equipment and computer readable storage medium | |
CN108600516B (en) | Data acquisition method, mobile terminal and computer readable storage medium | |
CN109151216B (en) | Application starting method, mobile terminal, server and computer readable storage medium | |
CN113067734B (en) | Electronic price tag upgrading method, electronic price tag system, electronic terminal and storage medium | |
CN108897846B (en) | Information searching method, apparatus and computer readable storage medium | |
CN111970738B (en) | Network switching control method, device and computer readable storage medium | |
CN110209434B (en) | Memory management method and device and computer readable storage medium | |
CN109711850B (en) | Secure payment method, device and computer readable storage medium | |
CN108040116B (en) | Message pushing method, router and computer readable storage medium | |
CN112766444B (en) | Antenna tuning method, device, terminal and storage medium of electronic price tag | |
CN108040330B (en) | WiFi directional transmission method, mobile terminal and readable storage medium | |
CN107466081B (en) | Wireless switching method and terminal | |
CN110069320B (en) | Classification correction method, terminal, system and storage medium for application program | |
CN109740121B (en) | Search method of mobile terminal, mobile terminal and storage medium | |
CN112566197A (en) | Network switching control method, equipment and computer readable storage medium | |
CN109062688B (en) | Memory allocation method, server and mobile terminal | |
CN111931155A (en) | Verification code input method, verification code input equipment and storage medium | |
CN108900696B (en) | Data processing method, terminal and computer readable storage medium | |
CN108566476B (en) | Information processing method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20211124 Address after: 518000 1601, building 2, Chongwen Park, Nanshan Zhiyuan, No. 3370 Liuxian Avenue, Fuguang community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Applicant after: Shenzhen ZTE Mobile Software Co.,Ltd. Address before: 1801, building 2, Chongwen Park, Nanshan Zhiyuan, No. 3370, Liuxian Avenue, Fuguang community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong 518000 Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |