Signal transmission methods, systems, equipment and storage media for indoor positioning systems

By allocating time slices and channels to synchronize LoRa terminal node devices, the communication interference problem between LoRa terminal node devices and gateways is solved, thereby increasing the node capacity of indoor positioning systems and reducing costs.

CN117479144BActive Publication Date: 2026-11-10YARWARD ELECTRONICS (SHANDONG) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210839163.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2026-11-10
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

The communication between LoRa terminal node devices and gateways is severely interfered with each other, causing the positioning system to be unable to make reasonable use of time and channel resources. Existing technologies increase the number of gateways to improve node capacity, but this increases costs.

Method used

The server obtains the registration information of the terminal node devices, allocates time slices and communication channels, and uses time synchronization signals to synchronize the time of the node devices, controlling them to upload LoRawan carrier signals through the corresponding channels within a specified time, avoiding random occupation of the time and frequency domains, and realizing the orderly transmission of signals.

Benefits of technology

It improves the utilization of time and frequency domain resources in LoRawan communication, increases the node capacity of indoor positioning systems, and reduces costs and management and maintenance expenses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117479144B_ABST
    Figure CN117479144B_ABST
Patent Text Reader

Abstract

This specification discloses a signal transmission method, system, device, and storage medium for an indoor positioning system. The method includes: a server acquiring registration information uploaded by a designated terminal node device; the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the designated terminal node device; determining whether the designated terminal node device has passed registration based on the registration information; if so, determining the time slice information corresponding to the designated terminal node device based on the server, and determining the communication channel corresponding to the designated terminal node device based on the corresponding communication frequency; writing the communication channel and time slice information into a time synchronization signal, and sending the time synchronization signal to each terminal node device of the indoor positioning system through a LoRa gateway to synchronize the time of each terminal node device based on the time synchronization signal; and controlling the designated terminal node device to upload a LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information according to the time synchronization signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of wireless positioning technology, and in particular to a signal transmission method, system, device and storage medium for an indoor positioning system. Background Technology

[0002] LoRa is a low-power wide-area network (LPWAN) communication technology, while LoRaWAN is a communication protocol and system architecture designed for long-range LoRa communication networks. It is a media access control (Media Access Control) layer protocol. In positioning systems, terminal node devices typically use LoRaWAN to periodically upload location signals, enabling communication between the indoor positioning system and the positioning terminal nodes. Therefore, communication between the terminal node devices and the gateway is crucial.

[0003] Because the time and frequency domains occupied during communication between LoRa terminal nodes and gateways are completely random, LoRa signals are prone to interference. This means that signals of the same or similar frequencies interfering with each other during LoRa wireless signal transmission. Furthermore, the probability of mutual interference inevitably increases with the number of terminal nodes, ultimately preventing the positioning system from receiving uplink positioning data from the nodes. Consequently, the node capacity that a LoRaWAN wireless signal can accommodate in a single frequency band is limited by the characteristic of "randomly occupied time and frequency domains during communication," resulting in the inefficient use of time and channel resources. Current technologies require increasing the number of gateways to increase terminal node capacity, configuring gateways to different channels to improve terminal capacity, thus increasing direct communication costs and management / maintenance costs. Summary of the Invention

[0004] This specification provides one or more embodiments of a signal transmission method, system, device, and storage medium for an indoor positioning system, to address the following technical problem: how to provide a signal transmission method that saves costs and effectively increases node capacity.

[0005] One or more embodiments of this specification employ the following technical solutions:

[0006] This specification provides one or more embodiments of a signal transmission method for an indoor positioning system, the method comprising:

[0007] The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device;

[0008] Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency.

[0009] The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0010] According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information.

[0011] Optionally, in one or more embodiments of this specification, before synchronizing the time of the terminal node device based on the time synchronization signal, the method further includes:

[0012] The LoRa gateway is initialized to connect it with multiple terminal node devices and a backend server to form a LoRaWAN network architecture, and the multiple terminal node devices in the LoRaWAN network architecture are identified based on changes.

[0013] Based on the positioning task received by the server, the start time corresponding to the time synchronization of the multiple terminal node devices is determined, and the start time is used as a timestamp;

[0014] The timestamp and the node identifier of the multiple terminal node devices are written into the time synchronization signal so that the multiple terminal node devices can be time synchronized based on the time synchronization signal.

[0015] Optionally, in one or more embodiments of this specification, before determining whether the designated terminal node device has passed registration based on the registration information, the method further includes:

[0016] Obtain the node identifier of the terminal node device in each channel corresponding to the current LoRaWAN network architecture, and sort the terminal node devices in each channel based on the node identifier to obtain the priority of the terminal node devices in each channel.

[0017] The standard upload time of a single terminal node device for uploading LoRawan carrier signals is obtained, and the standard upload time is adjusted based on a preset time difference to determine the target upload time of the single terminal node device; wherein, the target upload time is greater than the standard upload time;

[0018] The maximum number of nodes for each channel is determined based on the preset wireless signal upload cycle and the target upload time. The target upload time is then allocated to the terminal node devices with the maximum number of nodes according to the priority of the terminal node devices, thereby realizing the division of time slices.

[0019] Optionally, in one or more embodiments of this specification, determining whether the designated terminal node device has passed registration based on the registration information specifically includes:

[0020] The node identifier and communication frequency of the specified terminal node device are obtained based on the registration information;

[0021] The target time slice corresponding to the designated terminal node device is determined based on the node identifier, and the target channel of the designated device node is determined based on the communication frequency;

[0022] If it is determined that a terminal node device is allocated in the target time slice of the target channel, and the terminal node device is not in a dormant state, then it is determined that the specified terminal node device cannot be registered.

[0023] If it is determined that no terminal node device is allocated in the target time slice of the target channel, or that the terminal node device is in a dormant state, then the designated terminal node device is determined to have passed the registration.

[0024] Optionally, in one or more embodiments of this specification, after synchronizing the time of each terminal node device based on the time synchronization signal, the method further includes:

[0025] Record the start time of the time synchronization;

[0026] If it is determined that the difference between the current time and the starting time is greater than the preset adjustment interval of the gateway, then the gateway is controlled to resend the time synchronization signal to the terminal node device of the indoor positioning system, so as to synchronize the time of the terminal node device based on the time synchronization signal.

[0027] If the terminal node device is outside the corresponding time slice, then the terminal node device is adjusted to a sleep state.

[0028] Optionally, in one or more embodiments of this specification, controlling the designated terminal node device to upload a LoRawan carrier signal through the corresponding channel within the time slot information according to the time synchronization signal specifically includes:

[0029] Obtain the working status of a specified terminal node device, and divide the specified terminal node device into a first terminal node device in the running state or a second terminal node device in the idle state;

[0030] If the terminal node device belongs to the first terminal node device, then the first terminal node device uploads the LoRawan carrier signal through the corresponding channel within the time slice based on the start time.

[0031] If the terminal node device belongs to the second terminal node device, and it is determined that the second terminal node device does not upload data in the current time period, then the time slice of the remaining terminal node devices in the corresponding channel after the second terminal node device is shifted forward so that the remaining terminal node devices can upload LoRawan carrier signals.

[0032] Optionally, in one or more embodiments of this specification, after controlling the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information according to the time synchronization signal, the method further includes:

[0033] If it is determined that the LoRa gateway does not receive the LoRawan carrier signal uploaded by the first terminal node device within the time period, then the first terminal node device is marked as to be detected.

[0034] The LoRa gateway is controlled to monitor the first terminal node device based on the detection identifier in the next time period. If it is determined that the gateway does not receive the LoRawan carrier signal uploaded by the first terminal node device corresponding to the detection identifier in the continuous time period, the first terminal node device is determined to be in an idle or sleep state.

[0035] This specification provides one or more embodiments of a signal transmission system for an indoor positioning system, characterized in that the system comprises:

[0036] The acquisition unit is used by the server to acquire registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period and node identifier corresponding to the specified terminal node device;

[0037] The judgment unit is used to determine whether the specified terminal node device has passed the registration based on the registration information. If so, it determines the time slice information corresponding to the specified terminal node device based on the server and determines the communication channel corresponding to the specified terminal node device based on the corresponding communication frequency.

[0038] The synchronization unit is used to write the communication channel and the time slice information into the time synchronization signal, and send the time synchronization signal to each terminal node device of the indoor positioning system through the LoRa gateway, so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0039] The upload unit controls the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time slot information according to the time synchronization signal.

[0040] This specification provides one or more embodiments of a signal transmission device for an indoor positioning system. The device includes: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute:

[0041] The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device;

[0042] Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency.

[0043] The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0044] According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information.

[0045] This specification provides one or more embodiments of a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0046] The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device;

[0047] Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency.

[0048] The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0049] According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information.

[0050] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

[0051] The server sends a time synchronization signal to the terminal node devices through the gateway, thereby synchronizing the time of the terminal node devices. By allocating frequency bands to the terminal node devices and dividing them into different channels, each device sends location data by occupying a fixed channel and time point, thus eliminating packet collisions in wireless signal transmission. This avoids the mutual interference of LoRa wireless signals caused by terminal node devices transmitting location data based on randomly occupied time and frequency domains, thereby increasing the utilization rate of time and frequency domain resources in LoRaWan communication and ultimately improving the node capacity of the indoor positioning system. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0053] Figure 1 This is a schematic flowchart of a signal transmission method for an indoor positioning system provided in an embodiment of this specification.

[0054] Figure 2 This is a schematic diagram illustrating a bag collision problem as described in an embodiment of this specification;

[0055] Figure 3 This specification provides a distribution diagram of terminal node devices in the time and frequency domains for an application scenario.

[0056] Figure 4 This is a schematic diagram of the internal structure of the signal transmission system of an indoor positioning system provided in an embodiment of this specification;

[0057] Figure 5 This is a schematic diagram of the internal structure of a signal transmission device for an indoor positioning system provided in an embodiment of this specification;

[0058] Figure 6 This is a schematic diagram of the internal structure of a non-volatile storage medium provided in the embodiments of this specification. Detailed Implementation

[0059] This specification provides a signal transmission method, system, device, and storage medium for an indoor positioning system.

[0060] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0061] like Figure 1 The diagram shown is a flowchart illustrating a signal transmission method for an indoor positioning system according to an embodiment of this specification. Figure 1 It can be seen that the method includes the following steps:

[0062] S101: The server obtains the registration information uploaded by the specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period and node identifier corresponding to the specified terminal node device.

[0063] LoRa is a Low Power Wide Area Network (LPWAN) communication technology that provides a simple way to achieve long-range, long-battery-life, and high-capacity systems, thereby expanding sensor networks. Currently, LoRa primarily operates on globally free frequency bands, including 433MHz, 868MHz, and 915MHz. LoRa technology features long range, low power consumption (long battery life), multi-node capability, and low cost. LoRaWAN is a low-power wide area network standard based on an open-source MAC layer protocol, launched by the LoRa Alliance. This technology can provide local, national, or global networks for battery-powered wireless devices. LoRaWAN targets core needs in the Internet of Things (IoT), such as secure two-way communication, mobile communication, and static location identification services. This technology enables seamless interoperability between smart devices without complex local configuration, giving users, developers, and enterprises in the IoT field greater operational freedom.

[0064] like Figure 2As shown, when LoRa terminal node devices communicate with the gateway, the time and frequency domains occupied are completely random. This can easily lead to mutual interference between LoRa signals within the same channel, meaning signals of the same or similar frequencies interfering with each other at the same time. As the number of node devices increases, the probability of signal interference inevitably rises, ultimately preventing the positioning system from receiving uplink positioning data from the nodes. Therefore, the node capacity that a LoRaWAN wireless signal can accommodate in a frequency band is limited by the characteristic of "randomly occupied time and frequency domains during communication," resulting in the inability to rationally utilize time and channel resources, and consequently, significantly limiting the terminal capacity for communication in indoor positioning systems. To solve the above technical problems, this specification first obtains the registration information uploaded by the node devices through a server. It should be noted that the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device, so as to allocate corresponding time slices and communication channels to each terminal node device based on the registration information.

[0065] To facilitate the server in determining the allocated upload time based on the registration information, in one or more embodiments of this specification, the method prior to the server obtaining the registration information uploaded by the specified terminal node device further includes the following steps:

[0066] First, the LoRa gateway needs to be initialized to connect it to multiple end-node devices and the backend server, forming a LoRaWAN network architecture. Then, the multiple end-node devices in the LoRaWAN network architecture need to be numbered and identified. For example... Figure 2As shown, channel 1 contains the identification numbers of terminal nodes 1-8. Based on the positioning task obtained by the LoRa gateway from the server, the start time corresponding to the time synchronization of multiple terminal node devices is determined, and this start time is used as a timestamp. The timestamp and the identification numbers of multiple terminal node devices are written into the time synchronization signal sent by the LoRa gateway, so that the time synchronization of multiple terminal node devices under the current LoRaWAN network architecture can be performed based on the time synchronization signal. It should be noted that moving objects cause Doppler frequency shift, and this frequency shift poses a significant challenge to wireless receivers. In front of a moving wave source, the wave is compressed, the wavelength becomes shorter, and the frequency becomes higher. Behind a moving wave source, the opposite effect occurs. The higher the speed of the wave source, the greater the effect; all wave phenomena exhibit the Doppler effect. LoRa has the characteristic of resisting Doppler frequency shift; for example, at a high-speed rail speed of 350 km / h, a 900 MHz signal will experience a center frequency deviation of approximately ±300 Hz. For LoRa receivers, Doppler frequency shift causes a frequency shift in the LoRa pulse, introducing a relatively negligible frequency shift into the time axis of the baseband signal. LoRa anti-Doppler frequency shift ensures that the positioning terminal device can stably acquire the time base synchronization signal sent by the LoRa gateway during movement.

[0067] Furthermore, since the time standards of the node devices and the gateway may deviate, in order to achieve real-time and uniform data transmission, in one or more embodiments of this specification, the LoRa gateway's time synchronization signal is sent to the terminal node devices of the indoor positioning system. After synchronizing the terminal node devices based on the time synchronization signal, it is necessary to synchronize the time of the terminal node devices based on a preset adjustment time interval. Specifically, the method includes: first, recording the start time of time synchronization; if it is determined that the difference between the current time and the start time is greater than the gateway's preset adjustment interval, then controlling the gateway to resend the time synchronization signal to the terminal node devices of the indoor positioning system, thereby synchronizing the time of the terminal node devices according to the time synchronization signal. If the terminal node device is outside the corresponding time slice, then the terminal node device is adjusted to a sleep state, thereby saving power consumption of the indoor positioning system and achieving low-power communication transmission.

[0068] S102: Determine whether the designated terminal node device has passed registration based on the registration information. If so, determine the time slice information corresponding to the designated terminal node device based on the server, and determine the communication channel corresponding to the designated terminal node device based on the corresponding communication frequency.

[0069] In existing technologies, increasing the number of gateways and configuring different channels for different gateways, while effectively providing more channels for terminal nodes and thus increasing node capacity, directly increases costs and management and maintenance costs. Therefore, to increase node capacity while maintaining cost control, and to avoid issues such as existing terminal nodes uploading data in the same time slot, this embodiment of the specification determines whether the specified terminal node has successfully registered based on registration information. If registered, the server determines the time slot information corresponding to the specified terminal node and the corresponding communication channel based on the communication frequency, allowing the specified terminal node to transmit signals through that channel. By judging the registration information, packet collisions caused by multiple terminals uploading data in the same time slot and on the same channel are avoided. By determining the communication frequency corresponding to the specified terminal node, the specified terminal node is assigned to the channel corresponding to that frequency, thereby increasing the number of channels and improving node capacity.

[0070] Specifically, in one or more embodiments of this specification, determining whether a designated terminal node device has passed registration based on registration information includes the following steps: First, obtaining the node identifier and communication frequency of the designated terminal node device based on the registration information. Then, determining the target time slot corresponding to the designated terminal node device based on the node identifier, and determining the target channel where the designated device node is located based on the communication frequency. If it is determined that a terminal node device is allocated in the target time slot of the target channel, and the terminal node device is not in a dormant state, then it can be determined that the designated terminal node device cannot pass registration. If it is determined that no terminal node device has been allocated in the target time slot of the target channel, or the allocated terminal node device is in a dormant or idle state, then it can be determined that the designated terminal node device can pass registration for subsequent signal transmission.

[0071] like Figure 2 As shown, existing terminal node devices are prone to packet collisions when randomly occupying the time and frequency domains for signal transmission. To avoid packet collisions caused by random signal transmission, existing technologies shorten the LoRawan wireless carrier duration required for the terminal node device to transmit data, thereby reducing the possibility of mutual interference. However, there are two ways to shorten the LoRawan wireless carrier duration: the first requires reducing the payload, which reduces the amount of data that can be transmitted; the second changes the spreading factor, which shortens the effective transmission distance. To solve the above problems, in one or more embodiments of this specification, before determining whether a specified terminal node device has passed registration based on registration information, the method further includes the following steps:

[0072] The process involves: acquiring the identifier of each terminal node device in each channel; sorting the terminal node devices in each channel based on their identifiers to obtain their priority; acquiring the standard upload time for a single terminal node device to upload LoRawan carrier signals; adjusting the standard upload time based on a preset time difference to determine the target upload time for a single terminal node device; acquiring the identifier of each terminal node device in each channel; sorting the terminal node devices in each channel based on their identifiers to obtain their priority; acquiring the standard upload time for a single terminal node device to upload LoRawan carrier signals; adjusting the standard upload time based on a preset time difference to determine the target upload time for a single terminal node device; and acquiring the maximum number of nodes in each channel according to a preset wireless conversion cycle; and allocating the target upload time sequentially to the terminal node devices with the maximum number of nodes according to their priority to achieve time slot division.

[0073] like Figure 3 As shown in the embodiment of this specification, in one application scenario, the indoor positioning system uses a 3-second interval for terminal node devices to upload positioning data, and the wireless signal carrier time required for a single device to upload positioning data is 350ms. Channel 1 is configured with 8 terminal node devices, i.e., terminal node devices 1 to 8 all upload data using a wireless frequency of 470.3MHz. Since the wireless signal carrier time required for a single device to upload positioning data is 350ms, to ensure that the data can be uploaded successfully and completely, the time difference between each adjacent device starting to upload positioning data is set to 375ms, which is greater than the required 350ms. Then, a time slice is allocated for each terminal node device to upload location data. Terminal node device 1 uploads location data at 0ms of a cycle, terminal device 2 at 375ms, terminal device 3 at 750ms, terminal device 4 at 1125ms, terminal device 5 at 1500ms, terminal device 6 at 1875ms, terminal device 7 at 2250ms, and terminal device 8 at 2625ms. Since the time slice length for each terminal device to upload data is 375ms, which is longer than the 350ms required for a single terminal node device to upload data, the possibility of mutual interference between the wireless signals transmitted by the terminal node devices is avoided, and effective data upload is guaranteed. Similarly, terminal nodes 9-16 upload data at a wireless frequency of 470.5MHz, and terminal nodes 57-64 upload data at a wireless frequency of 470.7MHz.

[0074] When a designated terminal node device registers, the system determines whether it can register through the server by checking if there is a terminal node device that has uploaded data in its corresponding time slot.

[0075] S103: Write the communication channel and the time slice information into the time synchronization signal, and send the time synchronization signal to each terminal node device of the indoor positioning system through the LoRa gateway, so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0076] To control signal transmission by designated terminal node devices within allocated communication channels (wireless communication frequencies) and time slots, and to avoid signal interference caused by random transmission, this embodiment of the specification uses a server to write communication channel and time slot information into a time synchronization signal. The time synchronization signal is then sent to each terminal node device in the indoor positioning system via a LoRa gateway, enabling the terminal node devices to synchronize their time according to the time synchronization signal.

[0077] Furthermore, since the time standards of the node devices and the gateway may deviate, in order to achieve real-time and uniform data transmission, in one or more embodiments of this specification, the LoRa gateway's time synchronization signal is sent to the terminal node devices of the indoor positioning system. After synchronizing the terminal node devices based on the time synchronization signal, it is necessary to synchronize the time of the terminal node devices based on a preset adjustment time interval. Specifically, the method includes: first, recording the start time of time synchronization; if it is determined that the difference between the current time and the start time is greater than the gateway's preset adjustment interval, then controlling the gateway to resend the time synchronization signal to the terminal node devices of the indoor positioning system, thereby synchronizing the time of the terminal node devices according to the time synchronization signal. If the terminal node device is outside its corresponding time slice, then the terminal node device is put into a sleep state, thereby saving power consumption of each terminal node device in the indoor positioning system.

[0078] S104: Control the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information according to the time synchronization signal.

[0079] After determining the channel and data upload time slot for each designated terminal node device based on the above steps S101-S103, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel according to the allocated time slot. For example, in S103, terminal node 1 is controlled to upload data starting from 0ms on a 470.3MHz channel.

[0080] To accelerate data transmission, in one or more embodiments of this specification, the control of a terminal node device to upload a LoRawan carrier signal through a corresponding channel within a time slice specifically includes the following process: Based on the data status of a specified terminal node device, the specified terminal node device is divided into a first terminal node device in an active state or a second terminal node device in an idle state. If the specified terminal node device belongs to the first terminal node device (i.e., in an active state with data upload), then the control of the first terminal node device to upload a LoRawan carrier signal through the corresponding channel within the time slice according to the start time. If the specified terminal node device belongs to the second terminal node device (i.e., in an idle state with no data upload), then it is determined that the second terminal node device does not have any data to upload in the current time period. Therefore, the time slices of the remaining terminal node devices in the channels following the second terminal node device need to be shifted forward sequentially to allow the remaining terminal node devices to upload the LoRawan carrier signal.

[0081] In one or more embodiments of this specification, after the control terminal node device uploads a LoRawan carrier signal through the corresponding channel within a time slice, the method further includes the following steps: if the gateway does not receive the LoRawan carrier signal uploaded by the first terminal node device within a time period, then the first terminal node device is marked as pending detection. In the next time period, the control gateway monitors the first terminal node device based on the pending detection mark. If it is determined that the gateway has not received the LoRawan carrier signal uploaded by the first terminal node device corresponding to the pending detection mark within a continuous time period, then the first terminal node device is determined to be in a sleep or idle state.

[0082] S101: Send the time synchronization signal of the LoRa gateway to the terminal node device of the indoor positioning system to synchronize the time of the terminal node device based on the time synchronization signal.

[0083] like Figure 4 The diagram shown is a schematic representation of the internal structure of the signal transmission system of an indoor positioning system provided in an embodiment of this specification. Figure 4 It can be seen that the system includes:

[0084] The acquisition unit 401 is used for the server to acquire registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period and node identifier corresponding to the specified terminal node device;

[0085] The judgment unit 402 is used to determine whether the specified terminal node device has passed the registration based on the registration information. If so, it determines the time slice information corresponding to the specified terminal node device based on the server and determines the communication channel corresponding to the specified terminal node device based on the corresponding communication frequency.

[0086] Synchronization unit 403 is used to write the communication channel and the time slice information into the time synchronization signal, and send the time synchronization signal to each terminal node device of the indoor positioning system through the LoRa gateway, so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0087] The uploading unit 404 controls the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time slot information according to the time synchronization signal.

[0088] like Figure 5 The diagram shown is a schematic representation of the internal structure of a signal transmission device for an indoor positioning system provided in an embodiment of this specification. Figure 5 It is understood that the device includes a memory 501 for storing computer program instructions and a processor 502 for executing the program instructions, wherein when the computer program instructions are executed by the processor 502, the device is triggered to execute:

[0089] The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device;

[0090] Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency.

[0091] The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0092] According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information.

[0093] like Figure 6 The diagram shown is a schematic representation of the internal structure of a non-volatile storage medium provided in an embodiment of this specification. Figure 6It is known that a non-volatile storage medium stores computer-executable instructions 601, which include:

[0094] The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device;

[0095] Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency.

[0096] The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal.

[0097] According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information.

[0098] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0099] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0100] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.

Claims

1. A signal transmission method for an indoor positioning system, characterized in that, The method includes: The server obtains registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period, and node identifier corresponding to the specified terminal node device; Based on the registration information, it is determined whether the specified terminal node device has been registered. If so, the time slice information corresponding to the specified terminal node device is determined based on the server, and the communication channel corresponding to the specified terminal node device is determined based on the corresponding communication frequency. The communication channel and the time slice information are written into the time synchronization signal, and the time synchronization signal is sent to each terminal node device of the indoor positioning system through the LoRa gateway so as to synchronize the time of each terminal node device based on the time synchronization signal. According to the time synchronization signal, the designated terminal node device is controlled to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information. Before the server obtains the registration information uploaded by the specified terminal node device, the method further includes: The LoRa gateway is initialized to connect it with multiple terminal node devices and a backend server to form a LoRaWAN network architecture, and the multiple terminal node devices in the LoRaWAN network architecture are identified based on changes. Based on the positioning task received by the server, the start time corresponding to the time synchronization of the multiple terminal node devices is determined, and the start time is used as a timestamp; The timestamp and the node identifier of the multiple terminal node devices are written into the time synchronization signal so as to synchronize the time of multiple terminal node devices under the current LoRaWAN network architecture based on the time synchronization signal. Before determining whether the specified terminal node device has passed registration based on the registration information, the method further includes: Obtain the node identifier of the terminal node device in each channel corresponding to the current LoRaWAN network architecture, and sort the terminal node devices in each channel based on the node identifier to obtain the priority of the terminal node devices in each channel. The standard upload time of a single terminal node device for uploading LoRawan carrier signals is obtained, and the standard upload time is adjusted based on a preset time difference to determine the target upload time of the single terminal node device; wherein, the target upload time is greater than the standard upload time; The maximum number of nodes for each channel is determined based on the preset wireless signal upload cycle and the target upload time. The target upload time is then allocated to the terminal node devices with the maximum number of nodes according to the priority of the terminal node devices, thereby realizing the division of time slices.

2. The signal transmission method of an indoor positioning system according to claim 1, characterized in that, The step of determining whether the specified terminal node device has passed registration based on the registration information specifically includes: The node identifier and communication frequency of the specified terminal node device are obtained based on the registration information; The target time slice corresponding to the designated terminal node device is determined based on the node identifier, and the target channel of the designated device node is determined based on the communication frequency; If it is determined that a terminal node device is allocated in the target time slice of the target channel, and the terminal node device is not in a dormant state, then it is determined that the specified terminal node device cannot be registered. If it is determined that no terminal node device is allocated in the target time slice of the target channel, or that the terminal node device is in a dormant state, then the designated terminal node device is determined to have passed the registration.

3. The signal transmission method of an indoor positioning system according to claim 1, characterized in that, After synchronizing the time of each terminal node device based on the time synchronization signal, the method further includes: Record the start time of the time synchronization; If it is determined that the difference between the current time and the starting time is greater than the preset adjustment interval of the gateway, then the gateway is controlled to resend the time synchronization signal to the terminal node device of the indoor positioning system, so as to synchronize the time of the terminal node device based on the time synchronization signal. If the terminal node device is outside the corresponding time slice, then the terminal node device is adjusted to a sleep state.

