Method, apparatus, device, storage medium and program product for device networking
By aligning broadcast network time, registering, and allocating time-division information through the base station equipment, the stability and cost issues of equipment networking in GNSS deformation monitoring are resolved, achieving low-cost, high-security automated networking that is suitable for unattended monitoring scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- QIANXUN SPATIAL INTELLIGENCE INC
- Filing Date
- 2025-12-31
- Publication Date
- 2026-07-17
AI Technical Summary
Existing equipment networking methods in GNSS deformation monitoring suffer from high hardware costs, poor link stability, and susceptibility to environmental influences, making it difficult to meet the requirements of stability and low cost.
The base station equipment broadcasts time alignment information over the network, and the terminal equipment performs time calibration; the terminal equipment sends registration information to the base station equipment, and the base station equipment registers; the base station equipment sends time-division information and encryption negotiation information, and the terminal equipment configures communication time and determines encryption method, thus completing the equipment network.
It improves the stability and reduces the cost of device networking, adapts to unattended monitoring scenarios, supports flexible expansion of multiple terminal devices, and ensures the reliability and security of data transmission.
Smart Images

Figure CN122421082A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of networking technology, and in particular relates to a method, apparatus, equipment, storage medium and program product for networking devices. Background Technology
[0002] In unattended field scenarios such as deformation monitoring of Global Navigation Satellite System (GNSS), wireless networking is the core support for realizing the aggregation of data from multiple monitoring points and front-end processing. Early solutions mostly adopted full-duplex communication technology to build network links, aiming to improve data interaction efficiency through bidirectional simultaneous communication.
[0003] However, full-duplex communication technology has significant inherent drawbacks in local networking scenarios, making it difficult to adapt to practical application needs. Firstly, full-duplex communication requires complex bidirectional transmission hardware modules and anti-interference isolation designs, leading to a substantial increase in the hardware costs of equipment such as base stations and monitoring stations. Furthermore, full-duplex communication links suffer from poor stability and weak adaptability to low data rate scenarios. In the field, complex factors such as terrain obstruction, electromagnetic interference, and signal attenuation make full-duplex communication highly demanding in terms of link bandwidth and stability, susceptible to environmental influences such as signal crosstalk, transmission errors, and link interruptions. Therefore, existing equipment networking methods are unable to meet the requirements of stability and low cost. Summary of the Invention
[0004] This application provides a method, apparatus, device, storage medium, and program product for networking devices to address the poor coordination and reliability of existing blockchain data verification methods.
[0005] In a first aspect, embodiments of this application provide a method for networking devices, applied to base station devices, the method comprising: Time alignment information is sent to multiple terminal devices via a broadcast network so that the terminal devices can perform time calibration based on the time alignment information; Receive registration information sent by at least one terminal device, and register the terminal device according to the registration information; Time-sharing information is sent to each registered terminal device so that the registered terminal devices can configure their communication time according to the time-sharing information. Send encryption negotiation information to registered terminal devices so that the registered terminal devices can determine the encryption method based on the encryption negotiation information; Receive encryption method confirmation information from registered terminal devices to complete device networking.
[0006] Secondly, embodiments of this application provide a method for networking devices, applied to terminal devices, the method comprising: Receive time alignment information sent by the base station equipment through the broadcast network, and perform time calibration based on the time alignment information; Send registration information to the base station equipment so that the base station equipment can register the terminal equipment based on the registration information; Receive time-division information sent by the base station equipment and configure the communication time according to the time-division information; Receive encryption negotiation information sent by the base station equipment, and determine the encryption method based on the encryption negotiation information; Send encrypted confirmation information to the base station equipment so that the base station equipment can complete the equipment networking.
[0007] Thirdly, embodiments of this application provide a device for networking equipment, applied to base station equipment, the device comprising: The sending module is used to send time alignment information to multiple terminal devices via a broadcast network, so that the terminal devices can perform time calibration according to the time alignment information; it is also used to send time-division information to the registered terminal devices respectively, so that the registered monitoring stations can configure communication time according to the time-division information; it is also used to send encryption negotiation information to the registered terminal devices, so that the registered terminal devices can determine the encryption method according to the encryption negotiation information. The registration module is used to receive registration information sent by at least one terminal device and register the terminal device according to the registration information. The receiving module is used to receive encryption confirmation information sent by registered terminal devices to complete device networking; The control module is used to control the sending module, registration module, and receiving module to perform sending, registration, and receiving operations, respectively.
[0008] Fourthly, embodiments of this application provide a device for networking, applied to terminal devices, the device comprising: The receiving module is used to receive time alignment information sent by the base station equipment through the broadcast network and perform time calibration based on the time alignment information; it is also used to receive time division information sent by the base station equipment and configure communication time based on the time division information; it is also used to receive encryption negotiation information sent by the base station equipment and determine the encryption method based on the encryption negotiation information. The sending module is used to send registration information to the base station equipment so that the base station equipment can register the terminal equipment according to the registration information; it is also used to send encryption method confirmation information to the base station equipment so that the base station equipment can complete the device networking. The control module is used to control the receiving module and the transmitting module to perform receiving and transmitting operations respectively.
[0009] Fifthly, embodiments of this application provide a terminal device, which includes: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement a device networking method as described in the first or second aspect.
[0010] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement a device networking method as described in the first or second aspect.
[0011] In a seventh aspect, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform a device networking method as described in the first or second aspect.
[0012] This application provides a method, apparatus, device, storage medium, and program product for device networking. The method involves a base station device broadcasting time alignment information to multiple terminal devices via a broadcast network. The terminal devices receive the time alignment information and perform time calibration based on it, thus solving the clock synchronization problem among distributed devices. Terminal devices send registration information to the base station device, which receives and registers the terminal devices accordingly, enabling automatic network discovery and access. Monitoring stations actively send registration information, allowing the base station to dynamically perceive and manage network members. The base station device sends time-sharing information to each registered terminal device, which then configures its communication time accordingly. This time-sharing configuration prevents signal collisions caused by simultaneous transmissions from multiple monitoring stations, ensuring data transmission reliability. The base station device sends encryption negotiation information to each registered terminal device, which then determines the encryption method. The base station device receives the encryption method confirmation information from the registered terminal devices, completing the device networking. Therefore, this application improves the stability of local networking and reduces networking costs. Attached Figure Description
[0013] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a flowchart illustrating the device networking method provided in the embodiments of this application; Figure 2 This is a schematic diagram of the header general field of the TLV structure provided in the embodiments of this application; Figure 3 This is a flowchart illustrating the method for decrypting observation data provided in an embodiment of this application; Figure 4 This is a schematic diagram of the device network application for base station equipment provided in the embodiments of this application; Figure 5 This is a schematic diagram of the device networking apparatus for terminal devices provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Detailed Implementation
[0015] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0016] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0017] A Global Navigation Satellite System (GNSS) is a global satellite navigation and positioning system that provides positioning, velocity, and time services to users worldwide. GNSS terminal technology refers to the related hardware and software algorithms that can receive and process user information from any location on Earth using GNSS satellite signals. It typically consists of a GNSS receiver, antenna, control, and processing unit. These technologies are applied in various fields, such as transportation, aerospace, agriculture, mapping, atmospheric science, and geological disaster monitoring. The GNSS receiver is responsible for acquiring, tracking, demodulating, and receiving navigation signals from different satellites. It can receive signals from multiple frequency points; the more frequency points acquired, the more reliable the positioning result. The antenna is responsible for receiving weak radiation signals from satellites for subsequent processing and decoding. High-performance antennas help improve the signal reception quality of terminal equipment, thus obtaining more accurate positioning results. The control and processing unit is responsible for performing pseudorange measurement, time synchronization, velocity calculation, and other related processing on the received satellite signals to obtain the user's current position, velocity, and time information. In addition, it needs to perform various data processing tasks, such as data compression, data storage, and data transmission.
[0018] In existing GNSS deformation monitoring technologies, communication between the base station and monitoring station typically relies on radio communication during front-end computation and deployment. LoRa and other wireless devices lack encryption during transmission, posing a risk of data leakage; their openness compromises data transmission security. Furthermore, existing technologies often employ full-duplex communication. However, full-duplex communication technology has significant inherent drawbacks in local networking scenarios, making it difficult to adapt to practical application needs. First, full-duplex communication requires complex bidirectional transmission hardware modules and anti-interference isolation designs, leading to a significant increase in hardware costs for base stations and monitoring stations. Moreover, full-duplex communication links suffer from poor stability and weak adaptability to low data rate scenarios. In the field, complex factors such as terrain obstruction, electromagnetic interference, and signal attenuation further complicate matters. Full-duplex communication demands stringent link bandwidth and stability, making it susceptible to environmental influences such as signal crosstalk, transmission errors, and link interruptions. Therefore, existing equipment networking methods for local networking fail to meet the requirements of stability and low cost.
[0019] To address the problems of existing technologies, this application provides a method, apparatus, device, storage medium, and program product for device networking. The method involves a base station device broadcasting time alignment information to multiple terminal devices via a broadcast network. The terminal devices receive the time alignment information and perform time calibration based on it, thus solving the clock synchronization problem among distributed devices. Terminal devices send registration information to the base station device, which receives and registers the terminal devices accordingly, enabling automatic network discovery and access. Monitoring stations actively send registration information, allowing the base station to dynamically perceive and manage network members. The base station device sends time-division information to each registered terminal device, which then configures its communication time accordingly. This time-division configuration prevents signal collisions caused by simultaneous transmissions from multiple monitoring stations, ensuring data transmission reliability. The base station device sends encryption negotiation information to each registered terminal device, which then determines the encryption method. The base station device receives the encryption method confirmation information from the registered terminal devices, completing the device networking. Therefore, the embodiments of this application improve the stability of local networking and reduce networking costs.
[0020] The following section first introduces the device networking method provided in the embodiments of this application.
[0021] Figure 1 A flowchart illustrating a device networking method provided in an embodiment of this application is shown. Figure 1 As shown, the steps may include: S101 to S110.
[0022] S101, the base station equipment sends time alignment information to multiple terminal devices through the broadcast network.
[0023] The reference station equipment is the core device in the GNSS deformation monitoring system, providing reference observation data and responsible for network management. The broadcast network is a transmission channel based on wireless communication technologies such as LoRa, supporting unidirectional batch transmission of information from the reference station equipment to all terminal devices within the signal coverage area. Terminal devices are those that receive reference station data and perform front-end calculations. Time alignment information is standardized data used to synchronize system time.
[0024] In some embodiments, time alignment parameters may include data such as base station timestamps and synchronization calibration parameters.
[0025] In one example, the base station device can broadcast time alignment information every 10 seconds via the LoRa network so that terminal devices within the base station device's coverage area can receive it simultaneously.
[0026] The base station device in this embodiment of the application sends time alignment information to multiple terminal devices via a broadcast network, which can solve the data transmission conflict problem caused by time asynchrony among distributed monitoring stations. Furthermore, the broadcast method provides wide coverage, supports batch synchronization, and eliminates the need for the base station device to send information to each terminal device individually, reducing the communication load on the base station device and making it suitable for networking scenarios with multiple terminal devices.
[0027] S102, the terminal device receives time alignment information sent by the base station device through the broadcast network, and performs time calibration according to the time alignment information.
[0028] In some embodiments, after receiving time alignment information, the terminal device adjusts the local clock of the base station device to be consistent with the clock of the terminal device based on the time alignment information of the base station device.
[0029] This application embodiment eliminates the local clock deviation of the terminal device through time alignment information, ensuring that the data of the base station device and the terminal device match in the time dimension.
[0030] In some embodiments, the terminal device and the base station device have a preset matching relationship, and the time alignment information also includes a device identifier. When the terminal device receives the time alignment information sent by the base station device through the broadcast network, it first determines whether the base station device is a matching base station device based on the device identifier. If the base station device is a matching base station device, time calibration is performed based on the time alignment information. If the base station device is not a matching base station device, the time alignment information is ignored.
[0031] This application embodiment only allows matched base station devices to trigger time calibration of terminal devices, preventing terminal devices from mistakenly receiving time information from other systems in scenarios where multiple monitoring systems are deployed adjacently. Terminal devices are only associated with preset matched base station devices, avoiding signal interference between different systems and ensuring that each system operates autonomously and stably without affecting others. New devices only need to preset the matching relationship with the corresponding base station to quickly connect to the target network, without worrying about mismatches with other surrounding base stations, thus improving deployment flexibility and system scalability.
[0032] S103, the terminal device sends registration information to the base station device.
[0033] The registration information is standardized data submitted by the terminal equipment to the base station equipment during the networking process of GNSS deformation monitoring equipment, used for identity verification and capability declaration.
[0034] In some embodiments, registration information may include information such as device identifier, supported encryption algorithms, and communication rates.
[0035] The terminal device in this application embodiment sends registration information to the base station device, providing the base station device with basic information for registration, and providing a basis for subsequent time-sharing scheduling and encryption negotiation.
[0036] S104, the base station equipment receives registration information sent by at least one terminal device and registers the terminal device according to the registration information.
[0037] In some embodiments, the base station device and the terminal device have a preset matching relationship. After the base station receives the registration information sent by the terminal device, the base station device queries whether the terminal device is a matching terminal device. If the terminal device is a matching terminal device, the base station device registers the terminal device according to the registration information.
[0038] This application embodiment completes network access authorization for legitimate monitoring stations by registering terminal devices based on registration information, laying the foundation for subsequent time-sharing communication and data transmission. Simultaneously, the base station centrally manages monitoring station information, facilitating subsequent resource scheduling and data management.
[0039] S105, the base station equipment sends time-sharing information to the registered terminal equipment respectively.
[0040] Among them, time-division information refers to the communication parameters of the dedicated communication time period allocated by the base station equipment to each terminal device.
[0041] In some embodiments, the base station divides the second communication cycle into multiple uplink time slots and downlink time slots according to the number of registered monitoring stations, assigns a unique uplink / downlink time slot to each terminal device, and sends it to the corresponding terminal device.
[0042] This application's embodiments resolve the data conflict issue in half-duplex communication links, where LoRa and other wireless modules cannot simultaneously transmit and receive data in half-duplex mode, by sending time-division information to terminal devices. By allocating time slots in a time-division manner, each monitoring station communicates within its designated time period, avoiding data collisions caused by multiple monitoring stations transmitting simultaneously. This eliminates the need for full-duplex hardware in network deployment, reducing equipment costs; the dynamic allocation of time slots can be adjusted according to the number of monitoring stations, allowing for flexible networking of multiple terminal devices.
[0043] S106, the terminal device receives the time-division information sent by the base station device and configures the communication time according to the time-division information.
[0044] In some embodiments, after receiving the time-division information from the base station device, the terminal device obtains its own uplink time slot and downlink time slot, configures the transmission and reception timing, and performs the corresponding operation only within the specified time slot, while maintaining a listening state at other times.
[0045] The terminal device in this embodiment communicates according to the time slots allocated by the base station device, strictly adhering to the half-duplex link's transmit and receive timing, avoiding communication conflicts between multiple devices, and ensuring the reliability of data transmission. The configuration process is automated, requiring no manual settings; the time slots are strictly isolated, improving the communication efficiency of the half-duplex link and reducing the data packet loss rate.
[0046] In some embodiments, the time-sharing information includes verification information. If the verification information fails to be verified, a retransmission is requested from the base station to ensure that the configuration parameters are accurate.
[0047] This application embodiment verifies the time-sharing information to avoid communication conflicts caused by errors in the transmission of time-sharing information, thereby improving configuration reliability.
[0048] S107, the base station equipment sends encryption negotiation information to the registered terminal equipment.
[0049] Among them, the encryption negotiation information is data used to determine the consistency of encryption methods between the base station equipment and the terminal equipment.
[0050] In some embodiments, the cryptographic negotiation information may include data such as supported cryptographic algorithm options and public key parameters.
[0051] In some embodiments, the base station device generates encryption negotiation information based on the encryption algorithms and other related encryption information supported in the registration information of the terminal device, and sends it to the corresponding terminal device.
[0052] This application embodiment allows for the selection of an algorithm based on the capabilities of the terminal device through encrypted negotiation information, flexibly adapting encryption methods to monitoring stations with different hardware capabilities, and balancing security and computational efficiency.
[0053] S108, the terminal device receives the encryption negotiation information sent by the base station device and determines the encryption method based on the encryption negotiation information.
[0054] The encryption method is an encryption scheme agreed upon by the base station and the monitoring station.
[0055] In some embodiments, the encryption method may include key negotiation algorithms, data encryption algorithms, and other data.
[0056] In some embodiments, after receiving encryption negotiation information sent by the base station device, the terminal device determines a compatible encryption method based on its own capabilities and the options provided in the encryption negotiation information sent by the base station device.
[0057] The terminal device in this application embodiment determines an encryption method that is compatible with both parties, ensuring that subsequent data transmission meets security requirements while also being compatible with the hardware computing capabilities of the monitoring station, thus avoiding communication failures due to algorithm incompatibility; the monitoring station independently confirms that its computing resources can support the selected encryption scheme.
[0058] In some embodiments, the terminal device can perform performance evaluation on the encryption algorithm, such as calculating encryption time and power consumption, and select the encryption method with the lowest power consumption while meeting security requirements.
[0059] The embodiments of this application are adapted to the long-term operation requirements of low-power monitoring stations and can extend the equipment's battery life.
[0060] S109, the terminal device sends an encryption method confirmation message to the base station device.
[0061] Among them, the encryption method confirmation information is the response data from the monitoring station to the base station, indicating that the encryption method has been determined.
[0062] In some embodiments, the encryption method confirmation information can be transmitted using an SM4 temporary key to prevent the confirmation information from being stolen, further enhancing the security of the negotiation process and preventing the leakage of data such as encryption methods and public key parameters.
[0063] In this embodiment of the application, the terminal device sends an encryption method confirmation message to the base station device, informing the base station monitoring station that the encryption method has been determined and synchronizing the parameters required for key negotiation, thus establishing a foundation for subsequent data encryption and ensuring that the encryption parameters of both parties are consistent.
[0064] S110, the base station equipment receives the encryption method confirmation information sent by the registered terminal equipment, and completes the equipment networking.
[0065] In some embodiments, after receiving the encryption method confirmation information, the base station parses the monitoring station's public key, generates a session key through a key negotiation algorithm, encrypts the session key with the monitoring station's public key, and sends it to the corresponding monitoring station. After receiving the session key, the monitoring station decrypts it with its own private key to obtain the session key. The two parties complete the encryption key synchronization, the networking process ends, and the two parties enter the data transmission stage.
[0066] In some embodiments, after the base station equipment and multiple terminal devices complete time synchronization, identity registration, time-sharing configuration and encryption negotiation steps, a local wireless communication network capable of securely transmitting data is formed.
[0067] In some embodiments, the base station equipment and terminal equipment form a star network.
[0068] The networking process in this application embodiment is automated, requiring no manual intervention, and is suitable for unattended monitoring scenarios; the star topology is stable, supports automatic access of newly added monitoring stations, and has strong scalability.
[0069] This application first achieves precise time synchronization among multiple monitoring stations by broadcasting time alignment information from the base station, solving the calculation error problem caused by time deviation in the front-end calculation and ensuring the time consistency of the observation data. Secondly, it filters legitimate monitoring stations through a registration mechanism to prevent unauthorized devices from accessing the network. At the same time, it adopts a time-division information allocation scheme, allowing half-duplex communication modules to achieve conflict-free communication through dedicated time slots, eliminating the need for high-cost full-duplex hardware and significantly reducing equipment deployment costs. The entire networking process requires no manual intervention, supports automatic access of newly added monitoring stations, and adapts to the flexible expansion needs of multiple monitoring stations. Ultimately, it realizes a low-cost, highly secure, automated, and scalable local wireless network in GNSS deformation monitoring scenarios, providing stable communication support for the efficient implementation of front-end calculations.
[0070] In some embodiments, during local network calculations, one GNSS receiver is typically used as the base station, and N GNSS receivers are used as monitoring stations. The monitoring stations receive observation data from the base station and perform front-end calculations locally. The calculation results can then be returned to the base station for unified processing. A star network is established between the base station and the monitoring stations via a wireless transmission module (LoRa, etc.), using a custom proprietary protocol.
[0071] In some embodiments, after the equipment is installed and powered on, the base station and monitoring station first automatically negotiate and establish a connection. They negotiate an encryption scheme according to the encryption method specified in the system. After negotiation, observation values can be transmitted, and the successfully connected monitoring station enters the front-end calculation process. When a new terminal device is powered on, it can initiate a normal connection process and join the network after receiving broadcast data from the base station. After stable operation, the monitoring station can periodically encrypt and transmit the calculation results to the base station, which then flexibly processes the results returned by each monitoring station according to its own configuration. Once the entire system is running, when a new GNSS monitoring station needs to be deployed, after relevant initial configuration, the device can automatically join the already networked monitoring system, without affecting the original device's operating status.
[0072] In some embodiments, the base station device sends time-sharing information to the registered terminal devices, which may include: The number of registered terminal devices is counted, and the time-sharing information for communication of each registered terminal device is determined according to the number of terminal devices and the preset communication cycle. The time-sharing information of all registered terminal devices does not overlap. The preset communication cycle is a fixed communication cycle pre-configured by the base station. The time-sharing information of registered terminal devices does not overlap because the communication time slots of all registered monitoring stations have no time overlap within the preset cycle. The corresponding time-sharing information is sent to each registered terminal device.
[0073] This application embodiment dynamically allocates time slots based on the number of registrations, ensuring that time-sharing information is adapted to the scale of devices and avoiding resource waste or insufficiency caused by fixed time slots; it strictly ensures that time slots do not overlap, fundamentally solving the communication conflict problem of half-duplex links and significantly reducing data packet loss rate.
[0074] In some embodiments, the base station device may allocate a longer time slot based on the data transmission volume of the terminal device.
[0075] This application embodiment allocates longer time slots to terminal devices with high transmission demands, making resource allocation more reasonable, adapting to transmission needs of different data volumes, and improving communication efficiency.
[0076] In some embodiments, a conflict detection field can be added to the time-sharing information. Before communication, the terminal device checks whether the current time slot is occupied. If it is occupied, the base station is triggered to reallocate the slot.
[0077] This application embodiment improves communication stability by performing time-division information conflict detection to avoid time slot conflicts in extreme cases.
[0078] In some embodiments, when allocating time-sharing information, a preset number of spare time slots are reserved. For example, when there are five registered terminal devices, two idle time slots are reserved and not allocated to the current monitoring station. When a new monitoring station registers, the spare time slots are directly activated without needing to readjust the time slots of all registered devices.
[0079] This application embodiment reserves a spare time slot, so that the communication timing of the original equipment is not affected when a new monitoring station is added, and the network stability is stronger.
[0080] In some embodiments, the time alignment information, time division information, and encryption negotiation information are in the form of a Type-Length-Value (TLV) structure.
[0081] This application embodiment constructs a standardized, highly compatible, and highly secure message transmission system by setting the communication information between the base station equipment and the terminal equipment as a TLV structure. First, the structured design of the TLV enables unified encapsulation and parsing of information. The base station and monitoring station do not need to develop independent parsing logic for different information types, reducing the development complexity and computing power consumption of embedded devices and adapting to the low-power, low-computing-power hardware characteristics of GNSS monitoring equipment. Second, the dedicated definition of the Type field and the customized design of the Value field ensure the integrity of business parameters while avoiding redundant fields occupying bandwidth. Combined with LoRa low-power communication technology, this extends the runtime of the monitoring station during long periods of unattended operation. Furthermore, the TLV structure has extremely high scalability. Through nested TLVs, Length field expansion, version compatibility, and other expansion schemes, it can flexibly adapt to business iterations and equipment upgrades, ensuring long-term stable system operation. Ultimately, it provides standardized, scalable, and highly reliable message support for the automatic networking and secure transmission of GNSS deformation monitoring.
[0082] In some embodiments, the general header field structure of a TLV is as follows: Figure 2 As shown, the data includes a frame synchronization identifier (Magic, 0xAA55), a protocol version number (Version), a message type identifier (Type), a reserved field (Reserved), a message sequence number (Sequence Number), a data body length (Body Length), a timestamp, and a unique device identifier (Device ID). The frame synchronization identifier is the start marker of the message and is the first basis for the receiver to identify a valid message. It has a fixed value of hexadecimal 0xAA55 and has a clear byte characteristic, facilitating quick differentiation between valid messages and interference noise in the wireless link. The protocol version number identifies the private protocol version followed by the current message. The message type identifier is a field that uniquely distinguishes the service function of the message. The reserved field is a reserved backup field; when not used, it is filled with an invalid value. The message sequence number is a unique incrementing sequence number assigned by the sender to each frame. The data body length is the number of bytes identifying the message data body (Value field). The timestamp is the precise time the message was sent. The unique device identifier is the factory-unique identifier of the sending device.
[0083] In some embodiments, the message types of the TLV structure are shown in Table 1, including message type, the corresponding Type value, and purpose.
[0084] Table 1. TLV Structure Message Types In some embodiments, such as Figure 3As shown, after the base station device receives the encryption method confirmation information sent by the registered terminal device and completes the device networking, the method may further include: S301 to S306.
[0085] S301, the base station equipment acquires observation data and encrypts the observation data using a predetermined encryption method to obtain encrypted observation data.
[0086] The observation data consists of raw satellite navigation data captured by the base station via a GNSS receiver, serving as the foundational data for front-end calculations at the monitoring station. The encryption method is the consensus-agreed encryption scheme from the network deployment phase. The encrypted observation data is the ciphertext data resulting from the encrypted observation data.
[0087] The base station equipment in this embodiment serves as the source of observation data, encrypting the raw observation data before transmission to mitigate the data leakage risk caused by open transmission via LoRa wireless links. The encryption process is based on a key negotiated during the network deployment phase, eliminating the need for repeated negotiation and improving transmission efficiency. The encrypted data can only be decrypted by legitimate monitoring stations, ensuring data privacy.
[0088] S302, the base station equipment sends encrypted observation data to the registered terminal equipment.
[0089] In some embodiments, the base station equipment uses a LoRa wireless module to sequentially send encrypted observation data to all registered monitoring stations according to the downlink time slots allocated by time-division information.
[0090] This application embodiment securely transmits encrypted core observation data to each monitoring station, providing data support for front-end calculations at the monitoring stations; it avoids transmission conflicts of half-duplex links by using time-division information transmission.
[0091] S303, the terminal device receives encrypted observation data sent by the base station device, and decrypts the encrypted observation data according to the determined encryption method to obtain the observation data.
[0092] In some embodiments, when a terminal device receives encrypted observation data sent by a base station device, it uses the key and encryption algorithm negotiated during the networking phase to restore the encrypted observation data to the original observation data.
[0093] This application embodiment decrypts encrypted data to obtain raw observation data for front-end processing.
[0094] S304, the terminal device processes the observation data to obtain processed data, and encrypts the processed data according to the determined encryption method to obtain encrypted processed data.
[0095] Among them, the solution data is the core result data obtained by the monitoring station after processing the observation data through the front-end solution algorithm.
[0096] In some embodiments, the terminal device processes the observation data to transform the raw observation data into intuitive deformation monitoring results, obtaining processed data. The processed data is then encrypted using a predetermined encryption method to obtain encrypted processed data.
[0097] The calculated data in this application embodiment is the core basis for monitoring and early warning. It is encrypted for subsequent steps and can prevent the core monitoring results from being leaked or tampered with.
[0098] S305, the terminal device sends encrypted decryption data to the base station device.
[0099] In some embodiments, the monitoring station uses the uplink time slots allocated according to time-sharing information to unicast encrypted decompiled data to the base station via the LoRa module.
[0100] The embodiments of this application ensure no data collisions and high transmission reliability through a time-sharing uplink mechanism.
[0101] S306, the base station equipment receives the encrypted decryption information sent by the corresponding registered detection station equipment within the communication time corresponding to the time-division information, and decrypts the encrypted decryption information using the determined encryption method to obtain the decryption data.
[0102] Among them, the communication time corresponding to the time-sharing information is the dedicated uplink time slot for each terminal device.
[0103] In this embodiment, encrypted data from each monitoring station is received in a time-division manner to avoid receiving conflicts; the time-division receiving mechanism ensures that data from multiple monitoring stations does not collide and the receiving efficiency is high; the decryption process verifies the integrity and legality of the data to prevent tampering or illegal data from being mixed in; the aggregated data can be directly used for monitoring and early warning, improving the overall response speed of the system.
[0104] Figure 4 This application illustrates a device 400 for networking equipment, applied to a base station device. The device may include: The sending module 401 is used to send time alignment information to multiple terminal devices through a broadcast network, so that the terminal devices can perform time calibration according to the time alignment information; it is also used to send time-division information to the registered terminal devices respectively, so that the registered monitoring stations can configure communication time according to the time-division information; it is also used to send encryption negotiation information to the registered terminal devices, so that the registered terminal devices can determine the encryption method according to the encryption negotiation information. The registration module 402 is used to receive registration information sent by at least one terminal device and register the terminal device according to the registration information; The receiving module 403 is used to receive encryption method confirmation information sent by registered terminal devices to complete device networking; The control module 404 is used to control the sending module, registration module and receiving module to perform sending, registration and receiving operations respectively.
[0105] In some embodiments, the device networking apparatus 400 may further include: The statistics module is used to count the number of registered terminal devices and determine the time-sharing information for communication of each registered terminal device based on the number of terminal devices and the preset communication cycle; the time-sharing information of all registered terminal devices does not overlap. The sending module 401 is also used to send the corresponding time-sharing information to each registered terminal device.
[0106] In some embodiments, the sending module 401 is further configured to send time alignment information to multiple terminal devices via a broadcast network, send time division information to registered terminal devices respectively, and send encryption negotiation information to registered terminal devices; wherein the time alignment information, time division information, and encryption negotiation information are type-length-value TLV structures.
[0107] In some embodiments, the device networking apparatus 400 may further include: The encryption module is used to acquire observation data and encrypt the observation data using a predetermined encryption method to obtain encrypted observation data. The sending module 401 is also used to send encrypted observation data to the registered terminal device, so that the registered terminal device can decrypt the encrypted observation data according to the determined encryption method to obtain the observation data, perform calculation on the observation data to obtain the calculated data, and encrypt the calculated data through the determined encryption method to obtain encrypted calculated data. The receiving module 403 is also used to receive the encrypted decryption information sent by the corresponding registered detection station equipment within the communication time corresponding to the time-division information, and to decrypt the encrypted decryption information using the determined encryption method to obtain the decryption data.
[0108] Figure 4 The various modules in the illustrated device can achieve Figure 1 The various steps involved, and the corresponding technical effects achieved, will not be elaborated upon here for the sake of brevity.
[0109] Figure 5 This application illustrates a device 500 for networking devices, applied to terminal devices. The device may include: The receiving module 501 is used to receive time alignment information sent by the base station equipment through the broadcast network and perform time calibration according to the time alignment information; it is also used to receive time division information sent by the base station equipment and configure the communication time according to the time division information; it is also used to receive encryption negotiation information sent by the base station equipment and determine the encryption method according to the encryption negotiation information. The sending module 502 is used to send registration information to the base station equipment so that the base station equipment can register the terminal equipment according to the registration information; it is also used to send encryption method confirmation information to the base station equipment so that the base station equipment can complete the device networking. The control module 503 is used to control the receiving module and the transmitting module to perform receiving and transmitting operations respectively.
[0110] In some embodiments, the receiving module 501 is further configured to receive time alignment information sent by the base station device through a broadcast network, receive time division information sent by the base station device, and receive encryption negotiation information sent by the base station device; wherein the time alignment information, time division information, and encryption negotiation information are type-length-value TLV structures.
[0111] In some embodiments, the device networking apparatus 500 may further include: The receiving module 501 is also used to receive encrypted observation data sent by the base station equipment, and decrypt the encrypted observation data according to the determined encryption method to obtain the observation data; The solution module is used to solve the observed data to obtain the solution data; The encryption module is used to encrypt the decrypted data according to a predetermined encryption method to obtain encrypted decrypted data. The sending module 502 is also used to send encrypted decryption data to the base station equipment.
[0112] Figure 5 The various modules in the illustrated device can achieve Figure 1 The various steps involved, and the corresponding technical effects achieved, will not be elaborated upon here for the sake of brevity.
[0113] Figure 6 A schematic diagram of the hardware structure of the terminal device provided in an embodiment of this application is shown.
[0114] The terminal device may include a processor 601 and a memory 602 storing computer program instructions.
[0115] Specifically, the processor 601 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0116] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 602 may include removable or non-removable (or fixed) media, or memory 602 may be non-volatile solid-state memory. Memory 602 may be internal or external to the integrated gateway disaster recovery device.
[0117] In one example, memory 602 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method of device networking according to this disclosure.
[0118] The processor 601 reads and executes computer program instructions stored in the memory 602 to achieve... Figure 1 The method for networking devices in the illustrated embodiment.
[0119] In one example, the terminal device may further include a communication interface 603 and a bus 604. Wherein, for example... Figure 6 As shown, the processor 601, memory 602, and communication interface 603 are connected through bus 604 and complete communication with each other.
[0120] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0121] Bus 604 includes hardware, software, or both, that couples components of an end device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 604 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0122] Furthermore, in conjunction with the device networking methods described in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the device networking methods described in the above embodiments.
[0123] This application also provides a computer program product, including a computer program, which, when executed, implements any of the device networking methods described in the above embodiments.
[0124] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0125] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or text segments used to perform the required tasks. Programs or text segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Text segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0126] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0127] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0128] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method for networking devices, characterized in that, Applied to base station equipment, the method includes: Time alignment information is sent to multiple terminal devices via a broadcast network so that the terminal devices can perform time calibration based on the time alignment information; Receive registration information sent by at least one terminal device, and register the terminal device according to the registration information; Time-sharing information is sent to each registered terminal device so that the registered terminal devices can configure communication time according to the time-sharing information; Send encryption negotiation information to registered terminal devices so that the registered terminal devices can determine the encryption method based on the encryption negotiation information; Receive encryption method confirmation information from registered terminal devices to complete device networking.
2. The device networking method according to claim 1, characterized in that, Sending time-sharing information to registered terminal devices includes: The number of registered terminal devices is counted, and the time-sharing information for communication of each registered terminal device is determined according to the number of terminal devices and the preset communication cycle; the time-sharing information of all registered terminal devices does not overlap. The corresponding time-sharing information is sent to each registered terminal device.
3. The device networking method according to claim 1, characterized in that, The time alignment information, time-division information, and encryption negotiation information are in TLV structure.
4. The device networking method according to claim 1, characterized in that, After receiving the encryption method confirmation information sent by the registered terminal device and completing the device networking, the method further includes: Acquire observation data and encrypt the observation data using a predetermined encryption method to obtain encrypted observation data; The encrypted observation data is sent to a registered terminal device so that the registered terminal device can decrypt the encrypted observation data according to a determined encryption method to obtain observation data, perform calculations on the observation data to obtain calculated data, and encrypt the calculated data using a determined encryption method to obtain encrypted calculated data. Each device receives encrypted decryption information sent by a registered terminal device within the communication time corresponding to the time-division information, and decrypts the encrypted decryption information using a predetermined encryption method to obtain decrypted data.
5. A method for networking devices, characterized in that, Applied to a terminal device, the method includes: Receive time alignment information sent by the base station equipment through the broadcast network, and perform time calibration based on the time alignment information; Send registration information to the base station equipment so that the base station equipment can register the terminal equipment according to the registration information; Receive time-division information sent by the base station equipment, and configure communication time according to the time-division information; Receive encryption negotiation information sent by the base station equipment, and determine the encryption method based on the encryption negotiation information; Send encrypted confirmation information to the base station equipment so that the base station equipment can complete the equipment networking.
6. The device networking method according to claim 5, characterized in that, The time alignment information, time-division information, and encryption negotiation information are in TLV structure.
7. The device networking method according to claim 5, characterized in that, After sending encryption confirmation information to the base station equipment for the base station equipment to complete the equipment networking, the method further includes: Receive encrypted observation data sent by the base station equipment, and decrypt the encrypted observation data according to the determined encryption method to obtain the observation data; The observed data is processed to obtain the processed data; The decrypted data is encrypted according to the determined encryption method to obtain encrypted decrypted data; The encrypted decryption data is sent to the base station equipment.
8. A device for networking equipment, characterized in that, Applied to base station equipment, the device includes: The sending module is used to send time alignment information to multiple terminal devices via a broadcast network, so that the terminal devices can perform time calibration according to the time alignment information; it is also used to send time-division information to the registered terminal devices respectively, so that the registered monitoring stations can configure communication time according to the time-division information; it is also used to send encryption negotiation information to the registered terminal devices, so that the registered terminal devices can determine the encryption method according to the encryption negotiation information. A registration module is used to receive registration information sent by at least one terminal device and register the terminal device according to the registration information; The receiving module is used to receive encryption confirmation information sent by registered terminal devices to complete device networking; The control module is used to control the sending module, registration module and receiving module to perform sending, registration and receiving operations respectively.
9. A device for networking equipment, characterized in that, Applied to a terminal device, the device includes: The receiving module is used to receive time alignment information sent by the base station equipment through the broadcast network and perform time calibration according to the time alignment information; it is also used to receive time division information sent by the base station equipment and configure communication time according to the time division information; it is also used to receive encryption negotiation information sent by the base station equipment and determine the encryption method according to the encryption negotiation information. The sending module is used to send registration information to the base station device so that the base station device can register the terminal device according to the registration information; it is also used to send encryption method confirmation information to the base station device so that the base station device can complete the device networking. The control module is used to control the receiving module and the transmitting module to perform receiving and transmitting operations respectively.
10. A terminal device, characterized in that, The device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the device networking method as described in any one of claims 1-7.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the device networking method as described in any one of claims 1-7.
12. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the device networking method as described in any one of claims 1-7.