CN112105004B - Electronic price tag network detection method, device and computer readable storage medium - Google Patents

Electronic price tag network detection method, device and computer readable storage medium Download PDF

Info

Publication number
CN112105004B
CN112105004B CN202010968444.XA CN202010968444A CN112105004B CN 112105004 B CN112105004 B CN 112105004B CN 202010968444 A CN202010968444 A CN 202010968444A CN 112105004 B CN112105004 B CN 112105004B
Authority
CN
China
Prior art keywords
base station
base stations
adjacent
price tag
electronic price
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
CN202010968444.XA
Other languages
Chinese (zh)
Other versions
CN112105004A (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 CN202010968444.XA priority Critical patent/CN112105004B/en
Publication of CN112105004A publication Critical patent/CN112105004A/en
Application granted granted Critical
Publication of CN112105004B publication Critical patent/CN112105004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, equipment and a computer readable storage medium for detecting an electronic price tag network, wherein the method comprises the following steps: scheduling any new base station to transmit radio waves at a preset frequency in a plurality of base stations; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph. The invention solves the problem of communication frequency distribution in the construction process of the electronic price tag network, reduces the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are distributed artificially, improves the network distribution efficiency and enhances the network distribution accuracy.

Description

Electronic price tag network detection method, device and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for detecting an electronic price tag network, and a computer-readable storage medium.
Background
In the prior art, along with the rapid development of mobile intelligent payment technology and internet of things technology, the popularity of the electronic price tag network is higher and higher. Generally, a plurality of base stations of an electronic price tag network are deployed in the same super building, so that the base stations are adjacent to each other in the same place, and the frequencies used by the adjacent base stations are different, otherwise, the same frequency interference is generated to bring adverse effects on subsequent services. Because the electromagnetic environment of the site of each place is usually complex, how to define the adjacent base stations seems simple, but in fact, the problem is that two groups of base stations which are separated by tens of meters are different in the situation that the middle is provided with an obstacle and the middle is not provided with the obstacle, and in the same way, the situation that the base stations between the upper floor and the lower floor are provided with patios and are not provided with patios is different, which brings a problem to the distribution of site frequency points.
In summary, there is no scheme in the prior art that can determine the frequency point allocation of each base station in the electronic price tag network more accurately and efficiently.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an electronic price tag network detection method, which comprises the following steps:
scheduling any new base station in the plurality of base stations to transmit radio waves at a preset frequency under the electronic price tag network;
determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
determining the neighbor relation set of each new base station and all other base stations one by one in the plurality of base stations;
and generating a finite undirected graph of the connectivity among the plurality of base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the plurality of base stations according to the finite undirected graph.
Optionally, after the generating a finite undirected graph of connectivity relationships among the multiple base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to each base station in the multiple base stations according to the finite undirected graph, the method includes:
determining a new base station to be added to the electronic price tag network among the plurality of base stations;
controlling the new base station to circularly and sequentially monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
and after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station.
Optionally, after the generating a finite undirected graph of a connectivity relationship among the plurality of base stations according to the set of neighbor relationships and allocating operating frequencies corresponding to each of the plurality of base stations according to the finite undirected graph, the method further includes:
after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period;
inquiring the working state of each base station in the first adjacent base station;
and determining the base station with at least one idle data gateway as the base station in the idle state.
Optionally, after generating a finite undirected graph of connectivity between the multiple base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to each base station in the multiple base stations according to the finite undirected graph, the method further includes:
controlling the base station in the idle state to sequentially send data short packets of third preset time in all other channels except the broadcast channel;
and acquiring the content of the data short packet received by the new base station, wherein the content comprises the signal strength of a second adjacent base station and the signal strength of the second adjacent base station.
Optionally, after the generating a finite undirected graph of a connectivity relationship among the plurality of base stations according to the set of neighbor relationships and allocating operating frequencies corresponding to each of the plurality of base stations according to the finite undirected graph, the method further includes:
checking the remaining base stations which do not send the data short packets one by one, and controlling the remaining base stations to finish the sending operation of the data short packets when the remaining base stations are in the idle state;
determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
The invention also provides an electronic price tag network detection device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the computer program realizes that:
scheduling any new base station in the plurality of base stations to transmit radio waves at a preset frequency under the electronic price tag network;
determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
determining the neighbor relation set of each new base station and all other base stations one by one in the plurality of base stations;
and generating a finite undirected graph of the connectivity among the plurality of base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the plurality of base stations according to the finite undirected graph.
Optionally, the computer program when executed by the processor implements:
determining a new base station to be added to the electronic price tag network among the plurality of base stations;
controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
and after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station.
Optionally, the computer program when executed by the processor implements:
after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period;
inquiring the working state of each base station in the first adjacent base station;
and determining the base station with at least one idle data gateway as the base station in the idle state.
Optionally, the computer program when executed by the processor implements:
controlling the base station in the idle state to sequentially send data short packets of a third preset time in all other channels except the broadcast channel;
acquiring the content of the data short packet received by the new base station, wherein the content comprises the signal strength of a second adjacent base station and the signal strength of the second adjacent base station;
checking the residual base stations which do not send the data short packets one by one, and controlling the residual base stations to finish the sending operation of the data short packets when the residual base stations are in the idle state;
determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
The invention also proposes a computer-readable storage medium having stored thereon an electronic price tag network detection program which, when executed by a processor, implements the steps of the electronic price tag network detection method as described in any of the above.
The electronic price tag network detection method, the electronic price tag network detection equipment and the computer readable storage medium are implemented, and any one new base station is scheduled to transmit radio waves at a preset frequency in a plurality of base stations under the electronic price tag network; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the plurality of base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph. The humanized electronic price tag network detection scheme is realized, the problem of communication frequency distribution in the electronic price tag network construction process is solved, the problem that mutual interference caused by the fact that adjacent base stations use the same channel when channels are manually distributed is solved, the network distribution efficiency is improved, and the network distribution accuracy is enhanced.
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 a mobile terminal according to the present invention;
fig. 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a first embodiment of the electronic price tag network detection method of the present invention;
FIG. 4 is a flow chart of a second embodiment of the electronic price tag network detection method of the present invention;
FIG. 5 is a flow chart of a third embodiment of the electronic price tag network detection method of the present invention;
FIG. 6 is a flow chart of a fourth embodiment of the electronic price tag network detection method of the present invention;
FIG. 7 is a flow chart of a fifth embodiment of the electronic price tag network detection method of the present invention;
FIG. 8 is a timing diagram of a first phase of the electronic price tag network detection method of the present invention;
FIG. 9 is a timing diagram illustrating a second phase of the electronic price tag network detection method of the present invention;
FIG. 10 is a third timing diagram of the electronic price tag network detection method of the present invention
Fig. 11 is a connection diagram of a base station of the electronic price tag network detection method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art 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 mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing 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 call 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 related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a 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 graphic 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 sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone 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 audio signals.
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 that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
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 (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 generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby 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 direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a 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, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated 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 is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device 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 external devices 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 external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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 operating 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly 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 supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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 in detail 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 is described below.
Referring to fig. 2, fig. 2 is an architecture 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 universal mobile telecommunications 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) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
Fig. 3 is a flowchart of a first embodiment of the electronic price tag network detection method of the present invention. An electronic price tag network detection method, comprising:
s1, under the electronic price tag network, any one new base station is scheduled to transmit radio waves under a preset frequency in the plurality of base stations;
s2, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
s3, determining the set of neighbor relations between each new base station and all other base stations one by one among the plurality of base stations;
s4, generating a finite undirected graph of the connection relation among the base stations according to the adjacent relation set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph.
In this embodiment, first, under the electronic price tag network, any new base station is scheduled to transmit radio waves at a preset frequency in a plurality of base stations; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph.
Specifically, in this embodiment, for example, the radio interference situation between the base stations is automatically detected by unified scheduling of a server or a central node, for example, three base stations, that is, a base station a, a base station B and a base station C, the server or the central node first calls the base station a to transmit a radio wave on a frequency, then controls the base station B and the base station C to receive the radio wave transmitted by the base station a on the frequency, and then, if the base station B or the base station C can receive valid data within a certain time, the base station a and the base station B are considered to be adjacent, or the base station a and the base station C are adjacent, and similarly, the server or the central node controls the base station B to transmit a radio wave on a frequency, and at the same time, controls the base station a and the base station C to receive the radio wave transmitted by the base station B on the frequency, thereby detecting the base station B and the base station a, and then, the graph is dyed by utilizing a four-color principle, and different colors represent different frequencies distributed to the base station, so that the aim that the adjacent base stations cannot be distributed to the same frequency is fulfilled.
It can be understood that, in this embodiment, through the adaptive planning of the electronic price tag network, the automatic allocation and intelligent management of the channels are implemented, where a server or a central node serves as a central administrator and is responsible for allocating the channels to the newly networked base stations, monitoring the network operation status, and adjusting the channel allocation of the base stations in time, and in this process, the portion of the gateway participating in the network entry is embodied in the service flow of the new base station.
The method has the advantages that any one new base station is scheduled to transmit radio waves at a preset frequency in the plurality of base stations under the electronic price tag network; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the plurality of base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph. The humanized electronic price tag network detection scheme is realized, the problem of communication frequency distribution in the electronic price tag network construction process is solved, the problem that mutual interference caused by the fact that adjacent base stations use the same channel when channels are manually distributed is solved, the network distribution efficiency is improved, and the network distribution accuracy is enhanced.
Example two
Fig. 4 is a flowchart of a second embodiment of the electronic price tag network detection method according to the present invention, where based on the above embodiments, after the finite undirected graph of the connectivity among the multiple base stations is generated according to the neighboring relationship set, and the operating frequency corresponding to each of the multiple base stations is allocated according to the finite undirected graph, the method includes:
s41, determining a new base station to be added into the electronic price tag network from the plurality of base stations;
s42, controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
s43, after a first preset time, obtaining the content of the first data packet received by the new base station, where the content includes the signal strength of the first neighboring base station and the first neighboring base station.
In this embodiment, first, a new base station to be added to the electronic price tag network is determined among the plurality of base stations; then, controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period; and finally, after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the signal strength of the first adjacent base station.
Specifically, as shown in fig. 8, the first phase timing diagram of the electronic price tag network detection method of the present invention is shown. In the laid-out network, three base stations, namely a base station A, a base station B and a base station C, are in normal operation, a new base station D needs to be added, the base station D can request a server for channel resources needed to be used, the server does not know the spatial position of the base station D in the real world and does not know the electromagnetic relationship among the server, the base station A, the base station B and the base station C, and the server needs the measurement mechanism of the embodiment to help the server to know the information. It should be noted that the base station of this embodiment is composed of four gateways (RF modules), one is a broadcast gateway and continuously broadcasts data packets, and the other three are data gateways and continuously receives data packets from the operating frequency point (channel). Specifically, as shown in fig. 8, in this process, a first stage of a new base station entering a network is entered, and in this stage, the server instructs a new base station D to be added to monitor 80 channels of the base station a, the base station B, and the base station C in sequence, and simultaneously, reports the base station that can be monitored to the server. In the process of monitoring the new base station D, the base station A, the base station B and the base station C are in a normal working state, and meanwhile, the base station A, the base station B and the base station C respectively send normal service data packets on own broadcast channels. Optionally, in this embodiment, the first monitoring period may be 2ms, that is, the new base station D sequentially monitors 80 channels of the base station a, the base station B, and the base station C in a period of 2 ms. In this embodiment, the first preset time may be 500ms, that is, after 500ms, the server sends an inquiry to the new base station D, that is, determines information of the first data packet monitored by the new base station D, that is, base station ID information of the base station a, and/or the base station B, and/or the base station C and corresponding signal strength information thereof.
The method has the advantages that a new base station to be added into the electronic price tag network is determined in the base stations; then, controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period; and finally, after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the signal strength of the first adjacent base station. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
EXAMPLE III
Fig. 5 is a flowchart of a third embodiment of the method for detecting an electronic price tag network according to the present invention, where based on the above embodiment, after the generating a finite undirected graph of connectivity among the multiple base stations according to the neighboring relationship set and allocating operating frequencies corresponding to each of the multiple base stations according to the finite undirected graph, the method further includes:
s44, after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, where the second monitoring period is less than the first monitoring period;
s45, inquiring the working state of each base station in the first adjacent base station;
and S46, determining the base station with at least one idle data gateway as the base station in the idle state.
In this embodiment, first, after a second preset time, the monitoring period of the new base station is adjusted from the first monitoring period to a second monitoring period, where the second monitoring period is smaller than the first monitoring period; then, inquiring the working state of each base station in the first adjacent base station; and finally, determining the base station with at least one idle data gateway as the base station in the idle state.
Referring to fig. 9, a second phase timing diagram of the electronic price tag network detection method of the present invention is shown. As described in the above example, after the first preset time, the content of the first data packet received by the new base station is obtained, and then the second stage is performed, that is, as shown in fig. 9, in this process, the server queries to the base station a, the base station B, and the base station C whether the data gateway is busy one by one, if one base station has a data gateway that is idle, the server will send a signal transmission instruction to the base station that is not busy, and the base station that receives the instruction will send data on the corresponding gateway, where sending data on the corresponding gateway means that the gateway densely transmits data short packets on all channels except the broadcast channel in sequence, and each channel transmits 80ms until all channels have been transmitted, and the server reports that the instruction has been completed. In this process, optionally, the second monitoring period of this embodiment may be 1ms, that is, the new base station D sequentially monitors 80 channels of the base station a, the base station B, and the base station C in a period of 1 ms.
In this embodiment, the time taken for the second stage is 160 × 80-1 — 12.64 seconds.
The embodiment has the beneficial effects that after the second preset time, the monitoring period of the new base station is adjusted from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period; then, inquiring the working state of each base station in the first adjacent base station; and finally, determining the base station with at least one idle data gateway as the base station in the idle state. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
Example four
Fig. 6 is a flowchart of a fourth embodiment of the electronic price tag network detection method according to the present invention, where based on the above embodiments, after the generating a finite undirected graph of connectivity among the multiple base stations according to the neighboring relationship set and allocating operating frequencies corresponding to each of the multiple base stations according to the finite undirected graph, the method further includes:
s47, controlling the base station in the idle state to sequentially send data short packets of a third preset time in all other channels except the broadcast channel;
s48 obtains the content of the data short packet received by the new base station, wherein the content includes the signal strength of the second neighboring base station and the second neighboring base station.
In this embodiment, first, the base station in the idle state is controlled to sequentially send data short packets for a third preset time in all channels except a broadcast channel; then, the content of the data short packet received by the new base station is obtained, wherein the content comprises the signal strength of the second adjacent base station and the signal strength of the second adjacent base station.
Similarly, as described in the above example, as shown in fig. 9, in the second stage, in the monitoring process of the new base station, if the base station a is in a busy state (that is, there is no idle data gateway), the base station a replies that the server itself is in a busy state, at this time, after receiving the reply message of the base station a, the server first indicates the base station B and/or the base station C to participate in the measurement, and after a preset time, when the base station a has an idle data gateway, the electromagnetic relationship between the base station a and the new base station D is measured.
In this embodiment, a third-stage timing diagram of the electronic price tag network detection method of the present invention is shown with reference to fig. 10. In a third stage after the second stage, the server instructs the new base station D to poll and monitor 80 channels of the three base stations, optionally, the monitoring period is 1ms, and simultaneously, the server instructs the remaining base stations in the idle state to sequentially send short data packets on the 80 channels, and similarly, the new base station D to be networked reports the base stations that can be monitored to the server.
Optionally, in this embodiment, the time consumed by the third stage depends on the current network busy level, and the higher the current network busy level is, the longer the time consumed by the third stage is.
The method has the advantages that the base station in the idle state is controlled to sequentially send the data short packets of the third preset time in all other channels except the broadcast channel; then, the content of the data short packet received by the new base station is obtained, wherein the content comprises the signal strength of the second adjacent base station and the signal strength of the second adjacent base station. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
EXAMPLE five
Fig. 7 is a flowchart of a fifth embodiment of the method for detecting an electronic price tag network according to the present invention, where based on the above embodiment, after the generating a finite undirected graph of connectivity among the multiple base stations according to the neighboring relationship set and allocating operating frequencies corresponding to each of the multiple base stations according to the finite undirected graph, the method further includes:
s51, checking the remaining base stations which have not sent the data short packet one by one, and controlling the remaining base stations to finish the sending operation of the data short packet when the remaining base stations are in the idle state;
s52, determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and S53, determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
In this embodiment, first, the remaining base stations that have not sent the short data packets are checked one by one, and when the remaining base stations are in the idle state, the remaining base stations are controlled to complete the sending operation of the short data packets; then, determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations; and finally, determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
In this embodiment, fig. 11 is a connection diagram of a base station of the electronic price tag network detection method according to the present invention. First, the server checks whether there are busy base stations that have not been involved in the measurement, and if so, the process of the fourth embodiment is repeatedly executed until all the base stations complete the measurement.
In this embodiment, because the radios of different channels are subjected to different interferences, under the condition that the location of the base station is not changed, the measurement results of different channels obtained on the server are also different, as shown in fig. 11, the connectivity between the base stations obtained by channel 1 and channel n is different, and therefore, the server may provide a corresponding scheme for the frequency allocation of each base station in this embodiment by using a four-color coloring algorithm similar to that used in the mapping process.
The method has the advantages that the remaining base stations which do not send the data short packets are checked one by one, and when the remaining base stations are in the idle state, the remaining base stations are controlled to finish the sending operation of the data short packets; then, determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations; and finally, determining the working frequency of the new base station under the electronic price tag network according to the communication relation. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
EXAMPLE six
Based on the foregoing embodiments, the present invention further provides an electronic price tag network detection device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements:
scheduling any new base station in the plurality of base stations to transmit radio waves at a preset frequency under the electronic price tag network;
determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
determining the neighbor relation set of each new base station and all other base stations one by one in the plurality of base stations;
and generating a finite undirected graph of the connectivity among the plurality of base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the plurality of base stations according to the finite undirected graph.
In this embodiment, first, under the electronic price tag network, any new base station is scheduled to transmit radio waves at a preset frequency in a plurality of base stations; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the plurality of base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph.
Specifically, in this embodiment, for example, the radio interference situation between the base stations is automatically detected by unified scheduling of a server or a central node, for example, three base stations, that is, a base station a, a base station B and a base station C, the server or the central node first calls the base station a to transmit a radio wave on a frequency, then controls the base station B and the base station C to receive the radio wave transmitted by the base station a on the frequency, and then, if the base station B or the base station C can receive valid data within a certain time, the base station a and the base station B are considered to be adjacent, or the base station a and the base station C are adjacent, and similarly, the server or the central node controls the base station B to transmit a radio wave on a frequency, and at the same time, controls the base station a and the base station C to receive the radio wave transmitted by the base station B on the frequency, thereby detecting the base station B and the base station a, and then, the graph is dyed by utilizing a four-color principle, and different colors represent different frequencies distributed to the base station, so that the aim that the adjacent base stations cannot be distributed to the same frequency is fulfilled.
It can be understood that, in this embodiment, through the adaptive planning of the electronic price tag network, the automatic allocation and intelligent management of the channels are implemented, where a server or a central node serves as a central administrator and is responsible for allocating the channels to the newly networked base stations, monitoring the network operation status, and adjusting the channel allocation of the base stations in time, and in this process, the portion of the gateway participating in the network entry is embodied in the service flow of the new base station.
The method has the advantages that any one new base station is scheduled to transmit radio waves at a preset frequency in the plurality of base stations under the electronic price tag network; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph. The humanized electronic price tag network detection scheme is realized, the problem of communication frequency distribution in the electronic price tag network construction process is solved, the problem that mutual interference caused by the fact that adjacent base stations use the same channel when channels are manually distributed is solved, the network distribution efficiency is improved, and the network distribution accuracy is enhanced.
EXAMPLE seven
Based on the above embodiments, the computer program when executed by the processor implements:
determining a new base station to be added to the electronic price tag network among the plurality of base stations;
controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
and after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station.
In this embodiment, first, a new base station to be added to the electronic price tag network is determined among the plurality of base stations; then, controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period; and finally, after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the signal strength of the first adjacent base station.
Specifically, as shown in fig. 8, the first phase timing diagram of the electronic price tag network detection method of the present invention is shown. In the laid-out network, three base stations, namely a base station A, a base station B and a base station C, are in normal operation, a new base station D needs to be added at the moment, the base station D can request a server for channel resources needed to be used, the server does not know the spatial position of the base station D in the real world and does not know the electromagnetic relation among the server, the base stations A, B and C, and the server needs the measurement mechanism of the embodiment to help the server to know the information. It should be noted that the base station of this embodiment is composed of four gateways (RF modules), one is a broadcast gateway and will continuously broadcast data packets, and the other three are data gateways and will continuously receive data packets from the operating frequency point (channel). Specifically, as shown in fig. 8, in this process, a first stage of a new base station entering a network is entered, and in this stage, the server instructs a new base station D to be added to monitor 80 channels of the base station a, the base station B, and the base station C in sequence, and simultaneously, reports the base station that can be monitored to the server. In the process of monitoring the new base station D, the base station A, the base station B and the base station C are in a normal working state, and meanwhile, the base station A, the base station B and the base station C respectively send normal service data packets on own broadcast channels. Optionally, in this embodiment, the first monitoring period may be 2ms, that is, the new base station D sequentially monitors 80 channels of the base station a, the base station B, and the base station C in a period of 2 ms. In this embodiment, the first preset time may be 500ms, that is, after 500ms, the server sends an inquiry to the new base station D, that is, determines information of the first data packet monitored by the new base station D, that is, base station ID information of the base station a, and/or the base station B, and/or the base station C and corresponding signal strength information thereof.
The method has the advantages that a new base station to be added into the electronic price tag network is determined in the base stations; then, controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period; and finally, after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
Example eight
Based on the above embodiments, the computer program when executed by the processor implements:
after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period;
inquiring the working state of each base station in the first adjacent base station;
and determining the base station with at least one idle data gateway as the base station in the idle state.
In this embodiment, first, after a second preset time, the monitoring period of the new base station is adjusted from the first monitoring period to a second monitoring period, where the second monitoring period is smaller than the first monitoring period; then, inquiring the working state of each base station in the first adjacent base station; and finally, determining the base station with at least one idle data gateway as the base station in the idle state.
Referring to fig. 9, a second stage timing diagram of the electronic price tag network detecting method of the present invention is shown. As described in the above example, after the first preset time, the content of the first data packet received by the new base station is obtained, and then the second stage is performed, that is, as shown in fig. 9, in this process, the server queries to the base station a, the base station B, and the base station C whether the data gateway is busy one by one, if one base station has a data gateway that is idle, the server will send a signal transmission instruction to the base station that is not busy, and the base station that receives the instruction will send data on the corresponding gateway, where sending data on the corresponding gateway means that the gateway densely transmits data short packets on all channels except the broadcast channel in sequence, and each channel transmits 80ms until all channels have been transmitted, and the server reports that the instruction has been completed. In this process, optionally, the second monitoring period of this embodiment may be 1ms, that is, the new base station D sequentially monitors 80 channels of the base station a, the base station B, and the base station C in a period of 1 ms.
In this embodiment, the time taken for the second stage is 160 × 80-1 — 12.64 seconds.
The method has the advantages that after the second preset time, the monitoring period of the new base station is adjusted from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period; then, inquiring the working state of each base station in the first adjacent base station; and finally, determining the base station with at least one idle data gateway as the base station in the idle state. The method and the device realize a more humanized electronic price tag network detection scheme, solve the problem of communication frequency distribution in the electronic price tag network construction process, reduce the problem of mutual interference caused by the fact that adjacent base stations use the same channel easily when channels are artificially distributed, improve the network distribution efficiency and enhance the network distribution accuracy.
Example nine
Based on the above embodiments, the computer program when executed by the processor implements:
controlling the base station in the idle state to sequentially send data short packets of a third preset time in all other channels except the broadcast channel;
acquiring the content of the data short packet received by the new base station, wherein the content comprises the signal strength of a second adjacent base station and the signal strength of the second adjacent base station;
checking the remaining base stations which do not send the data short packets one by one, and controlling the remaining base stations to finish the sending operation of the data short packets when the remaining base stations are in the idle state;
determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
In this embodiment, first, the base station in the idle state is controlled to sequentially send data short packets for a third preset time in all channels except a broadcast channel; then, the content of the data short packet received by the new base station is obtained, wherein the content comprises the signal strength of the second adjacent base station and the signal strength of the second adjacent base station.
Similarly, as described in the above example, as shown in fig. 9, in the second stage, in the monitoring process of the new base station, if the base station a is in a busy state (that is, there is no idle data gateway), the base station a replies that the server itself is in a busy state, at this time, after receiving the reply message of the base station a, the server first indicates the base station B and/or the base station C to participate in the measurement, and after a preset time, when the base station a has an idle data gateway, the electromagnetic relationship between the base station a and the new base station D is measured.
In this embodiment, a third-stage timing diagram of the electronic price tag network detection method of the present invention is shown with reference to fig. 10. In a third stage after the second stage, the server instructs the new base station D to poll and monitor 80 channels of the three base stations, optionally, the monitoring period is 1ms, and simultaneously, the server instructs the remaining base stations in the idle state to sequentially send short data packets on the 80 channels, and similarly, the new base station D to be networked reports the base stations that can be monitored to the server.
Optionally, in this embodiment, the time consumed by the third stage depends on the current network busy level, and the higher the current network busy level is, the longer the time consumed by the third stage is.
In another embodiment, first, the remaining base stations that have not sent the short data packets are checked one by one, and when the remaining base stations are in the idle state, the remaining base stations are controlled to complete the sending operation of the short data packets; then, determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations; and finally, determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
In this embodiment, fig. 11 is a connection diagram of a base station of the electronic price tag network detection method according to the present invention. First, the server checks whether there are busy base stations that have not been involved in the measurement, and if so, the process of the fourth embodiment is repeatedly executed until all the base stations complete the measurement.
In this embodiment, because the radios of different channels are subjected to different interferences, under the condition that the location of the base station is not changed, the measurement results of different channels obtained on the server are also different, as shown in fig. 11, the connectivity between the base stations obtained by channel 1 and channel n is different, and therefore, the server may accordingly provide a corresponding scheme for the frequency allocation of each base station in this embodiment by using a four-color staining algorithm similar to that used in the mapping process.
The method has the advantages that the remaining base stations which do not send the data short packets are checked one by one, and when the remaining base stations are in the idle state, the remaining base stations are controlled to finish the sending operation of the data short packets; then, determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations; and finally, determining the working frequency of the new base station under the electronic price tag network according to the communication relation. The electronic price tag network detection scheme is more humanized, the problem of communication frequency distribution in the electronic price tag network construction process is solved, the problem that mutual interference caused by the fact that adjacent base stations use the same channel when channels are manually distributed is solved, the network distribution efficiency is improved, and the network distribution accuracy is enhanced.
Example ten
Based on the above embodiment, the present invention further provides a computer-readable storage medium, where an electronic price tag network detection program is stored, and when executed by a processor, the electronic price tag network detection program implements the steps of the electronic price tag network detection method according to any one of the above embodiments.
The electronic price tag network detection method, the electronic price tag network detection equipment and the computer readable storage medium are implemented, and any one new base station is scheduled to transmit radio waves at a preset frequency in a plurality of base stations under the electronic price tag network; then, determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves; then, determining the adjacent relation set of each new base station and all other base stations one by one in the plurality of base stations; and finally, generating a finite undirected graph of the connection relationship among the base stations according to the adjacent relationship set, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph. The humanized electronic price tag network detection scheme is realized, the problem of communication frequency distribution in the electronic price tag network construction process is solved, the problem that mutual interference caused by the fact that adjacent base stations use the same channel when channels are manually distributed is solved, the network distribution efficiency is improved, and the network distribution accuracy is enhanced.
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 identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An electronic price tag network detection method, characterized in that the method comprises:
scheduling any new base station in the plurality of base stations to transmit radio waves at a preset frequency under the electronic price tag network;
determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
determining a set of the neighbor relations of each of the new base stations and all the other base stations one by one among the plurality of base stations;
and generating a finite undirected graph of the connection relation among the base stations according to the set of the adjacent relation, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph.
2. The method according to claim 1, wherein the generating a finite undirected graph of connectivity among the plurality of base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to each of the plurality of base stations according to the finite undirected graph comprises:
determining a new base station to be added to the electronic price tag network among the plurality of base stations;
controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
and after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station.
3. The method according to claim 2, wherein after generating a finite undirected graph of connectivity among the plurality of base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to respective base stations among the plurality of base stations according to the finite undirected graph, the method further comprises:
after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period;
inquiring the working state of each base station in the first adjacent base station;
and determining the base station with at least one idle data gateway as the base station in the idle state.
4. The method according to claim 3, wherein after generating a finite undirected graph of connectivity among the plurality of base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to respective base stations among the plurality of base stations according to the finite undirected graph, the method further comprises:
controlling the base station in the idle state to sequentially send data short packets of a third preset time in all other channels except the broadcast channel;
and acquiring the content of the data short packet received by the new base station, wherein the content comprises the signal strength of a second adjacent base station and the signal strength of the second adjacent base station.
5. The method according to claim 4, wherein after generating a finite undirected graph of connectivity among the plurality of base stations according to the set of neighboring relationships and allocating operating frequencies corresponding to respective base stations among the plurality of base stations according to the finite undirected graph, the method further comprises:
checking the residual base stations which do not send the data short packets one by one, and controlling the residual base stations to finish the sending operation of the data short packets when the residual base stations are in the idle state;
determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
6. An electronic price tag network detection device, the device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor performing:
scheduling any new base station in the plurality of base stations to transmit radio waves at a preset frequency under the electronic price tag network;
determining the adjacent relation between all other base stations and the new base station according to the receiving states of all other base stations to the radio waves;
determining a set of the neighbor relations of each of the new base stations and all the other base stations one by one among the plurality of base stations;
and generating a finite undirected graph of the connection relation among the base stations according to the set of the adjacent relation, and distributing the working frequency corresponding to each base station in the base stations according to the finite undirected graph.
7. The electronic price tag network detecting device of claim 6, wherein the computer program when executed by the processor implements:
determining a new base station to be added to the electronic price tag network among the plurality of base stations;
controlling the new base station to circularly monitor a first data packet with a preset format in a full channel range according to a first monitoring period;
and after a first preset time, acquiring the content of the first data packet received by the new base station, wherein the content comprises the signal strength of the first adjacent base station and the first adjacent base station.
8. The electronic price tag network detecting device of claim 7, wherein the computer program when executed by the processor implements:
after a second preset time, adjusting the monitoring period of the new base station from the first monitoring period to a second monitoring period, wherein the second monitoring period is smaller than the first monitoring period;
inquiring the working state of each base station in the first adjacent base station;
and determining the base station with at least one idle data gateway as the base station in the idle state.
9. The electronic price tag network detecting device of claim 8, wherein the computer program when executed by the processor implements:
controlling the base station in the idle state to sequentially send data short packets of a third preset time in all other channels except the broadcast channel;
acquiring the content of the data short packet received by the new base station, wherein the content comprises the signal strength of a second adjacent base station and the signal strength of the second adjacent base station;
checking the residual base stations which do not send the data short packets one by one, and controlling the residual base stations to finish the sending operation of the data short packets when the residual base stations are in the idle state;
determining the communication relation between the new base station and other base stations in the finite undirected graph according to the signal strength of all the second adjacent base stations and the signal strength of all the second adjacent base stations;
and determining the working frequency of the new base station under the electronic price tag network according to the communication relation.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an electronic price tag network detection program, which when executed by a processor, implements the steps of the electronic price tag network detection method according to any one of claims 1 to 5.
CN202010968444.XA 2020-09-15 2020-09-15 Electronic price tag network detection method, device and computer readable storage medium Active CN112105004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010968444.XA CN112105004B (en) 2020-09-15 2020-09-15 Electronic price tag network detection method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968444.XA CN112105004B (en) 2020-09-15 2020-09-15 Electronic price tag network detection method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112105004A CN112105004A (en) 2020-12-18
CN112105004B true CN112105004B (en) 2022-09-23

Family

ID=73759214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968444.XA Active CN112105004B (en) 2020-09-15 2020-09-15 Electronic price tag network detection method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112105004B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113950102B (en) * 2021-12-21 2022-05-03 汉朔科技股份有限公司 Communication method, electronic price tag system, computer equipment and storage medium
CN114615747B (en) 2022-05-09 2022-09-02 汉朔科技股份有限公司 Dynamic allocation method of base station frequency, price tag system and computer equipment
CN115802477B (en) * 2023-01-08 2023-06-09 汉朔科技股份有限公司 Method for dynamically adjusting time sequence between adjacent networks of synchronous network and electronic price tag system
AU2023358131A1 (en) * 2023-01-08 2024-07-25 Hanshow Technology Co., Ltd. Method of dynamic adjusting timing between adjacent networks in synchronized networks and electronic shelf label system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69910728T2 (en) * 1999-03-29 2004-07-08 Alcatel Method for synchronizing base stations in a wireless communication network
US8472334B2 (en) * 2010-06-30 2013-06-25 Accelera Mobile Broadband, Inc. Method for self organizing network operation
PL2451104T3 (en) * 2010-11-05 2018-01-31 Alcatel Lucent Network nodes and methods
EP3101613B1 (en) * 2015-06-03 2019-07-24 Bernd Müller Autonomous electronic price label
CN110300394B (en) * 2018-03-23 2020-12-08 浙江汉朔电子科技有限公司 Resource allocation method, related device, system and storage medium
CN110300395B (en) * 2018-03-23 2020-11-17 浙江汉朔电子科技有限公司 Resource management method, related device, system and storage medium
CN109104261A (en) * 2018-09-28 2018-12-28 深圳高新兴物联科技有限公司 Local zone time acquisition methods, terminal and storage medium based on LBS
DE102018010197A1 (en) * 2018-12-18 2020-06-18 GRID INVENT gGmbH Electronic element and electrically controlled display element
CN111273951B (en) * 2020-01-19 2024-02-09 努比亚技术有限公司 Electronic price tag management method, electronic terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN112105004A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN112105004B (en) Electronic price tag network detection method, device and computer readable storage medium
CN108391025B (en) Network access management method, mobile terminal and computer readable storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN108600520B (en) Reception state control method, mobile terminal, and computer-readable storage medium
CN110225462B (en) Method, system and device for preventing network congestion
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN108834157A (en) Internet wide band distribution, mobile terminal and computer readable storage medium
CN111479309A (en) Service processing method, user equipment and computer readable storage medium
CN112689323A (en) Specific absorption rate control method, terminal and computer readable storage medium
CN111899695A (en) Backlight adjusting method, terminal device and readable storage medium
CN114125855A (en) Price tag network channel allocation method, equipment and computer readable storage medium
CN108543306B (en) Game brightness control method and device and computer readable storage medium
CN112821970B (en) Electronic price tag channel selection method, electronic price tag channel selection equipment and computer storage medium
CN111381762A (en) Double-screen switching method and device and computer readable storage medium
CN107466081B (en) Wireless switching method and terminal
CN109062678A (en) A kind of Working mode switching method, wearable device and computer storage medium
CN112766444A (en) Antenna tuning method and device for electronic price tag, terminal and storage medium
CN109462829B (en) Call transfer method, device and computer readable storage medium
CN107580357A (en) Limitation communication means, equipment and the computer-readable storage medium of a kind of black list user
CN108037959B (en) Intelligent interface merging method, mobile terminal and computer readable storage medium
CN109861697B (en) Antenna performance optimization method and device, terminal and computer readable storage medium
CN109711850B (en) Secure payment method, device and computer readable storage medium
CN108183833B (en) Response processing method and device and computer readable storage medium
CN111476231B (en) Image area identification method, device and computer readable storage medium
CN112104983B (en) Electronic price tag roaming method, device 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