Monitoring area protection method and apparatus, electronic device, and storage medium

By establishing a corresponding table of measurement distance and repetition accuracy, setting up protection areas, alarm areas and safety areas, and introducing the concept of distance hysteresis, the problem of unstable judgment caused by camera repetition accuracy is solved, and more stable intrusion target recognition and response are achieved.

WO2025112821A1PCT designated stage expired Publication Date: 2025-06-05SHENZHEN WONSOR TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/119587
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-02
Filing Date
2024-09-19
Publication Date
2025-06-05

AI Technical Summary

Technical Problem

Due to the camera's repetitive accuracy problem, the intrusion target may cause unstable judgment when entering the monitoring area, which will lead to misjudgment, resulting in frequent switching of protection or alarm actions by the camera.

Method used

By establishing a corresponding table of measurement distance and repetition accuracy, and fitting continuous correspondences based on the table, setting up protection areas, alarm areas and safety areas, and introducing the concept of distance hysteresis, dividing the first and second transition areas to stably identify the area of ​​the invading target.

Benefits of technology

It effectively avoids inaccurate recognition caused by camera repetition accuracy problems, reduces misjudgment and frequent switching of actions, and allows the camera to more stably identify and respond to intrusion targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024119587_05062025_PF_FP_ABST
    Figure CN2024119587_05062025_PF_FP_ABST
Patent Text Reader

Abstract

A monitoring area protection method, comprising: establishing a correspondence table σi→F(di) of measurement distances and repeatabilities, and fitting a correspondence relationship on the basis of the correspondence table; setting a protection area distance and an alarm area distance on the basis of a measurement distance required by a target monitoring area; then substituting the protection area distance and the alarm area distance into the correspondence relationship of the measurement distances and the repeatabilities to obtain distance hystereses corresponding to the protection area distance and the alarm area distance, performing calculation on the basis of the alarm area distance, the protection area distance and the distance hystereses to obtain a first transition area distance and a second transition area distance; then obtaining an intrusion distance of an intrusion object, and determining a state flag bit of the intrusion object on the basis of the distance relationships between the intrusion distance and the protection area distance, the first transition area distance, the alarm area distance, and the second transition area distance; and then performing determination on the basis of a current state of the state flag bit so as to give an alarm or take a protection action. The method can avoid a measurement distance deviation that is caused by the repeatability problem of a camera and thus would cause misjudgment that leads to false alarms or protection actions.
Need to check novelty before this filing date? Find Prior Art

Description

Monitoring area protection method, device, electronic equipment and storage medium Technical Field

[0001] The present invention relates to the technical field of monitoring area protection, and in particular to a monitoring area protection method, device, electronic equipment and storage medium. Background Art

[0002] In the field of monitoring area protection, it is usually adopted to divide an area into multiple areas, and use the origin of the ranging device of single point ranging, 2D plane ranging, and 3D space ranging to scan and measure the distance to various directions within the FOV range, or by installing an identification device at a specific point in each area to identify whether there is a target intrusion in the protection area and the area where the intrusion target is located, so as to take corresponding protection or alarm actions;

[0003] But the problem is that the camera has a performance parameter of repeatability. Repeatability refers to the consistency of measuring the distance to the same point of the intrusion target. If the repeatability is lower, the distance value of each measurement will fluctuate more. At the same time, if the distance measurement value of the intrusion target switches back and forth between two adjacent areas, the camera will not be able to stably identify which area the intrusion target is currently in, and will frequently switch the corresponding actions, resulting in erroneous protection actions.

[0004] Summary of the Invention

[0005] In order to solve the technical defects raised in the above-mentioned background technology, the purpose of the present invention is to provide a monitoring area protection method, which aims to solve the problem that when the intruding target enters the monitoring area, due to the problem of repeatability of the camera itself, the judgment of the intruding target entering the boundary of the monitoring area will be unstable, which will lead to misjudgment.

[0006] The present invention adopts the following technical solutions:

[0007] In a first aspect, the present invention provides a monitoring area protection method, the method comprising:

[0008] Establish a corresponding table σ between measurement distance and repeatability i →F(d i ), d i is the i-th measurement distance, σ i is the i-th measurement d i The measurement repeatability accuracy; and according to the corresponding table σ i →F(d i ) The continuous corresponding relationship between the measured distance and the repeatability is obtained by fitting σ d =F(d);

[0009] The protection zone distance and the alarm zone distance are set based on the measurement distance required by the target monitoring area, and the target monitoring area is divided into the protection zone, the alarm zone and the safety zone according to the protection zone distance and the alarm zone distance;

