A data backhaul link switching method for a collection terminal and the collection terminal

By acquiring the real-time status of multiple backhaul links on coal mine excavation equipment and switching to backup links for data transmission, the problem of data loss on coal mine excavation equipment was solved, and self-recovering data backhaul was achieved.

CN121284610BActive Publication Date: 2026-07-07CHINA NAT COAL MINING EQUIP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA NAT COAL MINING EQUIP
Filing Date
2025-09-25
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In large-scale coal mining equipment, the disconnection of the existing wireless communication link between sensors and controllers leads to data loss, making it impossible to achieve large-area data backhaul.

Method used

By acquiring the real-time status of multiple backhaul links between the acquisition terminal and the remote data center, the system switches to backup links for data transmission, including 5G, WIFI, and wired Ethernet links. The system optimizes the switching decision using link quality scores and storage status, thereby achieving self-recovering data backhaul.

Benefits of technology

It improves the data backhaul link's reliability, reduces large-scale and long-term data loss caused by link disconnection, and enables self-recovering data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121284610B_ABST
    Figure CN121284610B_ABST
Patent Text Reader

Abstract

The application provides a kind of acquisition end data backhaul link switching method and acquisition end, it is applied to at least one acquisition end being arranged on coal mine excavation equipment, the method comprises: obtaining the data real-time backhaul link state of at least two backhaul links between acquisition end and remote data center;When the data real-time backhaul link state is broken, obtain the first data that the first target data real-time backhaul link needs to be returned when breaking;The first target data real-time backhaul link is switched to second target data real-time backhaul link;The first data is transmitted to remote data center by the target data real-time backhaul link.The application can improve the data backhaul link guarantee capability of acquisition end, reduce the large area, long time data loss caused by backhaul link disconnection and failure, to a certain extent, self-recovery data backhaul.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of short-range wireless communication technology, and in particular to a data backhaul link switching method and a data acquisition terminal. Background Technology

[0002] Coal mine excavating equipment typically has multiple sensors mounted on its robotic arm. These sensors are wired to the controller mounted on the excavating equipment, which is unsuitable for large-scale coal mine excavation equipment setups and large-scale sensor deployments. In scenarios with large-scale sensor deployments, wireless communication between multiple sensors and multiple controllers is required. Existing wireless communication between sensors and controllers is divided into two types of network device elements: "data transmitters" and "data collectors." The data collector receives data from one or more data transmitters, summarizes the data, and then transmits the summarized data back to the backend data center or server via a 5G wireless link, a Wi-Fi wireless link, or a wired Ethernet link. If the 5G wireless link, Wi-Fi wireless link, or wired Ethernet link is disconnected, the summarized data from numerous data collectors will be lost due to the inability to transmit it back. Summary of the Invention

[0003] The technical problem this invention aims to solve is to provide a data backhaul link switching method and a data acquisition terminal. This improves the data backhaul link reliability of the acquisition terminal, reduces large-scale and long-term data loss caused by backhaul link disconnections and failures, and enables self-recovery of data backhaul to a certain extent.

[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0005] A method for switching data backhaul links at a data acquisition terminal, applied to at least one data acquisition terminal installed on a coal mine excavation equipment, the method comprising:

[0006] Acquire the real-time backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center;

[0007] When the real-time data backhaul link is in a broken state, the first data that the first target data real-time backhaul link that has experienced the broken link needs to be backhauled.

[0008] Switch the real-time backhaul link of the first target data to the real-time backhaul link of the second target data;

[0009] The first data is transmitted to the remote data center via the real-time backhaul link of the second target data.

[0010] Optionally, the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center can be obtained, including:

[0011] The first real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center is obtained; the first backhaul link uses a first wireless communication protocol to transmit data.

[0012] The system acquires the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center; the second backhaul link uses a second wireless communication protocol to transmit data.

[0013] The real-time status of the third data backhaul link between the acquisition terminal and the remote data center is obtained; the third backhaul link uses a third wireless communication protocol to transmit data; the first wireless communication protocol, the second wireless communication protocol, and the third wireless communication protocol are different.

[0014] Optionally, the real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center is obtained, including:

[0015] Acquire the wireless remote control release message, signal strength, and signal-to-noise ratio of the first backhaul link between the acquisition terminal and the remote data center;

[0016] The status of the first real-time data backhaul link of the first backhaul link is determined based on at least one of the wireless remote control release message, signal strength, and signal-to-noise ratio.

[0017] Optionally, after obtaining the first target data that needs to be transmitted back in real time when the link is lost, the process also includes:

[0018] The first data is stored in the first storage area corresponding to the first target data real-time backhaul link;

[0019] Obtain the storage status of the first storage area.

[0020] Optionally, switching the first target data real-time backhaul link to the second target data real-time backhaul link includes:

[0021] When the storage status indicates that the amount of data in the first storage area exceeds a preset threshold, the real-time backhaul link of the first target data is switched to the real-time backhaul link of the second target data.

[0022] Optionally, switching the first target data real-time backhaul link to the second target data real-time backhaul link includes:

[0023] Obtain the switching priority of at least two backhaul links;

[0024] According to the switching priority of the at least two backhaul links, the first target data real-time backhaul link is switched to the second target data real-time backhaul link.

[0025] Optionally, the data backhaul link switching method at the acquisition end also includes:

[0026] When the real-time backhaul link of the first target data that was interrupted is restored, the system switches to the real-time backhaul link of the first target data to transmit the backhaul data.

[0027] An embodiment of the present invention also provides a data acquisition terminal, which is installed on a coal mine excavation equipment, the data acquisition terminal comprising:

[0028] The acquisition module is used to acquire the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center; when the real-time data backhaul link status is broken, it acquires the first data that needs to be backed by the first target data real-time backhaul link that has broken the link.

[0029] The transmission module is used to switch the first target data real-time backhaul link to the second target data real-time backhaul link; and to transmit the first data to the remote data center through the second target data real-time backhaul link.

[0030] Embodiments of the present invention also provide a computing device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described above in the present invention.

[0031] Embodiments of the present invention also provide a computer-readable storage medium storing a program that, when executed by a processor, implements the method described above.

[0032] The above-described technical solution of the present invention has at least the following technical effects:

[0033] The above-described data backhaul link switching method for the acquisition end of the present invention obtains the real-time backhaul link status of at least two backhaul links between the acquisition end and the remote data center; when the real-time backhaul link status is broken, it obtains the first data that needs to be transmitted back by the first target data real-time backhaul link that has been broken; it switches the first target data real-time backhaul link to the second target data real-time backhaul link; and it transmits the first data to the remote data center through the second target data real-time backhaul link. This improves the data backhaul link reliability of the acquisition end, reduces large-scale and long-term data loss caused by backhaul link disconnection and failure, and enables self-recovery of data backhaul to a certain extent. Attached Figure Description

[0034] Figure 1 This is a flowchart illustrating the data backhaul link switching method of the acquisition terminal of the present invention;

[0035] Figure 2This is a schematic diagram of the module structure of the acquisition terminal of the present invention. Detailed Implementation

[0036] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0037] like Figure 1 As shown, an embodiment of the present invention proposes a data backhaul link switching method for a data acquisition terminal, applied to at least one data acquisition terminal installed on a coal mine excavation equipment. The method includes:

[0038] Step S1: Obtain the real-time data transmission link status of at least two backhaul links between the acquisition terminal and the remote data center;

[0039] Step S2: When the real-time data backhaul link status is disconnected, obtain the first data that the first target data real-time backhaul link that has disconnected needs to be backhauled.

[0040] Step S3: Switch the real-time backhaul link of the first target data to the real-time backhaul link of the second target data;

[0041] Step S4: Transmit the first data to the remote data center through the second target data real-time backhaul link.

[0042] In this embodiment, as Figure 1 As shown, in the data backhaul link switching method at the acquisition end, at least two backhaul links may include: a first backhaul link, a second backhaul link, and a third backhaul link; here, the first backhaul link may use the 5G communication protocol to transmit data, the second backhaul link may use the mobile hotspot (WIFI) communication protocol to transmit data, and the third backhaul link may be a wired Ethernet link.

[0043] By configuring the relevant parameters of each of the above links, a wireless communication connection between the data acquisition terminal and the remote data center can be achieved.

[0044] When establishing a wireless communication connection with a remote data center through the three backhaul links mentioned above, link pre-registration is required. This includes entering the hardware interface information of each link (such as the 5G module IMSI number, WIFI MAC address, and wired network port physical number), the default connection priority (such as prioritizing 5G, followed by WIFI, and finally wired Ethernet, which can be adjusted according to the scenario), and basic network parameters (such as IP address, subnet mask, and gateway).

[0045] Then, configure the link monitoring parameter thresholds, including:

[0046] 5G link signal strength threshold (normal: -85dBm to -50dBm, weak signal: -100dBm to -85dBm, interruption: ≤-100dBm), packet loss rate threshold (normal: ≤2%, abnormal: >5%), latency threshold (normal: ≤100ms, abnormal: >300ms).

[0047] WIFI link signal strength threshold (normal: -70dBm to -30dBm, weak signal: -85dBm to -70dBm, interruption: ≤-85dBm), connection duration (abnormal: no data interaction for 10 consecutive seconds is considered an interruption), bandwidth threshold (normal: ≥10Mbps, low bandwidth: <5Mbps);

[0048] The physical connection status of the Ethernet link (detected by the link layer protocol; a broken link indicates an anomaly) and the transmission rate (normal: ≥100Mbps, abnormal: <10Mbps).

[0049] In addition, configure local storage monitoring parameters, including total storage capacity (e.g., 100GB), warning threshold (utilization ≥80%), emergency threshold (utilization ≥90%), and data write rate limit (e.g., 10MB / s). Finally, initialize the data transmission protocol, enable the breakpoint resume function, and create a data index table in local storage to record the generation time and status (not transmitted / transmitting / transmitted) of each piece of data.

[0050] The working status of each data backhaul link and the corresponding data storage status are monitored at predetermined time intervals. Based on the changes in the backhaul link status and storage status, the backhaul link to be switched is optimized and selected. After parameter configuration, the current backhaul link is switched to the second target data real-time backhaul link, and the switched second target data real-time backhaul link is used to perform breakpoint transmission of the untransmitted data.

[0051] The solution of this invention adopts a data backhaul link switching method at the acquisition end. Through pre-configuration and automatic switching, it reduces the large-scale and long-term data loss caused by backhaul link disconnection and failure, and to a certain extent, it can self-recover data backhaul.

[0052] In an optional embodiment of the present invention, step S1, obtaining the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center, includes:

[0053] Step S11: Obtain the real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center; the first backhaul link uses a first wireless communication protocol to transmit data, such as the 5G communication protocol.

[0054] Step S12: Obtain the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center; the second backhaul link uses a second wireless communication protocol to transmit data, such as the WIFI communication protocol.

[0055] Step S13: Obtain the real-time data backhaul link status of the third backhaul link between the acquisition terminal and the remote data center; the third backhaul link uses a third wireless communication protocol to transmit data; the first wireless communication protocol, the second wireless communication protocol, and the third wireless communication protocol are different, such as Ethernet wireless communication.

[0056] In this embodiment, the real-time data backhaul link status of the first data real-time backhaul link (5G), the second data real-time backhaul link status (WIFI), and the third data real-time backhaul link status (wired Ethernet link) are detected in real time at a frequency of 1 second / time, and the real-time data backhaul link status is continuously acquired.

[0057] For the first real-time data backhaul link status, i.e., the 5G backhaul link, the module status is queried via AT commands to obtain the signal strength (RSRP), reference signal reception quality (RSRQ), uplink and downlink packet loss rate (calculated by ICMP pinging the gateway), and current uplink and downlink rates (estimated by the data transmission volume in the past 10 seconds). For example, if the 5G signal strength is detected to be -105dBm for 5 consecutive times (i.e., within 5 seconds) and the packet loss rate reaches 8%, it is marked as "degraded state".

[0058] In an optional embodiment of the present invention, step S11, obtaining the first real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center, includes:

[0059] Step S112: Obtain the wireless remote control release message, signal strength, and signal-to-noise ratio of the first backhaul link between the acquisition terminal and the remote data center;

[0060] Step S113: Determine the first real-time data backhaul link status of the first backhaul link based on at least one of the wireless remote control release message, signal strength, and signal-to-noise ratio.

[0061] In this embodiment, the average signal strength and average signal-to-noise ratio within 1 minute are extracted from the acquired wireless remote control release message, signal strength, and signal-to-noise ratio. The 5-minute transmission success rate is obtained based on the wireless remote control release message. The average signal strength reflects signal stability, the average signal-to-noise ratio characterizes anti-interference capability, and the transmission success rate characterizes the transmission result.

[0062] Based on the average signal strength, average signal-to-noise ratio, and transmission success rate, the real-time data return link status is determined, which can be achieved using the following formula:

[0063] S = α × R + β × N + γ × M

[0064] Where S is the status score of the first data real-time backhaul link, R is the mean signal strength, N is the mean signal-to-noise ratio, M is the transmission success rate, α is the weight of the mean signal strength, β is the weight of the mean signal-to-noise ratio, and γ is the weight of the transmission success rate.

[0065] The process of obtaining the weights, β, and γ is as follows:

[0066] Calculate the information entropy of the j-th weight: ,in , , Let be the j-th weight value of the i-th sample, and n be the number of samples;

[0067] Calculate the j-th weight value , thus obtaining α= , β= γ= .

[0068] Set a status score threshold, preferably 0.7. If the status score of the first data real-time back transmission link is less than 0.7, the first target data real-time back transmission link is determined to be in a broken state.

[0069] Step S12: Obtain the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center, including:

[0070] For the second data real-time backhaul link status, namely the Wi-Fi backhaul link: the connection SSID, signal strength (RSSI), channel occupancy, and distance to the access point (estimated using a signal attenuation model) are obtained through the operating system's network management interface, and the round-trip time (RTT) is calculated through TCP connection testing. If the Wi-Fi connection is lost (no response from the access point is detected for 3 consecutive times), it is marked as "unavailable". When the Wi-Fi signal strength is detected to be between -85dBm and -70dBm for more than 10 seconds and the bandwidth is less than 5Mbps, it is marked as "degraded", providing a basis for subsequent link switching.

[0071] Step S13: Obtain the real-time data backhaul link status of the third backhaul link between the acquisition terminal and the remote data center, including:

[0072] For the third data real-time backhaul link status, namely the Ethernet backhaul link: the physical layer connection (Link Up / Down) is detected through the PHY chip status register, the bit error rate is calculated through the Ethernet frame counter, and the end-to-end bandwidth is tested through bandwidth tools. If the physical connection is broken (Link Down lasts for 1 second), it is marked as "unavailable"; if the bit error rate exceeds 0.1%, it is marked as "degraded", so as to comprehensively assess the link health and provide more accurate data support for subsequent link switching decisions.

[0073] All link status data is written to the local status log in real time. Each record contains information such as timestamp, link type, key parameter values, and status flags.

[0074] In an optional embodiment of the present invention, after obtaining the first data that the first target data real-time backhaul link needs to transmit when the link is interrupted in step S2, the method further includes:

[0075] Step S21: Store the first data in the first storage area corresponding to the first target data real-time backhaul link;

[0076] Step S22: Obtain the storage status of the first storage area.

[0077] In this embodiment, the first data that has not been transmitted is stored in the first storage area corresponding to the first target data real-time backhaul link. The storage area status monitoring and the link status monitoring run synchronously, and the local storage status is checked every 2 seconds.

[0078] Read the used and remaining space of the storage partition and calculate the utilization rate (used space / total capacity). Monitor the data write speed by comparing the difference in used space at two consecutive time points to calculate the average write rate over the past 10 seconds. When the write rate exceeds the upper limit (e.g., 10MB / s), reduce the data collection frequency to avoid storage overflow. Simultaneously, establish a storage data index table to record the amount of untransmitted data (calculated in bytes) and the generation time of the untransmitted data (to determine data timeliness).

[0079] It should be noted that each backhaul link has a corresponding storage area, and the second backhaul link has a corresponding second storage area, which is used to store the second data that has not been transmitted when the second backhaul link is broken.

[0080] Similarly, the second backhaul link has a third storage area, which is used to store the third data that has not been transmitted when the third backhaul link is broken.

[0081] In an optional embodiment of the present invention, step S3, switching the first target data real-time backhaul link to the second target data real-time backhaul link, includes:

[0082] Step S31: When the real-time data backhaul link is in a disconnected state, directly switch the first target data real-time backhaul link to the second target data real-time backhaul link; or

[0083] Step S32: When the storage status indicates that the amount of data in the first storage area exceeds a preset threshold, the first target data real-time backhaul link is switched to the second target data real-time backhaul link.

[0084] In this embodiment, when the local storage utilization rate is ≥90%, an "emergency alarm" is triggered, and the system prioritizes switching to the link with the best status among the available links. At the same time, non-critical data collection tasks are immediately stopped, and the storage and transmission of important data are prioritized. In addition, when the amount of untransmitted data is ≥ the emergency threshold, such as 50GB, and the data is about to exceed its shelf life, such as when the time limit is reached in 10 minutes, the system prioritizes switching to the link with the best status among the available links.

[0085] It should be noted that this can also be a comparison between the data volume of the second or third storage area and a preset threshold to determine the specific target data real-time backhaul link to be switched.

[0086] In an optional embodiment of the present invention, step S31 or S32, switching the first target data real-time backhaul link to the second target data real-time backhaul link, includes:

[0087] Step S321: Obtain the switching priority of at least two backhaul links;