4. The signal transmission method of an indoor positioning system according to claim 3, characterized in that, The step of controlling the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time slot information according to the time synchronization signal specifically includes: Obtain the working status of a specified terminal node device, and divide the specified terminal node device into a first terminal node device in the running state or a second terminal node device in the idle state; If the terminal node device belongs to the first terminal node device, then the first terminal node device uploads the LoRawan carrier signal through the corresponding channel within the time slice based on the start time. If the terminal node device belongs to the second terminal node device, and it is determined that the second terminal node device does not upload data in the current time period, then the time slice of the remaining terminal node devices in the corresponding channel after the second terminal node device is shifted forward so that the remaining terminal node devices can upload LoRawan carrier signals.

5. The signal transmission method of an indoor positioning system according to claim 4, characterized in that, After controlling the designated terminal node device to upload a LoRawan carrier signal through the corresponding channel within the time slot information according to the time synchronization signal, the method further includes: If it is determined that the LoRa gateway does not receive the LoRawan carrier signal uploaded by the first terminal node device within the time period, then the first terminal node device is marked as to be detected. The LoRa gateway is controlled to monitor the first terminal node device based on the detection identifier in the next time period. If it is determined that the gateway does not receive the LoRawan carrier signal uploaded by the first terminal node device corresponding to the detection identifier in the continuous time period, the first terminal node device is determined to be in an idle or sleep state.

6. A signal transmission system for an indoor positioning system, characterized in that, The system includes: The acquisition unit is used by the server to acquire registration information uploaded by a specified terminal node device; wherein, the registration information includes: the wireless communication frequency, time period and node identifier corresponding to the specified terminal node device; The judgment unit is used to determine whether the specified terminal node device has passed the registration based on the registration information. If so, it determines the time slice information corresponding to the specified terminal node device based on the server and determines the communication channel corresponding to the specified terminal node device based on the corresponding communication frequency. The synchronization unit is used to write the communication channel and the time slice information into a time synchronization signal, and send the time synchronization signal to each terminal node device of the indoor positioning system through the LoRa gateway, so as to synchronize the time of each terminal node device based on the time synchronization signal. The upload unit controls the designated terminal node device to upload the LoRawan carrier signal through the corresponding channel within the time corresponding to the time slice information, based on the time synchronization signal. Before the server obtains the registration information uploaded by the specified terminal node device, it also includes: The LoRa gateway is initialized to connect it with multiple terminal node devices and a backend server to form a LoRaWAN network architecture, and the multiple terminal node devices in the LoRaWAN network architecture are identified based on changes. Based on the positioning task received by the server, the start time corresponding to the time synchronization of the multiple terminal node devices is determined, and the start time is used as a timestamp; The timestamp and the node identifier of the multiple terminal node devices are written into the time synchronization signal so as to synchronize the time of multiple terminal node devices under the current LoRaWAN network architecture based on the time synchronization signal. Before determining whether the designated terminal node device has passed registration based on the registration information, the method further includes: Obtain the node identifier of the terminal node device in each channel corresponding to the current LoRaWAN network architecture, and sort the terminal node devices in each channel based on the node identifier to obtain the priority of the terminal node devices in each channel. The standard upload time of a single terminal node device for uploading LoRawan carrier signals is obtained, and the standard upload time is adjusted based on a preset time difference to determine the target upload time of the single terminal node device; wherein, the target upload time is greater than the standard upload time; The maximum number of nodes for each channel is determined based on the preset wireless signal upload cycle and the target upload time. The target upload time is then allocated to the terminal node devices with the maximum number of nodes according to the priority of the terminal node devices, thereby realizing the division of time slices.

7. A signal transmission device for an indoor positioning system, characterized in that, The device includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to perform the method described in any one of claims 1-5.

8. A non-volatile storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions perform the method described in any one of claims 1-5.

Citation Information

Patent Citations

  • LoRaWAN Internet of Things supporting TDMA access

    CN110049562A