[0010] Substitute the alarm zone distance and protection zone distance into the continuous correspondence between the measurement distance and repeatability to obtain the corresponding measurement repeatability, and calculate the corresponding distance hysteresis based on the value of the measurement repeatability. The calculation formula is Δd hys (d) = ρ d ×σ d , where ρ d is the hysteresis adjustment coefficient, σ d To measure repeatability;

[0011] Calculating based on the alarm zone distance, the protection zone distance and the corresponding distance hysteresis to obtain a first transition zone distance and a second transition zone distance, and setting the first transition zone and the second transition zone according to the first transition zone distance and the second transition zone distance;

[0012] When an intrusion target is detected, an intrusion distance of the intrusion target is obtained, and a state flag of the intrusion target is determined based on a distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance, and the second transition zone distance, wherein the state flag is one of a safe state, a protection state, and an alarm state;

[0013] A judgment is made based on the current state of the status flag to make an alarm or protection action. Optionally, the status flag for determining the intrusion target includes: during initialization, if the intrusion distance is less than or equal to the protection zone distance, the intrusion target is determined to be in the protection zone, and the current state of the status flag is preset to the protection state; if the intrusion distance is greater than the protection zone distance and less than or equal to the alarm zone distance, the intrusion target is determined to be in the alarm zone, and the current state of the status flag is preset to the alarm state; if the intrusion distance is greater than the alarm zone distance, the intrusion target is determined to be in the safety zone, and the current state of the status flag is preset to the safety state.

[0014] Optionally, determining the status flag of the intrusion target further includes:

[0015] When the invasion target approaches or moves away, if the invasion distance d min Less than or equal to the protection zone distance d r , then it is determined that the intrusion target is in the protected area. At this time, the current state of the status flag is the protection state. The formula can be expressed as d min ≤d r ;

[0016] If the invasion distance d minGreater than the protection zone distance d r and is less than or equal to the protection zone distance d r Add the second transition zone distance Δd hys (d r ), it is determined that the intrusion target is currently in the second transition zone, and if the previous state of the status flag is a safe state or an alarm state, then the current state of the status flag is an alarm state; if the previous state of the status flag is a protection state, then the current state of the status flag is a protection state, and the formula is expressed as d r <d min ≤d r +Δd hys (d r );

[0017] If the invasion distance d min Greater than the protection zone distance d r Add the second transition zone distance Δd hys (d r ), and is less than or equal to the alarm zone distance d a , then it is determined that the intrusion target is in the alarm area. At this time, the current state of the status flag is the alarm state, and the formula is expressed as d r +Δd hys (d r )<d min ≤d a ;

[0018] If the invasion distance d min Greater than the protection zone distance d a , and is less than or equal to the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), it is determined that the intrusion target is currently in the first transition zone or alarm zone, and if the previous state is a safe state, the current state is determined to be a safe state. If the previous state is an alarm state or a protection state, the current state of the status flag is an alarm state. The formula is expressed as d a <d min ≤d a +Δd hys (d a );

[0019] If the invasion distance d min Greater than the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), the intrusion target is determined to be in the safe zone. At this time, the current state of the status flag is the safe state, and the formula is expressed as d min >d a +Δd hys(d a ).

[0020] Optionally, determining the status flag of the intrusion target further includes:

[0021] When the intrusion target is relatively stationary, if the previous state of the state flag is the safe state, the current state of the state flag is the safe state;

[0022] If the previous state of the status flag is the alarm state, the current state of the status flag is the alarm state;

[0023] If the previous state of the status flag is the protection state, the current state of the status flag is the protection state.

[0024] Optionally, the determination based on the current state of the status flag to make an alarm or protection action includes:

[0025] If the current state of the status flag is a safe state, no alarm or protection action will be taken;

[0026] If the current state of the status flag is the alarm state, an alarm action is taken;

[0027] If the current state of the status flag is the protection state, a protection action is taken.

[0028] In a second aspect, the present invention provides a monitoring area protection device, comprising:

[0029] Establish a module for establishing a corresponding table σ between measurement distance and repeatability i →F(d i ) and fitting the continuous corresponding relationship σ between the measurement distance and repeatability d =F(d);

[0030] Preset module, used to set the protection zone distance and alarm zone distance according to the needs of the target monitoring area;

[0031] The first calculation module is used to calculate the corresponding distance hysteresis according to the alarm zone distance, the protection zone distance and the corresponding measurement repeatability value;

[0032] A second calculation module is used to calculate the first transition zone distance and the second transition zone distance according to the alarm zone distance, the protection zone distance and the corresponding distance hysteresis;

[0033] An acquisition module is used to acquire the intrusion distance of the intrusion target when an intrusion target is detected;

[0034] a comparison module, configured to compare the distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance, and the second transition zone distance;

[0035] A determination module, used to determine whether the status flag is a safe state, a protection state, or an alarm state;

[0036] The response module is used to make status judgments based on the current status of the status flag to make alarms or protection actions.

[0037] In a third aspect, the present invention further provides an electronic device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the monitoring area protection method according to an embodiment of the present invention are implemented.

[0038] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the monitoring area protection method according to an embodiment of the present invention are implemented.

[0039] In summary, the beneficial effects of the present invention are:

[0040] By setting a first transition zone between the alarm zone distance and the safety zone distance, and setting a second transition zone between the alarm zone and the protection zone distance, and then introducing the concept of distance hysteresis, it is possible to avoid inaccurate identification of the current area of ​​the intrusion target due to the camera's repeatability problem. At the same time, by setting the status flag to one of the safety state, alarm state and protection state, the camera can issue a corresponding alarm or protection action according to the current state of the status flag.

[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a flow chart of a monitoring area protection method according to an embodiment of the present invention;

[0043] FIG2 is a schematic diagram of a monitoring area protection device according to an embodiment of the present invention;

[0044] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the contents of the present invention more clearly understood, the present invention is further described below based on specific embodiments in conjunction with the accompanying drawings.

[0046] As shown in FIG1 , FIG1 is a flow chart of a monitoring area protection method provided by this embodiment, and the monitoring area protection method includes the following steps:

[0047] S101. Establish a corresponding table σ between measurement distance and repeatability i →F(d i ), d i is the i-th measurement distance, σ i is the i-th measurement d i The measurement repeatability accuracy; and according to the corresponding table σ i →F(d i ) The continuous corresponding relationship between the measured distance and the repeatability is obtained by fitting σ d =F(d).

[0048] In the embodiment of the present invention, due to the difference in repeatability of the camera itself, which is determined by the performance of the camera itself, there will be deviations in the distance when measuring the distance. Therefore, it is necessary to establish a correspondence table between discrete measurement distances and repeatability. The correspondence table can obtain the repeatability of the camera at the same distance by measuring the same distance multiple times with the camera. The corresponding repeatability is obtained for multiple distance measurements, thereby obtaining d i and σ i The discrete correspondence table σ i →F(d i ), and according to the measurement distance, select the method of piecewise linear fitting, or piecewise setting fixed repeatability, or global linear fitting, or curve fitting to fit the measurement distance d and the measurement repeatability σ at this distance d The continuity relation σ d =F(d), due to σ i →F(d i ) just d i and σ i The discrete correspondence between the distance d and the repeatability σ needs to be established. d The continuous correspondence σ d =F(d), that is, any distance has a corresponding repeatability, so that the corresponding repeatability can be found for different measurement distances.

[0049] S102: setting a protection zone distance and an alarm zone distance based on the measurement distance required by the target monitoring area, and dividing the target monitoring area into a protection zone, an alarm zone, and a safety zone according to the protection zone distance and the alarm zone distance.

[0050] In an embodiment of the present invention, specifically, the protection zone distance and the alarm zone distance can be set according to the distance range required by each area. For example, when the ranging device is turned on and set, the protection zone distance can be set to 2 meters, or the protection zone distance can be set to 1 meter; the safety zone distance does not need to be set, and the protection level of each area is different. The protection zone has the highest level, the alarm zone is second, and the safety zone does not need to be protected. It should be noted that the three areas are divided according to the needs of different regional protection levels. By dividing the three areas, it is possible to determine in which area the intrusion target is currently located, so as to make corresponding alarm or protection actions.

[0051] Specifically, the intrusion targets in the monitoring area can be measured through one-dimensional measurement, two-dimensional measurement and three-dimensional measurement. Among them, one-dimensional measurement is through single-point measurement, which can be measured by TOF ranging technology. TOF ranging technology measures the distance of the object by emitting a pulsed laser to the surface of the object and calculating the round-trip time. Two-dimensional measurement can be measured by a single-line laser radar; more specifically, a single-line laser radar is a single-point laser measurement module that rotates one circle to measure a 2D plane target (i.e., with x, y coordinates, Z=0), while three-dimensional measurement usually has array measurement (multi-point direct measurement, or 3D reconstruction measurement). 3D measurement), or 3D measurement of a single or multiple single-point ranging modules combined with motion scanning components such as MEMS, rotating mirrors or prisms, or 3D measurement of multiple single-point ranging modules combined with motor rotation scanning (understood as the superposition of multiple single-line measurements at different vertical angles). It can be understood as the collection of multiple single-point protection areas forming a protection area in a 2D plane or 3D space, the collection of multiple single-point alarm areas forming an alarm area in a 2D plane or 3D space, and the collection of multiple single-point safety areas forming a safety area in a 2D plane or 3D space, thereby respectively obtaining the protection area, alarm area and safety area of ​​a single point or 2D plane or 3D space.

