Synchronous network construction method, price tag system, computer device, and storage medium

The synchronous network construction method addresses signal interference in electronic price tag systems by configuring a synchronized network topology with single upper stations and optimized time slots, enhancing system stability and data throughput.

JP7587086B2Active Publication Date: 2024-11-19HANSHOW TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2024515540
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-04-25
Filing Date
2023-04-25
Publication Date
2024-11-19
Estimated Expiration
2043-04-25

AI Technical Summary

Technical Problem

In traditional electronic price tag systems, signal interference between multiple base stations in a store leads to reduced accuracy and stability due to asynchronous communication, causing time slot collisions and communication failures.

Method used

A synchronous network construction method that configures an initial network topology based on ranging results, adjusts the topology structure to ensure each base station has a single upper station, and allocates transmission/reception time slots to maintain synchronization, preventing signal interference and maximizing data throughput.

Benefits of technology

The method ensures time synchronization among multiple base stations, preventing signal interference and improving the stability and data throughput of electronic price tag systems by optimizing time slot allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007587086000001
    Figure 0007587086000001
  • Figure 0007587086000002
    Figure 0007587086000002
  • Figure 0007587086000003
    Figure 0007587086000003
Patent Text Reader

Abstract

The present application provides a synchronous network construction method, a price tag system, a computer device, and a storage medium, the synchronous network construction method including the steps of: constructing an initial network topology structure of a base station; performing a topology depth traversal based on the initial network topology structure with each base station as a root node to obtain a topology depth corresponding to each base station; adjusting the initial network topology structure based on a ranging result from each base station to a higher-level base station to obtain a target network topology structure; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table to obtain a synchronous network of the price tag system. The present application solves the problem of interference between multiple base stations when transmitting and receiving signals in an electronic price tag system in the prior art, and by constructing a synchronous network, time synchronization is maintained between multiple base stations, and the synchronous network transmits and receives data in units of time slots, thereby preventing signal interference, and improving the stability and data throughput capacity of the electronic price tag system.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Related Applications This application claims priority to Chinese invention patent application bearing application number 202210436190.6, filed on April 25, 2022, and the entire contents disclosed in the above patent application are incorporated by reference as part of this application.

[0002] The present application relates to the technical field of communications, and in particular to a synchronization network construction method, a price tag system, a computer device and a storage medium. [Background technology]

[0003] As the application of electronic price tag systems in various retail fields becomes increasingly widespread and the size of stores becomes larger and larger, it becomes necessary to place multiple base stations within a store, where the multiple base stations communicate via an asynchronous cellular network. However, in conventional asynchronous cellular networks, the signals transmitted to and received by the multiple base stations within a store are asynchronous and the time slots used are prone to collision, which causes interference between the signals transmitted to and received by the multiple base stations and may result in failure of communication between the base stations and the price tags. Summary of the Invention [Problem to be solved by the invention]

[0004] As can be seen, in the prior art electronic price tag system, there is a problem of interference between multiple base stations when transmitting and receiving signals, which reduces the accuracy and stability of the electronic price tag system and does not meet the actual needs of a store with multiple base stations.

[0005] In response to the shortcomings of the prior art, the synchronous network construction method, price tag system, computer equipment, and storage medium provided in the present application solve the problem of interference between multiple base stations when transmitting and receiving signals in the electronic price tag system of the prior art, and by constructing a synchronous network, time synchronization is maintained between multiple base stations, and the synchronous network transmits and receives data in time slot units, thereby preventing signal interference and improving the stability and data throughput capacity of the electronic price tag system. [Means for solving the problem]

[0006] According to a first aspect, the present application provides a synchronous network construction method applicable to a price tag system, the synchronous network construction method including the steps of: constructing an initial network topology structure of base stations based on ranging results between all base stations in a store; performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station; setting a base station with the shallowest topology depth as a master base station, and adjusting the initial network topology structure based on ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and allowing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronous network of the price tag system.

[0007] In addition, the step of allocating transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table includes a step of sequentially analogizing a lower base station directly connected to the master base station as a secondary base station in a first layer, a base station one layer lower connected to the secondary base station in the first layer as a secondary base station in a second layer, up to a secondary base station in an Nth layer, and a step of allocating transmission and reception time slots from the master base station as a timeslot starting point to a secondary base station in the first layer to a secondary base station in the Nth layer in order of layers to obtain the transmission and reception time slot periodic table.

[0008] In addition, after constructing the initial network topology structure of the base station based on the ranging results between all base stations in the store, the synchronization network construction method further includes the steps of: when there are at least two subnetworks independent of each other in the initial network topology structure, obtaining a target subnetwork topology structure corresponding to each subnetwork based on the target subnetwork topology structure, obtaining a transmission and reception time slot period sub-table corresponding to each subnetwork, and having the base station in each subnetwork transmit and receive synchronization signals based on the corresponding transmission and reception time slot period sub-table, to obtain a synchronization network of the price tag system.

[0009] In addition, after causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table, the synchronous network construction method further includes the steps of: activating a ranging mode in the current base station to obtain a second target base station that is closest to the current base station, when the current base station does not receive a synchronization signal transmitted from a first target base station that is an upper base station of the current base station in the target network topology structure within a preset time, or when strength of the received synchronization signal is lower than a preset threshold; adjusting the target network topology structure with the second target base station as an upper base station of the current base station to obtain a first updated network topology structure, when the first target base station and the second target base station belong to the same hierarchical level in the target network topology structure; and causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table in the first updated network topology structure.

[0010] In addition, when the first target base station and the second target base station do not belong to the same layer in the target network topology structure, the synchronization network construction method further includes a step of adjusting the target network topology structure with the second target base station as a higher-level base station of the current base station to obtain a second updated network topology structure, a step of reallocating transmission and reception time slots to each base station based on the second updated network topology structure to obtain a transmission and reception time slot period update table, and a step of causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot period update table in the second updated network topology structure.

[0011] In addition, the step of performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station includes the steps of: setting the current base station as the root node and setting a base station directly connected to the current base station as a first layer depth base station; if a next layer base station connected to the first layer depth base station exists, setting the next layer base station as a second layer depth base station, and sequentially deducing until an M-th layer depth base station is traversed; and if there is no base station connected to the M-th layer depth base station, setting the topology depth of the current base station to M.

[0012] In addition, the synchronization network construction method further includes a step of not determining the target depth base station as the X+1th layer depth base station when a target depth base station belonging to the Xth layer depth base station or the X-1th layer depth base station exists among the next layer base stations connected to the Xth layer depth base station.

[0013] According to a second aspect, the present application provides a price tag system, the price tag system including a server, a base station, and an electronic price tag, the server constructs an initial network topology structure of the base stations based on ranging results between all base stations in a store, the server further performs a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station, the server further sets a base station with the shallowest topology depth as a master base station, and adjusts the initial network topology structure based on the ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station, the server further assigns transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and the base station transmits and receives synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronization network of the price tag system.

[0014] According to a third aspect, the present application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the following steps are realized: constructing an initial network topology structure of a base station based on ranging results between all base stations in a store; performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station; setting a base station with the shallowest topology depth as a master base station, and adjusting the initial network topology structure based on ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and having all base stations transmit and receive synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronous network of the price tag system.

[0015] According to a fourth aspect, the present application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, realizes the steps of: constructing an initial network topology structure of base stations based on ranging results between all base stations in a store; performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station; setting a base station with the shallowest topology depth as a master base station, and adjusting the initial network topology structure based on ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and having all base stations transmit and receive synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronous network of the price tag system.

[0016] Compared with the prior art, the present application has the following beneficial effects:

[0017] The present application constructs an initial network topology structure of a base station based on the ranging results between all base stations, and further adjusts the initial network topology structure based on the topology depth and the ranging results to obtain a target network topology structure. Finally, based on the target network topology structure, a transmitting and receiving time slot is assigned to each base station, and synchronization signals are transmitted and received based on the transmitting and receiving time slots assigned to all base stations, thereby obtaining a synchronous network for a price tag system. This solves the problem that in a conventional asynchronous cellular network, time slots cannot be uniformly scheduled for multiple base stations, and time slot collisions and signal interference are likely to occur, resulting in failure of communication between a base station and a price tag, and makes full use of time resources to maximize the data throughput capacity of system communication. By constructing a synchronous network, time synchronization is maintained among multiple base stations, and the synchronous network transmits and receives data in units of time slots, thereby preventing signal interference, thereby improving the stability and data throughput capacity of an electronic price tag system. [Brief description of the drawings]

[0018] In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly describe the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings based on these drawings without making inventive efforts. In the drawings,

[0019] [Figure 1] 1 is a schematic flowchart of a synchronization network construction method provided by an embodiment of the present application; [Diagram 2] 1 is a schematic diagram of a price tag system provided by an embodiment of the present application; [Diagram 3]FIG. 2 is a schematic diagram of an initial network topology provided by an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of a target network topology provided by an embodiment of the present application; [Diagram 5] 2 is a schematic timing chart of a transmission and reception time slot periodic table provided by an embodiment of the present application; [Figure 6] 4 is a schematic flowchart of another synchronization network construction method provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by a person skilled in the art without any inventive work belong to the scope of the present application.

[0021] According to a first aspect, the present application provides a synchronization network construction method, which specifically includes the following embodiments: Figure 1 shows a schematic flowchart of a synchronization network construction method provided by an embodiment of the present application, as shown in Figure 1, when the synchronization network construction method is applied to a price tag system, and the price tag system includes a server, a base station, and an electronic price tag, the synchronization network construction method specifically includes the following steps:

[0022] Step S101: construct an initial network topology structure of the base station based on the ranging results between all the base stations in the store.

[0023] As shown in FIG. 2, the price tag system of each store in this embodiment includes a server, multiple base stations, and several electronic price tags, and the server transmits trigger information or control commands, etc. to the electronic price tags via the base stations, and each base station periodically transmits a data signal including the trigger information or control commands and a synchronization signal.

[0024] In this embodiment, the server controls all base stations in the store to send ranging signals sequentially, and obtains ranging results between each base station and other base stations based on the strength of the feedback signals sent by other base stations received by each base station, and the server further builds an initial network topology structure of the base stations based on the ranging results between all base stations, as shown in FIG. 3, where the ranging results include but are not limited to no communication, long distance and short distance, and the length of the line segments between base stations in the initial network topology structure can be shown as long distance or short distance, and AP1 in FIG. 3 indicates base station 1, AP2 indicates base station 2, ..., AP11 indicates base station 11.

[0025] Step S102: based on the initial network topology structure, perform a topology depth traversal with each base station as a root node to obtain a topology depth corresponding to each base station.

[0026] In an embodiment, the step of performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station specifically includes the steps of: taking the current base station as the root node, and taking a base station directly connected to the current base station as a first layer depth base station; if there is a next layer base station connected to the first layer depth base station, taking the next layer base station as a second layer depth base station, and sequentially deducing until an M-th layer depth base station is traversed; and if there is no base station connected to the M-th layer depth base station, setting the topology depth of the current base station to M.

[0027] Take an example, as shown in FIG. 3, when AP1 is the root node, AP2, AP3 and AP4 are first-layer depth base stations, AP5, AP6, AP7, AP8 and AP9 are second-layer depth base stations, and AP10 and AP11 are third-layer depth base stations, so the topological depth of AP1 is 3; when AP2 is the root node, AP5, AP6, AP4 and AP1 are first-layer depth base stations, and AP10, AP7 and AP3 are second-layer depth base stations. , AP11, AP8 and AP9 are third-layer depth base stations, so the topological depth of AP2 is 3; by further analogy, if AP11 is the root node, AP7 is the first-layer depth base station, AP4, AP3 are second-layer depth base stations, AP6, AP1, AP8 and AP9 are third-layer depth base stations, AP2 is a fourth-layer depth base station, AP5 is a fifth-layer depth base station, and AP10 is a sixth-layer depth base station, so the topological depth of AP11 is 6.

[0028] In addition, if the next layer base station connected to the Xth layer depth base station has a target depth base station belonging to the Xth layer depth base station or the X-1th layer depth base station, the target depth base station is not the X+1th layer depth base station. For example, when AP1 is the root node, AP2, AP3 and AP4 are the first layer depth base stations, and the next layer base station connected to AP2 has AP4, and in principle AP4 should belong to the second layer depth base station with AP5 and AP6, but since AP4 already belongs to the first layer depth base station, AP4 is not included in the second layer depth base station, and AP4 in this embodiment corresponds to the above target depth base station.

[0029] In step S103, the base station with the shallowest topology depth is set as a master base station, and the initial network topology structure is adjusted according to a ranging result from each base station to a superior base station to obtain a target network topology structure.

[0030] In this embodiment, in the target network topology structure, each base station is connected to only one upper base station, and base stations at the same hierarchical level are not connected to each other.

[0031] In this embodiment, the shallowest topology depth refers to the smallest topology depth value, and the topology depth of AP1 is 3, the topology depth of AP2 is 4, the topology depth of AP3 is 4, ..., the topology depth of AP11 is 6. If the topology depth value of AP1 is the smallest, then base station AP1 is the master base station.

[0032] In order to prevent communication interference between base stations, it is necessary to make corrections and adjustments to the initial network topology structure. The base station with the shallowest topology depth is selected as the master base station, and the adjustment principle is that each base station is closest to the upper base station. When there are multiple upper base stations in one base station, the upper base station with the closest distance is selected as the target upper base station, and base stations at the same hierarchical level are not connected to each other, thereby obtaining the target network topology structure shown in Figure 4.

[0033] In step S104, based on the target network topology structure, assign transmitting and receiving time slots to each base station to obtain a transmitting and receiving time slot periodic table, and have all base stations transmit and receive synchronization signals based on the transmitting and receiving time slot periodic table to obtain a synchronous network of the price tag system.

[0034] In this embodiment, the step of allocating transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table includes the steps of: assuming a lower base station directly connected to the master base station as a secondary base station in a first layer, and a base station one layer lower connected to the secondary base station in the first layer as a secondary base station in a second layer, sequentially analogizing up to a secondary base station in an Nth layer; and assuming the master base station as a timeslot starting point, allocating transmission and reception time slots to secondary base stations in the first layer to secondary base stations in the Nth layer in order of layers to obtain the transmission and reception time slot periodic table.

[0035] In addition, when allocating time slots to each base station based on the target network topology structure, the master base station is used as the time slot starting point, and then time slots are sequentially allocated to each base station in the secondary base station of the first layer. After the allocation of time slots to each base station in the secondary base station of the first layer is completed, time slots are then allocated to the secondary base station of the second layer, and so on until the allocation to the secondary base station of the last layer is completed, a transmission and reception time slot periodic table as shown in FIG. 5 is obtained, and all base stations in the target network topology structure are made to transmit and receive synchronization signals based on the transmission and reception time slot periodic table, thereby realizing synchronization of the base stations in the electronic price tag system and obtaining a synchronous network of the price tag system. In FIG. 5, T1 indicates the period for transmitting a synchronization signal, and T2 indicates the time length for transmitting a synchronization signal.

[0036] Compared with the prior art, this embodiment has the following beneficial effects.

[0037] In this embodiment, an initial network topology structure of the base station is constructed based on the ranging results between all base stations, and the initial network topology structure is further adjusted based on the topology depth and the ranging results to obtain a target network topology structure. Finally, a transmitting and receiving time slot is assigned to each base station based on the target network topology structure, and synchronization signals are transmitted and received based on the transmitting and receiving time slots assigned to all base stations to obtain a synchronous network for the price tag system. This solves the problem that in the conventional asynchronous cellular network, time slots cannot be uniformly scheduled for multiple base stations, and time slot collisions and signal interference are likely to occur, resulting in failure of communication between the base station and the price tag. Time resources are fully utilized to maximize the data throughput capacity of the system communication. By constructing a synchronous network, time synchronization is maintained among multiple base stations, and the synchronous network transmits and receives data in units of time slots, thereby preventing signal interference, thereby improving the stability and data throughput capacity of the electronic price tag system.

[0038] In another embodiment of the present application, after causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table, the synchronous network construction method further includes the steps of: when the current base station does not receive a synchronization signal transmitted from a first target base station that is an upper base station of the current base station in the target network topology structure within a preset time, or when the strength of the received synchronization signal is lower than a preset threshold, activating a ranging mode in the current base station to obtain a second target base station that is closest to the current base station; when the first target base station and the second target base station belong to the same hierarchical level in the target network topology structure, adjusting the target network topology structure with the second target base station as an upper base station of the current base station to obtain a first updated network topology structure; and causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table in the first updated network topology structure.

[0039] Taking AP6 in Figure 4 as an example, when AP6 moves its location and / or AP2 moves its location and / or AP2 fails, AP6 may not be able to receive the synchronization signal transmitted from AP2 or the strength of the received synchronization signal may become weak, so as to avoid affecting the normal communication of AP6, AP6 will activate a ranging mode to measure AP4, which is the closest in distance, and correct the upstream base station of AP6 to AP4. Since AP2 and AP4 both belong to the first-layer secondary base station in the target network topology structure, the upstream base station of AP6 has been corrected, but the topology depth of the target network topology structure and the layer of the base station are not changed, so that the synchronization signal can still be transmitted and received based on the previous transmission and reception time slot periodic table.

[0040] In addition, when the first target base station and the second target base station do not belong to the same layer in the target network topology structure, the synchronization network construction method further includes a step of adjusting the target network topology structure with the second target base station as a higher-level base station of the current base station to obtain a second updated network topology structure, a step of reallocating transmission and reception time slots to each base station based on the second updated network topology structure to obtain a transmission and reception time slot period update table, and a step of causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot period update table in the second updated network topology structure.

[0041] In addition, taking AP7 in FIG. 4 as an example, when AP7 moves and / or AP4 moves and / or a failure occurs in AP4, AP7 may not be able to receive the synchronization signal transmitted from AP4 or the strength of the received synchronization signal may be weakened, so as to prevent the normal communication of AP7 from being affected, AP7 will activate a ranging mode to measure AP6, which is the closest in distance, and modify the upstream base station of AP7 to AP6. Since AP4 and AP6 do not belong to the same hierarchy in the target network topology structure, not only the upstream base station of AP7 is modified, but also the topology depth and the hierarchy of the base station of the target network topology structure are modified. Therefore, the transmission and reception time slot periodic table needs to be reallocated according to the modified network topology structure to obtain a transmission and reception time slot periodic update table, and all base stations in the modified network topology structure need to transmit and receive synchronization signals based on the transmission and reception time slot periodic update table.

[0042] As can be seen from this, in the synchronous network of this embodiment, the base station can select the optimal upper base station to communicate with after the base station moves by monitoring the synchronization signals or ranging signals of multiple base stations, thereby solving the problem of not being able to communicate normally after the base station moves.

[0043] As can be seen with reference to Fig. 2, the EPL 1-N belongs to the communication range of the base station 1, but the EPL 1-N also belongs to the communication range of the base station 2, and in fact the EPL 1-N can also communicate with the base station 2, but in the conventional asynchronous cellular network, the EPL 1-N can only receive the data signal of the base station 1 and cannot monitor the signals of other base stations, so it cannot move across base stations and select the most suitable base station to communicate. To solve the above problem, the EPL may also monitor the synchronization signal transmitted from the base station to determine whether it is necessary to replace the connected base station, and the replacement process is the same as the principle of the base station replacing the upper base station, and a detailed description will be omitted here.

[0044] In another embodiment of the present application, after constructing an initial network topology structure of the base station based on the ranging results between all base stations in the store, the synchronization network construction method further includes the steps of: when there are at least two mutually independent subnetworks in the initial network topology structure, obtaining a target subnetwork topology structure corresponding to each subnetwork based on the target subnetwork topology structure, obtaining a transmission / reception time slot period sub-table corresponding to each subnetwork, and allowing the base stations in each subnetwork to transmit and receive synchronization signals based on the corresponding transmission / reception time slot period sub-table to obtain a synchronization network of the price tag system.

[0045] In addition, in order to better adapt to more complex store scenes, such as scenes with multiple floors and multiple separate areas, the synchronization network can be constructed by dividing the network into multiple sub-networks, respectively, and the specific process is as shown in Figure 6.

[0046] The server starts a ranging process for all base stations in the store in step S201; Step S202: the server constructs an initial network topology structure of the base station based on the ranging result; Step S203: determining whether all base stations in the store are connectable, and if all base stations are connectable, executing step S204, and if all base stations are not connectable, executing step S205; Step S204: the server performs a topology depth traversal with each base station as a root node, selects the base station with the shallowest topology as a master base station, and sets other base stations as secondary base stations; Step S205, regarding each connectable base station as one subnetwork, and having a total of L subnetworks; The server controls the master base station to send a synchronization signal, and the secondary base station to synchronize and track the strongest base station according to a topology relationship; Step S207: the server allocates transmission and reception time slots to the base stations based on the topology relationship, with the allocation principle being that the time slots of adjacent base stations are adjacent; Step S208 determines whether all sub-network processes have been completed, and if so, executes step S209, and if not, executes step S204; a step S209 in which the base station periodically transmits a synchronization signal based on the assigned transmission / reception time slot, periodically receives a synchronization signal from a base station one layer above, and maintains synchronization; Step S210 includes periodically tracking and monitoring the synchronization signal of the base station to maintain synchronization and determine whether the communication requires replacing the base station.

[0047] In other words, when there are at least two mutually independent sub-networks in the initial network topology structure, the network topology structure is adjusted for each sub-network and a transmission / reception time slot periodic table is constructed based on the method of steps S101 to S104, and the base station in each sub-network transmits and receives a synchronization signal based on the corresponding transmission / reception time slot periodic table, so that the network topology structure consisting of all the sub-networks becomes the synchronization network of the price tag system.

[0048] Furthermore, the synchronized time slot allocation of multiple base stations can be used to transmit and receive service data as well, avoid interference in data transmission and reception, and improve data throughput of system communication.

[0049] The synchronous network construction method for the electronic price tag system provided by this embodiment solves the problem that in the conventional asynchronous cellular network, time slots cannot be uniformly scheduled for multiple base stations, and time slot collisions and signal interference are likely to occur, resulting in failure of communication between the base station and the price tag, and makes full use of time resources to maximize the data throughput capacity of the system communication. Furthermore, the synchronous network can provide synchronization signals, and the price tag can monitor the synchronization signals of multiple base stations to discover that it has moved across base stations and select the optimal base station, thereby solving the problem of the price tag not being able to communicate normally after moving.

[0050] According to a second aspect, the present application provides a price tag system, which specifically includes a server, a base station, and an electronic price tag, wherein the server constructs an initial network topology structure of the base stations based on ranging results between all base stations in a store, the server further performs a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station, the server further sets the base station with the shallowest topology depth as a master base station, and adjusts the initial network topology structure based on the ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station, the server further assigns transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and the base station transmits and receives synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronization network of the price tag system.

[0051] According to a third aspect, an embodiment of the present application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the following steps are realized: constructing an initial network topology structure of a base station based on ranging results between all base stations in a store; performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station; setting a base station with the shallowest topology depth as a master base station, and adjusting the initial network topology structure based on ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and having all base stations transmit and receive synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronous network of the price tag system.

[0052] According to a fourth aspect, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, achieves the following steps: constructing an initial network topology structure of base stations based on ranging results between all base stations in a store; performing a topology depth traversal with each base station as a root node based on the initial network topology structure to obtain a topology depth corresponding to each base station; setting a base station with the shallowest topology depth as a master base station, and adjusting the initial network topology structure based on ranging results from each base station to a higher-level base station to obtain a target network topology structure in which each base station is connected to only one higher-level base station; and assigning transmission and reception time slots to each base station based on the target network topology structure to obtain a transmission and reception time slot periodic table, and having all base stations transmit and receive synchronization signals based on the transmission and reception time slot periodic table to obtain a synchronous network of the price tag system.

[0053] It can be understood by those skilled in the art that the implementation of all or part of the flow of the method of the above embodiment can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, the flow of each of the above embodiment of the method can be included. Herein, any reference to memory, storage, database, or other medium used in each implementation provided by the present application can include non-volatile memory and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. Illustratively, RAM comes in a variety of forms, such as, but not limited to, Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

[0054] It should be noted that in this specification, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that such an actual relationship or order exists between these entities or operations. And the terms "comprise", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or includes elements inherent in such process, method, article or device. In the absence of more limitations, an element limited by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.

Claims

1. A method for constructing a synchronous network applied to a price tag system, comprising: constructing an initial network topology structure of the base station based on the ranging results between all the base stations in the store; According to the initial network topology structure, performing a topology depth traversal with each base station as a root node to obtain a topology depth corresponding to each base station; a base station with the shallowest topology depth as a master base station, and based on a ranging result from each base station to a higher-level base station, a principle of adjustment is that the distance from each base station to the higher-level base station is shortest; when a plurality of higher-level base stations exist in one base station, a higher-level base station with the shortest distance is selected as a target higher-level base station, and the initial network topology structure is adjusted to obtain a target network topology structure in which each base station is connected to only one higher-level base station; According to the target network topology structure, assigning a transmission / reception time slot to each base station to obtain a transmission / reception time slot periodic table, and making all base stations transmit and receive synchronization signals according to the transmission / reception time slot periodic table to obtain a synchronous network of the price tag system. A method for constructing a synchronization network.

2. The step of allocating transmitting and receiving time slots to each base station based on the target network topology structure to obtain a transmitting and receiving time slot periodic table includes: A step of sequentially analogizing a lower-level base station directly connected to the master base station as a first-level secondary base station, a base station one level below the first-level secondary base station connected to the first-level secondary base station as a second-level secondary base station, and so on up to an N-th level secondary base station; and allocating transmission and reception time slots to secondary base stations in a first layer to an Nth layer in order of layers, starting from the master base station as a time slot starting point, to obtain the transmission and reception time slot periodic table.

