Fire extinguisher pressure monitoring method and device, terminal equipment and storage medium

Through Hall components, the magnetic field changes of the fire extinguisher pressure gauge are detected, and the low-cost, flexible and automated pressure gauge monitoring is achieved, which solves the problems of high equipment costs and poor adjustment flexibility in the existing technology, and improves the flexibility and accuracy of monitoring .

CN119215370APending Publication Date: 2024-12-31GUANGZHOU XUANKUN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411512953.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing fire extinguisher pressure gauge monitoring equipment is costly and has poor adjustment flexibility, making it impossible to achieve low-cost, flexible and automated intelligent monitoring.

Method used

Hall elements are used to detect the magnetic field changes caused by changes in magnetic pointers, and automated pressure gauge monitoring is realized through digital signals and analog voltage signals conversion, and electrical signals are received through different ports to dynamically adjust the Hall element type to meet various pressure monitoring needs.

Benefits of technology

Low-cost, flexible and automated pressure gauge monitoring is achieved, reducing equipment costs, and improving monitoring flexibility and accuracy, avoiding perforation of pressure gauge and ensuring sealing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119215370A_ABST
    Figure CN119215370A_ABST
Patent Text Reader

Abstract

The invention discloses a fire extinguisher pressure monitoring method and device, terminal equipment and a storage medium. The method comprises the steps of receiving corresponding first electric signals through a plurality of first ports; wherein the first electric signal is obtained according to a second electric signal generated by the magnetic field change caused by the rotation of a pointer in the pressure gauge sensed by the corresponding Hall element; the pointer is provided with a magnetic component; the first electric signal comprises a digital signal and an analog voltage signal; when the first electric signal is the digital signal, detecting the high-low state of the corresponding digital signal through the corresponding first port; when the first electric signal is the analog voltage signal, the corresponding analog voltage signal is converted into a voltage value through the corresponding first port; and determining a pressure state according to the high-low state or the voltage value acquired by each first port. On the premise of ensuring the accuracy of the pressure state monitoring result, the monitoring cost of the fire extinguishing pressure gauge is reduced, and the monitoring flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of pressure gauge monitoring, and in particular to a fire extinguisher pressure monitoring method, device, terminal equipment and storage medium. Background Art

[0002] The working principle of a fire extinguisher is to use the internal pressure to spray the extinguishing agent through the nozzle and cover the burning object, thereby achieving the purpose of extinguishing the fire. When the internal pressure is insufficient, the extinguishing agent will not be sprayed smoothly, and when the temperature around the fire extinguisher is too high, the internal pressure of the fire extinguisher will increase, resulting in the risk of explosion. Therefore, how to accurately indicate the internal pressure of the fire extinguisher is an important factor in ensuring environmental safety.

[0003] The existing technology usually monitors the internal pressure of the fire extinguisher through a mechanical pressure gauge or an electronic pressure gauge. However, since the reading of the mechanical pressure gauge must be observed by the naked eye, it is impossible to achieve intelligent monitoring, resulting in low observation efficiency. Although the electronic pressure gauge can achieve intelligent monitoring and can accurately read the pressure value, it is expensive and has a complex structure. At the same time, since the reliability verification time of the electronic pressure gauge is long, when the electronic pressure gauge needs to be adjusted according to different needs, its adjustment flexibility is poor.

[0004] Therefore, how to reduce the cost of pressure gauges and achieve flexible and automated intelligent monitoring while ensuring monitoring accuracy is a technical problem that needs to be solved at present. Summary of the invention

[0005] The present application provides a fire extinguisher pressure monitoring method, device, terminal equipment and storage medium to solve the technical problem of how to reduce the cost of the pressure gauge and realize flexible and automated intelligent monitoring while ensuring the monitoring accuracy.

[0006] In order to solve the above technical problems, in a first aspect, an embodiment of the present application provides a fire extinguisher pressure monitoring method, comprising:

[0007] Receive corresponding first electrical signals through a plurality of first ports; wherein the first electrical signal is obtained according to the second electrical signal generated by the change of magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal;