[0052] S103, substitute the alarm zone distance and the protection zone distance into the continuous correspondence between the measurement distance and the repeatability to obtain the corresponding measurement repeatability, and calculate the corresponding distance hysteresis according to the value of the measurement repeatability. The calculation formula is Δd hys (d) = ρ d ×σ d , where ρ d is the hysteresis adjustment coefficient, σ d To measure repeatability;

[0053] In the embodiment of the present invention, the correspondence relationship of the above repeatability includes the measurement repeatability of the protection zone distance and the measurement repeatability of the alarm zone distance, wherein the above two measurement repeatability can be multiple, wherein the above hysteresis adjustment coefficient σ d The adjustment range is 1≤ρd ≤10, take the measurement repeatability accuracy at the corresponding distance and the preset hysteresis adjustment coefficient for calculation, so as to obtain the distance hysteresis at the corresponding distance. Due to the difference in repeatability accuracy of the camera, there may be deviations when calculating the intrusion distance and measuring the distance between the alarm zone and the protection zone. The measured distance value of the intrusion target has jumps. When the distance value jumps back and forth between the protection zone and the alarm zone, or between the alarm zone and the safety zone, the protection action is likely to switch back and forth, affecting normal operation. By setting the distance hysteresis, it can play the role of a transition zone when detecting whether the intrusion target belongs to the protection zone or the alarm zone, thereby effectively solving the above problem.

[0054] S104 , performing calculation based on the alarm zone distance, the protection zone distance, and the corresponding distance hysteresis to obtain a first transition zone distance and a second transition zone distance, and setting a first transition zone and a second transition zone according to the first transition zone distance and the second transition zone distance.

[0055] In an embodiment of the present invention, the alarm zone distance and the protection zone distance are first calculated in sequence with the alarm zone distance hysteresis and the protection zone distance hysteresis to obtain the first transition zone distance and the second transition zone distance. Then, the area is divided according to the first transition zone distance and the second transition zone distance to obtain the first transition zone and the second transition zone. The division method can be to use a specific distance value and then set it as the first transition zone and the second transition zone. Then, by setting the first transition zone and the second transition zone as described above, it can effectively avoid misjudgment when determining which area the intrusion target is currently in due to the repeatability problem of the camera. If the intrusion target jumps back and forth between the alarm zone boundary and the protection zone boundary, it may cause deviations in the camera's measurement results, which may cause the camera to frequently alarm or take protective actions, and may even cause misjudgment. For example, by introducing the first transition zone and the second transition zone, it can effectively solve the problem of frequent switching of protection actions due to differences in camera repeatability.

[0056] S105. When an intrusion target is detected, obtain an intrusion distance of the intrusion target, and determine a state flag of the intrusion target based on a distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance, and the second transition zone distance, wherein the state flag is one of a safe state, a protection state, and an alarm state;

[0057] In an embodiment of the present invention, by confirming the nearest part of the intrusion target from the boundary of the monitoring area, the distance between the nearest part of the intrusion target and the camera can be calculated, thereby obtaining the intrusion distance. By obtaining the intrusion distance, the intrusion distance can be compared with the distance relationship between the first transition zone distance, the alarm zone distance, the second transition zone distance and the protection zone distance, thereby determining which zone the intrusion target is currently in, thereby enabling the camera to make a corresponding alarm or protection determination; further, by setting the status flag to one of the safe state, protection state and alarm state, it should be noted that when the intrusion target invades from the safe zone to the protection zone and from the beginning in The protection zone exits all the way to the safety zone. At this time, the distance at which the camera makes an alarm or switches to a protection action is different. By setting three states to control the camera to make corresponding alarms or protection actions, it can effectively adapt to its environmental changes. For example, when the intrusion target invades from the safety zone to the first transition zone, the camera's front state is the safety state. At this time, the camera does not make any alarm or protection action. When the intrusion target exits from the alarm zone to the first transition zone, the camera's front state is the alarm state. At this time, the camera still makes an alarm action until the intrusion target exits the safety zone. At this time, the camera stops alarming. Through this setting method, it can effectively remind staff to conduct inspections to improve safety.

