CN112383905B - Radio frequency module processing method, terminal and computer readable storage medium - Google Patents

Radio frequency module processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112383905B
CN112383905B CN202011178678.0A CN202011178678A CN112383905B CN 112383905 B CN112383905 B CN 112383905B CN 202011178678 A CN202011178678 A CN 202011178678A CN 112383905 B CN112383905 B CN 112383905B
Authority
CN
China
Prior art keywords
radio frequency
frequency module
configuration
base station
processing method
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
Application number
CN202011178678.0A
Other languages
Chinese (zh)
Other versions
CN112383905A (en
Inventor
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202011178678.0A priority Critical patent/CN112383905B/en
Publication of CN112383905A publication Critical patent/CN112383905A/en
Application granted granted Critical
Publication of CN112383905B publication Critical patent/CN112383905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The invention discloses a radio frequency module processing method, a terminal and a computer readable storage medium. The problem that the whole base station breaks down under the condition that a broadcast gateway cannot be used is avoided, the stability of the base station in the electronic price tag system is improved, and the cost is saved. The invention also discloses an electronic terminal and a computer readable storage medium, which can avoid the problem of breakdown of the whole base station under the condition that a broadcast gateway cannot be used by implementing the scheme.

Description

Radio frequency module processing method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a radio frequency module processing method, a terminal, and a computer readable storage medium.
Background
Electronic price tags (Electronic Shelf Label abbreviated ESL) have become a trend to replace traditional paper price tags. The electronic price tag is used by large-scale commercial enterprises such as a box Ma Shengxian, a Yonghui supermarket, su Ningyi purchase and the like which become the standard of new retail industry. However, the base station in the electronic price tag system often breaks down due to the fact that the radio frequency module serving as a broadcasting gateway cannot be used, and the whole base station needs to be replaced, so that the cost is high.
Disclosure of Invention
The invention aims to solve the technical problems that a base station in an electronic price tag system is crashed due to the fact that a broadcasting gateway cannot be used, the base station needs to be replaced, the cost is high, and a radio frequency module processing method, a terminal and a computer readable storage medium are provided.
In order to solve the technical problems, the invention provides a radio frequency module processing method, which comprises the following steps:
when abnormality of a first radio frequency module in a base station is detected, adding configuration of the first radio frequency module to a second radio frequency module; the first radio frequency module is used for distributing and scheduling resources.
Optionally, the detecting the abnormality of the first radio frequency module in the base station includes at least one of:
the signal of the first radio frequency module is not detected;
the first radio frequency module cannot be communicated or connected with a processor in the base station for longer than a preset time period.
Optionally, before the adding the configuration of the first radio frequency module to the second radio frequency module, the method further includes:
removing the original configuration of the second radio frequency module, and adding the original configuration of the second radio frequency module to a third radio frequency module;
and re-accessing the electronic price tag under the channel of the second radio frequency module into the channel of the third radio frequency module.
Optionally, the adding the configuration of the first radio frequency module to the second radio frequency module includes: and clearing the configuration of the first radio frequency module, and adding the configuration of the first radio frequency module to a second radio frequency module.
Optionally, after clearing the configuration of the first radio frequency module, the method further includes:
when the first radio frequency module is detected to be recovered to be normal, transferring the configuration of the original second radio frequency module added to the third radio frequency module to the first radio frequency module, and re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module into the channel of the first radio frequency module.
Optionally, the access mode of re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module to the channel of the first radio frequency module includes at least one of the following: and receiving a preset notice or automatically re-accessing the electronic price tag within a preset time.
Optionally, after the adding the configuration of the first radio frequency module to the second radio frequency module, the method further includes:
and stopping the configuration function added to the second radio frequency module and updating the configuration of the first radio frequency module when the first radio frequency module is detected to be recovered to be normal.
Optionally, the radio frequency module processing method further includes: when abnormality of the fourth radio frequency module is detected, adding configuration of the fourth radio frequency module to a fifth radio frequency module; and the fourth radio frequency module is used for data service of the electronic price tag.
The invention further provides an electronic terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the radio frequency module processing method as described above.
Further, the present invention also provides a computer readable storage medium storing one or more programs executable by one or more processors to implement the steps of the radio frequency module processing method as described above.
Advantageous effects
The invention provides a radio frequency module processing method, a terminal and a computer readable storage medium, aiming at the defects that a base station in the existing electronic price tag system is crashed due to the fact that a broadcast gateway cannot be used, the base station needs to be replaced and the cost is high, when the abnormality of a first radio frequency module in the base station is detected, the configuration of the first radio frequency module is added to a second radio frequency module; the first radio frequency module is used for distributing and scheduling resources. The problem that the whole base station breaks down under the condition that a broadcast gateway cannot be used is avoided, the stability of the base station in the electronic price tag system is improved, and the cost is saved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an alternative electronic terminal for implementing various embodiments of the present invention.
FIG. 2 is a schematic diagram of a wireless communication system of the electronic terminal shown in FIG. 1;
FIG. 3 is a network architecture diagram of an electronic price tag system according to an embodiment of the present invention;
fig. 4 is a basic flowchart of a processing method of a radio frequency module according to a first embodiment of the present invention;
fig. 5 is a detailed flowchart of a radio frequency module processing method according to a second embodiment of the present invention;
fig. 6 is a detailed flowchart of a radio frequency module processing method according to a third embodiment of the present invention;
fig. 7 is a network architecture diagram of the electronic price tag system according to the fourth embodiment of the present invention after processing an abnormality.
Fig. 8 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
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 invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, 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, the terminals described in the present invention may include mobile 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 a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention 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 diagram of a hardware structure of a mobile terminal 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 appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal 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 a mobile terminal can help a user to send and receive e-mails, browse web pages, 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 a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
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 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. 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 mobile 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 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 ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile terminal 100 or may be used to transmit data between the mobile 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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile 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 mobile 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, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile 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 invention, a communication network system on which the mobile terminal of the present invention 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 invention, 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 invention 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 above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
First embodiment
In order to solve the technical problems that a base station in an electronic price tag system is crashed due to the fact that a broadcasting gateway cannot be used and needs to be replaced, and the cost is high, the invention provides a radio frequency module processing method, a terminal and a computer readable storage medium, which improves the stability of the base station in the electronic price tag system and saves the cost. The following describes a method for processing a radio frequency module according to the present invention with reference to an embodiment.
The radio frequency module processing method provided by the embodiment of the invention is applied to an electronic price tag system, wherein a network architecture diagram of the electronic price tag system is shown in fig. 3, and the electronic price tag system comprises: the electronic price tag server, the base station and the electronic price tag. The base station comprises a main processor, one radio frequency module serving as a broadcasting gateway and a plurality of radio frequency modules serving as a data gateway. The server and the base station are connected through a wired Ethernet, and the gateway and the electronic price tag are communicated through a 2.4G private protocol or other protocols. The base station is a hardware device, and is continuously powered by a power supply, and the device comprises a main processor (main control) and a plurality of RF modules; the main control refers to a main processor in the base station, can run a unix-like operating system and has data concurrency processing capability. The gateway refers to an RF module in the base station, has communication capability through a 2.4G private protocol and ESL, the broadcasting gateway is responsible for distributing and scheduling resources, and the data gateway is responsible for data services such as price-co-tag pushing and the like. The master base station is a software entity, which may be executed on a base station or a server, and is mainly used for coordinating gateway behavior and public resource management, such as channel allocation. The electronic price tag has an RF module and a display function, and can be communicated with a gateway on the base station so as to display information such as commodities.
Fig. 4 is a basic flowchart of a radio frequency module processing method provided in this embodiment, where the radio frequency module processing method includes:
s401, detecting whether a first radio frequency module in a base station is abnormal.
In this step, the detecting of the abnormality of the first radio frequency module in the base station includes at least one of: the signal of the first radio frequency module is not detected; the first radio frequency module cannot be communicated with a processor in the base station or exceeds a preset duration. The first radio frequency module is used for distributing and scheduling resources and realizes the function of a broadcast gateway.
If so, S402 is executed, otherwise, whether the first radio frequency module in the base station is abnormal is continuously detected.
S402, adding the configuration of the first radio frequency module to the second radio frequency module.
In some embodiments, before adding the configuration of the first radio frequency module to the second radio frequency module, further comprising: removing the original configuration of the second radio frequency module, and adding the original configuration of the second radio frequency module to the third radio frequency module; and re-accessing the electronic price tag under the channel of the second radio frequency module into the channel of the third radio frequency module. The electronic price tag re-accesses the channel of the third radio frequency module, and can access the network according to the received re-access or automatically access the network according to the preset time.
In some embodiments, adding the configuration of the first radio frequency module to the second radio frequency module comprises: and clearing the configuration of the first radio frequency module, and adding the configuration of the first radio frequency module to the second radio frequency module. Wherein after clearing the configuration of the first radio frequency module, adding the configuration of the first radio frequency module to the second radio frequency module may further include: when the first radio frequency module is detected to be recovered to be normal, transferring the configuration of the original second radio frequency module added to the third radio frequency module to the first radio frequency module, and re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module into the channel of the first radio frequency module. The access mode for re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module to the channel of the first radio frequency module comprises at least one of the following steps: and receiving a preset notice or automatically re-accessing the electronic price tag within a preset time. The configuration of the first radio frequency module is cleared, that is, the first radio frequency module is discarded in the network node.
In some embodiments, after the adding the configuration of the first radio frequency module to the second radio frequency module, further comprising: and stopping the configuration function added to the second radio frequency module when the first radio frequency module is detected to be recovered to be normal, and updating the configuration of the first radio frequency module. I.e. restoring the configuration of the first radio frequency module as a broadcast gateway.
In some embodiments, the radio frequency module processing method may further include: when abnormality of the fourth radio frequency module is detected, adding configuration of the fourth radio frequency module to the fifth radio frequency module; and the fourth radio frequency module is used for data service of the electronic price tag.
S403, ending.
According to the method for processing the radio frequency modules, when the first radio frequency module in the base station is abnormal, the configuration of the first radio frequency module is added to the second radio frequency module, and one of the data gateways is used as a broadcast gateway. The problem that the whole base station breaks down under the condition that a broadcast gateway cannot be used is avoided, the stability of the base station in the electronic price tag system is improved, and the cost is saved.
Second embodiment
The method for processing the radio frequency module solves the problem that the whole base station is crashed under the condition that a broadcast gateway cannot be used, improves the stability of the base station in the electronic price tag system, saves the cost, and is described below with reference to an application scene for facilitating understanding.
Fig. 5 is a detailed flowchart of a method for processing a radio frequency module according to a second embodiment of the present invention, where the method for processing a radio frequency module includes:
s501, detecting whether a first radio frequency module in a base station is abnormal.
In this step, the detecting of the abnormality of the first radio frequency module in the base station includes at least one of: the signal of the first radio frequency module is not detected; the first radio frequency module cannot be communicated with a processor in the base station or exceeds a preset duration. The first radio frequency module is used for distributing and scheduling resources and realizes the function of a broadcast gateway. If yes, S502 is executed, otherwise S508 is executed.
S502, clearing the configuration of the first radio frequency module.
S503, the original configuration of the second radio frequency module is cleared, and the original configuration of the second radio frequency module is added to the third radio frequency module.
S504, the electronic price tag under the channel of the second radio frequency module is accessed to the channel of the third radio frequency module again.
S505, adding the configuration of the first radio frequency module to the second radio frequency module.
S506, when the first radio frequency module is detected to be recovered to be normal, the configuration of the original second radio frequency module added to the third radio frequency module is transferred to the first radio frequency module.
S507, re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module into the channel of the first radio frequency module.
S508, returning to step S501.
According to the radio frequency module processing method, the configuration of the first radio frequency module is cleared through detecting the abnormal condition of the first radio frequency module serving as the broadcast gateway. Removing the original configuration of the second radio frequency module, and adding the original configuration of the second radio frequency module to the third radio frequency module; and re-accessing the electronic price tag under the channel of the second radio frequency module into the channel of the third radio frequency module. The configuration of the first radio frequency module is added to the second radio frequency module. And when the first radio frequency module is recovered to be normal, transferring the configuration of the original second radio frequency module added to the third radio frequency module to the first radio frequency module, and re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module into the channel of the first radio frequency module. The problem that the whole base station breaks down under the condition that a broadcast gateway cannot be used is avoided, the stability of the base station in the electronic price tag system is improved, and the cost is saved.
Third embodiment
The method for processing the radio frequency module solves the problem that the whole base station is crashed under the condition that a broadcast gateway cannot be used, improves the stability of the base station in the electronic price tag system, saves the cost, and is described below with reference to an application scene for facilitating understanding.
Fig. 6 is a detailed flowchart of a method for processing a radio frequency module according to a third embodiment of the present invention, where the method for processing a radio frequency module includes:
s601, detecting whether a first radio frequency module in a base station is abnormal.
In this step, the detecting of the abnormality of the first radio frequency module in the base station includes at least one of: the signal of the first radio frequency module is not detected; the first radio frequency module cannot be communicated with a processor in the base station or exceeds a preset duration. The first radio frequency module is used for distributing and scheduling resources and realizes the function of a broadcast gateway. If yes, S602 is executed, otherwise S605 is executed.
S602, adding the configuration of the first radio frequency module to the second radio frequency module.
And S603, stopping the configuration function added to the second radio frequency module when the first radio frequency module is detected to be recovered to be normal, and updating the configuration of the first radio frequency module.
S604, when the abnormality of the fourth radio frequency module is detected, adding the configuration of the fourth radio frequency module to the fifth radio frequency module.
The fourth radio frequency module is used for the data service of the electronic price tag and realizes the function of a data gateway.
S605 returns to step S601.
According to the radio frequency module processing method provided by the embodiment of the invention, when the first radio frequency module serving as the broadcasting gateway in the base station is detected to be abnormal, the configuration of the first radio frequency module is added to the second radio frequency module. And stopping the configuration function added to the second radio frequency module when the first radio frequency module is detected to be recovered to be normal, and updating the configuration of the first radio frequency module. And when detecting that the fourth radio frequency module serving as the data gateway is abnormal, adding the configuration of the fourth radio frequency module to the fifth radio frequency module. The problem that the whole base station breaks down under the condition that a broadcast gateway cannot be used is avoided, the stability of the base station in the electronic price tag system is improved, and the cost is saved.
Fourth embodiment
The radio frequency module processing method of the invention avoids the problem of breakdown of the whole base station under the condition that a broadcast gateway cannot be used, improves the stability of the base station in the electronic price tag system, saves the cost, and is described below in connection with an application scene for facilitating understanding.
The exception handling method comprises the following steps:
step 1, the hardware design includes a plurality of RF modules
Specifically, as shown in fig. 1, the base station includes four or more RF modules therein, and the RF modules are not different and can communicate through a UART serial port;
step 2, the function of the RF module can be configured in software implementation
Specifically, the RF modules are divided into two types through software configuration, one is used as a broadcasting gateway, and the rest is used as a data gateway;
step 3, software detection exception mechanism
The software on the master base station detects that the broadcast gateway is working abnormally, for example: 1. no RF hardware device signal is detected; 2. can not communicate with the master control for a long time; 3. other abnormal conditions;
step 4, switching other data gateways to broadcast gateways
According to the detection result of the step 3, the software configuration switches other data gateways to be broadcast gateways;
step 5, discarding the original broadcast gateway
Removing the original broadcast gateway software configuration and discarding the original broadcast gateway software configuration in a network node;
step 6, re-networking the price tag under the original data gateway
The electronic price tag under the original data gateway channel switched to the broadcasting gateway is re-networked according to the software configuration, and the electronic price tag can be notified by the software or automatically re-networked;
and 7, recovering the normal work of the network state.
And the switching of the broadcast gateway is completed, one data gateway is reduced, and the normal operation under the base station is restored.
The system of the electronic price tag switching broadcast gateway after the exception handling method is completed is shown in fig. 7.
Fifth embodiment
In order to solve the technical problems that a base station in an electronic price tag system is crashed due to the fact that a broadcasting gateway cannot be used and needs to be replaced, and the cost is high, the invention provides the electronic terminal and the computer-readable storage medium, so that the stability of the base station in the electronic price tag system is improved, and the cost is saved. The electronic terminal and the computer-readable storage medium according to the present invention are described below with reference to embodiments.
Referring to fig. 8, an electronic terminal provided in this embodiment includes a processor 801, a memory 802, and a communication bus 803, where:
a communication bus 803 is used to enable connected communication between the processor 801 and the memory 802;
the processor 801 is configured to execute a program stored in the memory 802 to implement the steps of the radio frequency module processing method of any one of the first to fourth embodiments described above.
The present embodiment also provides a computer storage medium storing one or more programs executable by one or more processors to implement the steps of the radio frequency module processing method of any one of the first to fourth embodiments.
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 invention 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 invention 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 invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention 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 invention and the scope of the claims, which are to be protected by the present invention.

Claims (7)

1. The radio frequency module processing method is characterized by comprising the following steps of:
when abnormality of a first radio frequency module in a base station is detected, the original configuration of a second radio frequency module is cleared, and the first radio frequency module is used for distributing and scheduling resources;
adding the original configuration of the second radio frequency module to a third radio frequency module, and re-accessing the electronic price tag under the channel of the second radio frequency module to the channel of the third radio frequency module;
clearing the configuration of the first radio frequency module, and adding the configuration of the first radio frequency module to a second radio frequency module;
and when the first radio frequency module is detected to be recovered to be normal, transferring the configuration of the original second radio frequency module added to the third radio frequency module to the first radio frequency module.
2. The method of claim 1, wherein the detecting the first rf module anomaly in the base station comprises at least one of:
the signal of the first radio frequency module is not detected;
the first radio frequency module cannot be communicated or connected with a processor in the base station for longer than a preset time period.
3. The method for processing the radio frequency module according to claim 1, wherein the access mode of re-accessing the electronic price tag under the channel of the original second radio frequency module of the third radio frequency module to the channel of the first radio frequency module comprises at least one of the following: and receiving a preset notice or automatically re-accessing the electronic price tag within a preset time.
4. The radio frequency module processing method according to claim 1 or 2, further comprising, after the adding of the configuration of the first radio frequency module to a second radio frequency module:
and stopping the configuration function added to the second radio frequency module and updating the configuration of the first radio frequency module when the first radio frequency module is detected to be recovered to be normal.
5. A radio frequency module processing method according to any one of claims 1 to 3, further comprising: when abnormality of the fourth radio frequency module is detected, adding configuration of the fourth radio frequency module to a fifth radio frequency module; and the fourth radio frequency module is used for data service of the electronic price tag.
6. An electronic terminal, characterized in that the electronic terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the radio frequency module processing method according to any one of claims 1 to 5.
7. A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps of the radio frequency module processing method of any one of claims 1 to 5.
CN202011178678.0A 2020-10-29 2020-10-29 Radio frequency module processing method, terminal and computer readable storage medium Active CN112383905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011178678.0A CN112383905B (en) 2020-10-29 2020-10-29 Radio frequency module processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011178678.0A CN112383905B (en) 2020-10-29 2020-10-29 Radio frequency module processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112383905A CN112383905A (en) 2021-02-19
CN112383905B true CN112383905B (en) 2023-10-31

Family

ID=74576016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011178678.0A Active CN112383905B (en) 2020-10-29 2020-10-29 Radio frequency module processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112383905B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042724A (en) * 2007-04-13 2007-09-26 广东电子工业研究院有限公司 RFID reader with failure switching function and failure switching method thereof
JP2009206764A (en) * 2008-02-27 2009-09-10 Mitsumi Electric Co Ltd Wireless communication system, and wireless communication apparatus
CN101789095A (en) * 2009-12-02 2010-07-28 天津光电通信技术有限公司 Implementation method of price updating corresponding relation of electronic shelf label control system
CN103078656A (en) * 2013-02-04 2013-05-01 常州南京大学高新技术研究院 2.4G radio frequency sensor
CN109788500A (en) * 2019-03-15 2019-05-21 重庆邮电大学 A kind of efficiently quick unmanned plane ad hoc network gateway handoff algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042724A (en) * 2007-04-13 2007-09-26 广东电子工业研究院有限公司 RFID reader with failure switching function and failure switching method thereof
JP2009206764A (en) * 2008-02-27 2009-09-10 Mitsumi Electric Co Ltd Wireless communication system, and wireless communication apparatus
CN101789095A (en) * 2009-12-02 2010-07-28 天津光电通信技术有限公司 Implementation method of price updating corresponding relation of electronic shelf label control system
CN103078656A (en) * 2013-02-04 2013-05-01 常州南京大学高新技术研究院 2.4G radio frequency sensor
CN109788500A (en) * 2019-03-15 2019-05-21 重庆邮电大学 A kind of efficiently quick unmanned plane ad hoc network gateway handoff algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Zigbee的超低功耗电子货架标签系统;叶国欣等;《科学技术与工程》;第第13卷卷(第第32期期);9719-9725 *
许云龙.基于ZigBee的网络的智能家居系统设计.《电子技术与软件工程》.2018,18-19. *

Also Published As

Publication number Publication date
CN112383905A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN113067734B (en) Electronic price tag upgrading method, electronic price tag system, electronic terminal and storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN112492674B (en) Sleep cycle configuration method, device and computer readable storage medium
CN107480054B (en) Call chain data processing method and device and computer readable storage medium
CN112601268A (en) Electronic price tag sleep period switching method, electronic price tag device and electronic price tag
CN112597115A (en) Container mirror image compression method and device, terminal equipment and medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN112395106A (en) Process management method, mobile terminal, and computer-readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN112383905B (en) Radio frequency module processing method, terminal and computer readable storage medium
CN110572518B (en) Screen-extinguishing control method, mobile terminal and computer-readable storage medium
CN110377458B (en) Data recovery method, mobile terminal and computer readable storage medium
CN109379719B (en) Application program broadcast processing method and device and computer readable storage medium
CN109947298B (en) System calling method, terminal and computer readable storage medium
CN108279985B (en) Interface request protocol transformation method, equipment and computer readable storage medium
CN109460988B (en) Code scanning payment method, device and computer readable storage medium
CN109144747B (en) Data processing method, terminal and computer readable storage medium
CN113485667A (en) Method for screen projection display of terminal, terminal and storage medium
CN112860206A (en) Method, terminal and storage medium for pushing electronic price tags
CN108304302B (en) Interface merging method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant