A wireless gas detection method

CN122814834APending Publication Date: 2026-09-25HUANENG LANCANG RIVER HYDROPOWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610700080.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-20
Publication Date
2026-09-25

AI Technical Summary

Technical Problem

[0003]现有常规气体检测设备虽具备基础气体浓度采集与超标报警功能,仅能在检测数值异常时通过声光提示方式对近距离作业人员进行简单警示,防护手段单一且预警覆盖范围有限

Benefits of technology

1.探测球可在检测到危险后自主不可逆锁定并视觉警示,避免污染设备被误回收、误使用,阻断危险介质向外流转,切实保障作业人员人身安全。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122814834A_ABST
    Figure CN122814834A_ABST
Patent Text Reader

Abstract

The application discloses a wireless gas detection method and relates to the technical field of gas detection, and the method comprises the following steps: after the pairing self-checking of a handheld intelligent terminal and a throwable detection ball and the calibration of a sensor are completed in a safety area, the detection ball is thrown and arranged in a dangerous space to be detected; the detection ball is used to collect gas and track data, and the data is returned through double-mode adaptive communication; the terminal analyzes the data, presents the data in a visualized mode, compares the data with a threshold value, and gives an alarm and a linkage detection ball locking warning if the data exceeds the threshold value; after a task is completed, the un-locked equipment is recovered, power is supplied, data is collected, the data is uploaded to the cloud, and is stored in a block chain, so that the whole process is closed-loop controlled. Through the self-locking warning, double-mode adaptive communication, throwing type arrangement, data analysis and early warning, and cloud block chain storage, the whole process is safe and controllable, and data is traceable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of gas detection technology, and more particularly to a wireless gas detection method. Background Technology

[0002] In special confined space construction scenarios such as underground mines, underground pipe corridors, sealed tanks, sewers, and restricted tunnels, the internal structure of the space is closed and the air circulation is extremely poor. During the operation, flammable and toxic gases can be continuously generated due to factors such as material volatilization, chemical reactions, and organic matter decomposition. At the same time, there is also a risk of sudden drop in oxygen content, which can lead to oxygen deficiency and suffocation. Therefore, it is necessary to rely on gas detection equipment to monitor the gas composition, concentration, and oxygen content inside the space in real time throughout the operation to ensure the personal safety of on-site workers.

[0003] While existing conventional gas detection equipment has basic gas concentration acquisition and alarm functions, it can only provide simple warnings to nearby workers through sound and light prompts when the detected values ​​are abnormal. The protection measures are limited and the warning coverage is narrow.

[0004] Currently, when conducting oxygen and toxic gas concentration detection operations in confined and high-risk spaces, it is common practice for workers to hold the detection equipment close to the space opening, sometimes even requiring partial penetration of the body into the space entrance to complete sampling. This method exposes workers to multiple safety hazards, including oxygen deficiency and asphyxiation, inhalation of toxic gases, and the risk of flammable gas explosions, making it impossible to effectively guarantee their personal safety. Furthermore, conventional handheld detection equipment has a limited detection range, only able to acquire surface gas data at the space entrance, making it difficult to penetrate deep into the space for accurate, multi-point detection across the entire area, failing to accurately reflect the gas distribution deep within the confined space. In addition, high-precision professional detection equipment is expensive to purchase, and after being used in high-risk polluted environments, the internal sensors and circuits are susceptible to corrosion from corrosive gases. Current methods cannot quickly determine whether the equipment still meets safe operating conditions and detection accuracy, easily leading to the reuse of faulty equipment or unnecessary scrapping, increasing operating costs and safety management risks.

[0005] In summary, existing methods for gas detection in confined spaces have many practical shortcomings, such as high risks to personnel, incomplete detection coverage, and inability to identify the subsequent usage status of equipment. The industry urgently needs a wireless gas detection technology solution that can be remotely deployed, transmit wirelessly, and has intelligent early warning and equipment maintenance traceability capabilities. Summary of the Invention

[0006] The main objective of this invention is to provide a wireless gas detection method.

[0007] Another object of the present invention is to provide an electronic device.

[0008] A third objective of this invention is to provide a non-transitory computer-readable storage medium.

[0009] To achieve the above objectives, a first aspect of the present invention provides a wireless gas detection method, comprising:

[0010] Within a safe area, complete the pairing self-test and sensor calibration of the handheld smart terminal and the throwable probe ball, and deploy the probe ball into the enclosed or hazardous space to be detected by physical throwing; The deployed probe ball collects environmental gas data and its own motion trajectory data, evaluates the communication quality of the dual-mode wireless communication link in real time, selects the optimal transmission mode based on the quality evaluation results, and transmits the multi-source data back to the handheld smart terminal. The received sensor data and trajectory data are analyzed, visualized, and compared with safety thresholds. If the gas parameters exceed the safety benchmark, the terminal will activate a multi-level alarm and trigger the intelligent safety mechanism in conjunction with the detection ball, executing local physical locking and optical strobe warning. After the detection mission is completed, the probe spheres that have been recovered to a safe area and are not locked are recharged and offline data is collected. All data from the entire mission process is uploaded to the cloud server, and the sensor calibration data is stored and traced using blockchain technology, thus achieving closed-loop management of the entire detection process.

[0011] Optionally, within a safe area, the pairing and self-testing of the handheld smart terminal and the throwable probe ball, as well as sensor calibration, are completed. The probe ball is then deployed into the enclosed or hazardous space to be detected via physical throwing, including: Within the designated safe operating area, activate the handheld smart terminal and the throwable detection ball to establish communication handshake and identity matching between the devices, and complete the self-test of the overall function of the equipment. The parameters of the built-in gas sensor array of the throwable detection ball were calibrated, the zero point was calibrated and the range was verified to establish the detection benchmark parameters for four types of gases: combustible gas, oxygen, carbon monoxide and hydrogen sulfide. After all self-inspection and sensor calibration are passed, the throwable detection ball is placed into the enclosed space or high-risk space to be detected by manual physical throwing or assisted traction, thus completing the deployment of the detection point.

[0012] Optionally, the deployed probe sphere collects environmental gas data and its own trajectory data to evaluate the communication quality of the dual-mode wireless communication link in real time, including: Once deployed, the throwable probe sphere continuously operates the gas sensor array to collect real-time data on the ambient gas concentration. The device captures attitude information in real time during the entire process of throwing, flying, landing, and static placement using built-in attitude sensors, continuously recording and generating complete motion trajectory data. Real-time full-band signal scanning and monitoring of LoRa wide-area coverage first communication mode and Zigbee shielded environment networking relay second communication mode; The key performance indicators of signal strength, signal-to-noise ratio, and data packet loss rate under the two communication modes are synchronized to comprehensively and quantitatively evaluate the link quality and data transmission performance of dual-mode wireless communication.

[0013] Optionally, based on the quality assessment results, the optimal transmission mode is selected to transmit multi-source data back to the handheld smart terminal, including: Based on the openness of the site, the wall obstruction, and the actual deployment location of the throwable probe balls, we match and adapt the application scenarios to the two communication modes. If the detection area is unobstructed and the space is open, LoRa wide area communication mode is selected to establish a point-to-point direct transmission channel between the handheld smart terminal and the throwable detection ball. If the detection area is a closed shielded space, the inside of a metal tank, or an environment blocked by multiple walls, it will automatically switch to Zigbee networking relay communication mode and build a mesh data transmission path through the interconnection of multiple device nodes. By locking onto the communication link with the best overall transmission performance, the real-time collected gas concentration data and equipment movement trajectory data are synchronously and continuously uploaded to the handheld smart terminal.

[0014] Optionally, the received sensor data and trajectory data are analyzed, visualized, and compared with safety thresholds, including: The handheld smart terminal continuously receives and decodes the gas sensing data and three-dimensional motion trajectory data transmitted back by the throwable probe ball, and calls the built-in data processing unit to complete data filtering, sorting and logical analysis. The display unit renders and presents gas concentration change curves and spatial distribution heat maps in real time. At the same time, it reconstructs the three-dimensional deployment trajectory model of the probe sphere based on trajectory data to achieve multi-dimensional visualization of detection data. By comparing the various gas concentration parameters obtained in real time with the preset safety thresholds one by one, the on-site environmental safety risk level is determined and the environmental safety status is assessed.

[0015] Optionally, if the gas parameters exceed the safety benchmark, the terminal will activate a multi-level alarm and trigger an intelligent safety mechanism in conjunction with the detection sphere, performing local physical locking and optical strobe warnings, including: When a handheld smart terminal identifies that the concentration of any type of gas continuously exceeds the corresponding safety benchmark threshold, it immediately triggers the multi-level sound and light alarm unit. The terminal interface automatically loads and displays information such as the delineation of hazardous areas, personnel evacuation routes, and emergency response guidelines for on-site operations. The throwable probe ball is linked to activate the internal intelligent safety mechanism module, which cuts off the gas sensor sampling circuit or the power supply circuit of the wireless communication module through the mechanical locking unit, thereby achieving local physical locking of the device; The high-brightness light group on the synchronous drive housing flashes according to preset rules and triggers the color-changing coating of the housing to switch states, so as to visually indicate the equipment pollution hazard status and realize independent visual warning on site.

[0016] Optionally, after the detection mission is completed, the probe sphere that has been recovered to a safe area and is not locked undergoes energy replenishment and offline data collection, including: After all the testing tasks were completed, the operators entered the work site and picked up and retrieved the throwable probe balls that had not triggered the physical locking state one by one. All recovered throwable probe balls will be transferred to a secure control area for centralized and organized storage. All recovered equipment was neatly arranged and the wireless power replenishment device was activated to replenish the power in batches and restore the standby power reserves of the equipment. Connect the device's local storage port sequentially to batch export the entire gas detection data, motion trajectory records, alarm trigger events, and manual operation logs, and retain the device's original local operation data completely.

[0017] Optionally, all data from the entire task process can be uploaded to a cloud server, and blockchain technology can be used to complete the evidence storage and traceability of sensor calibration data, achieving closed-loop management of the entire testing process, including: The multi-point gas data, all-time trajectory data, alarm records at all levels, and the entire operation log collected during this operation were classified, organized, formatted, and packaged together. The packaged complete task data is uploaded to the cloud server via a handheld smart terminal to achieve long-term archiving, historical data query and batch statistical analysis. According to the preset usage cycle, operation frequency or sensor working time, professional personnel are regularly arranged to disassemble and re-inspect the gas sensor array, calibrate the standard gas and calibrate the accuracy. Completely record the calibration process steps, debugging parameters, correction coefficients, and final qualified results. Upload all calibration data to the blockchain for tamper-proof storage, and realize closed-loop management of the entire process of equipment deployment, data collection, risk warning, recycling and maintenance, and calibration traceability.

[0018] To achieve the above objectives, a second aspect of this application provides an electronic device, including a processor and a memory; wherein the processor runs a program corresponding to the executable program code stored in the memory to implement a wireless gas detection method as described in the first aspect embodiment.

[0019] To achieve the above objectives, a third aspect of this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a wireless gas detection method as described in the first aspect.

[0020] The embodiments of the present invention have the following beneficial effects: 1. The detection ball can automatically and irreversibly lock and provide visual warnings after detecting danger, preventing contaminated equipment from being mistakenly recycled or misused, blocking the outward flow of hazardous media, and effectively ensuring the personal safety of operators.

[0021] 2. It adopts a dual-mode adaptive communication mechanism, which can adapt to complex scenarios such as open spaces, enclosed shielding, and wall obstruction. It stably transmits data through a mesh relay, ensuring continuous and complete transmission of detection and trajectory data.

[0022] 3. The system employs a throwable, long-range deployment method, eliminating the need for personnel to approach or enter confined, high-risk spaces. This mitigates safety risks such as oxygen deficiency, toxic gases, and explosions from the source, thereby enhancing operational safety.

[0023] 4. It can realize gas data analysis, visualization and threshold comparison, and automatically alarm at multiple levels and push emergency guidance when the standard is exceeded, so as to quickly complete risk assessment and on-site emergency response.

[0024] 5. By combining cloud archiving with blockchain calibration and evidence storage, the entire process of data traceability can be achieved, the usage status of equipment can be accurately determined, the reuse of defective equipment or unnecessary scrapping can be avoided, and the operation and maintenance management costs can be reduced. Attached Figure Description

[0025] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 A flowchart of a wireless gas detection method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the collaborative working structure of a throwable probe ball and a handheld smart terminal provided in an embodiment of the present invention. Detailed Implementation

[0026] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

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

[0028] A wireless gas detection method according to an embodiment of the present invention will now be described with reference to the accompanying drawings.

[0029] Example 1 This invention provides a wireless gas detection method. Figure 1 This is a schematic flowchart of a wireless gas detection method provided in an embodiment of the present invention. Figure 1 As shown, the method includes the following steps: Step S1: Within the safe area, complete the pairing self-test and sensor calibration of the handheld smart terminal and the throwable probe ball, and deploy the probe ball to the enclosed or hazardous space to be detected by physical throwing.

[0030] In the embodiments of this application, such as Figure 2 As shown, the wireless gas detection system consists of two main parts that work together to achieve efficient and accurate detection of hazardous gases. The left side is a throwable detection ball, and the right side is a handheld smart terminal. The throwable detection ball and the handheld smart terminal establish a stable and reliable data connection through a dual-mode wireless communication network, providing basic support for subsequent data transmission and command interaction.

[0031] When performing this step, the operator must first carry out preliminary preparations in the pre-defined safe working area, start the handheld smart terminal and at least one throwable detection ball. After the two devices start normally, the communication handshake and identity matching process between the devices will be automatically established to ensure that the two belong to the same detection system and have legal communication permissions. This will complete a comprehensive self-test of the device's overall functions and avoid the normal progress of the detection process due to equipment failure.

[0032] Specifically, the communication enhancement module of the handheld smart terminal and the wireless communication module of the throwable probe ball will first attempt to establish an initial connection through the first communication mode (LoRa communication mode in this embodiment). This mode has the advantage of wide-area coverage and can achieve stable long-distance communication in open areas. At the same time, both devices will perform a comprehensive self-check of their own hardware status. The self-check scope covers the remaining power of the power module of the throwable probe ball, the power-on status and response sensitivity of the gas sensor array, the working stability of the inertial measurement unit, and the operating status of the display unit, alarm unit, and communication enhancement module of the handheld smart terminal, etc., to ensure that every hardware component can work normally and lay a solid foundation for the smooth progress of subsequent detection tasks.

[0033] After self-inspection is completed and no abnormalities are confirmed, the gas sensor array built into the throwable detection ball needs to be calibrated, zero-point calibrated, and range verified to clarify the detection benchmark parameters for the four target gases: combustible gas, oxygen, carbon monoxide, and hydrogen sulfide, thus eliminating the influence of sensor errors on the detection results. In this embodiment, the gas sensor array adopts a composite design, including two types of sensors based on electrochemical and catalytic combustion principles. The electrochemical sensor is mainly used to detect the concentrations of oxygen, carbon monoxide, and hydrogen sulfide, while the catalytic combustion sensor is mainly used to detect the concentration of combustible gas. The two work together to achieve simultaneous and accurate detection of the four gases, meeting the detection needs in different scenarios.

[0034] To further improve detection accuracy and ensure that the detection data meets metrological standards, the detection accuracy of the gas sensor array can be calibrated and compensated using the following formula:

[0035] in, This refers to the raw concentration signal output by the sensor. This is the zero-point drift compensation value, mainly used to compensate for the zero-point shift of the sensor in the absence of target gas, and to avoid deviations in the detection results due to zero-point drift. This is a linear correction coefficient, the value of which is adjusted according to the sensor's factory calibration parameters and the actual usage scenario. It is used to correct the linear deviation between the sensor's output signal and the actual gas concentration. This is the range calibration offset, used to compensate for the detection error of the sensor in different ranges. The calibrated effective gas concentration value is the core basis for subsequent data processing and risk assessment.

[0036] This formula effectively corrects the original signal output by the sensor through a triple compensation mechanism of zero-point drift compensation, range offset compensation, and linearity correction, transforming it into an effective gas concentration value that conforms to national metrological standards. This fundamentally ensures the accuracy and reliability of the detection results, providing scientific data support for subsequent risk assessment and emergency response.

[0037] After the equipment self-test and sensor calibration are all qualified and all parameters meet the preset standards, the operator can use manual physical throwing or assisted traction to place the throwable probe ball into the enclosed space (such as underground pipelines, closed factory buildings) or high-risk space (such as chemical storage tanks, gas leak areas) to be tested. The operator can reasonably select the detection points according to the detection needs to ensure that the throwable probe ball can comprehensively and accurately collect the on-site environmental gas data and complete the deployment of the detection points.

[0038] At this time, the power module of the throwable probe ball, which is a lithium iron phosphate battery in this embodiment, begins to continuously power the internal functional modules, including the gas sensor array, wireless communication module, and intelligent safety mechanism module, to ensure that each module can operate stably. At the same time, the built-in inertial measurement unit starts synchronously, capturing the motion trajectory of the device during its flight, the attitude angle upon landing, and the position after it is placed still at a preset sampling frequency. It continuously records complete attitude information and position data, which will be stored in real time and subsequently transmitted to the handheld smart terminal, providing a solid data foundation for subsequent three-dimensional trajectory reconstruction and probe point tracing.

[0039] Step S2 involves collecting environmental gas data and its own motion trajectory data using the deployed probe ball, evaluating the communication quality of the dual-mode wireless communication link in real time, selecting the optimal transmission mode based on the quality evaluation results, and transmitting the multi-source data back to the handheld smart terminal.

[0040] In this step, such as Figure 2 As shown, the throwable probe ball and the handheld smart terminal enter a collaborative working state. The gas sensor array and inertial measurement unit of the throwable probe ball are continuously in data acquisition mode, while the wireless communication module cooperates and works in conjunction with the communication enhancement module of the handheld smart terminal. The core purpose is to realize the dynamic evaluation, intelligent switching and stable data transmission of the dual-mode communication link, ensuring that the collected multi-source data can be transmitted back to the handheld smart terminal in real time and accurately, providing support for subsequent data analysis and risk assessment.

[0041] First, once the throwable probe ball is deployed and stabilized in the detection area, its built-in gas sensor array immediately begins continuous data acquisition. Strictly based on the parameter calibration, zero-point calibration, and range verification results completed in step S1, it uses a preset sampling frequency (in this embodiment, this can be set to 1-5Hz, which can be flexibly adjusted according to detection accuracy requirements) to collect real-time concentration data of four target gases in the environment: combustible gas, oxygen, carbon monoxide, and hydrogen sulfide. After data acquisition, it automatically outputs the calibrated effective concentration value using a preset calibration compensation formula. This completely eliminates the influence of sensor errors and environmental interference on the detection data, ensuring the accuracy and reliability of each set of gas concentration data.

[0042] Simultaneously, the inertial measurement unit (IMU) built into the throwable probe ball starts working, collecting the device's three-axis acceleration, three-axis angular velocity, and three-axis magnetic field data in real time at a fixed sampling frequency (preferably 10Hz in this embodiment). The collected raw data is processed by the attitude calculation algorithm within the IMU to generate the device's three-dimensional attitude angles (pitch, roll, and yaw) and real-time position information. This completely records the entire motion trajectory data of the throwable probe ball from landing and stabilization to continuous data collection, providing raw data support for the subsequent reconstruction of the three-dimensional deployment trajectory model by the handheld smart terminal. The core calculation formula for the real-time update of the device's position can be expressed as:

[0043] in, Let be the three-dimensional position vector of the device at time k, whose components correspond to the x, y, and z directions in the spatial coordinate system, representing the spatial position of the device at the current time. The position vector at time (k-1) is the spatial position of the device at the previous sampling time, which serves as the basis for calculating the current position. For the first The velocity vector at a given moment is obtained by integrating the acceleration data from the previous sampling moment, reflecting the velocity and direction of the device at that moment. For the first The acceleration vector measured by the accelerometer at any time contains the device's own motion acceleration and gravitational acceleration components. After being filtered by the algorithm, the actual motion acceleration of the device can be obtained. The time interval between two samplings is denoted as . This formula achieves recursive updates of the device position by performing a second integral operation on the acceleration data. It can accurately capture minute positional changes of the device, thereby completely and continuously recording its motion trajectory within the detection area, ensuring the integrity and accuracy of the trajectory data.

[0044] Based on the continuous collection of gas concentration data and motion trajectory data, the wireless communication module of the throwable probe ball and the communication enhancement module of the handheld smart terminal simultaneously monitor and evaluate the dual-mode communication link. Real-time full-band signal scanning and monitoring are performed on the LoRa wide-area coverage first communication mode and the Zigbee shielded environment network relay second communication mode, comprehensively capturing link status parameters under both communication modes. This allows for a comprehensive evaluation of link quality, providing a scientific basis for subsequent communication mode switching. In this embodiment, the link quality evaluation adopts a weighted scoring model, comprehensively considering the link's communication performance through multi-dimensional indicators. Its core expression is:

[0045] in, The link quality score ranges from 0 to 100. A higher score indicates better link communication quality and stronger stability and reliability of data transmission. The signal-to-noise ratio (SNR) of the current link mainly reflects the ratio of effective signal to interference noise in the link. The larger the value, the less interference, the clearer the signal transmission, and the more effectively the bit error rate is reduced during data transmission. This represents the packet loss rate, which is dimensionless and ranges from 0 to 1. The closer to 0, the fewer data packets are lost and the higher the integrity of data transmission; the closer to 1, the worse the link communication is and the less effective data transmission can be achieved. The signal strength indicator is used to characterize the signal strength acquired by the receiving end. The closer the value is to 0, the stronger the signal strength and the longer the link transmission distance. Conversely, the weaker the signal strength, the more likely transmission interruption will occur. The weighting coefficients for each indicator are dimensionless and strictly satisfy the following conditions: The weighting coefficients can be flexibly preset according to the needs of the actual detection scenario to adapt to the link evaluation needs in different environments.