[0058] Specifically, by calculating the intrusion distance and the protection zone distance, it is possible to determine whether the intruder is outside or inside the protection zone, thereby enabling the camera to initiate a protection action. By comparing the intrusion distance with the alarm zone distance, it is possible to determine whether the intruder is inside or outside the alarm zone, thereby enabling the camera to initiate an alarm action. If the intrusion distance is greater than the alarm zone distance, it means that the intruder is in the safe zone. Then, the camera can set the current state of the status flag to a protection state, an alarm state, or a safe state based on which zone the intruder is currently in. Furthermore, by adding the first transition zone distance and the second transition zone distance when comparing the intrusion distance with the alarm zone distance and the protection zone distance, and by comparing the intrusion distance with different combinations of the first transition zone distance, the alarm zone distance, the second transition zone distance, and the protection zone distance, through continuous combined comparison, it is possible to accurately determine which zone the intruder is currently in, thereby setting the current state flag to a safe state, an alarm state, or a protection state. Based on the above three states, the camera can then immediately initiate an alarm or protection action, or take no action.

[0059] S106: Make a judgment based on the current state of the state flag to take an alarm or protection action.

[0060] In this embodiment, by determining whether the current state of the status flag is a safe state, an alarm state, or a protection state, the camera is caused to perform corresponding actions. By setting the current state of the status flag to determine in which area the intrusion target is located, the camera can effectively perform corresponding actions according to the intrusion situation of the intrusion target.

[0061] Optionally, determining the status flag of the intrusion target includes: during initialization, if the intrusion distance is less than or equal to the protection zone distance, the intrusion target is determined to be in the protection zone, and the current state of the status flag is preset to the protection state; if the intrusion distance is greater than the protection zone distance and less than or equal to the alarm zone distance, the intrusion target is determined to be in the alarm zone, and the current state of the status flag is preset to the alarm state; if the intrusion distance is greater than the alarm zone distance, the intrusion target is determined to be in the safety zone, and the current state of the status flag is preset to the safety state.

[0062] In this embodiment, when the camera is initialized, for example, when it is turned on, if there is an intrusion target in the protection area or the alarm area, the current state of the status flag is directly pre-set to the protection state or the alarm state. Specifically, based on the comparison between the intrusion distance and the protection area distance, if the intrusion distance of the intrusion target is within the protection area distance, it means that the intrusion target is in the protection area before the camera is turned on, and the status flag is directly set to the protection state. If the intrusion distance of the intrusion target is within the alarm area, the status flag is directly set to the alarm state. If the intrusion distance of the intrusion target is outside the protection area distance and the alarm area distance, it means that there is no intrusion target at the time of power-on, and the status flag of the camera is in the safe state.

[0063] Optionally, based on the status flag bit of the intrusion target, the following is also included:

[0064] When the invasion target approaches or moves away, if the invasion distance d min Less than or equal to the protection zone distance d r , then it is determined that the intrusion target is in the protected area. At this time, the current state of the status flag is the protection state. The formula can be expressed as d min ≤d r ; If the invasion distance d min Greater than the protection zone distance d r and is less than or equal to the protection zone distance d r Add the second transition zone distance Δd hys (d r ), it is determined that the intrusion target is currently in the second transition zone, and if the previous state of the status flag is a safe state or an alarm state, then the current state of the status flag is an alarm state; if the previous state of the status flag is a protection state, then the current state of the status flag is a protection state, and the formula is expressed as dr <d min ≤d r +Δd hys (d r ); If the invasion distance d min Greater than the protection zone distance d r Add the second transition zone distance Δd hys (d r ), and is less than or equal to the alarm zone distance d a , then it is determined that the intrusion target is in the alarm area. At this time, the current state of the status flag is the alarm state, and the formula is expressed as d r +Δd hys (d r )<d min ≤d a ; If the invasion distance d min Greater than the protection zone distance d a , and is less than or equal to the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), it is determined that the intrusion target is currently in the first transition zone or alarm zone, and if the previous state is a safe state, the current state is determined to be a safe state. If the previous state is an alarm state or a protection state, the current state of the status flag is an alarm state. The formula is expressed as d a <d min ≤d a +Δd hys (d a ); If the invasion distance d min Greater than the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), the intrusion target is determined to be in the safe zone. At this time, the current state of the status flag is the safe state, and the formula is expressed as d min >d a +Δd hys (d a ).

