A natural gas station security intelligent monitoring and early warning method, system and storage medium
Through intelligent monitoring and early warning methods, combined with elastic rope stretch signals and occlusion time intervals, combined with camera monitoring, the problem of misjudgment in security detection of existing natural gas stations has been solved, and detection accuracy and work efficiency have been improved.
Patent Information
- Application Number
- CN202311136525.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-09-04
AI Technical Summary
The existing physical isolation detection method of natural gas stations has the risk of misjudgment. Small false touches can also trigger alarms, leading to inaccurate security detection and misjudgment.
The intelligent monitoring and early warning method is adopted to determine whether the preset time has been exceeded by obtaining the elastic cord stretching signal and the occlusion time interval. Combined with camera monitoring, it is determined whether someone has broken in and generates corresponding alarm signals to reduce misjudgment.
It improves the accuracy of security detection and staff efficiency of natural gas stations, reduces the number of inspections by security personnel, and enhances security monitoring efficiency.
Smart Images

Figure CN117315866B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of natural gas station security detection, and in particular to a natural gas station security intelligent monitoring and early warning method, system and storage medium. Background Art
[0002] During the transportation process to users, natural gas needs to be received, stored, pressurized and distributed by natural gas stations. According to the instructions of the natural gas dispatching center, the natural gas transportation pipeline network reaches the required pressure and maintains the balance between supply and demand. In order to ensure the safety of natural gas transportation, an isolation and protection system must be set up around the natural gas station. Because there is natural gas in the station, although there are multiple protection structures inside, for the sake of safety, there are also protective devices outside the natural gas station to prevent others from breaking into the natural gas station.
[0003] However, for safety reasons, the above isolation protection structure usually does not use power grids that may generate sparks, but uses physical isolation. Current physical isolation relies on tensioned wire ropes. When the wire ropes are collided, the tension of the wire ropes changes, and then an alarm sound is issued to inform the staff.
[0004] However, this detection method, which alarms when the wire rope is collided, has a loophole. Suppose the foreign object just accidentally touches the wire rope but does not intend to break into the natural gas station, and the alarm has already sounded at this time, the security detection of the natural gas station will be inaccurate and easy to cause misjudgment. Summary of the invention
[0005] In order to improve the accuracy of security detection at natural gas stations and improve the work efficiency of staff, the present application provides a natural gas station security intelligent monitoring and early warning method, system and storage medium.
[0006] In the first aspect, the present application provides a natural gas station security intelligent monitoring and early warning method, which adopts the following technical solution:
[0007] A natural gas station security intelligent monitoring and early warning method comprises the following steps:
[0008] Acquire an elastic rope stretching signal, and acquire a blocking time interval according to the elastic rope stretching signal, wherein the blocking time interval represents a time interval for continuously generating an elastic rope stretching signal when the elastic rope is stretched;
[0009] Compare the occlusion time interval with a preset occlusion time;
[0010] If the shielding time interval exceeds the preset shielding time, it is determined that the periphery of the natural gas station needs maintenance by staff, and a first alarm signal is generated to warn security personnel to perform emergency maintenance;
[0011] If the shielding time interval does not exceed the preset shielding time, obtaining the elastic rope tension value and determining whether the elastic rope tension value exceeds a first preset value;
[0012] If the tension value of the elastic rope exceeds the first preset value, a second alarm signal is generated to control the camera to turn on, and the monitoring interface of the camera is sent to the monitoring room in real time.
[0013] By adopting the above technical solution, the accuracy of security detection of natural gas stations can be improved, and the work efficiency of staff can be improved. Based on the comparison between the blocking time interval and the preset blocking time, if the blocking time interval exceeds the preset blocking time, it is determined that the periphery of the natural gas station needs maintenance by staff, and a first alarm signal is generated to alert security personnel to emergency maintenance; if the blocking time interval does not exceed the preset blocking time, the tension value of the elastic rope is obtained and it is determined whether the tension value of the elastic rope exceeds the first preset value; if the tension value of the elastic rope exceeds the first preset value, it is determined that someone may break into the periphery of the natural gas station, and a second alarm signal is generated to control the opening of the camera, and the monitoring interface of the camera is sent to the monitoring room in real time, thereby reducing the number of inspections by security personnel and improving the security monitoring efficiency of the entire natural gas station.
[0014] In some embodiments, the step of obtaining the elastic rope stretching signal comprises the following steps:
[0015] Regularly obtain the tension value of the elastic rope, and compare the tension value of the elastic rope with a preset starting value;
[0016] If the elastic rope tension value is greater than a preset start value, an elastic rope stretching signal is periodically generated and issued.
[0017] In some embodiments, obtaining the occlusion time interval according to the elastic rope stretching signal includes the following steps:
[0018] Acquire a timer state according to the elastic rope stretching signal, the timer state including a reset state and a timing state, and determine whether the timer state is a timing state;
[0019] If it is determined that the timer state is a timing state, the time recorded by the timer is used as the shielding time interval.
[0020] In some embodiments, obtaining the timer state according to the elastic rope stretching signal comprises the following steps:
[0021] Determining whether the elastic rope stretching signal is received within a first specified time;
[0022] If the elastic rope stretching signal is received within the first specified time, an infrared start signal for controlling the start of the infrared detection is obtained according to the elastic rope stretching signal, and it is determined whether a corresponding feedback signal is received within the second specified time; wherein the infrared detection and the elastic rope are set in the same horizontal direction;
[0023] If the corresponding feedback signal is not received within the second specified time, it is determined that the infrared monitoring is blocked, and a timer start signal is sent to control the timer to start and enter the timing state;
[0024] If the corresponding feedback signal is received within the second specified time, it is determined that the infrared monitoring is not blocked, and a timer closing signal is sent to control the timer to close and enter a reset state;
[0025] If the elastic cord stretching signal is not received within the first specified time, it is determined that no external force is applied to the elastic cord, and an infrared shutdown signal for controlling the shutdown of infrared detection is generated.
[0026] In some of the embodiments, after the monitoring interface of the camera is sent to the monitoring room in real time, the following steps are also included:
[0027] Regularly obtain real-time images captured by the camera;
[0028] Acquire image features based on image recognition according to the real-time image, the image features including human features and animal features, and determine the category corresponding to the image features;
[0029] If the image feature is determined to be a human feature, it is determined that someone has intruded into the periphery of the natural gas station, and a warning signal is generated to remind the person to leave;
[0030] If it is determined that the image feature is an animal feature, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
[0031] In some of the embodiments, after determining that the image feature is a human feature, the following steps are further included:
[0032] Acquire image features, and match the image features in a preset database;
[0033] If a reference image corresponding to the image feature is matched in the preset database, a first alarm signal is generated to alert security personnel to perform emergency maintenance.
[0034] In some of the embodiments, after the shielding time interval does not exceed the preset shielding time, the following steps are further included:
[0035] Obtain a first designated infrared signal, and obtain a first designated shielding time according to the first designated infrared signal; and obtain a designated shielding time according to the designated infrared signal; the first designated infrared signal is characterized by being a feedback signal received by an infrared detector arranged below the tension rope;
[0036] Comparing the first designated shielding time with a preset first designated interval;
[0037] If the first designated shielding time is greater than the preset first designated interval, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
[0038] In some of the embodiments, after comparing the occlusion time interval with the preset occlusion time, the following steps are further included:
[0039] Acquire a second designated infrared signal, and acquire a second designated shielding time according to the second designated infrared signal; the second designated infrared signal is characterized by a feedback signal received by an infrared detector disposed between the tension ropes;
[0040] comparing the second designated shielding time with a preset second designated interval;
[0041] If the second specified blocking time is greater than the preset second specified interval, it is determined that someone has broken into the periphery of the natural gas station, and a warning signal is generated to remind the active personnel to leave, and a detection instruction is generated and a command to execute the detection instruction is issued to the monitoring room; the detection instruction represents an instruction to remind security personnel to check.
[0042] In the second aspect, the present application provides a natural gas station security intelligent monitoring and early warning system, which adopts the following technical solutions:
[0043] A natural gas station security intelligent monitoring and early warning system executes the natural gas station security intelligent monitoring and early warning method.
[0044] In a third aspect, the present application provides a storage medium, which adopts the following technical solution:
[0045] A storage medium stores at least one instruction, at least one program, a code set or an instruction set, wherein the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the natural gas station security intelligent monitoring and early warning method.
[0046] The natural gas station security intelligent monitoring and early warning method, system and storage medium provided by the embodiments of the present application can improve the accuracy of security detection at the natural gas station and improve the work efficiency of the staff. Based on the comparison between the blocking time interval and the preset blocking time, if the blocking time interval exceeds the preset blocking time, it is determined that the periphery of the natural gas station requires staff maintenance, and a first alarm signal is generated to warn security personnel of emergency maintenance; if the blocking time interval does not exceed the preset blocking time, the elastic rope tension value is obtained and it is determined whether the elastic rope tension value exceeds the first preset value; if the elastic rope tension value exceeds the first preset value, it is determined that someone may have broken into the periphery of the natural gas station, and a second alarm signal is generated to control the camera to turn on. , and the monitoring interface of the camera is sent to the monitoring room in real time, thereby reducing the number of inspections by security personnel and improving the security monitoring efficiency of the entire natural gas station; by regularly obtaining the elastic rope tension value, and comparing the elastic rope tension value with the preset start value, if the elastic rope tension value is greater than the preset start value, a elastic rope stretching signal is regularly generated and issued, so that the elastic rope stretching signal generated by the processor can be more accurate; a camera is provided outside the natural gas station, and the camera at the corresponding position is turned on by the second alarm signal, and the real-time picture taken by the camera is convenient for security personnel to confirm whether there is anyone active outside the natural gas station, which can reduce the work of security personnel and further increase security monitoring outside the natural gas station. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a schematic diagram of the structure of an embodiment of the present application;
[0048] Figure 2 It is a schematic diagram of the overall steps of an embodiment of the present application;
[0049] Figure 3 This is a schematic diagram of the steps for obtaining the timer status;
[0050] Figure 4 is a schematic diagram of steps of another embodiment;
[0051] Figure 5 It is a schematic diagram of the overall module of the embodiment of the present application.
[0052] Explanation of the reference numerals: 11. first group of elastic ropes; 12. second group of elastic ropes; 121. elastic meter; 13. first group of infrared detectors; 14. second group of infrared detectors; 15. third group of infrared detectors; 20. data acquisition module; 30. first comparison module; 40. first processing module; 50. second comparison module; 60. second processing module. DETAILED DESCRIPTION
[0053] To more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. However, it should be understood by those of ordinary skill in the art that the present application can be implemented without these details. In some cases, in order to avoid unnecessary descriptions that make various aspects of the present application obscure, well-known methods, processes, systems, components and / or circuits that have been described at a higher level will not be described in detail. For those of ordinary skill in the art, it is obvious that various changes can be made to the embodiments disclosed in the present application, and without departing from the principles and scope of the present application, the general principles defined in the present application can be applied to other embodiments and application scenarios. Therefore, the present application is not limited to the embodiments shown, but conforms to the broadest scope consistent with the scope claimed for protection of the present application.
[0054] The embodiment of the present application discloses a natural gas station security intelligent monitoring and early warning method, which is applied to a monitoring and early warning device, wherein the monitoring and early warning device includes two sets of elastic ropes, three sets of infrared detection, two sets of cameras, a processor and a terminal server.
[0055] Reference Figure 1 , elastic meters 121 are installed at both ends of the two sets of elastic ropes, respectively, and the elastic meters 121 are used to obtain the tension of the elastic ropes and monitor the tension. Both sets of elastic ropes are arranged around the periphery of the natural gas station, and the second set of elastic ropes 12 is arranged above the first set of elastic ropes 11. The first set of infrared detectors 13 and the first set of elastic ropes 11 are arranged in the same horizontal direction, and the first set of infrared detectors 13 is turned on based on the elastic rope stretching signal corresponding to the first set of elastic ropes 11, and controls the infrared timer timing according to the elastic rope stretching signal. The second set of infrared detectors 14 is arranged below the first set of elastic ropes 11, and the second set of infrared detectors 14 is used to obtain specific infrared signals. The third set of infrared detectors 15 is arranged between the first set of elastic ropes 11 and the second set of elastic ropes 12, and is used to determine whether someone crosses the first set of elastic ropes 11 and passes between the first set of elastic ropes 11 and the second set of elastic ropes 12 to break into the natural gas station. The processor is used to obtain the elastic rope stretching signal based on the elastic meter 121, and send the elastic rope stretching signal to the terminal server so that the terminal server can process it, thereby improving the efficiency and accuracy of the peripheral safety monitoring of the natural gas station.
[0056] In addition, the height of the two sets of elastic ropes from the ground can be set according to the actual situation. If it is in the suburbs, it can be set according to the height of an adult's knee. If it is in the living area, it can be set closer to the ground. The position of the infrared detector is adjusted according to the position of the two sets of elastic ropes.
[0057] It should be noted that the specific installation method between the elastic meter 121 and the elastic rope is as follows: first, a number of stress columns are set up outside the natural gas station, and the elastic meter 121 is installed on the stress columns. The elastic meters 121 corresponding to the same set of elastic ropes are installed at the same height from the ground to the stress columns. Then the elastic rope is installed on the elastic meter 121. In addition, infrared detection and cameras are installed at the corresponding positions of the stress columns.
[0058] Combination Figure 2 , a natural gas station security intelligent monitoring and early warning method, comprising the following steps:
[0059] S100, obtaining an elastic rope stretching signal, and obtaining a blocking time interval according to the elastic rope stretching signal.
[0060] The elastic rope stretching signal represents a signal that the first group of elastic ropes 11 are stretched due to external force, and the shielding time interval represents the time interval for continuously generating the elastic rope stretching signal due to the elastic rope being stretched.
[0061] Specifically, the terminal server obtains the elastic rope stretching signal generated by the processor, and obtains the corresponding blocking time interval according to the elastic rope stretching signal.
[0062] In another embodiment, in actual operation, there may be other problems that will cause the elastic rope to be stretched, and then the processor will receive the stretching force on the elastic meter 121 and generate a corresponding elastic rope stretching signal. Therefore, in order to make the elastic rope stretching signal generated by the processor more accurate.
[0063] Obtaining the elastic rope stretching signal includes the following steps:
[0064] S110, periodically obtaining the tension value of the elastic rope, and comparing the tension value of the elastic rope with a preset starting value.
[0065] S120, if the elastic rope tension value is greater than the preset start value, a stretching signal of the elastic rope is generated and issued periodically.
[0066] The elastic rope tension value represents the tension of the elastic rope set at the periphery of the natural gas station due to elastic deformation caused by external force. The elastic rope tension value is mainly obtained by obtaining the value recorded on the elastic meter 121 through the processor.
[0067] It should be noted that the preset start value represents the lowest standard tension value of the elastic rope when it is stretched by artificial external force. In order to avoid the tension rope being slightly stretched due to strong wind, it is necessary to set the lowest standard tension value. By comparing the elastic rope tension value with the preset start value, it is possible to avoid misjudgment by the processor. The preset start value can be set to other values. Preferably, in this embodiment, the preset start value is set to 5 Newtons.
[0068] It should be noted that the blocking time interval represents the time interval of the elastic rope being stretched to generate the elastic rope stretching signal, which means that the elastic rope stretching signal is continuously generated in the continuous time. Therefore, if the first group of elastic ropes 11 are only accidentally touched, the processor will obtain the corresponding elastic rope stretching signal, and the blocking time interval cannot be obtained based on the elastic rope stretching signal. In order to avoid misoperation, it is necessary to regularly and continuously obtain the elastic rope tension value, so that the processor can generate a continuous elastic rope stretching signal, which can make the entire security monitoring more powerful and more effective.
[0069] The periodicity mentioned here can be achieved by manually setting a corresponding time interval, and the time interval can be set to a shorter time, so that the elastic cord stretching signal generated can be continuous within a continuous time. Preferably, it can be set to 0.05 seconds, so that the elastic cord tension value is obtained at intervals, and the elastic cord tension value is compared with the preset start value each time. When the elastic cord tension value is greater than the preset start value, the processor regularly generates and sends an elastic cord stretching signal, and sends the generated elastic cord stretching signal to the terminal server. When the elastic cord tension value is less than the preset start value, the processor does not regularly generate an elastic cord stretching signal. When the elastic cord tension value is equal to the preset start value, the processor does not regularly generate an elastic cord stretching signal.
[0070] The dynamometer 121 referred to here only needs to select a dynamometer 121 of suitable specifications. This application does not change the structure of the dynamometer 121, and the structure of the dynamometer 121 will not be described in detail here. It is only necessary to obtain the tension value of the elastic rope recorded on the dynamometer 121.
[0071] It should be noted here that since the natural gas station is surrounded by a circle of elastic ropes, each group of elastic ropes has more than one elastic rope, so the processor may obtain multiple elastic rope tension values, and the processor also obtains the position information corresponding to the elastic rope tension value, which is convenient for later reminders to security personnel.
[0072] The elastic cord stretching signal is mainly a signal generated by the processor obtained by the terminal server. The specific acquisition method is: the processor obtains the elastic force value recorded on the elastic meter 121, and compares the elastic force value with the preset start value. If the elastic force value is greater than the preset start value, the processor generates an elastic cord stretching signal and sends the elastic cord stretching signal to the terminal server. If the elastic force value is less than the preset start value, the processor does not perform any processing. If the elastic force value is equal to the preset start value, the processor can generate an elastic cord stretching signal and send the elastic cord stretching signal to the terminal server.
[0073] In addition, the elastic rope stretching signal is a signal generated only when the elastic force value is greater than or equal to the preset start value. Therefore, as long as the elastic force value is greater than or equal to the preset start value, the terminal server will regularly receive the elastic rope stretching signal generated by the processor, and then judge the generated occlusion time interval.
[0074] S200, comparing the shielding time interval with a preset shielding time.
[0075] S300: If the shielding time interval exceeds the preset shielding time, it is determined that the periphery of the natural gas station requires maintenance by staff, and a first alarm signal is generated to alert security personnel to perform emergency maintenance.
[0076] Among them, the preset blocking time represents the minimum blocking time required for an alarm, and the first alarm signal represents the signal sent by the terminal server to the monitoring room, which is a signal used to alert security personnel to perform emergency maintenance. After the security personnel obtain the first alarm signal, they need to go to the designated location for maintenance based on the first alarm signal.
[0077] S400: If the blocking time interval does not exceed the preset blocking time, obtain the tension value of the elastic rope and determine whether the tension value of the elastic rope exceeds a first preset value.
[0078] S500: If the tension value of the elastic rope exceeds the first preset value, a second alarm signal is generated for controlling the camera to be turned on, and the monitoring interface of the camera is sent to the monitoring room in real time.
[0079] Among them, the first preset value represents the minimum standard tension value of the elastic rope that may be caused by human activities, and the second alarm signal represents the signal sent by the terminal server to the camera, which is used to control the signal to turn on the camera.
[0080] Specifically, if the shielding time interval does not exceed the preset shielding time, the elastic rope tension value is obtained and it is determined whether the elastic rope tension value exceeds the first preset value. If the elastic rope tension value exceeds the first preset value, it is determined that someone may break into the periphery of the natural gas station, and a second alarm signal for controlling the camera to be turned on is generated, and the camera's monitoring interface is sent to the monitoring room in real time.
[0081] It should be noted here that if the elastic rope tension value does not exceed the first preset value, it means that the elastic rope tension value is not strong enough, and it cannot be said that there are people active outside the current natural gas station, so the terminal server does not process it.
[0082] In another embodiment, since the elastic cord stretching signal is only generated when the elastic cord tension value is greater than the preset start value, when the elastic cord tension value is less than the preset start value, the elastic cord stretching signal will not be generated. Therefore, the timer is not always in the timing state. Only when the timer is in the timing state and receives the elastic cord stretching signal, the timer records the time as the blocking time interval.
[0083] Obtaining the occlusion time interval according to the elastic rope stretching signal includes the following steps:
[0084] S600, obtaining a timer state according to the elastic rope stretching signal, and determining whether the timer state is a timing state.
[0085] S610: If it is determined that the timer state is a timing state, the recorded time of the timer is used as the shielding time interval.
[0086] Among them, the timer state includes a clear state and a timing state. When the timer is in the clear state, it means that the value recorded on the timer is zero and the timer has not started timing. Therefore, when the timer is in the clear state, it does not have the conditions for obtaining the occlusion time interval. It can be assumed that when the timer is in the clear state, the occlusion time interval is zero.
[0087] Reference Figure 1 In another embodiment, in order to more reasonably obtain the timer status, it is necessary to set the opening, accumulation and closing of the timer, so as to more reasonably obtain the blocking time interval. The first group of infrared detectors 13 includes an infrared transmitter and an infrared receiver, and the infrared transmitter and the infrared receiver are in the same horizontal plane. When performing infrared monitoring, when no one wants to break into the natural gas station, the infrared transmitter sends a specific signal to the infrared receiver, and the infrared receiver sends a feedback signal to the infrared transmitter within the specified time, indicating that the group of infrared monitoring is working normally. When someone wants to break into the natural gas station, the signal transmission between the first group of infrared detectors 13 will be blocked. Therefore, if the infrared transmitter does not receive the feedback signal emitted by the infrared receiver within the specified time, it means that someone wants to break into the natural gas station.
[0088] Combination Figure 3 , obtaining the timer state according to the elastic rope stretching signal, including the following steps:
[0089] S601, determining whether an elastic rope stretching signal is received within a first specified time.
[0090] S602: If an elastic cord stretching signal is received within the first specified time, an infrared start signal is obtained according to the elastic cord stretching signal, and it is determined whether a corresponding feedback signal is received within the second specified time.
[0091] S603: If no corresponding feedback signal is received within the second specified time, it is determined that the infrared monitoring is blocked, and a timer start signal is sent to control the timer to start and enter a timing state.
[0092] S604: If a corresponding feedback signal is received within the second specified time, it is determined that the infrared monitoring is not blocked, and a timer closing signal is sent to control the timer to close and enter a reset state.
[0093] S605: If no elastic cord stretching signal is received within the first specified time, it is determined that no external force is applied to the elastic cord, and an infrared shutdown signal for controlling the infrared detection shutdown is generated.
[0094] Among them, the first specified time represents the time when the terminal server receives the elastic rope stretching signal. After the processor generates the elastic rope stretching signal, the elastic rope stretching signal will be sent to the terminal server. Since the elastic rope stretching signal is generated periodically by the processor, the terminal server receives the elastic rope stretching signal within the first specified time, indicating that the processor generates the elastic rope stretching signal.
[0095] Exemplarily, the infrared start signal represents a signal for controlling the first group of infrared detectors 13, and is a signal sent by the terminal server to the first group of infrared detectors 13. When the terminal server receives the elastic rope stretching signal at the first specified time, it can send an infrared start signal to the first group of infrared detectors 13 to control the first group of infrared detectors 13 to start infrared monitoring.
[0096] Exemplarily, the second designated time represents the time when the transmitter of the first group of infrared detectors 13 receives the corresponding receiver transmission signal, and the feedback signal represents the signal fed back by the receiver after receiving the signal transmitted by the transmitter.
[0097] Exemplarily, the timer start signal represents a signal sent by the terminal server to the timer, and the timer start signal is mainly used to control the timer to start and control the timer to enter the timing state. The timer shutdown signal represents a signal sent by the terminal server to the timer, and the timer shutdown signal is mainly used to control the timer to close and control the timer to enter the reset state.
[0098] It should be noted that the first designated time and the second designated time can be manually set, and can be set to the same time or different times. The second designated time only needs to meet the signal transmission speed of the infrared detection transmitter and receiver. The first designated time only needs to meet the signal interaction speed between the processor and the terminal server.
[0099] In another embodiment, in order to reduce the workload of security personnel, cameras are installed outside the natural gas station, and the cameras at corresponding positions are turned on by a second alarm signal, so that the real-time images taken by the cameras are convenient for security personnel to confirm whether there are any human activities outside the natural gas station, thereby further increasing security monitoring outside the natural gas station.
[0100] Reference Figure 4 , after the monitoring interface of the camera is sent to the monitoring room in real time, the following steps are also included:
[0101] S700, periodically obtains real-time images captured by the camera.
[0102] S710, acquiring image features based on image recognition according to the real-time image, the image features including human features and animal features, and determining the category corresponding to the image features.
[0103] S720: If it is determined that the image feature is a human feature, it is determined that someone has intruded into the periphery of the natural gas station, and a warning signal is generated to remind the intruder to leave.
[0104] S730: If it is determined that the image feature is an animal feature, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
[0105] Among them, the real-time image represents the image captured by the camera obtained by the terminal server, the image feature represents the feature of real-time image recognition, and the warning signal represents the signal sent by the terminal server to the language broadcasting device set up outside the natural gas station, which is used to control the language broadcasting device to issue a warning voice. The voice alarm command represents the signal sent by the terminal server to the voice broadcaster, which is mainly used to drive away animals that enter the periphery of the natural gas station.
[0106] It should be noted here that, unlike warning signals, voice alarm instructions are used to drive away animals, and can be achieved by controlling a voice announcer to emit sounds that scare animals, while warning signals are used to drive away people, so warning signals can be achieved by using language that drives people away.
[0107] The method of acquiring image features is mainly based on image recognition technology. The image recognition technology mentioned here uses existing technology to recognize real-time images and obtain image features of real-time images. We will not describe the image recognition technology in detail here.
[0108] In another embodiment, some people have been active outside the natural gas station for a long time and have entered the natural gas station without permission, so they need to be punished to a certain extent. Therefore, it is necessary to quickly identify those who have entered the natural gas station, thereby reducing the workload of security personnel.
[0109] After determining that the image features are human features, the following steps are also included:
[0110] S721, acquiring image features, and matching the image features in a preset database.
[0111] S722: If a reference image corresponding to the image feature is matched in the preset database, a first alarm signal is generated to alert security personnel to perform emergency maintenance.
[0112] The preset database stores information of several persons who attempt to break into the natural gas station. In fact, the preset database records the persons who break into the natural gas station, and the comparison image represents the comparison image corresponding to the image feature in the preset database.
[0113] It should be noted here that since these people have broken into the natural gas station before, when the security system outside the natural gas station is triggered again, the first alarm signal can be directly generated through the terminal server, and the security personnel can be directly reminded to take corresponding measures.
[0114] Reference Figure 1 In another embodiment, some small actions may accidentally trigger the second group of infrared detectors 14. However, if the second group of infrared detectors 14 is triggered, the security personnel will be directly reminded, which will increase the workload of the security personnel. Therefore, small animals can be scared away by voice broadcast to prevent them from further triggering the security system.
[0115] After the occlusion time interval does not exceed the preset occlusion time, the following steps are also included:
[0116] S723: Acquire a first designated infrared signal, and acquire a first designated shielding time according to the first designated infrared signal.
[0117] S724: Compare the first designated shielding time with a preset first designated interval.
[0118] S725: If the first designated shielding time is greater than the preset first designated interval, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
[0119] The first designated infrared signal represents the feedback signal received by the transmitter of the second group of infrared detectors 14, and the first designated shielding time represents the time during which the terminal server continuously receives the first designated infrared signal. The preset first designated interval represents the minimum standard value of the second group of infrared detectors 14 alarm.
[0120] Specifically, the second group of infrared detectors 14 is always turned on, and the terminal server periodically obtains the feedback signal received by the transmitter of the second group of infrared detectors 14. When the terminal server cannot receive the first specified infrared signal, the corresponding timer is turned on to time it to obtain the corresponding first specified blocking time, and the first specified blocking time is compared with the preset first specified interval. If the first specified blocking time is greater than the preset first specified interval, it is determined that there may be animal activities outside the natural gas station, and a voice alarm instruction is generated and a command to execute the voice alarm instruction is sent to the voice announcer to drive the animals away.
[0121] It should be noted that when the terminal server receives the first designated infrared signal, the corresponding timer is turned off and the time counted by the timer is reset to 0. If the first designated shielding time is not greater than the preset first designated interval, the terminal server does not perform any processing.
[0122] Reference Figure 1 In another embodiment, some people may want to avoid elastic ropes when seeing them, so a set of infrared detection is provided between two sets of elastic ropes to improve the security detection strength of the periphery of the natural gas station.
[0123] After comparing the occlusion time interval with the preset occlusion time, the following steps are also included:
[0124] S800: Acquire a second designated infrared signal, and acquire a second designated shielding time according to the second designated infrared signal.
[0125] S810: Compare the second designated shielding time with a preset second designated interval.
[0126] S820, if the second designated shielding time is greater than the preset second designated interval, it is determined that someone has intruded into the periphery of the natural gas station, and a warning signal is generated to remind the active personnel to leave, and a detection instruction is generated and a command to execute the detection instruction is issued to the monitoring room.
[0127] The second designated infrared signal represents the feedback signal received by the transmitter of the third group of infrared detectors 15, and the second designated shielding time represents the time during which the terminal server continuously receives the designated infrared signal. The preset second designated interval represents the minimum standard value for the alarm of the third group of infrared detectors 15, and the detection instruction represents the instruction to remind the security personnel to check.
[0128] It should be noted here that before the terminal server obtains the second designated infrared signal, it must first determine that the terminal server cannot regularly obtain the elastic rope stretching signal corresponding to the first group of elastic ropes 11 and the second group of elastic ropes 12. Therefore, the premise for the terminal server to obtain the second designated infrared signal is that the first group of elastic ropes 11 and the second group of elastic ropes 12 are not subjected to external force to generate elastic rope stretching signals. Specifically, the third group of infrared detectors 15 are always turned on, and the terminal server regularly obtains the feedback signal received by the transmitter of the third group of infrared detectors 15. When the terminal server cannot receive the second designated infrared signal, the corresponding timer is turned on to time it to obtain the corresponding second designated shielding time, and the second designated shielding time is compared with the preset second designated interval. If the second designated shielding time is greater than the preset second designated interval, it is determined that someone has broken into the periphery of the natural gas station, and a warning signal is generated to remind the active personnel to leave, and a detection instruction is generated and a command to execute the detection instruction is issued to the monitoring room.
[0129] It should be noted that when the terminal server receives the second designated infrared signal, the timer is turned off and the time counted by the timer is reset to 0. If the second designated shielding time is not greater than the preset second designated interval, the terminal server does not process it.
[0130] The embodiment of the present application also discloses a natural gas station security intelligent monitoring and early warning system, which implements a natural gas station security intelligent monitoring and early warning method.
[0131] Reference Figure 5 The natural gas station security intelligent monitoring and early warning system includes a data acquisition module 20, a first comparison module 30, a first processing module 40, a second comparison module 50 and a second processing module 60. The data acquisition module 20 is used to obtain the elastic rope stretching signal, and obtain the shielding time interval according to the elastic rope stretching signal. The shielding time interval represents the time interval for the elastic rope to be stretched and generate the elastic rope stretching signal. The first comparison module 30 is used to compare the shielding time interval with the preset shielding time. If the shielding time interval exceeds the preset shielding time, the first processing module 40 is used to determine that the periphery of the natural gas station needs maintenance by staff, and generate a first alarm signal for warning security personnel to perform emergency maintenance. If the shielding time interval does not exceed the preset shielding time, the second comparison module 50 is used to obtain the elastic rope tension value and determine whether the elastic rope tension value exceeds the first preset value. If the elastic rope tension value exceeds the first preset value, the second processing module 60 is used to determine that someone may break into the periphery of the natural gas station, and generate a second alarm signal for controlling the camera to start, and send the camera's monitoring interface to the monitoring room in real time.
[0132] The above-mentioned data acquisition module 20, first comparison module 30, first processing module 40, second comparison module 50 and other functions performed in the second processing module as well as the technical details of each function are the same or similar to the corresponding features in the previously described natural gas station security intelligent monitoring and early warning method, so they will not be repeated here.
[0133] An embodiment of the present application also discloses a storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a natural gas station security intelligent monitoring and early warning method.
[0134] The implementation principle is:
[0135] The data acquisition module 20 acquires the elastic rope stretching signal, and acquires the shielding time interval according to the elastic rope stretching signal, and the shielding time interval represents the time interval when the elastic rope is stretched to generate the elastic rope stretching signal. The first comparison module 30 compares the shielding time interval with the preset shielding time. If the shielding time interval exceeds the preset shielding time, the first processing module 40 determines that the periphery of the natural gas station requires maintenance by staff, and generates a first alarm signal for alerting security personnel to emergency maintenance. If the shielding time interval does not exceed the preset shielding time, the second comparison module 50 acquires the elastic rope tension value and determines whether the elastic rope tension value exceeds the first preset value. If the elastic rope tension value exceeds the first preset value, the second processing module 60 determines that someone may break into the periphery of the natural gas station, and generates a second alarm signal for controlling the camera to be turned on, and sends the camera's monitoring interface to the monitoring room in real time.
[0136] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise clearly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.
[0137] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A natural gas station security intelligent monitoring and early warning method, characterized in that: The following steps are involved: Acquire an elastic rope stretching signal, and acquire a blocking time interval according to the elastic rope stretching signal, wherein the blocking time interval represents a time interval for continuously generating an elastic rope stretching signal when the elastic rope is stretched; Compare the occlusion time interval with a preset occlusion time; If the shielding time interval exceeds the preset shielding time, it is determined that the periphery of the natural gas station needs maintenance by staff, and a first alarm signal is generated to warn security personnel to perform emergency maintenance; If the shielding time interval does not exceed the preset shielding time, obtaining the elastic rope tension value and determining whether the elastic rope tension value exceeds a first preset value; If the tension value of the elastic rope exceeds the first preset value, a second alarm signal is generated for controlling the camera to be turned on, and the monitoring interface of the camera is sent to the monitoring room in real time; Wherein, the step of obtaining the blocking time interval according to the elastic rope stretching signal comprises the following steps: Acquire a timer state according to the elastic rope stretching signal, the timer state including a reset state and a timing state, and determine whether the timer state is a timing state; If it is determined that the timer state is a timing state, the time recorded by the timer is used as the shielding time interval; Wherein, obtaining the timer state according to the elastic rope stretching signal comprises the following steps: Determining whether the elastic rope stretching signal is received within a first specified time; If the elastic rope stretching signal is received within the first specified time, an infrared start signal for controlling the start of the infrared detection is obtained according to the elastic rope stretching signal, and it is determined whether a corresponding feedback signal is received within the second specified time; wherein the infrared detection and the elastic rope are set in the same horizontal direction; If the corresponding feedback signal is not received within the second specified time, it is determined that the infrared detection is blocked, and a timer start signal is sent to control the timer to start and enter the timing state; If the corresponding feedback signal is received within the second specified time, it is determined that the infrared detection is not blocked, and a timer closing signal is sent to control the timer to close and enter a reset state; If the elastic cord stretching signal is not received within the first specified time, it is determined that no external force is applied to the elastic cord, and an infrared shutdown signal for controlling the shutdown of infrared detection is generated.
2. The natural gas station security intelligent monitoring and early warning method according to claim 1 is characterized in that: The step of obtaining the elastic rope stretching signal comprises the following steps: Regularly obtain the tension value of the elastic rope, and compare the tension value of the elastic rope with a preset starting value; If the elastic rope tension value is greater than a preset start value, an elastic rope stretching signal is periodically generated and issued.
3. The natural gas station security intelligent monitoring and early warning method according to claim 1 is characterized in that: After the monitoring interface of the camera is sent to the monitoring room in real time, the following steps are also included: Regularly obtain real-time images captured by the camera; Acquire image features based on image recognition according to the real-time image, the image features including human features and animal features, and determine the category corresponding to the image features; If the image feature is determined to be a human feature, it is determined that someone has intruded into the periphery of the natural gas station, and a warning signal is generated to remind the person to leave; If it is determined that the image feature is an animal feature, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
4. The natural gas station security intelligent monitoring and early warning method according to claim 3 is characterized in that: After determining that the image feature is a human feature, the following steps are also included: Acquire image features, and match the image features in a preset database; If a reference image corresponding to the image feature is matched in the preset database, a first alarm signal is generated to alert security personnel to perform emergency maintenance.
5. The natural gas station security intelligent monitoring and early warning method according to claim 1 is characterized in that: After the shielding time interval does not exceed the preset shielding time, the following steps are also included: Obtaining a first designated infrared signal, and obtaining a first designated shielding time according to the first designated infrared signal; the first designated infrared signal is characterized by being a feedback signal received by an infrared detector disposed below the tension rope; Comparing the first designated shielding time with a preset first designated interval; If the first designated shielding time is greater than the preset first designated interval, a voice alarm instruction is generated and a command for executing the voice alarm instruction is sent to the voice announcer to drive the animal away.
6. The natural gas station security intelligent monitoring and early warning method according to claim 1 is characterized in that: After comparing the blocking time interval with the preset blocking time, the method further includes the following steps: Obtaining a specified infrared signal, and obtaining a specified shielding time according to the specified infrared signal; the specified infrared signal is characterized by a feedback signal received by an infrared detector arranged between the tension ropes; Comparing the specified shielding time with a preset specified interval; If the specified blocking time is greater than the preset specified interval, it is determined that someone has intruded into the periphery of the natural gas station, and a warning signal is generated to remind the active personnel to leave, and a detection instruction is generated and a command to execute the detection instruction is issued to the monitoring room; the detection instruction represents an instruction to remind security personnel to check.
7. A natural gas station security intelligent monitoring and early warning system, characterized in that: A natural gas station security intelligent monitoring and early warning method is implemented as described in any one of claims 1-6.
8. A storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the natural gas station security intelligent monitoring and early warning method as described in any one of claims 1-6.