[0046] Subsequently, this embodiment of the application, considering the openness of the site, the presence of wall obstructions, and the actual deployment location of the throwable probe balls, intelligently matches and adapts to application scenarios with two communication modes, achieving adaptive switching of communication modes. Specifically, if the detection area is unobstructed and the space is open (such as an open field or open factory building), the comprehensive score of the LoRa link... Higher than the preset threshold In this application embodiment, a preset threshold is provided. The value can be set to 60, which can be adjusted according to actual needs. In this case, the LoRa wide-area communication mode is prioritized, establishing a point-to-point direct transmission channel between the handheld smart terminal and the throwable probe ball. This fully utilizes the advantages of LoRa communication—wide-area coverage, low power consumption, and long-distance transmission—to achieve fast and stable data transmission. However, if the detection area is a confined shielded space, inside a metal tank, or in an environment with multiple walls (such as underground pipelines or chemical storage tanks), the LoRa signal will experience severe attenuation, leading to a lower overall score. The link score is below the preset threshold, while Zigbee communication has the advantages of self-organizing networks, anti-interference, and strong penetration. If the speed is higher, it will automatically switch to Zigbee networking relay communication mode, which will build a mesh data transmission path by interconnecting multiple throwable probe ball nodes, realize multi-node relay back transmission of data, and avoid data transmission interruption due to signal shielding.

[0047] If the link score is still below the available threshold after switching to Zigbee network relay communication mode, the available threshold can be set to 40 in this embodiment, indicating that the signal attenuation in the current environment is extremely severe. At this time, the communication enhancement module of the handheld smart terminal will automatically start the built-in radio frequency power amplifier and selectively increase the transmission power. In this embodiment, the transmission power can be increased to 10-15dBm. At the same time, the throwable probe ball is reguided to perform network reassociation and path discovery, optimize the transmission path of the mesh network, and ensure that the data can be transmitted back normally.

[0048] Once the communication link with the best overall transmission performance is locked, a probe ball can be launched to collect calibrated gas concentration data in real time. The device's motion trajectory data (including three-dimensional position vectors, attitude angles, etc.) is uploaded synchronously and continuously to the handheld smart terminal. During this process, the handheld smart terminal, as the coordinator of the entire wireless communication network, continuously monitors changes in link quality and actively sends instructions to guide the throwable probe ball to switch communication modes according to changes in the on-site environment, or to join the designated mesh network path. This ensures that data transmission is uninterrupted and without loss throughout the process, providing complete and reliable multi-source data support for data analysis and risk assessment in the subsequent S3 steps.

[0049] Step S3: Analyze, judge, visualize, and compare the received sensor data and trajectory data with safety thresholds. If the gas parameters exceed the safety benchmark, the terminal will activate a multi-level alarm and trigger the intelligent safety mechanism in conjunction with the detection ball to perform local physical locking and optical strobe warning.

[0050] In this step, such as Figure 2As shown, the data processing unit, display unit, and alarm unit built into the handheld smart terminal cooperate and work together to complete the parsing and calculation of downlink received data, visualization display, and safety linkage response under excessive working conditions. The whole process runs automatically in a closed loop without the need for additional manual intervention.

[0051] First, the data processing unit of the handheld smart terminal maintains a real-time monitoring state, continuously receiving and decoding the gas sensing data and three-dimensional motion trajectory data transmitted back from the throwable probe ball via a dual-mode communication link. The received raw data stream is then subjected to digital filtering, data normalization and organization, and business logic parsing in sequence. This process filters out transmission interference noise and abnormal jump data, normalizes the data format and temporal arrangement, and sorts out the effective and usable gas concentration sequence and spatial location trajectory information, providing a clean and reliable data source for subsequent model calculations and image rendering.

[0052] After data preprocessing, the terminal's display unit is used for visualization rendering output, which draws and displays the concentration change curves of various target gases over time in real time, and generates a thermal map of the spatial distribution of hazardous gases on site. Combined with the attitude and position trajectory data uploaded by the inertial measurement unit, the three-dimensional deployment trajectory model of the throwable probe ball in the work space is accurately reconstructed. The intuitive visualization of multi-dimensional detection data is completed simultaneously from the time and spatial dimensions, which makes it easy for on-site operators to quickly grasp the gas distribution and equipment deployment location on site.

[0053] The data processing unit is equipped with and runs a gas diffusion prediction model. Based on real-time multi-point measured gas concentration data, and combined with key meteorological parameters such as ambient wind speed and temperature collected by the handheld smart terminal's built-in meteorological sensors or manually entered, the model is iteratively calculated to deduce the diffusion direction, diffusion range, and concentration decay law of hazardous gases over time, simultaneously generating a dynamically updated risk area evolution map. In this embodiment, the gas diffusion prediction model uses a simplified form of the engineering-applicable Gaussian plume model, which is suitable for gas diffusion simulations in enclosed spaces and semi-open working environments within a factory. The formula for calculating the ground concentration distribution is as follows:

[0054] in, Represents three-dimensional coordinate points in space The concentration of hazardous gases at the location can be flexibly adapted according to the type of gas being detected; The equivalent emission rate of the pollution source is characterized by an inversion estimation using the initial gas concentration measured by a throwable probe ball and the actual deployment height and location of the equipment. The average wind speed in the work area is collected in real time by the built-in meteorological sensor of the handheld smart terminal or obtained by accessing data from external meteorological stations. The parameters are, in order, the gas lateral diffusion parameters and the vertical diffusion parameters. The parameter values ​​are closely related to the on-site atmospheric stability and the downwind distance x. They can be looked up in a table or assigned adaptively by the model according to the working conditions. The equivalent effective emission height of the pollution source is directly determined by the actual deployment height of the throwable probe ball above the ground. This represents the leeward distance along the wind direction. This represents the crosswind distance perpendicular to the wind direction. The vertical height in space is the unit of measurement for all three, which is the meter.

[0055] This formula can be used to quantitatively predict the changes in the concentration distribution of hazardous gases at different times and locations, dynamically draw risk area evolution maps, and provide an intuitive and reliable basis for decision-making in on-site emergency evacuation, hazard source control, and rescue route planning.

[0056] Meanwhile, the data processing unit will collect and analyze the concentration parameters of each type of gas in real time, and compare them item by item with the safety thresholds of various gases pre-stored in the system. Based on the magnitude and duration of exceeding the limit, the safety risk level of the on-site environment will be classified, achieving a quantitative assessment of the risk level. When the handheld smart terminal determines that the real-time concentration of any type of detected gas continuously exceeds the corresponding safety benchmark threshold and remains there for the duration preset by the system, the alarm unit's multi-level audible and visual alarm mechanism will be immediately triggered. Simultaneously, a pop-up window will automatically load information on the terminal's interactive interface, including the boundary delineation of the hazardous area, the optimal evacuation route for personnel, and standardized emergency response guidelines for on-site operations, guiding on-site personnel in standardized evacuation and emergency operations.

[0057] While the local terminal triggers the alarm, the handheld smart terminal sends a gas exceeding the standard event notification command to the throwable detection ball at the corresponding exceeding point through the established dual-mode wireless communication link. The throwable detection ball is then remotely activated to start its internal intelligent safety mechanism module and enter the local autonomous protection and locking process.

[0058] In this embodiment, the intelligent security mechanism module possesses multiple functions including autonomous judgment, mechanical locking, optical warning, and encrypted unlocking, with a coherent and orderly workflow. First, the gas concentration monitoring and judgment unit within the module continuously receives concentration data from the gas sensor array in real time and compares it against various gas safety thresholds pre-stored locally. When the concentration of any gas is detected to stably exceed the corresponding safety threshold, and the duration meets the preset anti-false-judgment duration, a hardware locking control signal is immediately generated. After the locking signal is issued, the module's built-in mechanical locking unit quickly drives the solenoid valve to complete its action, causing the metal latch in the linkage structure to precisely insert into the preset locking groove inside the throwable probe ball, achieving mechanical locking from a hardware structure perspective. Simultaneously, it selectively cuts off the sampling power supply circuit of the gas sensor array or the power supply circuit of the wireless communication module, functionally restricting the device from continuing to operate and achieving physical forced locking.

[0059] At the same moment the mechanical locking action is triggered, the visual indicator unit is simultaneously activated. The high-brightness LED lights deployed on the shell of the throwable probe ball enter a strobe state according to the system's preset frequency and flashing logic, forming a long-distance visible light warning. At the same time, the irreversible thermochromic material coated on the shell surface undergoes a permanent color phase change when heated by the built-in micro heating element. It changes irreversibly from the first basic color representing the normal and safe state of the equipment to a second warning color representing on-site contamination and high-risk equipment locking. Relying on the dual visual identification of light prompts and shell color change, a local independent optical warning is formed without relying on wireless communication links. Even in the event of a communication interruption, the dangerous state of the equipment can still be intuitively identified.

[0060] The accompanying anti-accidental touch logic circuit is always in standby listening mode, continuously monitoring wireless downlink commands from the handheld smart terminal. Only after receiving and fully verifying the exclusive unlock command encrypted with the 128-bit AES encryption algorithm will the logic circuit output a reverse control signal, driving the solenoid valve to reset and retract the metal latch, releasing the internal mechanical locking interference structure and restoring the normal power supply path for the sensor sampling and communication modules. This entire encryption and unlocking mechanism effectively avoids unauthorized disassembly, short-touch triggering, and accidental locking due to irrelevant commands. It strictly controls the reuse rights of the locked device, preventing it from being reused in dangerous scenarios, and ensuring on-site operational safety and standardized equipment management.

[0061] Step S4: After the detection task is completed, the probe ball that has been recovered to the safe area and is not locked is recharged and offline data is collected. The data of the entire task process is uploaded to the cloud server, and the sensor calibration data is stored and traced in conjunction with blockchain to achieve closed-loop management of the entire detection process.

[0062] In this step, only after all on-site gas detection tasks have been completed and the on-site environment has returned to a safe and stable state can the operators enter the work area to carry out equipment inventory and retrieval operations. During the operation, priority should be given to identifying and picking up throwable detection balls that have not triggered the physical lock-up state. Each piece of equipment that is working normally and has not entered the safety lock-up mode should be collected one by one and transferred to the designated safety control area for centralized and orderly storage to avoid random placement that may cause damage to the equipment or loss of any equipment.