[0088] Step S322: According to the switching priority of the at least two backhaul links, switch the first real-time data backhaul link to the second target data real-time backhaul link.

[0089] In this embodiment, the real-time status of at least two backhaul links is monitored. The quality of the link status is determined by a link quality score, and the link quality score formula is as follows:

[0090] Rating = (Bandwidth score × 0.4 + Stability score × 0.3 + Latency score × 0.3) × 100

[0091] Among them, the bandwidth score = the actual rate of the current link / the theoretical maximum rate. The theoretical maximum rate of 5G is calculated as 1Gbps, WIFI as 500Mbps, and wired as 1Gbps.

[0092] Stability score = 1 - packet loss rate. For example, if the packet loss rate is 5%, the stability score is 0.95.

[0093] The latency score is calculated as 1 - latency / maximum acceptable latency. The maximum latency is set to 500ms. If the latency is 100ms, the latency score is 0.8.

[0094] When calculating the link quality score, each weight value can be dynamically adjusted according to the actual application scenario requirements. Specifically, the dynamic adjustment rule for network latency is: W=W0×(1-d×D), where W is the dynamically adjusted latency weight, W0 is the initial latency weight before adjustment, d is the latency sensitivity coefficient, and D is the latency time.

[0095] In remote operation scenarios with extremely high real-time requirements, the weighting of latency can be appropriately increased; in monitoring scenarios involving large data transmission, the weighting of bandwidth can be increased, thereby making link switching decisions more aligned with business needs.

[0096] Meanwhile, to avoid frequent switching caused by score fluctuations, switching will not be triggered when the link score of the first target data real-time feedback link changes by less than 5 points, thus ensuring the stability of data transmission.

[0097] Links with higher link quality scores are set to higher priority, and links with lower link quality scores are set to lower priority. When a backhaul link switch is required, the link with higher priority among the alternative links is used as the second target data backhaul link.

[0098] Furthermore, based on the type of the second target data real-time backhaul link, a parameter configuration command is sent to the second target data real-time backhaul link, and the parameters of the second target data real-time backhaul link are dynamically adjusted to obtain the second target data real-time backhaul link.

[0099] Specifically, the real-time backhaul link of the second target data is added to the candidate list of backhaul links to be switched, L_candidate. The links in L_candidate are sorted by priority, and the backhaul link with the higher priority is determined as the real-time backhaul link of the second target data. Then, a configuration command is sent to the real-time backhaul link of the second target data.

