Multi-sensor synchronous acquisition and network resource cooperative scheduling method, system and device
By combining a hardware synchronization bus and a dynamic scheduling model, nanosecond-level synchronization of multi-sensor data and adaptive scheduling of network resources are achieved, solving the problems of low clock synchronization accuracy and resource fragmentation in traditional sensor communication, and meeting the low latency and low power consumption requirements of industrial sites.
Patent Information
- Application Number
- CN202611550694.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-08
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, sensor communication timing synchronization relies on a single network time synchronization, lacking hardware-level synchronization bus support. This results in low clock synchronization accuracy and an inability to adapt to dynamic fluctuations in business traffic, affecting the accuracy of multi-source data coupling analysis. Furthermore, the clock synchronization system is disconnected from network resource scheduling, failing to meet the requirements of nanosecond-level timing reference and low-latency transmission.
A hardware-level clock signal is provided through a hardware synchronization bus, and a high-precision timestamp is embedded at the moment the data frame is generated. Combined with a dynamic scheduling model, the weight of network transmission resources is adaptively increased, a closed-loop collaborative mechanism for synchronization and transmission is established, and a physically isolated network hard slice is established using a flexible Ethernet standard to eliminate redundant fields, thereby realizing hardware-level synchronization of sensor data and adaptive scheduling of network resources.
It achieves nanosecond-level strict synchronization of multi-sensor data, solves the problems of low accuracy and poor reliability of traditional software timing solutions, and constructs a closed-loop collaborative control of synchronization accuracy and network resource allocation, meeting the industrial field's requirements for deterministic low-latency transmission and low-power operation.
Smart Images