[0008] When the first electrical signal is the digital signal, the high and low states of the corresponding digital signal are detected by corresponding to the first port; when the first electrical signal is the analog voltage signal, the corresponding analog voltage signal is converted into a voltage value by corresponding to the first port;

[0009] The pressure state is determined according to the high or low state or voltage value obtained by each of the first ports.

[0010] Compared with the prior art, the embodiments of the present application have the following beneficial effects: through the principle of the Hall effect, a number of Hall elements are used to detect the changes in the magnetic field caused by the movement of the magnetic pointer, and the changes in the magnetic field are converted into electrical signals to facilitate the subsequent automatic identification of the pointer rotation corresponding to the electrical signal, thereby realizing low-cost automatic pressure gauge monitoring; in addition, by setting different ports to receive the electrical signals obtained by the corresponding Hall elements, it is possible to dynamically adjust the type of installed Hall elements according to actual needs, thereby improving the flexibility of pressure gauge pressure monitoring; at the same time, it is only necessary to replace the Hall elements to meet a variety of pressure monitoring needs, further reducing the cost of the pressure gauge.

[0011] In some embodiments of the first aspect of the present application, the first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the Hall element, and includes:

[0012] Wherein, the Hall element includes: an omnipolar Hall switch and a linear Hall sensor;

[0013] The digital signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the omnipolar Hall switch sensing pressure gauge through a pull resistor;

[0014] The analog voltage signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the linear Hall sensor through a voltage amplifier circuit.

[0015] Compared with the prior art, the above embodiment has the following beneficial effects: through the omnipolar Hall switch, only a relatively low hardware cost is required to meet the pressure gauge monitoring scenario with low precision requirements, and further through the linear Hall sensor, in combination with the voltage amplifier circuit, the analog voltage signal is amplified, and combined with the continuous characteristics of the analog voltage signal, the pressure gauge monitoring scenario with high precision requirements is met. Therefore, by being compatible with a variety of Hall elements, the pressure gauge monitoring tasks under different requirements can be completed, effectively improving the flexibility of pressure gauge monitoring.

[0016] In some embodiments of the first aspect of the present application, the first port includes: a GPIO input port and an ADC input port;

[0017] Wherein, when the first electrical signal is the digital signal, the high and low level states of the digital signal are received and detected through the GPIO input port;

[0018] When the first electrical signal is the analog voltage signal, the analog voltage signal is received through the ADC input port and converted into a voltage value.

[0019] Compared with the prior art, the above embodiment has the following beneficial effects: through the GPIO input port, the high and low level states of the digital signal can be quickly detected. For monitoring tasks that only need to read the range of the pressure gauge reading, the data processing efficiency is effectively improved while ensuring the accuracy of the pressure state; through the ADC input port, the continuous analog voltage signal can be converted into a voltage value, so that the distance between the Hall element and the pointer can be accurately calculated according to the voltage value. For monitoring tasks that require accurate pressure readings, the accuracy of the monitoring results is improved; at the same time, the coupling design of multiple ports effectively improves the scalability of subsequent pressure gauge monitoring program formulation.

[0020] In some embodiments of the first aspect of the present application, determining the pressure state according to the high or low state or voltage value obtained by each of the first ports includes:

[0021] Determine the position of the corresponding Hall element relative to the pointer according to the high and low states, and determine the pressure state according to all the positions;

[0022] The distance between the corresponding Hall element and the pointer is calculated according to the voltage value, and the pressure state is determined according to all the distances.

[0023] Compared with the prior art, the above embodiment has the following beneficial effects: according to the different data obtained through the first port, a corresponding pressure state mapping method is set to meet the pressure monitoring tasks with different accuracy requirements, thereby improving the scalability of the subsequent pressure gauge monitoring plan.

[0024] In some embodiments of the first aspect of the present application, the Hall elements are evenly distributed in a fan shape on the front and back sides of the pressure state indication area of ​​the pressure gauge with the center of the pressure gauge as the center.