[0100] For 5G backhaul links, configure access point parameters using "AT+CGDCONT=1,"IP","APN_NAME"""";

[0101] For the WIFI backhaul link, specify the network name and key using "iwconfig wlan0 essid SSID key PASSWORD";

[0102] For Ethernet backhaul links, activate the physical interface using `ifconfig eth0 up`.

[0103] Meanwhile, parameters are dynamically adjusted according to the backhaul link type to optimize transmission performance. For 5G links, due to their high bandwidth and low latency characteristics, enabling TCP SACK can quickly recover lost data. The maximum transmission unit (MTU) is set to 1400 bytes to avoid transmission risks caused by excessively large fragments.

[0104] Enabling 802.11n aggregation on the WIFI link can improve transmission efficiency. The default maximum transmission unit (MTU=1500) setting is adapted to general Ethernet environments.

[0105] Ethernet employs a congestion control mechanism. The control of transmission rate by congestion control is determined by the transmission task itself. By detecting the bottleneck bandwidth and round-trip time of the network link in real time, the sending window size is dynamically adjusted to effectively reduce network congestion and transmission delay, improve packet loss resistance, and maximize link utilization. At the same time, enabling jumbo frame mode (MTU=9000) can reduce protocol overhead and improve the efficiency of large file transmission.

[0106] In an optional embodiment of the present invention, after completing the configuration of the real-time backhaul link for the second target data, the method may further include:

[0107] Step S33, perform stability verification on the real-time backhaul link of the second target data, specifically including:

[0108] Step S331: By sending a test packet, the real-time backhaul link switching time and data round-trip delay of the second target data are obtained;

[0109] Step S332: Based on the switching time and data round-trip delay, obtain the stability verification result of the real-time backhaul link of the second target data.

[0110] Specifically, the test packet Seq_init is acknowledged, and the response signal for the test packet is ACK = Seq_init + S_size, where ACK is the acknowledgment packet, Seq_init is the initial sequence number of the test packet, and the receiving end returns an acknowledgment packet ACK with fragment ID=0, recording the acknowledgment timestamp T_ack. The handover time is calculated as: T_switch = T_ack - T_stop, where T_ack is the response time, T_stop is the communication termination time, and T_switch is the handover time. This formula accurately calculates the link handover time, ensuring that the entire handover process is completed within a controllable time range and avoiding service continuity issues caused by excessively long handover times. This time calculation result is not only a key indicator for measuring handover efficiency but also provides a time benchmark for subsequent link stability verification, ensuring close coordination and collaborative work among all links.

[0111] Three test data packets, each 1KB in size, are sent to calculate the average round-trip time (RTT_avg). By calculating the RTT, the system can objectively evaluate the network quality of the new link. If RTT_avg is less than 200ms and no data packets are lost during the test, it indicates that the target link has stable data transmission capabilities. At this point, the system will update the primary link identifier to L_target, officially completing the backhaul link switchover operation.

[0112] In an optional embodiment of the present invention, step S4, transmitting the first data to a remote data center via the second target data real-time backhaul link, includes:

[0113] Step S41: Divide the first data into data fragments according to the preset data fragmentation strategy;

[0114] Step S42: Based on the timeliness requirements of the first data, control the transmission order of the first data through timestamps;

[0115] Step S43: Transmit the first data to the remote data center through the second target data real-time backhaul link, and update the transmission status of the first data in the data index table.

[0116] In this embodiment, when transmitting data using the real-time backhaul link with the second target data, the untransmitted first data is fragmented and its transmission order is controlled. Data interruption resumes are then performed using the real-time backhaul link with the second target data. The untransmitted first data is fragmented according to a size of S_size = min(MTU × 8, 1MB), generating fragment numbers ID = 0, 1, 2...N, where N = ceil(total untransmitted bytes / S_size). During data fragmentation, the system dynamically adjusts the fragment size S_size based on the minimum value between MTU and 1MB, ensuring that the data packets adapt to the link transmission characteristics while avoiding reduced transmission efficiency due to excessively large fragments. Each fragment is assigned a unique ID, facilitating subsequent transmission order control and status tracking, laying the foundation for accurate execution of interruption resumes.

[0117] Prioritize the transmission of time-sensitive data (such as control commands), filter data with T_generated > T_threshold based on timestamp, where T_generated is the data timeliness and T_threshold is the timeliness threshold set by the business, and transmit data in ascending order by ID; non-time-sensitive data (such as historical logs) enter the waiting queue.

[0118] Set K=floor(1MB / S_size), where floor represents rounding down. Every K fragments transmitted, the index table is updated, and the status field changes from "not transmitted" to "transmitting". The value of K ensures that the index table maintains a reasonable update frequency during data transmission. The system can dynamically adjust the status update rhythm according to the actual link speed, ensuring data transmission efficiency while ensuring timely and accurate feedback of transmission status information, providing a reliable basis for monitoring the transmission process.

[0119] In an optional embodiment of the present invention, the data backhaul link switching method at the acquisition end may further include:

[0120] Step S5: When the real-time backhaul link of the first target data that was interrupted is restored, switch to the real-time backhaul link of the first target data to transmit the backhaul data.

[0121] In this embodiment, the working status of each backhaul link is continuously monitored. When the first target data real-time backhaul link that has experienced a link failure is detected to be restored, the system will prioritize switching to the first target data real-time backhaul link for backhaul data transmission.

[0122] The data backhaul link switching method of the acquisition end of the present invention automatically performs dynamic switching of the backhaul link by monitoring the link status, thereby reducing the large-scale and long-term data loss caused by backhaul link disconnection and failure, and achieving self-recovery data backhaul to a certain extent.

[0123] like Figure 2 As shown, an embodiment of the present invention also provides a data acquisition terminal 20, which is installed on a coal mine excavation device. The data acquisition terminal 20 includes:

[0124] The acquisition module 21 is used to acquire the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center; when the real-time data backhaul link status is broken, it acquires the first data that needs to be backhauled by the first target data real-time backhaul link where the link is broken.

[0125] Transmission module 22 is used to switch the first target data real-time backhaul link to the second target data real-time backhaul link; and transmit the first data to the remote data center through the second target data real-time backhaul link.

[0126] Optionally, the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center can be obtained, including:

[0127] The first real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center is obtained; the first backhaul link uses a first wireless communication protocol to transmit data.

[0128] The system acquires the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center; the second backhaul link uses a second wireless communication protocol to transmit data.

[0129] The system acquires the real-time data backhaul link status of the third backhaul link between the acquisition terminal and the remote data center; the third backhaul link uses a third wireless communication protocol to transmit data; the first wireless communication protocol, the second wireless communication protocol, and the third wireless communication protocol are different. Optionally, acquiring the real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center includes:

[0130] Acquire the wireless remote control release message, signal strength, and signal-to-noise ratio of the first backhaul link between the acquisition terminal and the remote data center;

[0131] The status of the first real-time data backhaul link of the first backhaul link is determined based on at least one of the wireless remote control release message, signal strength, and signal-to-noise ratio.

[0132] Optionally, after obtaining the first target data that needs to be transmitted back to the link in real time after the link is broken, the acquisition module 21 is also used for:

[0133] The first data is stored in the first storage area corresponding to the first target data real-time backhaul link;

[0134] Obtain the storage status of the first storage area.

[0135] Optionally, switching the first target data real-time backhaul link to the second target data real-time backhaul link includes:

[0136] When the storage status indicates that the amount of data in the first storage area exceeds a preset threshold, the real-time backhaul link of the first target data is switched to the real-time backhaul link of the second target data.

[0137] Optionally, switching the first target data real-time backhaul link to the second target data real-time backhaul link includes:

[0138] Obtain the switching priority of at least two backhaul links;

[0139] According to the switching priority of the at least two backhaul links, the first target data real-time backhaul link is switched to the second target data real-time backhaul link.

[0140] Optionally, the transmission module 22 is also used to: switch to the first target data real-time backhaul link for backhaul data transmission when the first target data real-time backhaul link is restored after a link failure.

[0141] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of this acquisition terminal and can achieve the same technical effect.

[0142] Embodiments of the present invention also provide a computing device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data backhaul link switching method for the acquisition end described in the present invention. All implementations in the above method embodiments are applicable to the embodiments of this computing device and can achieve the same technical effects.

[0143] Embodiments of the present invention also provide a computer-readable storage medium storing a program that, when executed by a processor, implements the data backhaul link switching method for the acquisition end described in this invention. All implementations in the above method embodiments are applicable to the embodiments using this computer-readable storage medium and achieve the same technical effects.

[0144] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0145] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0146] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0147] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0148] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0149] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0150] Furthermore, it should be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent solutions of the present invention. Moreover, the steps performing the above series of processes can naturally be executed in the order described, but are not necessarily required to be executed in chronological order; some steps can be executed in parallel or independently of each other. Those skilled in the art will understand that all or any step or component of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or a combination thereof. This is something that those skilled in the art can achieve by using their basic programming skills after reading the description of the present invention.

[0151] Therefore, the object of the present invention can also be achieved by running a program or a set of programs on any computing device. The computing device can be a known general-purpose device. Therefore, the object of the present invention can also be achieved simply by providing a program product containing program code for implementing the method or apparatus. That is, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent to the present invention. Furthermore, the steps for performing the above series of processes can naturally be performed in the order described, but are not necessarily required to be performed in chronological order. Some steps can be performed in parallel or independently of each other.

[0152] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for switching data backhaul links at a data acquisition terminal, characterized in that, The method, applied to at least one acquisition end installed on a coal mine excavation device, includes: Acquire the real-time backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center; When the real-time data backhaul link is in a broken state, the first data that needs to be backed by the first target data real-time backhaul link that has broken is obtained; the first data is stored in the first storage area corresponding to the first target data real-time backhaul link; and the storage status of the first storage area is obtained. Switch the real-time backhaul link of the first target data to the real-time backhaul link of the second target data; The first data is transmitted to a remote data center via the real-time backhaul link of the second target data. This includes acquiring the real-time data transmission link status of at least two backhaul links between the acquisition terminal and the remote data center, including: The first real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center is obtained; the first backhaul link uses a first wireless communication protocol to transmit data. The system acquires the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center; the second backhaul link uses a second wireless communication protocol to transmit data. The system acquires the real-time status of the third data backhaul link between the acquisition terminal and the remote data center; the third backhaul link uses a third wireless communication protocol to transmit data; the first wireless communication protocol, the second wireless communication protocol, and the third wireless communication protocol are different. This includes obtaining the real-time data transmission link status of the first backhaul link between the acquisition terminal and the remote data center, including: Acquire the wireless remote control release message, signal strength, and signal-to-noise ratio of the first backhaul link between the acquisition terminal and the remote data center; The status of the first real-time data backhaul link of the first backhaul link is determined based on at least one of the wireless remote control release message, signal strength, and signal-to-noise ratio. From the acquired wireless remote control release message, signal strength, and signal-to-noise ratio, extract the average signal strength and average signal-to-noise ratio within 1 minute, and obtain the 5-minute transmission success rate based on the wireless remote control release message; The real-time data return link status is determined based on the average signal strength, average signal-to-noise ratio, and transmission success rate using the following formula: S = α × R + β × N + γ × M Where S is the status score of the first data real-time feedback link, R is the mean signal strength, N is the mean signal-to-noise ratio, M is the transmission success rate, α is the weight of the mean signal strength, β is the weight of the mean signal-to-noise ratio, and γ is the weight of the transmission success rate. The process of obtaining the weights α, β, and γ is as follows: Calculate the information entropy of the j-th weight: ,in , , Let be the j-th weight value of the i-th sample, and n be the number of samples; Calculate the j-th weight value , thus obtaining α= , β= , γ= ; Switching the real-time backhaul link of the first target data to the real-time backhaul link of the second target data includes: When the storage status indicates that the amount of data in the first storage area exceeds a preset threshold, the real-time backhaul link of the first target data is switched to the real-time backhaul link of the second target data.

2. The data backhaul link switching method at the acquisition end according to claim 1, characterized in that, Switching the real-time backhaul link of the first target data to the real-time backhaul link of the second target data includes: Obtain the switching priority of at least two backhaul links; According to the switching priority of the at least two backhaul links, the first target data real-time backhaul link is switched to the second target data real-time backhaul link.

3. The data backhaul link switching method at the acquisition end according to claim 2, characterized in that, Also includes: When the real-time backhaul link of the first target data that was interrupted is restored, the system switches to the real-time backhaul link of the first target data to transmit the backhaul data.

4. A data acquisition terminal, characterized in that, The acquisition terminal, installed on coal mine excavation equipment, includes: The acquisition module is used to acquire the real-time data backhaul link status of at least two backhaul links between the acquisition terminal and the remote data center; when the real-time data backhaul link status is broken, acquire the first data that needs to be backhauled by the first target data real-time backhaul link that has broken; store the first data in the first storage area corresponding to the first target data real-time backhaul link; and acquire the storage status of the first storage area. The transmission module is used to switch the first target data real-time backhaul link to the second target data real-time backhaul link; and to transmit the first data to a remote data center through the second target data real-time backhaul link. This includes acquiring the real-time data transmission link status of at least two backhaul links between the acquisition terminal and the remote data center, including: The first real-time data backhaul link status of the first backhaul link between the acquisition terminal and the remote data center is obtained; the first backhaul link uses a first wireless communication protocol to transmit data. The system acquires the real-time data backhaul link status of the second backhaul link between the acquisition terminal and the remote data center; the second backhaul link uses a second wireless communication protocol to transmit data. The system acquires the real-time status of the third data backhaul link between the acquisition terminal and the remote data center; the third backhaul link uses a third wireless communication protocol to transmit data; the first wireless communication protocol, the second wireless communication protocol, and the third wireless communication protocol are different. This includes obtaining the real-time data transmission link status of the first backhaul link between the acquisition terminal and the remote data center, including: Acquire the wireless remote control release message, signal strength, and signal-to-noise ratio of the first backhaul link between the acquisition terminal and the remote data center; The status of the first real-time data backhaul link of the first backhaul link is determined based on at least one of the wireless remote control release message, signal strength, and signal-to-noise ratio. From the acquired wireless remote control release message, signal strength, and signal-to-noise ratio, extract the average signal strength and average signal-to-noise ratio within 1 minute, and obtain the 5-minute transmission success rate based on the wireless remote control release message; The real-time data return link status is determined based on the average signal strength, average signal-to-noise ratio, and transmission success rate using the following formula: S = α × R + β × N + γ × M Where S is the status score of the first data real-time feedback link, R is the mean signal strength, N is the mean signal-to-noise ratio, M is the transmission success rate, α is the weight of the mean signal strength, β is the weight of the mean signal-to-noise ratio, and γ is the weight of the transmission success rate. The process of obtaining the weights α, β, and γ is as follows: Calculate the information entropy of the j-th weight: ,in , , Let be the j-th weight value of the i-th sample, and n be the number of samples; Calculate the j-th weight value , thus obtaining α= , β= , γ= ; Switching the real-time backhaul link of the first target data to the real-time backhaul link of the second target data includes: When the storage status indicates that the amount of data in the first storage area exceeds a preset threshold, the real-time backhaul link of the first target data is switched to the real-time backhaul link of the second target data.

5. A computing device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that, when executed by a processor, implements the method as described in any one of claims 1 to 3.