Mining wireless communication safety monitoring method and system based on deep learning
Through deep learning-based beacon signal monitoring and dynamic communication parameter adjustment in the mine environment, the signal attenuation and safety hazard problems of the mine wireless communication system were solved, and efficient and stable communication links and data upload were achieved.
Patent Information
- Application Number
- CN202511114590.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2025-10-17
AI Technical Summary
Wireless communication systems in mine environments face rapid signal attenuation, severe multipath effects, and frequent communication blind spots, which lead to degraded or interrupted communication link quality. In addition, there are insufficient security mechanisms and communication security risks.
Using a deep learning-based method, through beacon signal monitoring, two-way authentication and key negotiation, it dynamically adjusts communication parameters, establishes a secure wireless communication link, and uploads operation data in real time.
It improves the connection success rate, link stability and security of mine wireless communication, reduces the data packet loss rate, and ensures the security and real-time performance of data upload.
Smart Images

Figure CN120812562A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of mine wireless communication safety monitoring methods, and particularly relates to a mine wireless communication safety monitoring method and system based on deep learning. BACKGROUND
[0002] The wireless communication system in the mine environment often faces problems such as fast signal attenuation, serious multipath effect and frequent communication blind area due to the complex underground space structure, variable geological conditions and the existence of various metal equipment, which not only affects the real-time performance and reliability of key businesses such as underground production scheduling, environmental monitoring and safety warning, but also causes information transmission delay or even interruption in emergency situations, increasing the safety risk. The existing mine wireless communication safety monitoring method mostly relies on the signal coverage of fixed base stations and simple power adjustment strategies, lacks comprehensive judgment ability for the position change trend, moving direction and dynamic change of signal quality of terminal equipment, and thus cannot adjust the communication parameters in advance when the equipment approaches the blind area or moves away from the base station, which easily causes the link quality to decrease or even the communication to be interrupted. In addition, the traditional method has a relatively single safety mechanism when establishing a wireless communication link, and the authentication method and key negotiation strategy are not enough to cope with malicious interference and illegal access in the high-risk environment of the mine, which has a communication security risk. SUMMARY
[0003] Therefore, it is necessary to provide a mine wireless communication safety monitoring method and system based on deep learning to solve at least one of the above technical problems.
[0004] To achieve the above-mentioned purpose, a mine wireless communication safety monitoring method based on deep learning comprises the following steps: Step S1: starting a target wireless terminal equipment in a mine environment, adjusting the wireless terminal equipment to a preset working frequency band, and scanning a communication signal to monitor a beacon signal of an underground communication base station; Step S2: when the beacon signal of the communication base station is determined, initiating a handshake verification request based on a communication protocol, performing bidirectional identity authentication and key negotiation, and after completion of confirmation, establishing a wireless communication link and adding the wireless terminal equipment to an underground wireless communication network; Step S3: acquiring a position state of the wireless terminal equipment in real time and dynamically adjusting communication parameters of the wireless terminal equipment; Step S4: when the wireless terminal equipment detects that the current communication parameters are in a safe and stable state, uploading operation data collected by the terminal equipment to a ground control center through a wireless link.
[0005] The present application also provides a mine wireless communication safety monitoring system based on deep learning for executing the mine wireless communication safety monitoring method based on deep learning as described above, which comprises: a beacon signal monitoring module, configured to start a target wireless terminal device in a mine environment, adjust the wireless terminal device to a preset working frequency band, scan a communication signal, and monitor a beacon signal of an underground communication base station; a wireless communication link establishment module, configured to, when the beacon signal of the communication base station is determined, initiate a handshake verification request based on a communication protocol, perform bidirectional identity verification and key negotiation, establish a wireless communication link after completion of the verification, and add the wireless terminal device to an underground wireless communication network; a communication parameter adjustment module, configured to acquire a position state of the wireless terminal device in real time and dynamically adjust a communication parameter of the wireless terminal device; a running data uploading module, configured to, when the wireless terminal device detects that a current communication parameter is in a safe and stable state, upload running data collected by the terminal device to a ground control center through a wireless link.
[0006] The application further provides a mine-used wireless communication safety monitoring system based on deep learning, configured to execute the mine-used wireless communication safety monitoring method based on deep learning. a beacon signal monitoring module, configured to start a target wireless terminal device in a mine environment, adjust the wireless terminal device to a preset working frequency band, scan a communication signal, and monitor a beacon signal of an underground communication base station; a wireless communication link establishment module, configured to, when the beacon signal of the communication base station is determined, initiate a handshake verification request based on a communication protocol, perform bidirectional identity verification and key negotiation, establish a wireless communication link after completion of the verification, and add the wireless terminal device to an underground wireless communication network; a communication parameter adjustment module, configured to acquire a position state of the wireless terminal device in real time and dynamically adjust a communication parameter of the wireless terminal device; a running data uploading module, configured to, when the wireless terminal device detects that a current communication parameter is in a safe and stable state, upload running data collected by the terminal device to a ground control center through a wireless link.
[0007] The application has the following beneficial effects: (1) The target wireless terminal device is started in the mine environment and adjusted to the preset working frequency band, the communication signal is scanned, and the beacon signal of the underground communication base station is monitored, so that the ability of quickly establishing base station signal identification in a complex underground space is realized, the preparation time of terminal device access to the network is effectively shortened, the blindness of frequency band search is reduced, and the success rate of initial connection is improved. (2) After determining the communication base station beacon signal, a handshake verification request is initiated based on the communication protocol, and bidirectional identity verification and key negotiation are performed, which not only ensures that the link establishment process between the terminal and the base station has high security, but also effectively prevents illegal device access and malicious man-in-the-middle attacks, thereby improving the security and anti-interference ability of the downhole wireless communication link from the source; (3) By acquiring the position state of the wireless terminal device in real time and dynamically adjusting the communication parameters, the system can adaptively adjust the parameters according to the real-time changes of the relative position, moving direction and channel quality of the device, thereby significantly improving the stability of the downhole communication link and reducing the link interruption probability caused by channel attenuation, multipath interference or device movement; (4) When the communication parameters are in a safe and stable state, the running data collected by the terminal is uploaded to the ground control center through the wireless link, which not only ensures the security and integrity of data upload, but also avoids data transmission under unstable link or signal attenuation conditions, thereby reducing the data packet loss rate and retransmission rate, improving the real-time and reliability of downhole production operation data, and providing accurate data support for ground monitoring and decision-making. BRIEF DESCRIPTION OF DRAWINGS
[0008] Fig. 1 Figure 1 is a schematic diagram of the steps of a mine wireless communication safety monitoring method based on deep learning; Fig. 2 Figure 2 is a schematic diagram of a mine wireless communication safety monitoring system based on deep learning; Fig. 3 Figure 3 is a schematic diagram of mine wireless communication connection; The implementation of the object, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0009] The technical method of the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present application.
[0010] In addition, the accompanying drawings are only schematic diagrams of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and therefore repeated description thereof will be omitted. Some block diagrams shown in the drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different network and / or processor methods and / or microcontroller methods.
[0011] It should be understood that, although the terms "first", "second" or the like can be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element without departing from the scope of the example embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0012] To achieve the above object, please refer to Figs. 1 to 3 The application discloses a mine wireless communication security monitoring method based on deep learning, which comprises the following steps: Step S1: starting a target wireless terminal device in a mine environment, adjusting the wireless terminal device to a preset working frequency band, and scanning a communication signal to monitor a beacon signal of an underground communication base station; Step S2: when the beacon signal of the communication base station is determined, initiating a handshake verification request based on a communication protocol, performing bidirectional identity authentication and key negotiation, and after completion of confirmation, establishing a wireless communication link and adding the wireless terminal device to an underground wireless communication network; Step S3: acquiring a position state of the wireless terminal device in real time and dynamically adjusting communication parameters of the wireless terminal device; Step S4: when the wireless terminal device detects that the current communication parameters are in a safe and stable state, uploading operation data collected by the terminal device to a ground control center through a wireless link.
[0013] In the embodiment, a target wireless terminal device with a mine safety authentication module installed is prepared at a mine operation site, and the integrity of a power supply, an antenna and an explosion-proof shell of the target wireless terminal device is checked; the wireless terminal device is started through a control interface to enter a working mode. The wireless terminal device is adjusted to a preset working frequency band through a device menu or a remote management platform, and the working frequency band is determined according to mine wireless communication network planning, for example, a 400 MHz, 2.4 GHz or 5.8 GHz frequency band. After the adjustment is completed, a signal scanning function of the terminal device is started, and a communication frequency spectrum of a current area is continuously scanned to detect a beacon signal transmitted by an underground communication base station. During the signal scanning process, the terminal device calls a fast scanning instruction of a built-in radio frequency module, and a signal strength list is updated at a fixed time interval (for example, 200 ms), and a beacon signal meeting a communication protocol is selected through an algorithm and marked with a frequency point and strength.
[0014] In another embodiment, when a terminal device determines that it has received a standard beacon signal from a communication base station, it calls the communication protocol stack to initiate a handshake verification request; a handshake data packet containing the device's unique identification code (UID) and security authentication parameters is sent to the target base station, and the base station returns a challenge code; the terminal device uses the private key stored in the local security chip to encrypt the challenge code, generate a response, and transmit it back to the base station; after verifying that the response is correct, the base station sends a random key seed to the terminal device; the terminal device and the base station execute a key negotiation algorithm (such as Diffie-Hellman or ECC negotiation) based on the key seed to generate a session key. After the handshake and key negotiation are completed and the communication encryption algorithm (such as AES-256) is confirmed to be enabled, the terminal device establishes a secure wireless communication link with the base station and adds itself to the list of registered devices in the mine wireless communication network.
[0015] In another embodiment, after a communication link is established, the wireless terminal device activates a location monitoring module. This module uses a mine positioning system (such as UWB positioning, Bluetooth AoA, or inertial navigation) to obtain the terminal's position coordinates in real time within the tunnel, working face, or refuge chamber, and generates position status data. This location data includes the current position coordinates, movement speed, movement direction, and azimuth relative to the base station. Based on the location status, the terminal device dynamically adjusts communication parameters, including transmit power, modulation mode, channel selection, and antenna directivity, to optimize the signal quality and stability of the current wireless link. For example, when the distance from the base station is detected to be increasing and the signal attenuation exceeds a preset threshold (such as -80dBm), the module automatically increases the transmit power and switches to a lower modulation rate to improve link reliability.
[0016] In another embodiment, when the wireless terminal device detects that the current communication parameters are in a safe and stable state (such as signal strength higher than -70dBm, bit error rate lower than 10⁻ 5 If the link packet loss rate is less than 1%, the data transmission module is activated to package and process the collected operational data. This operational data includes the real-time location of the terminal device, operator status parameters (such as heart rate, body temperature, and posture), equipment operation logs, and environmental monitoring information (such as gas concentration, temperature and humidity, and dust concentration). The data packets are locally encrypted and sent to the receiving server at the ground control center via the established wireless link. To ensure data integrity, the terminal device uses a cyclic redundancy check (CRC) for error detection during transmission and automatically retransmits if packet loss is detected until the data is fully delivered to the ground control center.
[0017] Preferably, step S1 includes the following steps: Step S11: placing the wireless terminal device in the mine operating environment, activating the communication control module of the terminal device, starting the radio frequency circuit and power supply system, and initializing the local parameter configuration file; Step S12: Control the wireless terminal device to enter the set working frequency band, and tune the transmitting frequency and receiving frequency of the terminal radio frequency module according to the frequency planning of the mine wireless communication system; Step S13: Start the channel scanning program, poll and listen to the communication channels in the preset frequency band, and detect the list of available channels existing in each channel; Step S14: After identifying the beacon signal of the communication base station in the list of available channels, perform beacon information analysis and base station confirmation.
[0018] In an embodiment, the wireless terminal device is transported to the designated working area inside the mine, and the terminal device is powered through the explosion-proof power supply interface; the sealing state and protection level of the terminal device are checked to ensure that it can stably operate in the high-humidity, high-dust and high-noise underground environment. Before starting the communication control module, the local parameter configuration file of the terminal device needs to be initialized, including the device number, radio frequency module hardware parameters, protocol stack version information and preset security authentication parameters. The parameter download and writing can be completed through the wired debugging interface or the Bluetooth short-range configuration tool during the initialization process.
[0019] It should be noted that according to the frequency planning of the mine wireless communication system, the transmitting frequency and receiving frequency of the radio frequency module of the wireless terminal device are tuned to the corresponding uplink and downlink working frequency points, respectively. Under normal circumstances, the working frequency band of the mine wireless communication system is located in the 400-470MHz or 2.4GHz industrial frequency band, and different frequency bands need to be selected and configured according to the radio frequency environment of the mine and the base station equipment model. During the tuning process, the transmitting power and receiving sensitivity are monitored in real time through the built-in spectrum analysis unit of the terminal device to ensure that the device operating parameters are completely matched with the system planning.
[0020] In another embodiment, after starting the channel scanning program, the terminal device will enter the listening mode according to the preset channel table one by one, and stay in each channel for a specific time window (e.g. 50-200ms) to capture the existing base station beacon signal. During the channel scanning process, the device needs to record the signal strength indicator (RSSI), signal-to-noise ratio (SNR) and frame error rate (FER) of each channel, and generate a list of available channels based on these parameters. To improve the scanning efficiency, a multi-threaded channel listening algorithm can be used to realize the parallel work of the radio frequency front-end and the signal processing unit.
[0021] In one implementation of the embodiment, after the list of available channels is generated, the terminal device parses the beacon frame content in each channel to extract the base station identification code (BSID), system synchronization information, and network access parameters. Based on the parsing results, the identification information of the candidate base station is compared with the access whitelist of the terminal device to confirm the identity of the target base station. To ensure the accuracy of identification in the complex electromagnetic environment of the mine, error correction codes (such as BCH or LDPC) can be used to decode and correct errors in the beacon frame during the parsing process.
[0022] In another implementation of the embodiment, to deal with the radio frequency interference existing in the mine operation environment, the terminal device introduces an adaptive scanning strategy, that is, when the channel quality is lower than the preset threshold, the terminal device automatically skips the channel and preferentially processes the channel with higher signal quality to shorten the overall access delay. At the same time, a redundancy verification mechanism is introduced in the base station confirmation process, for example, after confirming the identity of the base station for the first time, the terminal device listens to the beacon signal of the same channel in different time windows again to ensure the stability and uniqueness of the accessed base station.
[0023] Preferably, step S13 comprises the following steps: Step S131: activating and starting the channel scanning program module in the wireless terminal device, switching the working mode of the communication module to a passive listening state, and loading the channel configuration table; Step S132: based on the loaded channel configuration table, polling and listening to each communication channel according to the preset scanning period, setting the listening time of each channel to 20-30s, and recording the received wireless signal data during the listening period; Step S133: performing preliminary demodulation and filtering processing on the received signal data to extract the signal strength parameters of each channel; Step S134: evaluating and sorting the quality of each communication channel according to the signal strength parameters to form a list of available channels.
[0024] In one embodiment, the channel scanning program runs on the wireless terminal device, switches the radio frequency front end to the passive listening mode, enables the low noise amplifier (LNA) and sets the initial value of the automatic gain control (AGC); reads the channel configuration table from the local storage or remotely issued configuration, which indicates the frequency band to be scanned, channel spacing, priority, and initial threshold parameters; the scanning program enters the ready state and clears the temporary buffer area to prepare for receiving sample data. According to the channel configuration table, switch to each channel in turn and listen to it with a preset scanning period, preferably 20-30s per channel (which can be dynamically adjusted according to the on-site moving speed); during the listening period, collect the instantaneous RSSI, noise baseline, and received frame samples at fixed sampling intervals (e.g. 100-500ms), and write the samples into the circular buffer area; record the metadata such as time stamp, channel number, and antenna direction (if there is a mechanical pointing) during the listening process.
[0025] The original received samples in the buffer are pre-bandpass / lowpass filtered to suppress adjacent channel interference and high frequency noise, and automatic gain adjustment is performed to stabilize the demodulation level; the sampled data is preliminarily demodulated (for example, carrier extraction, frame synchronization and frame header identification) according to the target protocol, and key quality parameters of each channel are counted and extracted, including at least: RSSI average value, instantaneous peak value, estimated signal-to-noise ratio (SNR), link frame error rate (FER) or bit error rate (BER) estimation, and link quality indicator (LQI), etc. The extracted quality parameters are scored according to pre-set weights (for example, the weights can be RSSI: 40%, SNR: 30%, FER: 20%, LQI: 10%), and a channel quality score is generated. All candidate channels are sorted according to the channel quality score, and the channels with a score higher than a threshold (for example, quality score ≥ 0.6 or RSSI ≥ -85dBm) and a bit error rate lower than an upper limit are selected to form an "available channel list"; the list is written into a local persistent log together with the latest measurement values of each channel, a stability counter and a timestamp for subsequent selection and backtracking.
[0026] In an embodiment, the listening time can be automatically adjusted according to the terminal moving speed: when it is detected that the terminal moving speed exceeds a pre-set value (for example, >1.5m / s), the listening time per channel is shortened to speed up the scanning period; when the terminal is stationary or moving at a low speed, the listening time is lengthened to improve the determination accuracy.
[0027] In another embodiment, two radio frequency links can be used in parallel to achieve fast scanning: one link maintains the current communication channel, and the other link performs background scanning, thereby reducing the impact on the ongoing connection.
[0028] It should be noted that: if there are consecutive N times (for example, 3 times) of demodulation failure or CRC error rate exceeding the threshold value in the deep listening stage, the channel is temporarily marked as "unavailable" and its priority is reduced for T minutes; if the available channel list is empty or all below the safety threshold, the terminal should trigger the fallback strategy, including expanding the frequency band search, reducing the uplink transmission rate, or sending an alarm message to the ground control center.
[0029] Preferably, step S14 comprises the following steps: Step S141: receiving the beacon frame data of the available channel list; Step S142: extracting the identification field of the beacon frame data; Step S143: performing field decoding operation on the identification field to generate the communication base station identification ID in the channel list; Step S144: matching and comparing the parsed communication base station identification ID with the pre-set base station information table of the terminal, and if the matching is successful, confirming that the base station is an accessible base station and confirming the target base station identity.
[0030] In an embodiment, in the wireless terminal device, the list of available channels generated in the previous step S13 is used as input to sequentially switch the radio frequency front end to the reception mode of each available channel; the beacon frame capture function (BeaconCaptureMode) is turned on, and the capture window length (e.g. 100-500 ms) is set, within which the beacon frame data periodically broadcast on the target channel is received. To reduce false captures, a matching filter condition (such as a specific preamble or frame control field) can be set before reception to filter out legitimate frames. The received beacon frame is subjected to protocol parsing to locate and read its identification field (such as the BSSID field in the IEEE 802.11 protocol, or the base station unique identification segment in a custom protocol); the length and encoding format of the identification field are determined by the communication protocol standard or the field system design, for example, it can be a 6-byte MAC address, an 8-byte device ID, or a 16-byte UUID; the frame structure integrity needs to be verified (CRC check or FCS check) during parsing, and if the verification fails, the frame is discarded.
[0031] The field decoding operation is performed on the identification field, and if plaintext encoding is used, it can be directly read and converted into a standard display format (such as a hexadecimal MAC string); if encryption or compression encoding is used, the corresponding decoding algorithm module needs to be loaded first, such as AES decryption, Base58 decoding, or error control code (such as Reed-Solomon) error correction; after decoding, the communication base station identification ID is generated and stored in the temporary base station ID list; in an embodiment, if the identification field contains version number or frequency band information, this metadata can be extracted at the same time to assist in subsequent base station selection. The parsed base station identification ID is matched and compared one by one with the pre-set base station information table stored in the terminal; the base station information table records the base station IDs allowed to access and their attribute information (including location, service type, security level, etc.); if the match is successful, the base station is confirmed as an accessible base station, and it is marked as the target base station; at the same time, its channel number, signal strength, and timestamp are recorded as reference for subsequent link establishment; if the match fails, the base station ID is added to the temporary blacklist to avoid repeated attempts to access within the current scanning period.
[0032] In another embodiment, when the terminal receives multiple accessible base stations, it can automatically select the best base station as the target base station according to the signal quality score (such as RSSI+SNR weighting), or select a base station of a specific security level or service type for access according to a pre-set priority strategy.
[0033] Preferably, step S2 comprises the following steps: Step S21: when the beacon signal of the communication base station is determined, the communication protocol stack is loaded by the wireless terminal device, and an access request frame is initiated to the target base station; Step S22: receiving the authentication response frame sent by the target base station, verifying the information in the authentication response frame, and if the verification is passed, entering a key agreement process; Step S23: establishing a shared key through the key agreement process; Step S24: sending a link confirmation frame to the target base station based on the wireless terminal device, receiving the permission parameters sent by the target base station, constructing a wireless communication link, and joining the underground wireless communication network.
[0034] In an embodiment, when the wireless terminal device confirms the beacon signal of the target base station through the pre-scanning, a corresponding communication protocol stack (such as IEEE802.11, LoRa or a custom mine protocol) is loaded, the parameters of the radio frequency module are initialized, and an access request frame is sent on a set channel and frequency point; the access request frame contains terminal ID, supported encryption algorithm and random number seed and other information, which are used for subsequent authentication and key exchange. The authentication response frame returned by the target base station is received, and the authentication challenge code, base station identity and security parameters therein are parsed; a built-in verification module of the terminal is called to calculate and compare the challenge code, and it is verified whether the base station identity is consistent with the preset whitelist; if the verification fails, the process is aborted, and if the verification is passed, the key agreement is entered. A preset key agreement algorithm (such as ECDH elliptic curve key exchange or symmetric key derivation algorithm) is used to generate a session shared key; random numbers and session parameters are used in the agreement process to ensure the uniqueness and anti-replay of the key; after the agreement is completed, the shared key is stored at both ends of the terminal and the base station, and an encryption context is established. The wireless terminal uses the shared key to encrypt and send a link confirmation frame to the target base station; the target base station returns the permission parameters (including the allocated network address, channel occupation right, transmission power limit, etc.) after verification; the terminal configures the communication module accordingly and completes the link initialization, formally joins the underground wireless communication network, and realizes the secure data interaction.
[0035] Preferably, step S21 includes the following steps: Step S211: when the beacon signal of the communication base station is determined, a preset start instruction is called based on the embedded processor of the wireless terminal device, a corresponding communication protocol stack module is loaded, and a communication protocol processing thread is activated; Step S212: initializing the current communication state; Step S213: constructing an access request frame according to the communication protocol processing thread; Step S214: starting the radio frequency module of the wireless terminal device, sending the access request frame on the current communication channel, and starting a response timer.
[0036] In an embodiment, upon detecting the target base station beacon, the embedded processor invokes the preset start instruction, loads the corresponding communication protocol stack module and activates the protocol processing thread; at the same time, the thread is allocated a running buffer and priority (e.g. higher than the background log thread), and the local security certificate / UID is checked for readiness; if the certificate or UID is missing, an error is recorded and a retry or maintenance mode is entered. After the protocol thread is ready, the sending / receiving buffer is emptied, the frame counter and sequence number are reset, and the link state flag is set to access attempt; the random access delay value (0-200 ms random) is initialized to avoid collision, the initial transmission power (e.g. default 8-12 dBm, which can be adjusted according to device specifications), the receive gain and the initial value of the response timer (recommended 500-1000 ms) are set; the maximum number of retries is set to N (e.g. 3 times), and the access attempt information is written to the local temporary log. The access request frame is constructed according to the protocol format, which at least contains: device unique identifier (UID), timestamp, supported encryption / authentication suite list, device capability field (such as maximum transmission power, antenna mode), random number seed or one-time challenge code digest; the sensitive field is generated with a digest (such as message digest or MAC) and an integrity check field is attached, and the constructed frame is placed in the priority position of the sending queue. The radio frequency front end is tuned to the channel frequency point corresponding to the target base station beacon, the modulation mode and transmission power are set, and the access request frame is taken out from the sending queue for transmission; after transmission, the response reception timer is started (initial value consistent with step S212), and before the timer expires, the downlink listening state is entered to receive the base station response; if no legal response is received within the response window, the preset backoff strategy is retried (e.g. exponential backoff: delay is doubled and sent again, up to N times), and after the retry fails, the failure reason is recorded and the alternative strategy is triggered (such as switching to the next available channel or reporting to the ground control center).
[0037] Preferably, step S22 comprises the following steps: Step S221: control the communication protocol stack of the wireless terminal to enter an authentication response listening mode, and start a response reception window, continuously listening to the downlink data on the target communication channel; Step S222: when detecting the authentication response frame issued by the target base station, extract the authentication field therefrom and cache it in the local cache module; Step S223: perform a calculation check on the authentication field of the authentication response frame; Step S224: if the check passes, return a verification pass flag to the communication control module and enter the key agreement process; if the verification fails, record the failure status and retry the access process or switch to an available base station.
[0038] In an embodiment, after the wireless terminal completes the transmission of the access request frame, the control communication protocol stack is switched to an authentication response listening mode, and a response receiving window is started, which can be set to 500-1000 ms according to the mine wireless communication protocol specification to cover the range of base station response delay fluctuations. During this period, the radio frequency module continues to be locked on the target communication channel frequency point, and the downlink data frame is demodulated and cached in real time. When the authentication response frame issued by the target base station is detected, the protocol stack parser extracts the authentication field (such as the message digest, challenge code response value, etc.) therefrom and temporarily stores it in the local cache module to ensure the real-time nature of the subsequent verification process. Subsequently, the local authentication algorithm module (for example, based on HMAC-SHA256 or ECC signature verification) is called to calculate and verify the authentication field, and during the verification process, whether the expected value generated by the base station public key or the pre-shared key is consistent with the received value is compared. If the verification is passed, the protocol stack returns a "verification passed" flag to the communication control module, and the system immediately switches to the key negotiation process; if the verification fails, the failure reason (such as authentication field error, timeout, frame integrity anomaly, etc.) is recorded in the log module, and the access process is retried or switched to a standby base station according to the available channel list to perform re-access.
[0039] In another embodiment, in order to improve the anti-interference ability of the authentication response processing, the wireless terminal dynamically adjusts the receiver gain and noise threshold before entering the authentication response listening mode to adapt to the complex electromagnetic environment in the mine and ensure the analyzability of weak signal authentication response frames. During the response receiving window, the terminal not only listens to the downlink authentication response frame, but also performs fingerprint comparison on the fake response frame to filter out illegal data of non-target base stations. When the authentication response frame is detected, the terminal extracts not only the authentication field but also the base station ID in the frame header for secondary matching with the local access target to prevent man-in-the-middle attacks. The calculation and verification of the authentication field can be performed by the security chip built in the terminal, and the key stored in the security chip is not leaked, thereby improving the security level of the authentication. If the verification is successful, a "verification passed" flag is immediately returned to the communication control module, and the key negotiation phase is entered; if the verification fails, the terminal not only records the failure log but also marks the base station ID as temporarily unavailable, and does not attempt to access within a set cooling time (such as 30 seconds), thereby improving the overall access efficiency and reducing the resource consumption caused by repeated authentication failures.
[0040] Especially important is that step S223 includes the following steps: Step S2231: calling an encryption operation module by a security processing unit (SPU) in the wireless terminal device; Step S2232: performing encryption or decryption processing on the received authentication field and the locally stored session key to obtain a verification value; Step S2233: Compare the check value with the pre-stored reference check value bit by bit; Step S2234: If the comparison result is consistent, determine that the authentication field is legal and complete. Step S2235: If the comparison result is inconsistent, determine that the authentication field is abnormal, and return a verification failure state to the upper layer communication control module.
[0041] In an embodiment, the security processing unit (SPU) of the wireless terminal device is pre-integrated in a separate security chip of the mainboard, which has a separate operation processing core and a secure storage area. The encryption operation module can be embedded into the SPU by firmware, and supports multiple encryption algorithms such as AES, RSA, and SHA. In the system initialization phase, the SPU performs integrity verification on the encryption module to ensure that the module has not been tampered with or replaced. When the encryption operation module is called, the main control processor (AP) sends instructions to the SPU through a secure bus (such as or ), so as to avoid interception of data on the bus.
[0042] It should be noted that the session key is generated by a key agreement protocol (such as ECDH) when establishing a secure connection, and is stored in a secure storage area inside the SPU. The storage area has anti-debugging and anti-reading functions, and external applications cannot directly access it. When the step is executed, the SPU loads the authentication field into an internal buffer, and performs encryption or decryption operation according to the specified algorithm (for example, AES-128-CBC mode) combined with the session key. The operation result is directly output to an internal register to obtain the check value.
[0043] In another embodiment, the reference check value can be generated after the last handshake verification is successful, and is also stored in the secure storage area of the SPU. When the step is executed, the SPU compares the check value generated in real time with the reference check value bit by bit. The comparison is implemented by using a hardware logic operation unit, which ensures fast comparison speed and prevents interception of data in the middle. During the comparison process, the SPU will also calculate an error count value. If the number of comparison failures exceeds a preset threshold (for example, 3 times), the SPU will trigger a security locking mechanism to prevent subsequent authentication requests.
[0044] In one implementation manner of the embodiment, when the comparison result of the step is consistent, the SPU sends a verification success flag to the upper layer communication control module through a secure interrupt signal. The upper layer module then enters the secure data transmission phase, and can refresh the session key according to the strategy to improve security.
[0045] In another implementation of the embodiment, when the step comparison fails, the SPU immediately clears the authentication field and the intermediate operation data in the buffer, and returns a "verification failure" status code (e.g., 0xE1) to the communication control module through the secure event channel. After receiving the status code, the communication control module can trigger an alarm mechanism, record a log, and interrupt the current session, thereby preventing potential man-in-the-middle attacks or replay attacks.
[0046] It should be noted that, in order to improve the security of the overall system, the encryption operation module inside the SPU should support side-channel attack resistant design, including randomizing operation timing, masking operation, etc., to prevent attackers from inferring the session key through power analysis or electromagnetic leakage. At the same time, all instructions and data transmitted to the SPU need to be verified by a message authentication code (MAC) to prevent instruction injection or data tampering.
[0047] Especially important is that step S23 includes the following steps: Step S231: using the key management module of the wireless terminal device to automatically generate a random factor for the session based on a preset security negotiation protocol; Step S232: sending the random factor to the target base station through an encrypted channel, and receiving a negotiation response message returned by the base station; Step S233: performing digital signature verification and integrity check on the negotiation response message; Step S234: generating a temporary session key using the random factor and a local private key parameter; Step S235: performing consistency comparison on the temporary session key and the negotiation response message, and if the comparison is successful, solidifying the temporary session key as the shared key for the current session.
[0048] In an embodiment, the key management module of the wireless terminal device is integrated inside a secure processing unit (SPU), and the module has an independent random number generation circuit (TRNG) that can generate high-entropy random data through a physical noise source, and generate a session random factor in combination with a preset security negotiation protocol (such as the ECDH-ECDSA combined protocol). During the random factor generation process, the key management module performs entropy source quality detection at the hardware level to eliminate random data with low entropy values or patterns, ensuring that the negotiation process is unpredictable.
[0049] In the embodiment, the encrypted channel used in step S232 can be a secure link established based on the TLS1.3 protocol. Before the channel is established, the terminal and the target base station complete bidirectional certificate verification to prevent man-in-the-middle attacks by fake base stations. The key management module packages the random factor into a negotiation request message and attaches a message authentication code (MAC), and sends it to the target base station through the encrypted channel, while listening to the negotiation response message returned by the base station.
[0050] In another embodiment, the digital signature verification of step S233 is implemented by a hardware acceleration unit built-in the wireless terminal device, supporting the ECDSA algorithm based on the elliptic curve P-256. The specific steps are as follows: the signature field is extracted from the received negotiation response message, the signature field includes 64 bytes of data, the first 32 bytes are r value, and the last 32 bytes are s value. The hash value is calculated by using the SHA-256 algorithm on the negotiation response message data except the signature field, and a 32-byte digest value is obtained. The hardware acceleration unit is called to perform ECDSA verification by using the pre-stored base station public key (elliptic curve point, example value: , ). The hardware acceleration unit calculates the hash value corresponding to the signature based on the ECDSA algorithm, and compares it with the hash digest calculated in step 2. If they are consistent, it is determined that the digital signature is legal. If the comparison fails, it is determined that the signature is illegal, and the message is discarded. This method uses the hardware acceleration unit to implement the ECDSA signature verification, which can complete the verification operation in milliseconds, and the integrity check based on SHA-256 ensures the data integrity and authenticity of the negotiation response message in the transmission process.
[0051] In an embodiment, the temporary session key generation process is performed by a key derivation function (KDF) inside the key management module. The function takes the random factor and the local private key parameter as input, combines the base station public key contained in the negotiation response message, calculates the shared key seed according to the ECDH algorithm, and then generates a fixed-length temporary session key through HKDF (HMAC-based Key Derivation Function). The entire calculation process is completed inside the SPU, and the intermediate data cannot be directly accessed by external systems, preventing key leakage.
[0052] In another embodiment, the consistency comparison of step S235 is completed by a hardware logic comparison unit. The comparison process matches the temporary session key with the session key digest in the negotiation response message bit by bit, and if the matching is successful, the key solidification operation is triggered, and the temporary session key is written into the SPU secure storage area as the shared key of the current session; if the matching fails, the temporary session key is immediately cleared and an exception event log is recorded, and a key negotiation failure status code (such as 0xE2) is returned to the upper layer communication control module, which can choose to re-initiate negotiation or terminate the connection.
[0053] Preferably, step S3 comprises the following steps: Step S31: automatically collecting the current inertial measurement data by the wireless terminal device, and determining the moving direction of the device in the mine; Step S32: automatically collecting the current magnetic field data by the wireless terminal device, and determining the relative position of the device in the mine; Step S33: Determine the trend of the change of the device position state by combining the relative position and the moving direction; Step S34: Dynamically adjust the communication parameters of the wireless terminal device by using the trend of the change of the device position state.
[0054] In an embodiment, after the wireless terminal device completes the link establishment with the underground communication network, it periodically starts the inertial measurement unit (IMU) to collect three-axis acceleration data and three-axis angular velocity data, and performs noise suppression and smoothing processing on the original measurement data through the Kalman filtering algorithm, so as to determine the moving direction of the device (such as forward, backward, left bias, right bias, etc.). At the same time, the device synchronously starts the built-in magnetometer to collect the three-axis component values of the current environmental magnetic field, and compares them with the locally stored mine magnetic field reference model to determine the relative position area of the device in the mine. The processing module combines the relative position and the moving direction data to calculate the trend of the change of the device position state, for example, whether the device is approaching the base station or moving away from the base station. Based on the trend of the change, the communication parameter adjustment module dynamically optimizes the transmission power, the receiving sensitivity and the channel selection strategy to ensure the stability and reliability of the wireless link in the complex environment of the mine.
[0055] In another embodiment, in the position state monitoring process, the wireless terminal device adopts an event-driven sampling mode to reduce energy consumption. Specifically, the built-in acceleration sensor of the device continuously monitors the motion state, and when it detects that the acceleration change exceeds a preset threshold (such as 0.05g), it triggers the inertial measurement unit (IMU) and the magnetic field sensor to start sampling. The inertial measurement data includes three-axis acceleration and three-axis gyroscope angular velocity, and the sampling frequency is set to 50 Hz. The device calculates the attitude change angle through the direction determination module, and realizes it through the sensor fusion algorithm based on the quaternion. When the angle between the current attitude and the last attitude exceeds a threshold (for example, 2 degrees), it is determined that a significant direction change has occurred.
[0056] In the magnetic field measurement stage, the device collects three-axis magnetic field intensity data, and combines the inertial measurement data to eliminate the magnetic interference caused by the metal structure in the mine through the adaptive Kalman filtering algorithm. In the filtering process, the magnetic field measurement value is used as the observation value, combined with the current attitude and position prediction of the device to estimate and correct the magnetic deviation. The filter state transition matrix and the observation matrix are customized according to the sensor characteristics and the mine environment, and the filter noise covariance matrix is obtained through field calibration to ensure the accuracy and stability of the magnetic field data. The corrected magnetic field data and the inertial measurement data are fused to calculate the relative position change vector of the terminal relative to the base station.
[0057] Based on the time-series mobile direction and speed information, the position trend of the terminal in a short time (e.g. 1 second) in the future is estimated. The specific algorithm includes a state prediction step and an observation update step, and the state variable covers three-dimensional position and speed. The prediction result is used to dynamically adjust the wireless communication parameters: if the prediction shows that the terminal will enter a signal attenuation area, the system automatically increases the transmission power (e.g. from 100 mW to 200 mW) or switches to a backup channel; on the contrary, when the terminal is predicted to approach the center of the base station, the transmission power is reduced (e.g. to 50 mW) to save energy and reduce interference.
[0058] Preferably, step S34 includes the following steps: Step S341: According to the mobile trend of the wireless terminal device relative to the target base station, if it is judged that the device is moving away from the current base station, the transmission power level is automatically increased; Step S342: If it is judged that the device is gradually approaching the base station, the transmission power is reduced; Step S343: According to the collected communication signal quality parameters, when the signal quality drops to a set threshold, the system switches to a low-rate transmission mode; Step S344: When the communication signal quality continues to drop and the device moves towards the signal blind area, the beacon listening process of the next available base station is entered.
[0059] In an embodiment, after the wireless terminal device obtains the mobile trend relative to the target base station, if it is judged that the device is in a state of moving away from the current base station, the system will automatically increase the radio frequency transmission power level to a high power level to enhance the signal coverage range and ensure the stability of the communication link; if it is judged that the device is gradually approaching the target base station, the transmission power level will be reduced to reduce energy consumption and unnecessary co-frequency interference. At the same time, the communication control module will analyze the received signal strength indication (RSSI) and signal-to-noise ratio (SNR) and other communication quality parameters in real time, and when it is detected that the signal quality drops to a set threshold, the system will switch the data transmission mode to a low-rate mode to improve the reliability of data transmission. When the signal quality continues to drop and the position trend determines that the terminal is moving towards the signal blind area, the system will automatically trigger the beacon listening program and enter the beacon listening process of the next available base station, preparing for subsequent base station switching.
[0060] In another embodiment, when the wireless terminal device performs transmission power adjustment, it first dynamically calculates the step value of power adjustment based on the attenuation characteristics of the mine environment and the signal strength and link quality data in the historical communication record. Specifically, the difference between the current signal reception strength (e.g. RSSI) and the expected target strength is used to adjust the power by a pre-set smoothing factor to avoid large jumps in power that would cause unstable links. The step value of power adjustment is usually set to a small increase or decrease, such as 0.5 to 1 dB per adjustment, to ensure smooth and gradual power changes.
[0061] When the wireless terminal is close to the base station, in addition to reducing the transmission power, the system will also synchronously adjust the receiver gain to ensure the sensitivity and quality of signal reception, avoiding the decline of communication quality caused by the reduction of transmission power. In the signal quality monitoring stage, the device not only refers to the received signal strength indication (RSSI) and signal-to-noise ratio (SNR), but also combines the bit error rate (BER) index. When the bit error rate is detected to continuously rise and exceed the preset threshold, the system will enable the low-rate transmission mode in advance to reduce the risk of packet loss and ensure the reliable transmission of data, even when the signal strength has not triggered the switching condition.
[0062] In addition, based on the prediction of the movement trend of the wireless terminal, when the system judges that the device is about to enter the signal blind area, the beacon parameters of the adjacent base station will be preloaded in advance to realize seamless switching. This can reduce the communication interruption during switching and improve the stability of the overall network and user experience.
[0063] The application also provides a mine wireless communication safety monitoring system based on deep learning for executing the mine wireless communication safety monitoring method based on deep learning as described above, which comprises: The beacon signal monitoring module 101 is used to start the target wireless terminal device in the mine environment, adjust the wireless terminal device to the preset working frequency band, and scan the communication signal to monitor the beacon signal of the underground communication base station. The wireless communication link establishment module 102 is used to initiate a handshake verification request based on the communication protocol when the beacon signal of the communication base station is determined, perform bidirectional identity authentication and key negotiation, and establish a wireless communication link after completion of the confirmation to add the wireless terminal device to the underground wireless communication network. The communication parameter adjustment module 103 is used to real-time acquire the position state of the wireless terminal device and dynamically adjust the communication parameters of the wireless terminal device. The running data uploading module 104 is used to upload the running data collected by the terminal device to the ground control center through the wireless link when the wireless terminal device detects that the current communication parameters are in a safe and stable state.
[0064] The above is only a specific embodiment of the application, which enables those skilled in the art to understand or implement the application. Various modifications of these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A mine wireless communication safety monitoring method based on deep learning, characterized in that: The following steps are involved: Step S1: Start the target wireless terminal device in the mine environment, adjust the wireless terminal device to a preset working frequency band, scan the communication signal, and monitor the beacon signal of the underground communication base station; Step S2: When the beacon signal of the communication base station is determined, a handshake verification request is initiated based on the communication protocol, and two-way identity authentication and key negotiation are performed. After confirmation is completed, a wireless communication link is established, and the wireless terminal device is added to the underground wireless communication network; Step S3: Acquire the location status of the wireless terminal device in real time and dynamically adjust the communication parameters of the wireless terminal device; Step S4: When the wireless terminal device detects that the current communication parameters are in a safe and stable state, the operating data collected by the terminal device is uploaded to the ground control center via a wireless link.
2. The mine wireless communication safety monitoring method based on deep learning according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: placing the wireless terminal device in the mine operating environment, activating the communication control module of the terminal device, starting the radio frequency circuit and power supply system, and initializing the local parameter configuration file; Step S12: Control the wireless terminal device to enter the set working frequency band, and tune the transmitting frequency and receiving frequency of the terminal radio frequency module according to the preset frequency planning of the wireless communication system in the mine; Step S13: Start the channel scanning program, poll and monitor the communication channels in the preset frequency band, and detect the available channel list in each channel; Step S14: After identifying the beacon signal of the communication base station in the available channel list, beacon information analysis and base station confirmation are performed.
3. The mine wireless communication safety monitoring method based on deep learning according to claim 2 is characterized in that: Step S13 includes the following steps: Step S131: activating and starting a channel scanning program module in the wireless terminal device, switching the working mode of the communication module to a passive listening state, and loading a channel configuration table; Step S132: Based on the loaded channel configuration table, poll and monitor each communication channel according to a preset scanning period, set the monitoring time of each channel to 20-30 seconds, and record the wireless signal data received during the monitoring period; Step S133: performing preliminary demodulation and filtering on the received signal data to extract the signal strength parameter of each channel; Step S134: Evaluate and sort the quality of each communication channel according to the signal strength parameter to form an available channel list.
4. The mine wireless communication safety monitoring method based on deep learning according to claim 2 is characterized in that: Step S14 includes the following steps: Step S141: receiving beacon frame data of an available channel list; Step S142: extracting the identification field of the beacon frame data; Step S143: performing a field decoding operation on the identification field to generate a communication base station identification ID in the channel list; Step S144: Match and compare the parsed communication base station identification ID with the base station information table preset by the terminal. If the match is successful, the base station is confirmed to be an accessible base station and the identity of the target base station is confirmed.
5. The mine wireless communication safety monitoring method based on deep learning according to claim 1 is characterized in that: Step S2 includes the following steps: Step S21: When the beacon signal of the communication base station is determined, the communication protocol stack is loaded through the wireless terminal device, and an access request frame is initiated to the target base station; Step S22: Receive the authentication response frame sent by the target base station, verify the information in the authentication response frame, and if the verification is successful, enter the key negotiation process; Step S23: Establish a shared key through a key negotiation process; Step S24: The wireless terminal device sends a link confirmation frame to the target base station, receives permission parameters sent by the target base station, establishes a wireless communication link, and joins the underground wireless communication network.
6. The mine wireless communication safety monitoring method based on deep learning according to claim 5 is characterized in that: Step S21 includes the following steps: Step S211: When a beacon signal of a communication base station is determined, a preset startup instruction is called based on the embedded processor of the wireless terminal device, a corresponding communication protocol stack module is loaded, and a communication protocol processing thread is activated; Step S212: Initialize the current communication state; Step S213: constructing an access request frame according to the communication protocol processing thread; Step S214: Start the radio frequency module of the wireless terminal device, send the access request frame on the current communication channel, and start the waiting response timer.
7. The mine wireless communication safety monitoring method based on deep learning according to claim 5 is characterized in that: Step S22 includes the following steps: Step S221: Control the communication protocol stack of the wireless terminal to enter the authentication response monitoring mode, and start the response receiving window to continuously monitor the downlink data on the target communication channel; Step S222: When the authentication response frame sent by the target base station is detected, the authentication field is extracted from the authentication response frame and cached in the local cache module; Step S223: performing calculation verification on the authentication field of the authentication response frame; Step S224: If the verification is successful, a verification pass flag is returned to the communication control module and the key negotiation process is entered; if the verification fails, the failure status is recorded and the access process is retried or an available base station is switched.
8. The mine wireless communication safety monitoring method based on deep learning according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: Automatically collect current inertial measurement data through the wireless terminal device and determine the moving direction of the device in the mine; Step S32: Automatically collect current magnetic field data through the wireless terminal device and determine the relative position of the device in the mine; Step S33: Determine the change trend of the device position state based on the relative position and the moving direction; Step S34: dynamically adjusting the communication parameters of the wireless terminal device using the changing trend of the device location status.
9. The mine wireless communication safety monitoring method based on deep learning according to claim 8, characterized in that: Step S34 includes the following steps: Step S341: Based on the movement trend of the wireless terminal device relative to the target base station, if it is determined that the device is moving away from the current base station, the transmission power level is automatically increased; Step S342: If it is determined that the device is gradually approaching the base station, the transmission power is reduced; Step S343: switching to a low-rate transmission mode when the signal quality drops to a set threshold according to the collected communication signal quality parameters; Step S344: When the communication signal quality continues to decline and the device moves toward a signal blind spot, the beacon monitoring process of the next available base station is entered.
10. A mine wireless communication safety monitoring system based on deep learning, characterized in that: For executing the mine wireless communication safety monitoring method based on deep learning according to claim 1, the mine wireless communication safety monitoring system based on deep learning comprises: The beacon signal monitoring module is used to start the target wireless terminal device in the mine environment, adjust the wireless terminal device to the preset working frequency band, scan the communication signal, and monitor the beacon signal of the underground communication base station; The wireless communication link establishment module is used to initiate a handshake verification request based on the communication protocol when the beacon signal of the communication base station is determined, perform two-way identity authentication and key negotiation, and establish a wireless communication link after confirmation, and add the wireless terminal device to the underground wireless communication network; A communication parameter adjustment module is used to obtain the location status of the wireless terminal device in real time and dynamically adjust the communication parameters of the wireless terminal device; The operation data upload module is used to upload the operation data collected by the terminal device to the ground control center through a wireless link when the wireless terminal device detects that the current communication parameters are in a safe and stable state.
Citation Information
Patent Citations
Method and apparatus to improve the robustness of a wireless communication link
CN102652448A
Method of safety access of power distribution wireless terminal
CN109194656A
Wireless communication covering method for fully mechanized coal mining face in underground coal mine
CN109525997A
Cited By
Mining wireless communication access security authentication method and system for industrial cloud computing
CN122054143A
Communication method of mining telephone set
CN122226150A