[0025] Compared with the prior art, the above embodiment has the following beneficial effects: by arranging the Hall element on the front and back sides of the pressure status indication area of ​​the pressure gauge, the convenience of installing and replacing the Hall element is firstly improved. In addition, there is no need to perform piercing and lead-in operations on the pressure gauge, thereby ensuring the sealing inside the pressure gauge. At the same time, it can cooperate with the signal processing circuit, input port and microprocessor, and even if the Hall element is far away from the magnetic component, the accuracy of the monitoring result can still be guaranteed.

[0026] In some embodiments of the first aspect of the present application, after the pressure state is obtained, the method further includes:

[0027] The pressure state is sent to a data transmission circuit, and the pressure state is sent to a platform or a gateway through the data transmission circuit; the gateway is used to communicate with the platform.

[0028] Compared with the prior art, the above embodiments have the following beneficial effects: through the dual communication design of the gateway and the platform, the fault tolerance of data transmission is effectively improved; among them, through direct communication with the platform, the real-time performance of data transmission is improved; and by using the gateway as an intermediate medium to communicate with the platform, the stability of data transmission is improved when the network is unstable.

[0029] In some embodiments of the first aspect of the present application, further comprising:

[0030] Through the interrupt service program, several interrupt events are monitored in real time, and corresponding interrupt service execution operations are executed according to the monitored interrupt events; the interrupt events include: Hall switch state change events, network data communication events, power supply abnormality events and heartbeat cycle expiration events;

[0031] When the interruption event is not detected, the power supply is controlled to enter a power saving mode.

[0032] Compared with the prior art, the above embodiment has the following beneficial effects: by real-time monitoring of interrupt events, the system will be awakened only when an interrupt event is triggered, thereby effectively reducing the power consumption of the monitoring device and improving the use time of the power supply.

[0033] In a second aspect, the present application further provides a fire extinguisher pressure monitoring device, comprising: a first electrical signal receiving module, a signal processing module, and a pressure state determination module;

[0034] The first electrical signal receiving module receives the corresponding first electrical signal through a plurality of first ports; wherein the first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge inductively sensed by the corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal;

[0035] The signal processing module is used for, when the first electrical signal is the digital signal, detecting the high and low states of the corresponding digital signal through the corresponding first port; when the first electrical signal is the analog voltage signal, converting the corresponding analog voltage signal into a voltage value through the corresponding first port;

[0036] The pressure state determination module determines the pressure state according to the high or low state or voltage value obtained by each of the first ports.

[0037] In a third aspect, the present application also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the above-mentioned fire extinguisher pressure monitoring method when executing the computer program.

[0038] In a fourth aspect, the present application also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned fire extinguisher pressure monitoring method. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flow chart of a fire extinguisher pressure monitoring method provided in some embodiments of the present application;

[0040] Figure 2 A schematic diagram of a pressure gauge structure provided in some embodiments of the present application;

[0041] Figure 3 A circuit diagram of a pressure monitoring device using a fire extinguisher pressure monitoring method provided in some embodiments of the present application;

[0042] Figure 4 A schematic diagram of a digital signal output for pressure monitoring based on an omnipolar Hall switch provided in some embodiments of the present application;

[0043] Figure 5 A monitoring system framework diagram provided in some embodiments of the present application;

[0044] Figure 6 A schematic diagram of a microprocessor workflow provided in some embodiments of the present application;

[0045] Figure 7 This is a schematic structural diagram of a fire extinguisher pressure monitoring device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0046] The existing technology usually monitors the internal pressure of the fire extinguisher through a mechanical pressure gauge or an electronic pressure gauge. However, since the reading of the mechanical pressure gauge must be observed by the naked eye, it is impossible to achieve intelligent monitoring, resulting in low observation efficiency. Although the electronic pressure gauge can achieve intelligent monitoring and can accurately read the pressure value, it is expensive and has a complex structure. At the same time, since the reliability verification time of the electronic pressure gauge is long, when the electronic pressure gauge needs to be adjusted according to different needs, its adjustment flexibility is poor.