Figure CN123163764A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial Internet of Things (IoT) communication and high-precision sensing technology, specifically to a method, system, and device for multi-sensor synchronous acquisition and network resource collaborative scheduling. Background Technology
[0002] In distributed sensor network applications, especially for multi-source data fusion detection scenarios under complex working conditions, there are extremely high requirements for the clock synchronization accuracy of sensor nodes and the real-time performance of data transmission.
[0003] In existing technologies, sensor communication timing synchronization usually relies on a single network time synchronization or satellite time synchronization, and clock calibration is completed only at the software level. The lack of hardware-level synchronization bus support leads to millisecond-level deviations in the sampling and marking timing of various sensors, which seriously affects the accuracy of multi-source data coupling analysis.
[0004] Existing network slicing transmission mostly adopts a static time slot allocation strategy, which cannot adapt to the dynamic fluctuations of service traffic. This easily leads to congestion and packet loss during high-load periods or wastes spectrum resources during low-load periods. More importantly, the existing clock synchronization system and network resource scheduling system are disconnected. The scheduling logic is unaware of the clock drift status of sensors across the entire network. When the timing error approaches the acceptable threshold, it cannot automatically increase the transmission bandwidth guarantee of synchronization messages, making it difficult to meet the dual requirements of nanosecond-level timing reference and low-latency transmission.
[0005] The high redundancy of general transmission protocols makes it impossible to effectively support the real-time uplink of high-precision hardware-level timestamps, which increases the computing power overhead of edge terminals.
[0006] Therefore, there is an urgent need for a multi-sensor synchronous acquisition and network resource collaborative scheduling method that can achieve hardware-level clock synchronization, adaptive network resource scheduling, and closed-loop coordination of synchronization and transmission. Summary of the Invention
[0007] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method, system, and device for multi-sensor synchronous data acquisition and network resource collaborative scheduling.
[0008] A method for multi-sensor synchronous data acquisition and network resource collaborative scheduling according to the present invention includes: A hardware-level clock signal is provided to the distributed sensor nodes through a hardware synchronization bus, and a high-precision timestamp is embedded into the data frame header through hardware logic at the moment the data frame is generated, so as to generate sensor data with hardware timestamp. Obtain the clock drift status of all sensor nodes in the network, and input the clock drift status as an input feature into the dynamic scheduling model; When the clock drift state meets the preset drift deterioration condition, the network transmission resource weight of the synchronization message is adaptively increased through the dynamic scheduling model to obtain the network resource scheduling instruction. According to the network resource scheduling instructions, the sensor data with hardware timestamps and synchronization messages are transmitted in physically isolated network hard slices.
[0009] Preferably, the step of providing a hardware-level clock signal to the distributed sensor nodes via a hardware synchronization bus, and embedding a high-precision timestamp into the data frame header via hardware logic at the moment the data frame is generated, includes: The system receives the second pulse synchronization signal from the hardware synchronization bus via the main control field-programmable gate array; When the trigger edge of the second pulse synchronization signal arrives, the multi-channel synchronous analog-to-digital converter is controlled to synchronously sample the multi-source sensor signals. Inside the main control field-programmable gate array, the current time base is read at the moment the data frame is generated by the hardware marking module, the high-precision timestamp is written into the data frame header, and the frame is encapsulated according to a custom lightweight protocol. The entire process is executed by hardware logic without the participation of software interruption.
[0010] Preferably, the generation process of the second pulse synchronization signal of the hardware synchronization bus includes: The Kalman filter phase comparison unit receives the first-second pulse signal output by the Beidou timing module and the second-second pulse signal output by the 5G precision time protocol master clock in parallel. Using the reference clock output by the constant temperature, high stability, and time-keeping crystal oscillator as the time base, the integer period count value and fractional time interpolation value of the two second pulse signals relative to the local second pulse are measured by the time-to-digital converter, and the phase difference observation value is calculated. A system model with phase deviation and frequency deviation as state vectors is constructed. The phase difference observations are then used to perform state prediction, covariance prediction, Kalman gain calculation, state update, and covariance update through Kalman filter recursive formulas to obtain the estimated phase deviation values of each timing source. When the phase deviation of any timing source exceeds a preset threshold, it switches to another source. When both sources are disconnected at the same time, the constant temperature high-stability timekeeping crystal oscillator independently keeps time.
[0011] Preferably, the step of acquiring the clock drift state of all sensor nodes in the network and inputting the clock drift state as an input feature into the dynamic scheduling model includes: Real-time acquisition of a four-dimensional input feature sequence including equipment operating condition characteristics, wireless channel quality characteristics, sensor data stream throughput characteristics, and network-wide average clock drift characteristics; The four-dimensional input feature sequence is input into a long short-term memory network for temporal feature extraction to obtain a state encoding vector; The state-coded vector is input into the dual deep Q network decision model, and the reward function is a weighted negative value of transmission delay, packet loss rate, terminal power consumption and timing error. The output includes three types of scheduling instructions: time-division duplex uplink and downlink time slot allocation, probe slice resource block weight and synchronization message transmission priority.
[0012] Preferably, when the clock drift state meets a preset drift deterioration condition, the network resource weight of the synchronization message is adaptively increased through the dynamic scheduling model to obtain a network resource scheduling instruction, including: Real-time statistics of the maximum clock drift of all sensor nodes in the network; When the maximum clock drift is greater than or equal to the first drift threshold, the synchronization guarantee enhancement mode is triggered, the transmission priority of the synchronization message is set to the highest priority, and the time slot ratio of the synchronization message is increased by a first preset increment; when the maximum clock drift is less than the first drift threshold but greater than or equal to the second drift threshold, the time slot ratio of the synchronization message is increased by a second preset increment. When the maximum clock drift is less than the second drift threshold, the normal scheduling strategy is restored, and the default time slot allocation and default transmission priority are adopted. Wherein, the first preset increment is greater than the second preset increment, the first drift threshold is greater than the second drift threshold, and the synchronization guarantee enhancement mode and the conventional scheduling strategy switch state machines cyclically based on the maximum clock drift amount.
[0013] Preferably, transmitting the sensor data with hardware timestamps and the synchronization message in a physically isolated network hard slice includes: Based on the flexible Ethernet standard, the physical channel is divided into multiple sub-time slots. By statically binding, the probe service is associated with a fixed sub-time slot group, and a dedicated hard slice with physical layer isolation is established. The dedicated hard slice carries a simplified sensing frame, which retains only the nanosecond timestamp field, waveform data field, and cyclic redundancy check field, while eliminating redundant fields for handshake and response between the transmission control protocol and the Internet Protocol.
[0014] Preferably, the step of dividing the physical channel into multiple sub-time slots based on the flexible Ethernet standard and associating the probe service with a fixed group of sub-time slots through static binding includes: On the transmitting side, client data blocks are directly inserted into the corresponding sub-time slots according to the binding relationship through a flexible Ethernet pad layer. On the receiving side, the overhead blocks are demultiplexed and restored. The entire mapping process is executed by hardware circuitry and does not go through a shared buffer queue. Frame-level cyclic redundancy check is performed within the dedicated hard slice. When weak coverage or electromagnetic interference is detected, causing a link break, the terminal locally caches data and automatically resends it after the link is restored, following the breakpoint resume mechanism.
[0015] A multi-sensor synchronous data acquisition and network resource collaborative scheduling system provided by the present invention includes: The integrated sensing terminal layer contains multiple distributed sensor nodes, which are configured to receive clock signals from the same source via a hardware synchronization bus and embed a high-precision timestamp into the data frame header via hardware logic at the moment the data frame is generated. A dual-source nanosecond hardware synchronization bus layer is configured to generate and provide the hardware synchronization bus, as well as monitor the clock drift status of all sensor nodes in the network. The hard slice transport layer is configured to transmit sensor data with hardware timestamps and synchronization messages in physically isolated network hard slices. The dynamic time-slot edge scheduling layer is configured to input the clock drift state as an input feature into the dynamic scheduling model, and when the clock drift state meets the preset drift deterioration conditions, adaptively increase the network transmission resource weight of the synchronization message to generate network resource scheduling instructions and control the resource allocation of the hard slice transmission layer.
[0016] Preferably, the distributed sensor nodes in the integrated sensing terminal layer include: A three-component seismic detector, a four-electrode array of electrical electrodes, and an inertial measurement unit are used to acquire vibration signals, potential difference signals, and attitude signals, respectively. A multi-channel synchronous analog-to-digital converter is connected to a signal conditioning circuit and configured to perform synchronous sampling in response to a second pulse synchronization signal. The hardware precision time protocol is configured from the clock chip to receive master clock synchronization and output the second pulse synchronization signal to the 1PPS synchronization bus; The main control field-programmable gate array is connected to the multi-channel synchronous analog-to-digital converter and the 1PPS synchronous bus, and integrates sampling control logic, hardware marking module and frame encapsulation module. A mining-grade 5G ultra-reliable low-latency communication module is connected to the main control field-programmable gate array and configured to transmit encapsulated data frames uplink.
[0017] A computer device according to the present invention includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the multi-sensor synchronous acquisition and network resource collaborative scheduling method.
[0018] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention provides hardware-level clock signals to distributed sensor nodes through a hardware synchronization bus, and embeds a high-precision timestamp into the data frame header through hardware logic at the moment the data frame is generated. It uses pure hardware logic to perform sampling triggering and timestamp marking, eliminating interruption delays and jitter caused by software protocol stack processing. It achieves nanosecond-level strict synchronization of multi-source sensor data from the bottom layer, solving the problems of low accuracy and poor reliability of traditional software timing solutions.
[0019] 2. This invention uses the clock drift state of all sensor nodes in the network as input features into a dynamic scheduling model, and adaptively increases the network transmission resource weight of synchronization messages when the drift state meets preset deterioration conditions. This constructs a closed-loop collaborative control mechanism for synchronization accuracy and network resource allocation, enabling network scheduling to proactively perceive and respond to the health status of the synchronization system. Under complex operating conditions, it prioritizes the stable transmission of the timing reference, solving the timing mismatch problem caused by the separation of the synchronization system and network scheduling in the prior art.
[0020] 3. This invention establishes physically isolated network hard slices based on flexible Ethernet standards, and carries simplified sensor frames with redundant fields removed within the slices. This achieves physical layer hard isolation and protocol lightweighting of detection services and other services, eliminates bandwidth contention and latency jitter caused by shared queues, and reduces transmission protocol overhead. It meets the dual requirements of deterministic low-latency transmission and low-power operation in industrial sites. Attached Figure Description
[0021] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a block diagram of the integrated sensing terminal hardware architecture according to an embodiment of the present invention; Figure 2 This is a block diagram of the main clock unit and synchronous bus connection architecture according to an embodiment of the present invention; Figure 3 This is a structural diagram of the LSTM-DDQN dynamic time slot adaptive scheduling model according to an embodiment of the present invention; Figure 4 This is a flowchart of the scheduling model and the bidirectional linkage algorithm of the synchronization bus in an embodiment of the present invention; Figure 5 This is a schematic diagram of the FlexE hard slice frame structure and the sensor minimalist frame according to an embodiment of the present invention. Detailed Implementation
[0022] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0023] like Figures 1 to 5 As shown, this embodiment provides a method for multi-sensor synchronous data acquisition and network resource collaborative scheduling. This method achieves high-precision clock synchronization and deterministic low-latency transmission across all sensors through deep integration of a hardware-level synchronization base and adaptive network resource scheduling. The execution flow of this method and the system architecture supporting it are described in detail below with reference to the accompanying drawings.
[0024] In step S100, a hardware-level clock signal is provided to the distributed sensor nodes through a hardware synchronization bus, and a high-precision timestamp is embedded into the data frame header through hardware logic at the moment the data frame is generated, so as to generate sensor data with a hardware timestamp.
[0025] Combination Figure 1 and Figure 2 The integrated sensing terminal hardware architecture and master clock unit connection architecture shown in this step eliminate the uncertainty and jitter of traditional software timing through a pure hardware link. After the system powers on, the hardware PTP synchronizes with the master clock via a 5G link using IEEE 1588v2. After locking, it outputs 1PPS and a time code to the synchronization bus, and the master control FPGA establishes a unified time base with an initial timing error of less than 200ns. In one specific implementation, the master control field-programmable gate array (i.e., the master control FPGA) receives the second pulse synchronization signal from the shielded 1PPS second pulse synchronization bus. In response to the rising edge of this second pulse synchronization signal, the sampling control logic inside the master control FPGA directly controls the multi-channel synchronous ADC to synchronously sample the multi-source sensor signals output by the three-component seismic detector, the quadrupole array electrode, and the inertial measurement unit. At the instant the data frame is generated, the hardware marking module inside the main control FPGA directly reads the current PTP time base, writes a high-precision timestamp into the data frame header, and the frame encapsulation module encapsulates the frame according to a custom lightweight protocol. This custom lightweight protocol's frame structure consists of three parts: a frame header, a payload, and a checksum. The frame header embeds a 200ns precision hardware timestamp, the payload carries the sensor sampling data, and the checksum is used for frame-level integrity verification. The entire process is executed entirely by hardware logic without software interruption, thus avoiding microsecond or even millisecond-level latency caused by operating system task scheduling and ensuring strict phase alignment of multi-channel data acquisition.
[0026] The functions and working principles of each subunit within the integrated sensing terminal are further explained below. The three-component seismic detector uses a moving-coil electromagnetic induction transducer to pick up the three components of vibration (micro-vibration or tunneling vibration) of the coal and rock mass, outputting X / Y / Z voltage signals. In the four-electrode array electrochemical electrode, electrodes A and B inject a steady current, while electrodes M and N pick up the potential difference, reflecting anomalies in the apparent resistivity of the rock mass ahead. Electrode selection completes channel switching. The inertial measurement unit uses a strapdown configuration of a three-axis gyroscope and accelerometer, directly connected to the main control FPGA via an SPI interface to calculate the tunneling attitude (pitch, roll, yaw) for attitude correction and joint positioning with seismic and electrical data. The signal conditioning circuit performs pre-amplification, anti-aliasing low-pass filtering, and gain and impedance matching to adapt the signal to the ADC input range. The multi-channel synchronous ADC uses a 24-bit Δ-Σ structure, with 1PPS hardware-triggered multi-channel synchronous sampling to ensure time consistency between the seismic and electrical channels. The hardware PTP slave clock chip, acting as an IEEE 1588v2 slave, performs hardware-level message stamping and clock servoing, outputting 1PPS and a time code to achieve nanosecond-level time synchronization. The main control FPGA handles sampling control, hardware marking (200ns timestamp embedded in the frame header), lightweight protocol frame encapsulation, and overall timing management, all implemented in hardware logic to eliminate software latency. The mining-grade 5G URLLC module has mining explosion-proof certification and utilizes URLLC characteristics (short time slots, redundant transmission, preemptive scheduling) to ensure low-latency and high-reliability uplink, capable of carrying PTP synchronization messages. The power management unit distributes the intrinsically safe mining power supply via isolated DC-DC and LDO circuits to provide power to the analog, digital, and communication zones.
[0027] To ensure the high reliability and high precision of the clock signals provided by the hardware synchronization bus, this embodiment employs a dual-source nanosecond hardware synchronization mechanism. For example... Figure 2 As shown, the Kalman filter phase comparison unit receives the first-second pulse signal output by the BeiDou-3 time synchronization module and the second-second pulse signal output by the 5G PTP master clock in parallel. The system uses a 10MHz reference clock output from an OCXO temperature-controlled, high-stability timekeeping crystal oscillator as its time base. The system utilizes the time-to-digital converter (TDC) within the FPGA to measure the integer period count and fractional time interpolation of the two second pulse signals relative to the local second pulse, respectively, to calculate the observed phase difference. The two 1PPS channels are optically isolated and shaped before being connected to the FPGA edge detection unit. Using the 10MHz OCXO frequency multiplied by the PLL to generate a 1GHz high-frequency reference clock as the coarse counting time base, the integer periods of the rising edges of 1PPS_BDS and 1PPS_PTP relative to the local second pulse 1PPS_L are counted respectively. , Then, the carry chain delay line (TDC) of the FPGA is used to quantize the fractional time between edges. , The resolution reaches tens of picoseconds. Both measurements share the same OCXO time base; crystal phase noise and temperature drift are common modes, automatically canceling each other out after differential subtraction. The residual is only the TDC quantization noise and the timing source's own jitter. One observation is generated per second. It is fed into the Kalman filter.
[0028] Construct a system model with phase deviation and frequency deviation as state vectors. The state vector is... ,in For the first Second phase deviation (ns). Frequency offset (ns / s). State transition matrix. Observation matrix Sampling period Process noise Noise measurement The system model is represented as follows:
[0029]
[0030] Kalman filter updates are performed using the following recursive formula: State prediction:
[0031] Covariance prediction:
[0032] Kalman gain:
[0033] Status Update:
[0034] Covariance update:
[0035] in, Here is the state transition matrix. For the observation matrix, For process noise covariance, To measure the noise covariance, This is the state prediction vector. To predict the covariance matrix, For Kalman gain, Update the state vector. To update the covariance matrix, It is the identity matrix. Determined by the Allen variance and aging rate of OCXO It is determined by the sum of the TDC measurement noise variance and the timing source second jitter variance.
[0036] In terms of dual-source comparison and decision-making, the Beidou and PTP channels are filtered separately to obtain... , Phase difference between the two paths When the phase deviation of any timing source exceeds a preset threshold (e.g., 50ns) for M consecutive seconds (M≥3), the source is deemed degraded. Source selection and seamless switching from the 1PPS output stage to another source occur, with OCXO phase buffering maintaining continuous output during the switching instant. When both sources simultaneously lose connection, measurement updates cease, and the system switches to pure prediction mode.
[0037] The clock is independently timed by an OCXO temperature-controlled, high-stability timekeeping crystal oscillator, with a cumulative timing drift of ≤150ns over 4 hours, ensuring the continuity of the clock hardware for all sensors in the network under extreme operating conditions.
[0038] It should be noted that in other embodiments, the hardware synchronization bus is not limited to a 1PPS pulse signal, but can also use an IEEE 1588 hardware stamping bus or a White Rabbit protocol bus; the hardware logic body that performs hardware marking and sampling control is not limited to an FPGA, but can also be an application-specific integrated circuit (ASIC) or a complex programmable logic device (CPLD), as long as it can achieve hardware-level synchronous triggering and timestamp embedding functions without software interruption.
[0039] Step S200: Obtain the clock drift status of all sensor nodes in the network, and input the clock drift status as an input feature into the dynamic scheduling model.
[0040] Combination Figure 3 and Figure 4 The edge gateway acquires the four-dimensional input feature sequence in real time. The observation vector at time t is defined as... ,in These are the equipment operating parameters (TBM cutterhead speed or feed rate). For 5G air interface SINR, For sensor data stream throughput, The average clock drift across the entire network is used. The most recent W timeframes are selected on a rolling basis according to the scheduling cycle to form the input sequence, which is then fed into a Long Short-Term Memory (LSTM) network (corresponding to the LSTM temporal feature extraction module) for temporal feature extraction. The LSTM network structure is: Input layer (4-dimensional) → Stacked G-layer LSTM (U hidden units per layer) → Extract the hidden state at the last timeframe. The state encoding vector is fed into DDQN. A preferred embodiment has G = 2 and U = 32.
[0041] LSTM extracts temporal features from the input sequence through a collaborative mechanism of forget gate, input gate, output gate, and memory unit. It remembers the temporal dependence of tunneling conditions and channel quality, overcomes instantaneous jitter interference, and takes the hidden state at the last moment as the output state coding vector.
[0042] Subsequently, the state encoding vector is input into the Dual Deep Q-Network (DDQN, corresponding to the DDQN decision network module) decision model. The action space is defined as follows: These correspond to the TDD uplink / downlink time slot allocation level, the probe slice RB resource weight level, and the synchronization message transmission priority level, respectively. The number of actions after discretization is: Reward function for:
[0043] in For transmission delay, For packet loss rate, For terminal power consumption, For timing error, to The weights are normalized (e.g., 0.4, 0.3, 0.2, 0.1 respectively). DDQN employs a dual-network structure of an evaluation network and a target network, samples for training through an experience replay mechanism, and explores the action space using an ε-greedy strategy (ε being the exploration rate). Based on this model, the output includes three types of scheduling instructions: TDD uplink / downlink time slot ratio, probe slice RB weights, and synchronization message transmission priority.
[0044] In step S300, in response to the clock drift state meeting the preset drift deterioration conditions, the network transmission resource weight of the synchronization message is adaptively increased through the dynamic scheduling model to generate a network resource scheduling instruction.
[0045] This step constitutes the core of this invention: a "synchronization-scheduling bidirectional linkage closed loop." For example... Figure 4 As shown, the system continuously monitors the maximum clock drift of all sensor nodes in the network in real time. The linked decision-making process employs a state machine mechanism, prioritizing the transmission of synchronization messages. The segmented control is as follows: when (Approaching the 200ns acceptable threshold) Set to highest priority, increase time slot percentage This triggers the synchronization protection enhancement mode, prioritizing the transmission bandwidth of nanosecond timing reference data.
[0046] when hour, Set to medium improvement, increase time slot ratio Appropriately enhance synchronous protection.
[0047] when (Drifting back) Restore default values, using the default time slot allocation and default transmission priority to avoid excessive consumption of service bandwidth by synchronization resources.
[0048] in, The first drift threshold (150ns) is greater than the second drift threshold (100ns). The synchronization guarantee enhancement mode and the regular scheduling strategy switch between state machines cyclically based on the maximum clock drift. The two directions cycle repeatedly, making scheduling decisions and synchronization accuracy mutually constrained and adaptively converged, taking into account both the detection service bandwidth and the overall network timing accuracy.
[0049] In a preferred embodiment, the dynamic scheduling model is not limited to the LSTM-DDQN architecture, but can also employ the Transformer timing model, the near-end policy optimization (PPO) algorithm, or a rule-based expert system; the determination of drift deterioration conditions is not limited to absolute threshold comparison, but can also use the gradient change rate of clock drift as the triggering basis to respond more sensitively to sudden disturbances.
[0050] Step S400: Based on network resource scheduling instructions, transmit sensor data with hardware timestamps and synchronization messages in physically isolated network hard slices.
[0051] Combination Figure 5 This embodiment, based on the 5G SA (Standalone) network architecture and the Flexible Ethernet (FlexE) standard, divides the physical channel into multiple sub-time slots. Through static binding, probe services are associated with fixed sub-time slot groups, establishing physically isolated dedicated hard slices. Each slice channel exclusively occupies its corresponding time slot, bypassing a shared buffer queue, thus preventing bandwidth contention and latency jitter from other services on the probe channel. On the transmitting side, client data blocks are directly inserted into the corresponding time slots according to the binding relationship through the FlexE Shim layer. On the receiving side, overhead blocks are demultiplexed and restored; the entire mapping process is a hardware circuit operation.
[0052] The sensor frame is carried within a dedicated hard slice. This simplified sensor frame only retains the nanosecond timestamp field, waveform data field, and CRC check field, eliminating redundant fields from the TCP / IP handshake and response protocols. The size of a single frame is reduced by approximately 60% compared to a regular TCP / IP packet. Frame-level CRC checks are performed within the slice. In the event of short-term weak coverage or electromagnetic interference causing a link loss in the mine, the terminal locally caches the data and automatically resends it after the link is restored, ensuring data integrity.
[0053] It should be noted that in other embodiments, the physical isolation hard slicing technology is not limited to FlexE, and can also adopt metropolitan transport network (MTN) or optical service unit (OSU) technology; the field definition of the sensor simplified frame can also be added or removed according to specific service requirements, such as adding a device ID field or reducing the length of the verification field.
[0054] The above method relies on an integrated system architecture. This system includes an integrated sensing terminal layer, a dual-source nanosecond hardware synchronization bus layer, a hard-slice transmission layer, and a dynamic time-slot edge scheduling layer.
[0055] The integrated sensing terminal layer comprises multiple distributed sensor nodes, such as Figure 1 and Figure 2 As shown, each node integrates a three-component seismic detector, a quadrupole array of electrical electrodes, and an inertial measurement unit, used to acquire vibration, potential difference, and attitude signals, respectively; a multi-channel synchronous ADC is connected to the signal conditioning circuit and performs synchronous sampling in response to the second pulse synchronization signal; the hardware PTP receives the master clock synchronization from the clock chip and outputs the second pulse synchronization signal to the 1PPS synchronization bus; the main control FPGA is connected to the multi-channel synchronous ADC and the 1PPS synchronization bus, and integrates sampling control logic, hardware marking module, and frame encapsulation module internally; the mining 5G URLLC module is connected to the main control FPGA to transmit the encapsulated data frames uplink.
[0056] The dual-source nanosecond hardware synchronization bus layer is configured to generate and provide a hardware synchronization bus, and monitor the clock drift status of all sensor nodes in the network. Synchronization messages are assigned the highest transmission priority at the basic level to ensure stable delivery of nanosecond timestamps to all sensor nodes. The hard-slice transmission layer is configured to transmit sensor data with hardware timestamps and synchronization messages within physically isolated network hard slices. The dynamic time-slot edge scheduling layer is configured to input clock drift status as an input feature into the dynamic scheduling model, and adaptively increase the network transmission resource weight of synchronization messages to generate network resource scheduling instructions in response to clock drift status meeting preset drift deterioration conditions, thereby controlling the resource allocation of the hard-slice transmission layer. All layers work together through standardized interfaces and protocols, anchoring the aforementioned methods and steps to specific hardware entities, achieving a unity of function and structure.
[0057] Through field testing and verification, under this architecture, the timing synchronization error of the full-domain sensors is stably controlled within 200ns (120~190ns) during 72 hours of continuous tunneling, which is about 50 times higher than the traditional 1~50ms synchronization accuracy, and the phase of the seismic signal is perfectly matched. In areas with rock strata obstruction or weak 5G coverage, the offline drift is ≤150ns after 4 hours thanks to dual-source hot standby and OCXO timekeeping. Under high-load tunneling conditions, the uplink time slot of the detection slice is automatically increased to over 70% during the TBM cutterhead cutting stage, with an end-to-end average transmission latency of 11~18ms and latency jitter ≤2.2ms. Under idle standby conditions, the time slot is reduced and idle spectrum is released, with an idle spectrum release rate of 42% and a 28% reduction in terminal power consumption. The packet loss rate is <0.02% during 72 hours of continuous acquisition. The structural positioning error within a 100m lead range is reduced from the traditional 20m to within 3m, and manual maintenance time is reduced by 50%. Wireless nanosecond communication eliminates the need for numerous dragging detection cables, AI adaptive scheduling adapts to all tunneling conditions, and integrated hardware simplifies the number of underground equipment deployments. It can operate stably and unattended for a long time in deep tunnels and working faces with strong electromagnetic interference.
[0058] Furthermore, this embodiment also provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the multi-sensor synchronous acquisition and network resource collaborative scheduling method described above. This computer device can be an edge gateway deployed underground, a surface-based parsing server, or a cloud computing node. It drives hardware resources through software programs to achieve the aforementioned high-precision synchronous acquisition and intelligent scheduling functions.
[0059] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features of the present invention can be arbitrarily combined with each other.
Claims
1. A method for multi-sensor synchronous data acquisition and network resource collaborative scheduling, characterized in that, include: A hardware-level clock signal is provided to the distributed sensor nodes through a hardware synchronization bus, and a high-precision timestamp is embedded into the data frame header through hardware logic at the moment the data frame is generated, so as to generate sensor data with hardware timestamp. Obtain the clock drift status of all sensor nodes in the network, and input the clock drift status as an input feature into the dynamic scheduling model; When the clock drift state meets the preset drift deterioration condition, the network transmission resource weight of the synchronization message is adaptively increased through the dynamic scheduling model to obtain the network resource scheduling instruction. According to the network resource scheduling instructions, the sensor data with hardware timestamps and synchronization messages are transmitted in physically isolated network hard slices.
2. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 1, characterized in that, The step of providing a hardware-level clock signal to the distributed sensor nodes via a hardware synchronization bus, and embedding a high-precision timestamp into the data frame header via hardware logic at the moment the data frame is generated, includes: The system receives the second pulse synchronization signal from the hardware synchronization bus via the main control field-programmable gate array; When the trigger edge of the second pulse synchronization signal arrives, the multi-channel synchronous analog-to-digital converter is controlled to synchronously sample the multi-source sensor signals. Inside the main control field-programmable gate array, the current time base is read at the moment the data frame is generated by the hardware marking module, the high-precision timestamp is written into the data frame header, and the frame is encapsulated according to a custom lightweight protocol. The entire process is executed by hardware logic without the participation of software interruption.
3. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 2, characterized in that, The generation process of the second pulse synchronization signal of the hardware synchronization bus includes: The Kalman filter phase comparison unit receives the first-second pulse signal output by the Beidou timing module and the second-second pulse signal output by the 5G precision time protocol master clock in parallel. Using the reference clock output by the constant temperature, high stability, and time-keeping crystal oscillator as the time base, the integer period count value and fractional time interpolation value of the two second pulse signals relative to the local second pulse are measured by the time-to-digital converter, and the phase difference observation value is calculated. A system model with phase deviation and frequency deviation as state vectors is constructed. The phase difference observations are then used to perform state prediction, covariance prediction, Kalman gain calculation, state update, and covariance update through Kalman filter recursive formulas to obtain the estimated phase deviation values of each timing source. When the phase deviation of any timing source exceeds a preset threshold, it switches to another source. When both sources are disconnected at the same time, the constant temperature high-stability timekeeping crystal oscillator independently keeps time.
4. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 1, characterized in that, The step of acquiring the clock drift status of all sensor nodes in the network and inputting the clock drift status as an input feature into the dynamic scheduling model includes: Real-time acquisition of a four-dimensional input feature sequence including equipment operating condition characteristics, wireless channel quality characteristics, sensor data stream throughput characteristics, and network-wide average clock drift characteristics; The four-dimensional input feature sequence is input into a long short-term memory network for temporal feature extraction to obtain a state encoding vector; The state-coded vector is input into the dual deep Q network decision model, and the reward function is a weighted negative value of transmission delay, packet loss rate, terminal power consumption and timing error. The output includes three types of scheduling instructions: time-division duplex uplink and downlink time slot allocation, probe slice resource block weight and synchronization message transmission priority.
5. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 1, characterized in that, When the clock drift state meets a preset drift deterioration condition, the network transmission resource weight of the synchronization message is adaptively increased through the dynamic scheduling model to obtain a network resource scheduling instruction, including: Real-time statistics of the maximum clock drift of all sensor nodes in the network; When the maximum clock drift is greater than or equal to the first drift threshold, the synchronization guarantee enhancement mode is triggered, the transmission priority of the synchronization message is set to the highest priority, and the time slot ratio of the synchronization message is increased by a first preset increment; when the maximum clock drift is less than the first drift threshold but greater than or equal to the second drift threshold, the time slot ratio of the synchronization message is increased by a second preset increment. When the maximum clock drift is less than the second drift threshold, the normal scheduling strategy is restored, and the default time slot allocation and default transmission priority are adopted. Wherein, the first preset increment is greater than the second preset increment, the first drift threshold is greater than the second drift threshold, and the synchronization guarantee enhancement mode and the conventional scheduling strategy switch state machines cyclically based on the maximum clock drift amount.
6. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 1, characterized in that, The transmission of the sensor data with hardware timestamps and the synchronization message within physically isolated network hard slices includes: Based on the flexible Ethernet standard, the physical channel is divided into multiple sub-time slots. By statically binding, the probe service is associated with a fixed sub-time slot group, and a dedicated hard slice with physical layer isolation is established. The dedicated hard slice carries a simplified sensing frame, which retains only the nanosecond timestamp field, waveform data field, and cyclic redundancy check field, while eliminating redundant fields for handshake and response between the transmission control protocol and the Internet Protocol.
7. The method for multi-sensor synchronous acquisition and network resource collaborative scheduling according to claim 6, characterized in that, The method of dividing a physical channel into multiple sub-time slots based on the flexible Ethernet standard and associating probe services with fixed sub-time slot groups through static binding includes: On the transmitting side, client data blocks are directly inserted into the corresponding sub-time slots according to the binding relationship through a flexible Ethernet pad layer. On the receiving side, the overhead blocks are demultiplexed and restored. The entire mapping process is executed by hardware circuitry and does not go through a shared buffer queue. Frame-level cyclic redundancy check is performed within the dedicated hard slice. When weak coverage or electromagnetic interference is detected, causing a link break, the terminal locally caches data and automatically resends it after the link is restored, following the breakpoint resume mechanism.
8. A multi-sensor synchronous data acquisition and network resource collaborative scheduling system, characterized in that, include: The integrated sensing terminal layer contains multiple distributed sensor nodes, which are configured to receive clock signals from the same source via a hardware synchronization bus and embed a high-precision timestamp into the data frame header via hardware logic at the moment the data frame is generated. A dual-source nanosecond hardware synchronization bus layer is configured to generate and provide the hardware synchronization bus, as well as monitor the clock drift status of all sensor nodes in the network. The hard slice transport layer is configured to transmit sensor data with hardware timestamps and synchronization messages in physically isolated network hard slices. The dynamic time-slot edge scheduling layer is configured to input the clock drift state as an input feature into the dynamic scheduling model, and when the clock drift state meets the preset drift deterioration conditions, adaptively increase the network transmission resource weight of the synchronization message to generate network resource scheduling instructions and control the resource allocation of the hard slice transmission layer.
9. The multi-sensor synchronous acquisition and network resource collaborative scheduling system according to claim 8, characterized in that, The distributed sensor nodes in the integrated sensing terminal layer include: A three-component seismic detector, a four-electrode array of electrical electrodes, and an inertial measurement unit are used to acquire vibration signals, potential difference signals, and attitude signals, respectively. A multi-channel synchronous analog-to-digital converter is connected to a signal conditioning circuit and configured to perform synchronous sampling in response to a second pulse synchronization signal. The hardware precision time protocol is configured from the clock chip to receive master clock synchronization and output the second pulse synchronization signal to the 1PPS synchronization bus; The main control field-programmable gate array is connected to the multi-channel synchronous analog-to-digital converter and the 1PPS synchronous bus, and integrates sampling control logic, hardware marking module and frame encapsulation module. A mining-grade 5G ultra-reliable low-latency communication module is connected to the main control field-programmable gate array and configured to transmit encapsulated data frames uplink.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the multi-sensor synchronous acquisition and network resource collaborative scheduling method as described in any one of claims 1 to 7.