[0063] After all throwable probe balls were retrieved to the safe control area, all retrieved equipment was neatly arranged and placed in a dedicated storage station. The deployed wireless power replenishment device was activated to simultaneously replenish the power of multiple devices via wireless inductive power supply, gradually replenishing the remaining capacity of the built-in lithium iron phosphate batteries and quickly restoring the equipment's full-load standby power reserve, thus preparing energy for the next deployment. Simultaneously with power replenishment, the local storage port of each throwable probe ball was sequentially connected to read and export in batches the raw gas detection data collected throughout the process, the complete motion trajectory information recorded by the inertial measurement unit, alarm trigger event records under abnormal operating conditions, and the manual operation logs throughout the operation. All raw operational data stored locally on the equipment was completely preserved to prevent the loss of critical detection information and to retain original evidence for subsequent data analysis and accident tracing.

[0064] After completing equipment charging and local data collection, the multi-point gas concentration data, continuous trajectory data throughout the entire period, trigger records of various levels of audible and visual alarms, and manual operation logs collected during this operation were systematically categorized and organized. A unified data storage format and time-series arrangement rule were established, and then the data was integrated and packaged into a complete task data package. Leveraging the network transmission capabilities of the handheld smart terminal, the packaged task data package was securely uploaded to a cloud server for archiving and storage. The large-capacity storage of the cloud ensures long-term preservation of the operation data, while also supporting the retrieval and query of historical task data at any time, horizontal comparison of multiple batches of operation data, and batch statistical analysis. This facilitates subsequent operation review, risk pattern assessment, and equipment usage efficiency evaluation.

[0065] At the routine operation and maintenance level, according to the system's preset equipment usage cycle, on-site operation frequency, or cumulative working time of the gas sensor array, professional operation and maintenance personnel are regularly arranged to carry out specialized sensor maintenance work. This includes disassembling and visually inspecting the gas sensor array built into the throwable detection ball, checking its performance status, and using standard-ratio gases to complete fixed-point calibration and overall machine detection accuracy verification. The detection benchmark parameters for various target gases are then re-verified. After calibration, the sensor concentration calibration compensation formula established in the early stages is used... Synchronously update the linear correction coefficients Zero-point drift compensation value and range calibration offset Three key parameters correct for performance drift and detection bias caused by long-term use of the sensor, ensuring that the detection results of various hazardous gas concentrations remain highly accurate and reliable.

[0066] Maintenance personnel meticulously record the entire process of each sensor calibration, including operational steps, on-site debugging and configuration parameters, updated correction coefficients, and the final calibration pass / fail result, creating a standardized and complete calibration archive. All calibration data, containing device identification information, time information, calibration parameters, and the result, is structured and encapsulated, then uploaded to a blockchain network for immutable notarization. In this embodiment, a hash digest method is used for data solidification and notarization, and the notarized data structure can be represented as follows:

[0067] In the formula, It is a unique evidence hash value that is solidified and generated on the blockchain. It is generally generated by the SHA-256 hash function and has the characteristics of being irreversible and a unique identifier. Each throwable probe ball is assigned a globally unique device identification code to accurately distinguish between different devices; Use the standard timestamp corresponding to this calibration operation to accurately record the time when the calibration occurred; , , The correction factor parameters were recalibrated and updated for this calibration. This serves as the result identifier for this calibration, used to mark whether the calibration is qualified or unqualified; the symbol || represents the data concatenation and combination operation between multiple fields, which concatenates various types of information in a fixed format and then performs a unified hash operation.

[0068] By generating unique hash digests from sensor calibration data and storing them on the blockchain, problems such as human tampering and data loss can be effectively prevented. This gives the detection process and calibration results legal validity and full traceability, ultimately forming a closed-loop management system covering the entire process from on-site equipment deployment, real-time environmental data collection, risk warning linkage for exceeding standards, equipment recovery and maintenance after operation, to regular sensor calibration and blockchain traceability and storage. This significantly improves the operational standardization, data reliability, and security management level of wireless gas detection systems.

[0069] Example 2 To implement the methods of the above embodiments, the present invention also provides an electronic device, which includes a memory and a processor; wherein the processor reads executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the various steps of the methods described above.

[0070] Example 3 To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method described in the foregoing embodiments.

[0071] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

[0072] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0073] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

Claims

1. A wireless gas detection method, characterized in that, include: Within a safe area, complete the pairing self-test and sensor calibration of the handheld smart terminal and the throwable probe ball, and deploy the probe ball into the enclosed or hazardous space to be detected by physical throwing; The deployed probe ball collects environmental gas data and its own motion trajectory data, evaluates the communication quality of the dual-mode wireless communication link in real time, selects the optimal transmission mode based on the quality evaluation results, and transmits multi-source data back to the handheld smart terminal. The received sensor data and trajectory data are analyzed, visualized, and compared with safety thresholds. If the gas parameters exceed the safety benchmark, the terminal will activate a multi-level alarm and trigger the intelligent safety mechanism in conjunction with the detection ball, executing local physical locking and optical strobe warning. After the detection mission is completed, the probe spheres that have been recovered to a safe area and are not locked are recharged and offline data is collected. The data of the entire mission process is uploaded to the cloud server, and the sensor calibration data is stored and traced using blockchain technology, so as to achieve closed-loop management of the entire detection process.