[0065] In the embodiment of the present invention, when the intrusion target approaches or moves away from the camera, the target monitoring area is divided into the alarm area distance, the protection area distance and the safety area distance according to the measurement distance required by the target monitoring area, and the alarm area distance d is set. a , the distance from the protected area is d r , the closest point distance to the target d min ; Based on the above judgment, if the intrusion distance d min Less than or equal to the protection zone distance d r , then it is determined that the intrusion target is in the protected area. At this time, the current state is the protection state. The formula can be expressed as dmin ≤d r ; If the invasion distance d min Greater than the protection zone distance d r And less than or equal to the protection zone distance d r Add the second transition zone distance Δd hys (d r ), then it is determined that the target is currently in the second transition zone. If the camera's front state is safe or alarm, it means that the intruder target has entered the second transition zone from the safe zone or alarm zone. At this time, the camera's current state is still alarm. If the front state is protection, it means that the intruder target has exited the protection zone to the second transition zone. At this time, the camera's current state is still protection. The formula is expressed as d r <d min ≤d r +Δd hys (d r ); It should be noted that the previous state of the status flag is the previous state of the camera's status flag, and the current state is the current state of the camera's status flag. min Greater than the protection zone distance d r Add the second transition zone distance Δd hys (d r ), and is less than or equal to the alarm zone distance d a , then it is determined that the intrusion target is in the alarm area, and the current state is updated to the alarm state. The formula is expressed as d r +Δd hys (d r )<d min ≤d a If the intrusion distance is greater than the alarm zone distance and less than or equal to the alarm zone distance plus the first transition zone distance, the intrusion target is determined to be in the first transition zone. If the camera's front state is protection state or alarm state, it means that the intrusion target has exited from the protection zone or alarm zone to the first transition zone. Therefore, the camera still issues an alarm action. If the camera's front state is safety state, it means that the intrusion target has entered the first transition zone from the safety zone. At this time, the camera does not perform any alarm action or protection action. The formula is expressed as d a <d min ≤d a +Δd hys (d a ); If the intrusion distance is greater than the distance of the alarm zone plus the distance of the first transition zone, the intrusion target is determined to be in the safe zone. At this time, the current state is updated to the safe state, and the camera does not take any alarm action or protection action. The formula is expressed as d min >d a +Δd hys (d a ).

[0066] Optionally, the status flag bit for determining the intrusion target also includes:

[0067] When the intrusion target is relatively stationary, if the previous state of the status flag is the safe state, the current state of the status flag is the safe state; if the previous state of the status flag is the alarm state, the current state of the status flag is the alarm state; if the previous state of the status flag is the protection state, the current state of the status flag is the protection state.

[0068] In this embodiment, the prior art, when switching between zones, suffers from unstable judgment results due to fluctuations in the detection distance. This results in switching back and forth in the critical zone, causing the system to frequently switch between alarm and protection actions, or even erroneous actions. The lower the camera's repeatability, the greater the ranging jitter, the wider the range of unstable judgment, the more unstable the judgment, and the greater the probability of making an erroneous judgment. This embodiment introduces the concept of distance hysteresis, and different judgment conditions are used for entering the alarm zone or protection zone from the safe zone and exiting the protection zone to the alarm zone and then back to the safe zone. This avoids switching back and forth in the judgment results due to measurement variations, which can lead to false alarms or no alarms, and thus the failure to initiate the corresponding alarm or protection action.

[0069] Optionally, a judgment is made based on the current state of the status flag to make an alarm or protection action, including:

[0070] If the current state of the status flag is a safe state, no alarm or protection action is taken; if the current state of the status flag is an alarm state, an alarm action is taken; if the current state of the status flag is a protection state, a protection action is taken.

[0071] In this embodiment, it should be noted that when the camera performs a corresponding action, it must determine the current state of the status flag (safe state, alarm state, and protection state) and thus perform the corresponding action. By setting the camera's status flag to safe state, protection state, and alarm state, it should be noted that the state determination conditions are different when the intruder enters the alarm zone or protection zone from the safe zone and when it retreats from the protection zone to the alarm zone or safe zone. By setting three states to control the camera to perform corresponding alarm or protection actions, it can effectively adapt to its environmental changes. For example, when the intruder invades from the safe zone to the first transition zone, the camera's pre-set state is safe state, and the camera does not perform any alarm or protection action. When the intruder retreats from the alarm zone to the first transition zone, the camera's pre-set state is alarm state, and the camera still performs an alarm action until the intruder retreats to the safe zone, at which time the camera stops alarming. This setting method can effectively remind staff to conduct inspections to improve stability.

[0072] As shown in FIG2 , FIG2 is a schematic diagram of a monitoring area protection device provided by the present invention, comprising:

[0073] Establishing module 201, for establishing a corresponding table σ of measurement distance and repeatability i →F(d i ) and fitting the continuous corresponding relationship σ between the measurement distance and repeatability d =F(d).

