Intelligent monitoring and safety protection method and system for closed compartment environment
The closed-cabin environment monitoring system, based on low-power Bluetooth and CAN bus architecture, monitors and adjusts the environment inside the passenger car in real time, solving the problem of lack of effective monitoring and protection in passenger cars and achieving low-cost, loosely coupled safety protection.
Patent Information
- Application Number
- CN202610017175.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-07
- Publication Date
- 2026-05-19
AI Technical Summary
Existing passenger vehicles lack effective closed-cabin environment monitoring and protection systems, which makes it easy for children, pets and other animals left in the car to pose safety risks due to insufficient oxygen and excessive temperature. In addition, traditional solutions are costly, highly coupled, and difficult to popularize.
It adopts a low-power Bluetooth and CAN bus architecture, monitors gas concentration and temperature in real time through the cabin environment acquisition module, uses the data calculation and control module to make threshold judgments, generates warnings, and sends control commands to the execution terminal module through the CAN bus to perform adjustment operations on the windows, air conditioning and fresh air system.
It achieves low-cost, loosely coupled cabin environment safety protection, rapid response and feedback, reduces the risk of accidents caused by hypoxia and high temperature, is compatible with multiple vehicle models, and supports personalized upgrades.
Smart Images

Figure CN122063952A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of in-vehicle environment safety protection technology, and in particular relates to a method and system for intelligent monitoring and safety protection of a closed vehicle environment. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] With the continuous growth of car ownership, safety accidents caused by the enclosed environment of vehicles, such as children or pets suffocating due to lack of oxygen or high temperatures after being forgotten inside, occur frequently and have serious consequences. Therefore, the need for intelligent monitoring and safety protection of the interior environment of passenger vehicles is becoming increasingly prominent.
[0004] Currently, some technologies related to environmental monitoring have been applied. For example, in the field of cold chain logistics transportation, sensors are often installed inside cargo containers to monitor temperature, carbon dioxide concentration, and other parameters. The data is then transmitted to a monitoring platform via wireless communication methods such as Zigbee to ensure the quality of goods during transportation. These technologies primarily serve specific commercial transportation scenarios, and their system architecture, sensor selection, and cost control are all designed around these scenarios.
[0005] However, for ordinary passenger vehicles, the vast majority of vehicles are not equipped with environmental monitoring and active protection systems for the safety of occupants. Existing passenger vehicle technology has significant shortcomings and deficiencies in this regard, mainly in the following aspects: First, due to cost control and considerations for general scenarios, OEMs generally consider such functions not to be standard equipment, resulting in the vast majority of passenger vehicles on the market, especially private cars, lacking the ability to monitor and control critical vital signs such as oxygen concentration and temperature in the cabin in real time. Second, if traditional automotive-grade environmental monitoring solutions are adopted, their core sensors are expensive and have limited lifespans, making it difficult to meet the requirements for large-scale, long-lifecycle deployment in passenger vehicles. Furthermore, the traditional vehicle electronic and electrical architecture is a relatively closed system, making it difficult for external devices to connect and control. Forcibly integrating new monitoring systems may pose risks to information security and functional safety, making OEMs conservative in introducing such external control solutions. Finally, some existing solutions often require deep modifications to the vehicle's original controller area network or body controller software logic. This highly coupled integration method has a long development cycle, complex verification, and high cost, hindering rapid deployment and subsequent upgrades and maintenance. Summary of the Invention
[0006] To overcome the shortcomings of the prior art, this invention provides a method and system for intelligent monitoring and safety protection of enclosed vehicle compartments. This system addresses the problem that existing ordinary passenger vehicles lack effective monitoring and protection systems for enclosed vehicle compartments, which can lead to safety risks when children, pets, or other animals are left inside due to insufficient oxygen or excessively high temperatures. The invention achieves low-cost, loosely coupled, and easily accessible safety protection for vehicle compartment environments.
[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: The first aspect of this invention provides a method for intelligent monitoring and safety protection of a closed vehicle compartment environment; A method for intelligent monitoring and safety protection of a closed carriage environment includes: S1: Environmental parameter acquisition. The gas concentration and temperature parameters inside the closed carriage are collected in real time through the carriage environment acquisition module. The collected parameter data is packaged in a preset format and sent to the data calculation and control module via Bluetooth Low Energy. S2: Data processing and threshold judgment. After receiving the data packet, the data calculation and control module preprocesses the data and compares the preprocessed data with the preset danger threshold to determine whether a safety warning is triggered. S3: Warning and Command Sending. If the preprocessed data reaches the danger threshold, the data calculation and control module sends a reminder to the user and generates a CAN control command, which is then sent to the execution terminal module via the CAN bus. If the danger threshold is not reached, the system returns to step S1 to continue receiving the next round of data collection. S4: Environmental adjustment execution. After receiving the CAN control command, the execution terminal module performs the corresponding environmental adjustment operation in the carriage to improve the environmental conditions inside the enclosed carriage and reduce safety risks.
[0008] As a further technical solution, the carriage environment acquisition module uses a low-power Bluetooth chip as the main control chip and controls each sensor to independently acquire data through a multi-threaded task scheduling mode. The gas concentration parameter is collected by an electrochemical gas sensor, and the target gas collected includes one or more of oxygen, carbon dioxide, carbon monoxide, and formaldehyde. The temperature parameters are acquired using a DS18B20 temperature sensor; The carriage environment acquisition module collects data at a preset acquisition frequency.
[0009] As a further technical solution, data preprocessing includes filtering the data and calculating the mean to eliminate interference.
[0010] As a further technical solution, the data reading method of the electrochemical gas sensor includes: The voltage of the sensor output pin is acquired by the ADC function of the main control chip, and the concentration of the target gas is calculated by combining it with a preset concentration lookup table. The target gas concentration data detected by the sensor can be read directly through the I2C communication protocol.
[0011] As a further technical solution, the execution terminal module is the vehicle's original window controller, and the cabin environment adjustment operation is to control at least one window of the vehicle to descend; If, after the terminal module performs the adjustment operation, the collected data received by the data calculation and control module is still within the dangerous threshold range, the data calculation and control module will send another SMS reminder to the user.
[0012] As a further technical solution, the execution terminal module also includes a vehicle fresh air system controller and an air conditioning controller; when the execution terminal module is configured as a fresh air system controller, the CAN control command is a fresh air system start command; when the execution terminal module is configured as an air conditioning controller, the CAN control command is an air conditioning cooling and ventilation mode start command.
[0013] A second aspect of the present invention provides an intelligent monitoring and safety protection system for a closed vehicle compartment environment.
[0014] A closed-car environment intelligent monitoring and safety protection system includes a car environment acquisition module, a data calculation and control module, and an execution terminal module that are connected in sequence via communication. The carriage environment acquisition module establishes wireless communication with the data calculation and control module, and the data calculation and control module establishes wired communication with the execution terminal module through the CAN bus; The carriage environment acquisition module is used to collect gas concentration parameters and temperature parameters in the closed carriage in real time, and send the collected data to the data calculation and control module after packaging and processing. The data calculation and control module is used to receive the collected data, compare the collected data with the preset danger threshold, and if the threshold is reached, send a reminder message to the user and send a control command to the execution terminal module. The execution terminal module is used to receive control commands, execute corresponding carriage environment adjustment operations, and improve the environmental conditions inside the enclosed carriage.
[0015] As a further technical solution, the carriage environment acquisition module includes a main control chip, an electrochemical gas sensor group, a temperature sensor, a power supply unit, and a software operation unit; The main control chip is a low-power Bluetooth chip, used to control the data acquisition rhythm of each sensor and the transmission of acquired data; The electrochemical gas sensor group includes at least one electrochemical gas sensor, which is used to collect the concentration of the target gas inside the carriage; The temperature sensor is used to collect real-time temperature data inside the carriage. The power supply unit provides continuous power to the carriage environment acquisition module, ensuring low-power operation of the module; The software execution unit adopts a multi-threaded task scheduling mode, with each thread independently corresponding to a sensor data acquisition task.
[0016] A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the intelligent monitoring and safety protection method for a closed carriage environment as described in the first aspect of the present invention.
[0017] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the intelligent monitoring and safety protection method for a closed vehicle environment as described in the first aspect of the present invention.
[0018] The above one or more technical solutions have the following beneficial effects: This invention constructs a closed-loop safety protection system through high-frequency data acquisition and rapid response. The cabin environment acquisition module collects oxygen concentration and temperature data every 3-5 seconds, and after filtering and preprocessing, accurately reflects changes in the cabin environment. When parameters reach dangerous thresholds, the system sends an SMS alert and outputs a CAN command within seconds to control the windows to open and achieve air circulation, effectively preventing accidents caused by oxygen deficiency and high temperatures. Simultaneously, after executing the adjustment operation, the parameters are checked a second time. If abnormalities are still detected, another alert is issued, forming a monitoring-early warning-execution-verification logic. This significantly improves safety redundancy and solves the problem of potential failure of single-warning alerts.
[0019] This invention employs a low-power Bluetooth + CAN bus architecture, requiring no modification to core components such as the vehicle's ECU and closed-loop infotainment system. The data acquisition module wirelessly connects to the in-vehicle tablet via Bluetooth, the control module utilizes the existing in-vehicle infotainment system to develop an app, and the execution module calls the vehicle's existing window controllers, making it compatible with most passenger vehicles using in-vehicle tablets. Furthermore, based on FreeRTOS's multi-threaded design, the data acquisition module can be expanded to include humidity and PM2.5 sensors as needed, and the execution module can be extended to include the fresh air and air conditioning systems. Upgrades can be made simply by adjusting threads or commands, meeting the personalized needs of different regions and users, with compatibility far exceeding traditional customized solutions.
[0020] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0021] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0022] Figure 1 This is a flowchart of the method in the first embodiment.
[0023] Figure 2 This is a system structure diagram of the second embodiment. Detailed Implementation
[0024] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0025] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations of the present invention.
[0026] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0027] Example 1 This embodiment discloses a method for intelligent monitoring and safety protection of a closed train carriage environment. It collects environmental parameters within the carriage using an independent data acquisition module; transmits these parameters to the vehicle's data processing and control module via Bluetooth Low Energy; and automatically executes at least one safety operation when environmental parameters exceed a preset threshold. This invention achieves intelligent monitoring and proactive safety protection of a closed train carriage environment in a simple and low-cost manner, effectively preventing safety accidents caused by oxygen deficiency and high temperatures.
[0028] Specifically, such as Figure 1 As shown, a method for intelligent monitoring and safety protection of a closed carriage environment includes: S1: Environmental parameter acquisition. The gas concentration and temperature parameters inside the closed carriage are collected in real time through the carriage environment acquisition module. The collected parameter data is packaged in a preset format and sent to the data calculation and control module via Bluetooth Low Energy.
[0029] The cabin environment acquisition module uses a low-power Bluetooth chip, such as the N52840 chip, as the main control chip. This chip has peripheral interfaces such as UART, I2C, SPI, and ADC, and can drive multiple types of sensors simultaneously. During hardware integration, electrochemical gas sensors, such as oxygen and carbon dioxide sensors, are connected to the main control chip via the I2C interface, and the DS18B20 temperature sensor is connected to the main control chip via a single-bus interface. The power supply unit supplies power to the chip and sensors through a low-dropout regulator, ensuring that the module's operating current is controlled within 10mA to achieve low-power operation.
[0030] The main control chip starts the FreeRTOS embedded real-time operating system and creates three independent task threads: a gas acquisition thread, a temperature acquisition thread, and a data transmission thread. Each thread is synchronized through semaphores to avoid data conflicts. At the same time, the main control chip initializes the low-power Bluetooth module and establishes a connection with the data calculation and control module.
[0031] The gas acquisition thread triggers acquisition commands at a preset frequency. It acquires the sensor output pin voltage using the ADC function of the main control chip, and combines this with a preset concentration lookup table (e.g., 0.5V corresponds to an oxygen concentration of 21%, and 0.47V corresponds to an oxygen concentration of 19.5%). The target gas concentration is then calculated through linear interpolation. During acquisition, if the deviation between two consecutive acquisitions exceeds 5%, a retry mechanism is triggered to ensure data validity.
[0032] The temperature acquisition thread and the gas acquisition thread are triggered synchronously. The main control chip sends a temperature conversion command to the DS18B20 temperature sensor and reads the sensor's temperature data.
[0033] Once each sensor has completed data collection, the data transmission thread packages the gas concentration parameters, temperature parameters, and collection timestamp into a single data packet. After packaging, the main control chip sends the data packet to the paired in-vehicle tablet via Bluetooth Low Energy. Upon successful transmission, the module enters sleep mode and remains awake until the next data collection cycle to extend battery life.
[0034] S2: Data processing and threshold judgment. After receiving the data packet, the data calculation and control module preprocesses the data and compares the preprocessed data with the preset danger threshold to determine whether a safety warning is triggered.
[0035] Step S2 relies on the data calculation and control module, such as the vehicle-mounted tablet computer and its pre-installed application. After the application on the vehicle-mounted tablet computer receives the data packets sent by the cabin environment acquisition module through the low-power Bluetooth module, it preprocesses the data using a combination of moving average filtering and outlier removal. It caches the same type of parameters collected in the last 5 times, first determining whether a single data point is an outlier. If the deviation of a data point from the two adjacent data points exceeds 10%, the outlier is removed. Then, the arithmetic mean of the remaining valid data is calculated as the preprocessed parameter value, thereby eliminating random errors caused by vehicle vibration and instantaneous sensor interference.
[0036] The oxygen concentration lower limit threshold is set to 19.5%, the temperature upper limit threshold to 40℃, and the carbon dioxide concentration upper limit threshold to 5000ppm. Each pre-processed parameter is compared to its corresponding threshold: if the oxygen concentration is less than the preset threshold, or the temperature or carbon dioxide concentration is greater than the preset threshold, a safety warning is triggered, a warning signal is generated, and it is transmitted to the application's instruction sending module; if all parameters are within the safe range, the current round of cached data is cleared, and the system returns to wait for the next round of data packet reception, continuously monitoring the carriage environment.
[0037] S3: Warning and Command Transmission. If the preprocessed data reaches the danger threshold, the data calculation and control module sends a reminder to the user and generates a CAN control command, which is then sent to the execution terminal module via the CAN bus. If the danger threshold is not reached, the system returns to step S1 to continue receiving the next round of data collection.
[0038] When the application determines that the preprocessed data has reached a dangerous threshold, it immediately triggers an early warning mechanism. The application first calls the communication module built into the vehicle's tablet computer to automatically generate a standardized reminder message and send it to the target mobile phone number via SMS. After sending, the application records the warning time, warning type, and SMS sending status in its local log for easy tracking later.
[0039] Synchronized with the sending of warning information, the application initiates the command generation module, generating corresponding CAN control commands based on the parameter type of the trigger threshold. For the vehicle's existing window controller, a window opening command is generated; for the fresh air system controller, a fresh air activation command is generated; and for the air conditioning controller, an air conditioning cooling / ventilation command is generated. After command generation, the command format strictly adheres to the vehicle's CAN bus communication protocol. Following generation, the application sends the command to the execution terminal module via the CAN bus interface of the vehicle's tablet computer and waits to receive feedback signals.
[0040] If the application determines that the preprocessed data has not reached any dangerous threshold, it immediately clears the current data cache, releases the temporarily occupied system resources, and sends a continue acquisition signal to the carriage environment acquisition module through the low-power Bluetooth module, triggering the module to start the next round of parameter acquisition, thus realizing the cyclical operation of the monitoring process.
[0041] S4: Environmental adjustment execution. After receiving the CAN control command, the execution terminal module performs the corresponding environmental adjustment operation in the carriage to improve the environmental conditions inside the enclosed carriage and reduce safety risks.
[0042] After receiving CAN control commands from the data calculation and control module via the vehicle's CAN bus, the execution terminal module initiates a command verification mechanism to confirm that the command type matches its own function. Subsequently, based on the command type, the execution terminal module performs corresponding adjustment actions. If the received command is to open a window, the window controller drives the internal motor to operate according to a preset stroke, lowering the window and enabling air circulation between the inside and outside of the vehicle, quickly replenishing oxygen and lowering the interior temperature. If the received command is to open a window and enhance ventilation, in addition to controlling the window to lower, if the vehicle is equipped with a fresh air system, the fresh air controller simultaneously starts, introducing fresh air from outside through the air intake to accelerate the expulsion of stale air from the vehicle, further optimizing the cabin environment. During operation, the terminal module collects execution status data in real time (such as window position and fan speed) and feeds it back to the data calculation and control module via the CAN bus.
[0043] After the adjustment operation is completed, the execution terminal module generates a success feedback signal and sends it to the data calculation and control module via the CAN bus, completing one adjustment process loop. If an abnormality occurs during execution, the terminal module immediately stops the operation and records the fault code for subsequent troubleshooting and maintenance. Simultaneously, the terminal module maintains the current adjustment state until it receives a cancellation command or the data calculation and control module confirms that the cabin environment has returned to safety, ensuring continuous improvement of the enclosed cabin environment and reducing safety risks.
[0044] Example 2 This embodiment discloses an intelligent monitoring and safety protection system for a closed vehicle compartment environment; like Figure 2 As shown, an intelligent monitoring and safety protection system for a closed carriage environment includes a carriage environment acquisition module, a data calculation and control module, and an execution terminal module that are connected in sequence via communication. The carriage environment acquisition module establishes wireless communication with the data calculation and control module, and the data calculation and control module establishes wired communication with the execution terminal module through the CAN bus; The carriage environment acquisition module is used to collect gas concentration parameters and temperature parameters in the closed carriage in real time, and send the collected data to the data calculation and control module after packaging and processing. The data calculation and control module is used to receive the collected data, compare the collected data with the preset danger threshold, and if the threshold is reached, send a reminder message to the user and send a control command to the execution terminal module. The execution terminal module is used to receive control commands, execute corresponding carriage environment adjustment operations, and improve the environmental conditions inside the enclosed carriage.
[0045] Example 3 The purpose of this embodiment is to provide a computer-readable storage medium.
[0046] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the intelligent monitoring and safety protection method for a closed vehicle environment as described in Example 1.
[0047] Example 4 The purpose of this embodiment is to provide an electronic device.
[0048] An electronic device includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the intelligent monitoring and safety protection method for a closed vehicle environment as described in Embodiment 1. Furthermore, this electronic device is portable. When it is necessary to monitor the interior environment of a vehicle, it only needs to be placed in a suitable location within the vehicle and connected to a vehicle-mounted tablet via Bluetooth to operate, greatly improving the convenience of product use.
[0049] The steps and methods involved in the apparatuses of Embodiments 2, 3, and 4 above correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.
[0050] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0051] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. A method for intelligent monitoring and safety protection of a closed carriage environment, characterized in that, include: S1: Environmental parameter acquisition. The gas concentration and temperature parameters inside the closed carriage are collected in real time through the carriage environment acquisition module. The collected parameter data is packaged in a preset format and sent to the data calculation and control module via Bluetooth Low Energy. S2: Data processing and threshold judgment. After receiving the data packet, the data calculation and control module preprocesses the data and compares the preprocessed data with the preset danger threshold to determine whether a safety warning is triggered. S3: Warning and Command Sending. If the preprocessed data reaches the danger threshold, the data calculation and control module sends a reminder to the user and generates a CAN control command, which is then sent to the execution terminal module via the CAN bus. If the danger threshold is not reached, the system returns to step S1 to continue receiving the next round of data collection. S4: Environmental adjustment execution. After receiving the CAN control command, the execution terminal module performs the corresponding environmental adjustment operation in the carriage to improve the environmental conditions inside the enclosed carriage and reduce safety risks.
2. The method for intelligent monitoring and safety protection of a closed carriage environment as described in claim 1, characterized in that, The carriage environment acquisition module uses a low-power Bluetooth chip as the main control chip and controls each sensor to independently acquire data through a multi-threaded task scheduling mode. The gas concentration parameter is collected by an electrochemical gas sensor, and the target gas collected includes one or more of oxygen, carbon dioxide, carbon monoxide, and formaldehyde. The temperature parameters are acquired using a DS18B20 temperature sensor; The carriage environment acquisition module collects data at a preset acquisition frequency.
3. The method for intelligent monitoring and safety protection of a closed carriage environment as described in claim 1, characterized in that, Data preprocessing includes filtering and mean calculation to eliminate interference.
4. The intelligent monitoring and safety protection method for a closed carriage environment as described in claim 2, characterized in that, The data reading methods of the electrochemical gas sensor include: The voltage of the sensor output pin is acquired by the ADC function of the main control chip, and the concentration of the target gas is calculated by combining it with a preset concentration lookup table. The target gas concentration data detected by the sensor can be read directly through the I2C communication protocol.
5. The intelligent monitoring and safety protection method for a closed carriage environment as described in claim 1, characterized in that, The execution terminal module is the vehicle's original window controller, and the cabin environment adjustment operation is to control at least one window of the vehicle to descend. If, after the terminal module performs the adjustment operation, the collected data received by the data calculation and control module is still within the dangerous threshold range, the data calculation and control module will send another SMS reminder to the user.
6. The method for intelligent monitoring and safety protection of a closed carriage environment as described in claim 1, characterized in that, The execution terminal module also includes a vehicle fresh air system controller and an air conditioning controller; when the execution terminal module is configured as a fresh air system controller, the CAN control command is the fresh air system start command; when the execution terminal module is configured as an air conditioning controller, the CAN control command is the air conditioning cooling and ventilation mode start command.
7. A closed-car environment intelligent monitoring and safety protection system, characterized in that, It includes a carriage environment acquisition module, a data calculation and control module, and an execution terminal module that are connected in sequence via communication. The carriage environment acquisition module establishes wireless communication with the data calculation and control module, and the data calculation and control module establishes wired communication with the execution terminal module through the CAN bus; The carriage environment acquisition module is used to collect gas concentration parameters and temperature parameters in the closed carriage in real time, and send the collected data to the data calculation and control module after packaging and processing. The data calculation and control module is used to receive the collected data, compare the collected data with the preset danger threshold, and if the threshold is reached, send a reminder message to the user and send a control command to the execution terminal module. The execution terminal module is used to receive control commands, execute corresponding carriage environment adjustment operations, and improve the environmental conditions inside the enclosed carriage.
8. The intelligent monitoring and safety protection system for a closed carriage environment as described in claim 7, characterized in that, The carriage environment acquisition module includes a main control chip, an electrochemical gas sensor group, a temperature sensor, a power supply unit, and a software operation unit; The main control chip is a low-power Bluetooth chip, used to control the data acquisition rhythm of each sensor and the transmission of acquired data; The electrochemical gas sensor group includes at least one electrochemical gas sensor, which is used to collect the concentration of the target gas inside the carriage; The temperature sensor is used to collect real-time temperature data inside the carriage. The power supply unit provides continuous power to the carriage environment acquisition module, ensuring low-power operation of the module; The software execution unit adopts a multi-threaded task scheduling mode, with each thread independently corresponding to a sensor data acquisition task.
9. A computer-readable storage medium having a program stored thereon, characterized in that, When executed by the processor, the program implements the steps of the intelligent monitoring and safety protection method for a closed carriage environment as described in any one of claims 1-7.
10. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the intelligent monitoring and safety protection method for a closed carriage environment as described in any one of claims 1-7.