2. The method according to claim 1, characterized in that, Within the safe area, complete the pairing self-test and sensor calibration of the handheld smart terminal and the throwable probe ball, and then deploy the probe ball into the enclosed or hazardous space to be detected by physical throwing, including: Within the designated safe operating area, activate the handheld smart terminal and the throwable detection ball to establish communication handshake and identity matching between the devices, and complete the self-test of the overall function of the equipment. The parameters of the built-in gas sensor array of the throwable detection ball were calibrated, the zero point was calibrated and the range was verified to establish the detection benchmark parameters for four types of gases: combustible gas, oxygen, carbon monoxide and hydrogen sulfide. After all self-inspection and sensor calibration are qualified, the throwable detection ball is placed into the closed space or high-risk space to be detected by manual physical throwing or assisted traction, thus completing the deployment of the detection point.

3. The method according to claim 2, characterized in that, The deployed probe sphere collects environmental gas data and its own trajectory data to evaluate the communication quality of the dual-mode wireless communication link in real time, including: Once deployed, the throwable probe sphere continuously operates the gas sensor array to collect real-time data on the ambient gas concentration. The device captures attitude information in real time during the entire process of throwing, flying, landing, and static placement using built-in attitude sensors, continuously recording and generating complete motion trajectory data. Real-time full-band signal scanning and monitoring of LoRa wide-area coverage first communication mode and Zigbee shielded environment networking relay second communication mode; The key performance indicators of signal strength, signal-to-noise ratio, and data packet loss rate under the two communication modes are synchronized to comprehensively and quantitatively evaluate the link quality and data transmission performance of dual-mode wireless communication.

4. The method according to claim 3, characterized in that, Based on the quality assessment results, the optimal transmission mode is selected to transmit multi-source data back to the handheld smart terminal, including: Based on the openness of the site, the wall obstruction, and the actual deployment location of the throwable probe balls, we match and adapt the application scenarios to the two communication modes. If the detection area is unobstructed and the space is open, LoRa wide area communication mode is selected to establish a point-to-point direct transmission channel between the handheld smart terminal and the throwable detection ball. If the detection area is a closed shielded space, the inside of a metal tank, or an environment blocked by multiple walls, it will automatically switch to Zigbee networking relay communication mode and build a mesh data transmission path through the interconnection of multiple device nodes. By locking onto the communication link with the best overall transmission performance, the real-time collected gas concentration data and equipment movement trajectory data are synchronously and continuously uploaded to the handheld smart terminal.

5. The method according to claim 4, characterized in that, The received sensor data and trajectory data are analyzed, visualized, and compared against safety thresholds, including: The handheld smart terminal continuously receives and decodes the gas sensing data and three-dimensional motion trajectory data transmitted back by the throwable probe ball, and calls the built-in data processing unit to complete data filtering, sorting and logical analysis. The display unit renders and presents gas concentration change curves and spatial distribution heat maps in real time. At the same time, it reconstructs the three-dimensional deployment trajectory model of the probe sphere based on trajectory data to achieve multi-dimensional visualization of detection data. By comparing the various gas concentration parameters obtained in real time with the preset safety thresholds one by one, the on-site environmental safety risk level is determined and the environmental safety status is assessed.

6. The method according to claim 5, characterized in that, If the gas parameters exceed the safety benchmark, the terminal will activate a multi-level alarm and trigger the intelligent safety mechanism in conjunction with the detection sphere, executing local physical locking and optical strobe warnings, including: When a handheld smart terminal identifies that the concentration of any type of gas continuously exceeds the corresponding safety benchmark threshold, it immediately triggers the multi-level sound and light alarm unit. The terminal interface automatically loads and displays information such as the delineation of hazardous areas, personnel evacuation routes, and emergency response guidelines for on-site operations. The throwable probe ball is linked to activate the internal intelligent safety mechanism module, which cuts off the gas sensor sampling circuit or the power supply circuit of the wireless communication module through the mechanical locking unit, thereby achieving local physical locking of the device; The high-brightness light group on the synchronous drive housing flashes according to preset rules and triggers the color-changing coating of the housing to switch states, so as to visually indicate the equipment pollution hazard status and realize independent visual warning on site.

7. The method according to claim 6, characterized in that, After the detection mission is completed, the probe sphere that has been recovered to a safe area and is not locked will be recharged and offline data collected, including: After all the testing tasks were completed, the operators entered the work site and picked up and retrieved the throwable probe balls that had not triggered the physical locking state one by one. All recovered throwable probe balls will be transferred to a secure control area for centralized and organized storage. All recovered equipment was neatly arranged and the wireless power replenishment device was activated to replenish the power in batches and restore the standby power reserves of the equipment. Connect the device's local storage port sequentially to batch export the entire gas detection data, motion trajectory records, alarm trigger events, and manual operation logs, and retain the device's original local operation data completely.

8. The method according to claim 7, characterized in that, The entire task process data is uploaded to a cloud server, and blockchain technology is used to complete the evidence storage and traceability of sensor calibration data, achieving closed-loop management of the entire testing process, including: The multi-point gas data, all-time trajectory data, alarm records at all levels, and the entire operation log collected during this operation were classified, organized, formatted, and packaged together. The packaged complete task data is uploaded to the cloud server via a handheld smart terminal to achieve long-term archiving, historical data query and batch statistical analysis. According to the preset usage cycle, operation frequency or sensor working time, professional personnel are regularly arranged to disassemble and re-inspect the gas sensor array, calibrate the standard gas and calibrate the accuracy. Completely record the calibration process steps, debugging parameters, correction coefficients, and final qualified results. Upload all calibration data to the blockchain for tamper-proof storage, and realize closed-loop management of the entire process of equipment deployment, data collection, risk warning, recycling and maintenance, and calibration traceability.

9. An electronic device, characterized in that, Including processor and memory; The processor reads executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the method as described in any one of claims 1-8.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-8.