[0047] In order to solve the above technical problems, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] Embodiment 1

[0049] Please refer to Figure 1 , a fire extinguisher pressure monitoring method provided in an embodiment of the present application, including S10 to S30, specifically:

[0050] S10: Receive corresponding first electrical signals through a plurality of first ports; wherein, the first electrical signal is obtained based on a second electrical signal generated by a change in magnetic field caused by the rotation of a pointer in a pressure gauge sensed by a corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal.

[0051] Furthermore, in some embodiments of the present application, the first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the Hall element, and includes:

[0052] Wherein, the Hall element includes: an omnipolar Hall switch and a linear Hall sensor;

[0053] The digital signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the omnipolar Hall switch sensing pressure gauge through a pull resistor;

[0054] The analog voltage signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the linear Hall sensor through a voltage amplifier circuit.

[0055] Through the omnipolar Hall switch, only a low hardware cost is required to meet the pressure gauge monitoring scenario with low accuracy requirements. Furthermore, through the linear Hall sensor, combined with the voltage amplifier circuit, the analog voltage signal can be amplified. Combined with the continuous characteristics of the analog voltage signal, it can meet the pressure gauge monitoring scenario with high accuracy requirements. Therefore, by being compatible with a variety of Hall elements, it can complete pressure gauge monitoring tasks under different requirements, effectively improving the flexibility of pressure gauge monitoring.

[0056] Furthermore, in some embodiments of the present application, the Hall elements are evenly distributed in a fan shape on the front and back sides of the pressure state indication area of ​​the pressure gauge with the center of the pressure gauge as the center of the circle.

[0057] By setting the Hall element on the front and back sides of the pressure status indication area of ​​the pressure gauge, the convenience of installing and replacing the Hall element is first improved. In addition, there is no need to perform piercing and lead-in operations on the pressure gauge, which ensures the sealing of the inside of the pressure gauge. At the same time, it can cooperate with the signal processing circuit, input port and microprocessor. Even if the Hall element is far away from the magnetic component, the accuracy of the monitoring results can still be guaranteed.

[0058] Preferably, reference Figure 2, is a schematic diagram of a pressure gauge structure provided in some embodiments of the present application, wherein a micro magnet is installed on the pointer, and each Hall switch 1 to 6 (the Hall sensor described in the present application) is distributed in a fan shape on the front and back sides of the pressure state indication area of ​​the mechanical pressure gauge with the center of the circle of the machine pressure gauge as the center of the circle. Among them, the magnetic field strength generated by the micro magnet needs to be greater than or equal to 3000Gs; the Hall sensor is any one of a linear Hall sensor or an omnipolar Hall switch, and all the Hall sensors installed on the pressure gauge can all be linear Hall sensors, or all can be omnipolar Hall switches, or there can be both linear Hall sensors and omnipolar Hall switches. Among them, the number of Hall sensors can be set according to the actual pressure state indication area, and the present application does not limit the number of Hall sensors set.

[0059] S20: When the first electrical signal is the digital signal, the high and low states of the corresponding digital signal are detected through the corresponding first port; when the first electrical signal is the analog voltage signal, the corresponding analog voltage signal is converted into a voltage value through the corresponding first port.

[0060] Further, in some embodiments of the present application, the first port includes: a GPIO (General Purpose Input / Output) input port and an ADC (Analog-to-Digital Converter) input port;

[0061] Wherein, when the first electrical signal is the digital signal, the high and low level states of the digital signal are received and detected through the GPIO input port;

[0062] When the first electrical signal is the analog voltage signal, the analog voltage signal is received through the ADC input port and converted into a voltage value.