[0074] The preset module 202 is used to set the protection zone distance and the alarm zone distance according to the needs of the target monitoring area;

[0075] A first calculation module 203 is configured to calculate a corresponding distance hysteresis according to the alarm zone distance, the protection zone distance and the corresponding measurement repeatability values;

[0076] A second calculation module 204 is configured to calculate the first transition zone distance and the second transition zone distance based on the alarm zone distance, the protection zone distance, and the corresponding distance hysteresis;

[0077] The acquisition module 205 is used to acquire the intrusion distance of the intrusion target when an intrusion target is detected;

[0078] A comparison module 206 is configured to compare the distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance, and the second transition zone distance;

[0079] A determination module 207, configured to determine whether the status flag is a safety state, a protection state, or an alarm state;

[0080] The response module 208 is used to make a status judgment according to the current status of the status flag to make an alarm or protection action.

[0081] Optionally, the comparison module 206 further includes:

[0082] A first comparison submodule is used to compare the distance relationship between the intrusion distance and the protection zone distance, the alarm zone distance and the safety zone distance during initialization;

[0083] The second comparison submodule is used to compare the distance relationship between the intrusion distance and the protection zone distance, the protection zone distance plus the second transition zone distance, the alarm zone distance, and the alarm zone distance plus the first transition distance when the intrusion target approaches or moves away.

[0084] Optionally, the determining module 207 includes:

[0085] The first determination submodule is used to set the current state of the status flag according to the distance relationship between the intrusion distance and the protection zone distance and the alarm zone distance during initialization;

[0086] The second determining submodule is used to determine the current state of the intrusion target according to the previous state of the state flag and the current location area of ​​the intrusion target when the intrusion target approaches or moves away;

[0087] The third determining submodule is used to determine the current state of the status flag bit according to the previous state of the status flag bit when the intrusion target is relatively stationary;

[0088] Optionally, the response module 208 includes:

[0089] The first response submodule is used to not make an alarm or protective action according to the safety status of the status flag bit;

[0090] The second response submodule is used to take an alarm action according to the alarm status of the status flag;

[0091] The third response submodule is used to take a protection action according to the protection status of the status flag.

[0092] A monitoring area protection device provided in an embodiment of the present invention can implement each process implemented by the monitoring area protection method in the above method embodiment and can achieve the same beneficial effects. To avoid repetition, it will not be described here.

[0093] As shown in Figure 3, Figure 3 is a schematic diagram of the structure of an electronic device provided by the present invention, including: a processor 301, a memory 302, and a computer program stored in the memory 302 and capable of running on the processor. When the processor 301 executes the computer program, the steps in the monitoring area protection method according to the embodiment of the present invention are implemented.

[0094] The electronic device provided in the embodiment of the present invention can implement each process of the monitoring area protection method in the above method embodiment and can achieve the same beneficial effects. To avoid repetition, it will not be described here.

[0095] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the various processes of the monitoring area protection method or the application-side monitoring area protection method provided in the embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0096] The examples of this specific embodiment are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Identical components are represented by the same reference numerals. Therefore, any equivalent changes made based on the structure, shape, and principle of this application should be included in the scope of protection of this application.

Claims

1. A monitoring area protection method, characterized in that: include: Establish a corresponding table σ between measurement distance and repeatability i →F(d i ), d i is the i-th measured distance, σ i is the ith measurement d i Repeatability of measurement; And according to the corresponding table σ i →F(d i ) is fitted to obtain the continuous corresponding relationship between the measurement distance and the repeatability σ d =F(d); The protection zone distance and the alarm zone distance are set based on the measurement distance required by the target monitoring area, and the target monitoring area is divided into the protection zone, the alarm zone and the safety zone according to the protection zone distance and the alarm zone distance; Substitute the alarm zone distance and protection zone distance into the continuous correspondence between the measurement distance and repeatability to obtain the corresponding measurement repeatability, and calculate the corresponding distance hysteresis according to the value of the measurement repeatability. The calculation formula is Δd hys (d) = ρ d ×σ d , where ρ d is the hysteresis adjustment coefficient, σ d To measure repeatability; Calculate based on the alarm zone distance, the protection zone distance and the corresponding distance hysteresis to obtain the first transition zone distance and the second transition zone distance, and set the first transition zone and the second transition zone according to the first transition zone distance and the second transition zone distance; When an intrusion target is detected, the intrusion distance of the intrusion target is obtained, and the state flag of the intrusion target is determined according to the distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance and the second transition zone distance, wherein the state flag is one of a safety state, a protection state and an alarm state; A determination is made based on the current state of the state flag to take an alarm or protective action.