2. The method for constructing a synchronization network according to claim 1.

3. After constructing an initial network topology structure of the base station based on the ranging results between all the base stations in the store, If there are at least two mutually independent sub-networks in the initial network topology structure, obtaining a target sub-network topology structure corresponding to each sub-network; According to the target subnetwork topology structure, obtain a transmission / reception time slot period sub-table corresponding to each subnetwork, and allow a base station in each subnetwork to transmit and receive a synchronization signal according to the corresponding transmission / reception time slot period sub-table to obtain a synchronization network of the price tag system.

3. The synchronization network construction method according to claim 2.

4. After making all base stations transmit and receive synchronization signals based on the transmission and reception time slot periodic table, if the current base station does not receive a synchronization signal transmitted from a first target base station that is an upper base station of the current base station in the target network topology structure within a preset time, or if the strength of the received synchronization signal is less than a preset threshold, activating a ranging mode in the current base station to obtain a second target base station that is closest to the current base station; When the first target base station and the second target base station belong to the same layer in the target network topology structure, adjusting the target network topology structure with the second target base station as an upper base station of the current base station to obtain a first updated network topology structure; and causing all base stations to transmit and receive synchronization signals based on the transmission and reception time slot periodic table in the first updated network topology structure.

2. The method for constructing a synchronization network according to claim 1.

5. if the first target base station and the second target base station do not belong to the same layer in the target network topology structure, adjusting the target network topology structure with the second target base station as an upper base station of the current base station to obtain a second updated network topology structure; reassigning the transmitting and receiving time slots to each base station based on the second updated network topology structure to obtain a transmitting and receiving time slot period update table; and causing all base stations to transmit and receive synchronization signals according to the transmission and reception time slot period update table in the second updated network topology structure.

5. The synchronization network construction method according to claim 4.

6. According to the initial network topology structure, a topology depth traversal is performed with each base station as a root node to obtain a topology depth corresponding to each base station, a current base station as a root node, and a base station directly connected to the current base station as a first layer depth base station; If there is a next-layer base station connected to the first-layer depth base station, the next-layer base station is taken as a second-layer depth base station, and sequentially deduced until an M-th layer depth base station is traversed; if there is no base station connected to the M-th layer-depth base station, setting the topology depth of the current base station to M.

2. The method for constructing a synchronization network according to claim 1.

7. If a target depth base station belonging to the Xth layer depth base station or the X-1th layer depth base station is present in the next layer base stations connected to the Xth layer depth base station, the target depth base station is not determined as the X+1th layer depth base station.

7. The method for constructing a synchronization network according to claim 6.

8. A price tag system including a server, a base station, and an electronic price tag, The server constructs an initial network topology structure of the base station based on the ranging results between all the base stations in the store; The server further performs a topology depth traversal based on the initial network topology structure, with each base station as a root node, to obtain a topology depth corresponding to each base station; The server further selects a base station with the shallowest topology depth as a master base station, and sets the shortest distance from each base station to the upper base station as an adjustment principle based on a ranging result from each base station to the upper base station, and when there are multiple upper base stations in one base station, selects the upper base station with the shortest distance as a target upper base station, and adjusts the initial network topology structure to obtain a target network topology structure in which each base station is connected to only one upper base station; The server further allocates transmitting and receiving time slots to each base station according to the target network topology structure to obtain a transmitting and receiving time slot periodic table; The base station transmits and receives a synchronization signal based on the transmission and reception time slot periodic table to obtain a synchronization network of the price tag system. A price tag system characterized by:

9. A computing device including a memory, a processor, and a computer program stored in the memory and executable by the processor, When the processor executes the computer program, the steps of the synchronization network construction method according to any one of claims 1 to 7 are realized.

1. A computer device comprising:

10. In a readable storage medium on which a computer program is stored, When the computer program is executed by a processor, the steps of the synchronization network construction method according to any one of claims 1 to 7 are realized. A readable storage medium.

Citation Information

Patent Citations

  • Base station network, positioning system and method for establishing topological structure

    CN106507479A

  • Time slot distribution method and device

    CN108092732A

  • Radio node device and multi-hop radio system

    JP2006050460A

  • Server, and server program

    JP2010199676A

  • Wireless headphone interactions

    US11153687B1