[0063] Through the GPIO input port, the high and low level states of the digital signal can be quickly detected. For monitoring tasks that only need to read the range of the pressure gauge reading, the data processing efficiency is effectively improved while ensuring the accuracy of the pressure state. Through the ADC input port, the continuous analog voltage signal can be converted into a voltage value, so that the distance between the Hall element and the pointer can be accurately calculated based on the voltage value. For monitoring tasks that require accurate pressure readings, the accuracy of the monitoring results is improved. At the same time, the coupling design of multiple ports effectively improves the scalability of subsequent pressure gauge monitoring solutions.

[0064] Preferably, reference Figure 3, is a circuit diagram of a pressure monitoring device applying a fire extinguisher pressure monitoring method provided in some embodiments of the application, comprising: an LDO (Low Dropout Regulator) power supply, a Hall sensor array composed of multiple Hall sensors, a signal processing circuit, a microprocessor and a wireless / wired data transmission circuit; wherein the LDO power supply is connected to the Hall sensor array, the signal processing circuit and the microprocessor; the Hall sensor array is connected to the signal processing circuit, and each Hall sensor is connected to a corresponding signal processing circuit, such as, when it is an omnipolar Hall switch, the signal processing circuit is any one of a pull-up resistor or a pull-down resistor, and when it is a linear Hall sensor, the signal processing circuit is a voltage amplifier circuit; the signal processing circuit is connected to the microprocessor through a corresponding input port, such as, when the electrical signal transmitted by the signal processing circuit is derived from the omnipolar Hall switch, the signal processing circuit is connected to the GPIO input port, and when the electrical signal transmitted by the signal processing circuit is derived from the linear Hall sensor, the signal processing circuit is connected to the ADC input port, and each Hall sensor corresponds to a signal processing circuit and an input port; the microprocessor transmits the electrical signal to the microprocessor through USART / SPI (Universal Synchronous / Asynchronous Receiver / Transmitter, USART; Serial PeripheralInterface, SPI) interface is connected to the wireless / wired data transmission circuit.

[0065] Preferably, in some embodiments of the present application, Figure 3 The input voltage range of the LDO power supply is preferably set to 3.6V to 6V, and the output voltage range is preferably set to 2.7V to 3.3V. The specific setting values ​​can be set according to actual needs.

[0066] Further, in some embodiments of the present application, the pressure state is determined according to the high or low state or voltage value obtained by each of the first ports, including:

[0067] Determine the position of the corresponding Hall element relative to the pointer according to the high and low states, and determine the pressure state according to all the positions;

[0068] The distance between the corresponding Hall element and the pointer is calculated according to the voltage value, and the pressure state is determined according to all the distances.

[0069] According to the different data obtained through the first port, the corresponding pressure state mapping method is set to meet the pressure monitoring tasks with different accuracy requirements, thereby improving the scalability of the subsequent pressure gauge monitoring plan.

[0070] Preferably, in some embodiments of the present application, when all Hall sensors are omnipolar Hall switches, the pressure state can be determined by the following preferred example:

[0071] refer to Figure 4 , is a schematic diagram of a digital signal output of pressure monitoring based on an omnipolar Hall switch provided in some embodiments of the present application, combined with Figure 2 , assuming Figure 2 All Hall sensors in the are omnipolar Hall switches. Figure 4 Schematic diagrams of output signals when the pointer is in the "refilling" zone, "normal" zone and "superfilling" zone are given in turn.

[0072] When the digital signals output by omnipolar Hall switches 1 and 2 are low, the digital signals output by omnipolar Hall switch 3 are low or high, and the digital signals output by omnipolar Hall switches 4, 5, and 6 are high, it is determined that the pointer is in the "recharging" zone; when the digital signals output by omnipolar Hall switch 1 are high in sequence, the digital signals output by omnipolar Hall switch 2 are low or high, the digital signals output by omnipolar Hall switches 3 and 4 are low, and the digital signals output by omnipolar Hall switches 5 and 6 are high, it is determined that the pointer is in the "normal" zone; when the digital signals output by omnipolar Hall switches 1, 2, and 3 are high, the digital signals output by omnipolar Hall switch 4 are low or high, and the digital signals output by omnipolar Hall switches 5 and 6 are low, it is determined that the pointer is in the "supercharging" zone.