2. A monitoring area protection method according to claim 1, characterized in that: The state flag bit of determining the intrusion target includes: During initialization, if the intrusion distance is less than or equal to the protection zone distance, the intrusion target is determined to be in the protection zone, and the current state of the state flag is preset to be the protection state; If the intrusion distance is greater than the protection zone distance and less than or equal to the alarm zone distance, it is determined that the intrusion target is in the alarm zone, and the current state of the status flag is preset to the alarm state; If the intrusion distance is greater than the alarm zone distance, it is determined that the intrusion target is in the safe zone, and the current state of the status flag is preset to be a safe state.

3. A monitoring area protection method according to claim 1, characterized in that: The step of determining the state flag of the intrusion target further includes: When the invasion target approaches or moves away, if the invasion distance d min Less than or equal to the protection zone distance d r , then it is determined that the intrusion target is in the protected area. At this time, the current state of the status flag is the protection state. The formula can be expressed as d min ≤d r ; If the invasion distance d min Greater than the protection zone distance d r and is less than or equal to the protection zone distance d r Plus the second transition zone distance Δd hys (d r ), it is determined that the intrusion target is currently in the second transition zone, and if the previous state of the state flag is a safe state or an alarm state, then the current state of the state flag is an alarm state, and if the previous state of the state flag is a protection state, then the current state of the state flag is a protection state, and the formula is expressed as d r <d min ≤d r +Δd hys (d r ); If the invasion distance d min Greater than the protection zone distance d r Add the second transition zone distance Δd hys (d r ), and is less than or equal to the alarm zone distance d a , then it is determined that the intrusion target is in the alarm area. At this time, the current state of the status flag is the alarm state, and the formula is expressed as d r +Δd hys (d r )<d min ≤d a ; If the invasion distance d min Greater than the protection zone distance d a , and is less than or equal to the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), it is determined that the intrusion target is currently in the first transition zone or alarm zone, and if the previous state is a safe state, the current state is determined to be a safe state, if the previous state is an alarm state or a protection state, then the current state of the state flag is an alarm state. Alarm state, the formula is expressed as d a <d min ≤d a +Δd hys (d a ); If the invasion distance d min Greater than the alarm zone distance d a Add the first transition zone distance Δd hys (d a ), the intrusion target is determined to be in the safe zone. At this time, the current state of the status flag is a safe state, and the formula is expressed as d min >d a +Δd hys (d a ).

4. A monitoring area protection method according to claim 1, characterized in that: The step of determining the state flag of the intrusion target further includes: When the intrusion target is relatively stationary, if the previous state of the state flag is the safe state, the current state of the state flag is the safe state; If the previous state of the status flag is the alarm state, the current state of the status flag is the alarm state; If the previous state of the status flag is the protection state, the current state of the status flag is the protection state.

5. A monitoring area protection method according to any one of claims 1 to 4, characterized in that: The determination is made according to the current state of the status flag to make an alarm or protection action, including: If the current state of the status flag is a safe state, no alarm or protection action will be taken; If the current state of the status flag is an alarm state, an alarm action is taken; If the current state of the status flag is the protection state, a protection action is taken.

6. A monitoring area protection device, characterized in that: include: Establish a module for establishing a corresponding table σ between measurement distance and repeatability i →F(d i ) and fitting the continuous correspondence between the measurement distance and the repeatability σ d =F(d); The preset module is used to set the protection zone distance according to the needs of the target monitoring area. Alarm zone distance; A first calculation module is used to calculate the corresponding distance hysteresis according to the alarm area distance, the protection area distance and the corresponding measurement repeatability accuracy value; A second calculation module is used to calculate according to the alarm zone distance, the protection zone distance and the corresponding distance hysteresis to obtain the first transition zone distance and the second transition zone distance; An acquisition module is used to acquire the intrusion distance of the intrusion target when an intrusion target is detected; A comparison module, used for comparing the distance relationship between the intrusion distance and the protection zone distance, the first transition zone distance, the alarm zone distance and the second transition zone distance; A determination module, used to determine whether the state flag is a safety state, a protection state, or an alarm state; The response module is used to make status judgment according to the current status of the status flag to make an alarm or protection action.

7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the monitoring area protection method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the monitoring area protection method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Real-time intrusion target detection system based on power transmission system

    CN109285309A

  • Monitoring method and device, and intrusion alarm system

    CN111724558A

  • Intelligent protection device and protection method under outdoor unattended condition

    CN114495398A

  • Rear vehicle distance early warning method and system and vehicle

    CN116985804A

  • Monitoring area protection method and device, electronic equipment and storage medium

    CN117690242A