[0073] Preferably, in some embodiments of the present application, when all Hall sensors are linear Hall sensors, the pressure state can be determined by the following preferred embodiments: the linear Hall sensor outputs an analog voltage signal, the analog voltage signal is amplified by an amplifier circuit and connected to the ADC input port of the microprocessor, the microprocessor performs ADC sampling on the analog voltage signal, converts the analog voltage signal into a voltage value in the form of a digital signal, and converts the voltage value into the distance between the magnet and the linear Hall sensor according to the mapping relationship between the voltage value and the distance between the magnet and the linear Hall sensor. The mapping relationship between the voltage value and the distance between the magnet and the linear Hall sensor can be obtained by conducting experiments in advance, and the present application does not limit the mapping relationship.

[0074] Since the linear Hall sensor is arranged on the outside of the mechanical watch, the monitoring distance between the linear Hall sensor and the magnet is farther than that of the linear Hall sensor arranged on the inside of the mechanical watch. Therefore, the problem of decreased accuracy caused by the long monitoring distance can be solved by optimizing the signal processing circuit and the ADC performance of the microprocessor.

[0075] Preferably, in some embodiments of the present application, when all Hall sensors include both omnipolar Hall switches and linear Hall sensors, the electrical signals corresponding to each Hall sensor can be processed through the corresponding input ports respectively, and accurate pressure readings can be obtained based on the orientation and distance of the Hall element relative to the pointer.

[0076] S30: Determine the pressure state according to the high or low state or voltage value obtained by each of the first ports.

[0077] Furthermore, in some embodiments of the present application, after obtaining the pressure state, the following is further included:

[0078] The pressure state is sent to a data transmission circuit, and the pressure state is sent to a platform or a gateway through the data transmission circuit; the gateway is used to communicate with the platform.

[0079] The dual communication design of the gateway and the platform effectively improves the fault tolerance of data transmission. Specifically, the real-time performance of data transmission is improved through direct communication with the platform. And the stability of data transmission is improved when the network is unstable by using the gateway as an intermediate medium to communicate with the platform.

[0080] Preferably, in some embodiments of the present application, reference Figure 2 ,The microprocessor transmits the pressure state to the wireless / wired data transmission circuit through the USART / SPI interface.,Further, refer to Figure 5 This is a monitoring system framework diagram provided in some embodiments of the present application, in which the pressure status of each fire extinguisher is directly or indirectly sent to the Internet of Things monitoring platform through a wireless / wired data transmission circuit, specifically:

[0081] The monitoring device of the fire extinguisher communicates directly with the Internet of Things monitoring platform through a cellular network, such as 4G, 5G, NB-loT (Narrow Band Internet of Things), etc.; after the fire extinguisher communicates with the gateway through a wired (such as RS485 and other wired LAN) or wireless (LoRa (Long Range), Bluetooth, traditional 433MHz and other wireless LAN) method, the gateway communicates with the Internet of Things monitoring platform through a cellular network or Ethernet; when the Internet of Things monitoring platform receives the pressure status, it returns the confirmation information to each fire extinguisher directly or indirectly, and pushes the relevant pressure status to the application service. The application server includes but is not limited to: fire supervision center, Internet of Things operation and maintenance platform, APP alarm push / public account push / SMS notification and other services.

[0082] Furthermore, in some embodiments of the present application, it also includes:

[0083] Through the interrupt service program, several interrupt events are monitored in real time, and corresponding interrupt service execution operations are executed according to the monitored interrupt events; the interrupt events include: Hall switch state change events, network data communication events, power supply abnormality events and heartbeat cycle expiration events;

[0084] When the interruption event is not detected, the power supply is controlled to enter a power saving mode.

[0085] By monitoring interrupt events in real time, the system will be awakened only when an interrupt event is triggered, thereby effectively reducing the power consumption of the monitoring device and increasing the power usage time.

[0086] Preferably, reference Figure 6 A schematic diagram of a microprocessor workflow provided in some embodiments of the present application, combined with Figure 6 , the start and stop of the power saving mode of the monitoring device can be controlled by the following preferred implementation:

[0087] S41: Initialize the monitoring system and the Hall sensor array;

[0088] S42: Real-time monitoring of interruption events, including Hall switch state change events, network data communication events, power supply abnormality events, and heartbeat cycle expiration events;

[0089] S43: When the Hall switch changes and causes the pressure state to change, the pressure state is uploaded to the IoT monitoring platform; when the power supply is abnormal, the power state is updated and the updated power state is uploaded to the IoT monitoring platform; when the heartbeat cycle reaches the predetermined event, the latest pressure state and power state are obtained and uploaded to the IoT monitoring platform; when the data is uploaded, the IoT monitoring platform is notified that the data upload is completed, and the network data communication event is completed;

[0090] S44: When no interruption event is detected, the power saving mode is entered; otherwise, the interruption event is continuously monitored and the interruption execution operation corresponding to the interruption event is executed.

[0091] In summary, a fire extinguisher pressure monitoring method provided in an embodiment of the present application has the following beneficial effects: through the principle of the Hall effect, a number of Hall elements are used to detect the magnetic field changes caused by the changes in the magnetic pointer, and the magnetic field changes are converted into electrical signals to facilitate the subsequent automatic identification of the pointer rotation corresponding to the electrical signal, thereby realizing low-cost automatic pressure gauge monitoring; in addition, by setting different ports to receive the electrical signals obtained by the corresponding Hall elements, it is possible to dynamically adjust the type of installed Hall elements according to actual needs, thereby improving the flexibility of pressure gauge pressure monitoring; at the same time, it is only necessary to replace the Hall elements to meet a variety of pressure monitoring needs, further reducing the cost of the pressure gauge.

[0092] Embodiment 2

[0093] refer to Figure 7 , is a fire extinguisher pressure monitoring device provided in an embodiment of the present application, comprising: a first electrical signal receiving module 11, a signal processing module 12 and a pressure state determining module 13.

[0094] Furthermore, in some embodiments of the present application, the first electrical signal receiving module 11 receives the corresponding first electrical signal through several first ports; wherein the first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal; the signal processing module 12 is used to detect the high and low states of the corresponding digital signal through the corresponding first port when the first electrical signal is the digital signal; when the first electrical signal is the analog voltage signal, the corresponding analog voltage signal is converted into a voltage value through the corresponding first port; the pressure state determination module 13 determines the pressure state according to the high and low states or voltage values ​​obtained by each of the first ports.

[0095] It can be understood that the above-mentioned device item embodiment corresponds to the method item embodiment of the present invention. A fire extinguisher pressure monitoring device provided by the embodiment of the present invention can implement any method item embodiment of the present invention, that is, the fire extinguisher pressure monitoring method provided in embodiment one.

[0096] A fire extinguisher pressure monitoring device provided in an embodiment of the present application has the following beneficial effects: through the principle of the Hall effect, a plurality of Hall elements are used to detect the magnetic field changes caused by the changes in the magnetic pointer, and the magnetic field changes are converted into electrical signals to facilitate the subsequent automatic identification of the pointer rotation corresponding to the electrical signal, thereby realizing low-cost automatic pressure gauge monitoring; in addition, by setting different ports to receive the electrical signals obtained by the corresponding Hall elements, it is possible to dynamically adjust the type of installed Hall elements according to actual needs, thereby improving the flexibility of pressure gauge pressure monitoring; at the same time, it is only necessary to replace the Hall elements to meet a variety of pressure monitoring needs, further reducing the cost of the pressure gauge.

[0097] Embodiment 3

[0098] Based on the above-mentioned embodiment of the fire extinguisher pressure monitoring method, another embodiment of the present application provides a fire extinguisher pressure monitoring terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the fire extinguisher pressure monitoring method of any embodiment of the present application is implemented.

[0099] Exemplarily, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the fire extinguisher pressure monitoring device.

[0100] The fire extinguisher pressure monitoring device may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The fire extinguisher pressure monitoring terminal device may include, but is not limited to, a processor and a memory.

[0101] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The processor is the control center of the fire extinguisher pressure monitoring device, and uses various interfaces and lines to connect the various parts of the entire fire extinguisher pressure monitoring device. The memory may be used to store the computer program and / or module, and the processor implements the various functions of the fire extinguisher pressure monitoring device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, an internal memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0102] Embodiment 4

[0103] Based on the above-mentioned embodiment of the fire extinguisher pressure monitoring method, another embodiment of the present application provides a storage medium, wherein the storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the fire extinguisher pressure monitoring method of any embodiment of the present application.

[0104] In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0105] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A fire extinguisher pressure monitoring method, characterized in that: include: Receive corresponding first electrical signals through a plurality of first ports; wherein the first electrical signal is obtained according to the second electrical signal generated by the change of magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal; When the first electrical signal is the digital signal, the high and low states of the corresponding digital signal are detected by corresponding to the first port; when the first electrical signal is the analog voltage signal, the corresponding analog voltage signal is converted into a voltage value by corresponding to the first port; The pressure state is determined according to the high or low state or voltage value obtained by each of the first ports.

2. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: The first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the Hall element, include: Wherein, the Hall element includes: an omnipolar Hall switch and a linear Hall sensor; The digital signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the omnipolar Hall switch sensing pressure gauge through a pull resistor; The analog voltage signal is obtained by processing the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the linear Hall sensor through a voltage amplifier circuit.

3. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: The first port includes: a GPIO input port and an ADC input port; Wherein, when the first electrical signal is the digital signal, the high and low level states of the digital signal are received and detected through the GPIO input port; When the first electrical signal is the analog voltage signal, the analog voltage signal is received through the ADC input port and converted into a voltage value.

4. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: Determining the pressure state according to the high or low state or voltage value obtained by each of the first ports includes: Determine the position of the corresponding Hall element relative to the pointer according to the high and low states, and determine the pressure state according to all the positions; The distance between the corresponding Hall element and the pointer is calculated according to the voltage value, and the pressure state is determined according to all the distances.

5. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: include: The Hall elements are evenly distributed on the front and back sides of the pressure state indicating area of ​​the pressure gauge in a fan shape with the center of the pressure gauge as the center of the circle.

6. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: When the pressure status is obtained, it also includes: The pressure state is sent to a data transmission circuit, and the pressure state is sent to a platform or a gateway through the data transmission circuit; the gateway is used to communicate with the platform.

7. A fire extinguisher pressure monitoring method as claimed in claim 1, characterized in that: Also includes: Through the interrupt service program, several interrupt events are monitored in real time, and corresponding interrupt service execution operations are executed according to the monitored interrupt events; The interruption events include: Hall switch state change events, network data communication events, power supply abnormality events, and heartbeat cycle expiration events; When the interruption event is not detected, the power supply is controlled to enter a power saving mode.

8. A fire extinguisher pressure monitoring device, characterized in that: include: A first electrical signal receiving module, a signal processing module and a pressure state determining module; The first electrical signal receiving module receives the corresponding first electrical signal through a plurality of first ports; wherein the first electrical signal is obtained according to the second electrical signal generated by the change of the magnetic field caused by the rotation of the pointer in the pressure gauge sensed by the corresponding Hall element; the pointer is equipped with a magnetic component; the first electrical signal includes: a digital signal and an analog voltage signal; The signal processing module is configured to detect the high and low states of the corresponding digital signal through the corresponding first port when the first electrical signal is the digital signal; and to convert the corresponding analog voltage signal into a voltage value through the corresponding first port when the first electrical signal is the analog voltage signal; The pressure state determination module determines the pressure state according to the high or low state or voltage value obtained by each of the first ports.

9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a fire extinguisher pressure monitoring method as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a fire extinguisher pressure monitoring method as claimed in any one of claims 1 to 7.