Method for screening intrusion alarm based on panoramic radar installation position and calibration parameter thereof

By obtaining the organizational structure and radar installation parameters of the oil field security system, calculating the ground projection of the polygon of the oil pump, combining the motion characteristics of the invading target, effective oil theft alarms were selected and differentiated pushes were differentiated, and the problems of high false alarms and insufficient classification management in the existing system were solved, and efficient and accurate oil theft detection was achieved.

CN120279641APending Publication Date: 2025-07-08DAQING ANRUIDA TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510632337.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing oilfield security system has a large difference between the positioning data and the actual intrusion target position, and cannot effectively filter invalid alarms, resulting in high number of false alarms and cannot perform hierarchical push and classified management according to the department of the radar and oil pump.

Method used

By obtaining the organizational structure, radar installation location, its calibration parameters and oil pump data, calculate the ground projection of the oil pump polygon, and combine the movement direction and speed of the invasion target to judge the type of invasion alarm, filter out the effective invasion alarm and push it according to departmental relations.

Benefits of technology

Real-time, accurate and efficient detection of oil theft alarms, reduce the number of false alarms, and realize classified management of alarms and departmental differentiated push.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120279641A_ABST
    Figure CN120279641A_ABST
Patent Text Reader

Abstract

The invention discloses a method for screening intrusion alarm based on a panoramic radar installation position and calibration parameters thereof, belongs to the technical field of security alarm in a crude oil collection process, and particularly relates to detection of oil stealing alarm of an oil pumping unit in the crude oil collection process. The problem that an existing alarm detection platform cannot effectively filter invalid alarms due to the fact that the difference between positioning data and an actual invasion target position is large is solved. The method comprises the following steps: judging whether the longitude and latitude of an invasion target are in a polygon according to the polygon and the ground projection of the invasion target; if the intrusion target is outside the polygon, determining that the intrusion alarm is noise, ignoring the noise, and ending the screening of the intrusion alarm of the intrusion target. The method for screening the intrusion alarm based on the installation position of the panoramic radar and the calibration parameters of the panoramic radar is suitable for identifying and screening the oil stealing alarm of the oil pumping unit in the crude oil collection process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of security alarm in the process of crude oil collection, and particularly to the detection of oil theft alarm for pumping units in the process of crude oil collection. Background Art

[0002] With the acceleration of the global industrialization process, the demand for fossil fuel crude oil is continuously increasing at a quite large proportion every year, which makes the asset security guarantee in the process of crude oil exploitation an important link in the energy industry chain.

[0003] The oil theft behaviors are mainly manifested in three forms:

[0004] Physical damage theft: Lawless elements steal oil by means of violence such as damaging the flange of the oil pipeline and disassembling the pressure gauge connector. Such behaviors will trigger the alarm of sudden pressure drop of the equipment, but the existing system is difficult to distinguish normal working condition fluctuations from man-made damage;

[0005] Covert siphon drainage: Using a micro-drilling device to penetrate on the non-monitored surface of the pipeline and slowly extract crude oil through the siphon principle. This method has the characteristics of progressiveness, and the traditional alarm mechanism based on instantaneous parameter thresholds has monitoring blind spots;

[0006] Technical signal deception: Using a radio interference device to block the transmission of the working condition data of the pumping unit, and at the same time forging false oil pressure and flow data packets to create an illusion of normal operation of the equipment.

[0007] Based on this, the method of collecting the working condition data of the pumping unit by sensors for alarm is difficult to effectively identify oil theft behaviors.

[0008] In order to protect the security of oilfield assets, people have tried to use optoelectronic patrol to discover oil theft behaviors. Although optoelectronic patrol can provide visual verification, its inherent defects are manifested in three aspects:

[0009] First, the patrol cycle is restricted by the rotation speed of the pan-tilt, and the effective monitoring time of a single pumping unit is not long, making it difficult to capture instantaneous intrusion behaviors in real time, that is, the real-time performance is low, and when there are too many pumping units, its efficiency will be further reduced;

[0010] Second, there are significant spatial coverage blind spots (i.e., beyond the optoelectronic monitoring video screen) during multi-target monitoring. When the number of monitoring targets increases, the proportion of the blind spot area increases;

[0011] Third, the imaging quality deteriorates under night or bad weather conditions, resulting in a decrease in the accuracy of feature recognition.

[0012] To reduce the monitoring blind spots and increase the effective monitoring time for each pumping unit, the existing security systems generally adopt the method of combining radar monitoring with intrusion alarm recognition (screening), that is, using (panoramic) radar to monitor the entire crude oil production scene. If an intruder (i.e., a suspected oil thief) is detected, an alarm will be triggered. Then, an alarm detection platform is used to identify and screen the intruder alarm, eliminating false alarms to accurately identify oil thieves.

[0013] It should be noted that there are problems with using radar monitoring alone to identify oil thieves. In the field of radar monitoring, the current solutions generally use the image frame difference comparison technology (i.e., comparing the front and back frames of the radar image) for intrusion detection. This method is limited by channel noise interference and the physical stability of the equipment. For example, when the radar tilts due to strong wind or foundation settlement (the radar is installed on a high tower and is easily affected by external forces and tilted), its coordinate system will have a systematic deviation, resulting in an exponential increase in target positioning errors and a large number of false alarms.

[0014] Existing alarm detection platforms generally use the direct coordinate matching algorithm, that is, simply comparing the registered position of the pumping unit with the longitude and latitude of the intrusion target to locate the intrusion target. This processing method has the following problems:

[0015] (1) Using the registered position of the pumping unit to locate the intrusion target, the positioning data is quite different from the actual position of the intrusion target, and it has little significance for guiding security.

[0016] (2) It cannot effectively filter invalid alarms, reduce the number and frequency of false alarms. When the amount of intrusion alarm data is large, problems such as high concurrency are likely to occur, resulting in overall system jamming and a decrease in platform availability.

[0017] (3) It does not push alarms at different levels according to the radar and the organizational structure to which the pumping unit belongs.

[0018] (4) It does not classify and manage intrusion types according to the target movement trajectory.

[0019] In summary, due to the superposition effect of the above technical defects, the existing oilfield security systems do not meet the requirements of industrial applications in terms of false alarm filtering, real-time response, precise positioning, and classification management. Therefore, there is an urgent need for a multi-dimensional security solution that can integrate precise geographical calibration, intrusion trajectory analysis, and organizational structure linkage to address the challenges of oil theft detection under complex working conditions. Summary of the Invention

[0020] The present invention proposes a method for screening intrusion alarms based on the installation position of panoramic radar and its calibration parameters, which solves the problems that the positioning data of the existing alarm detection platform is quite different from the actual position of the intrusion target and it cannot effectively filter invalid alarms.

[0021] The method for screening intrusion alarms based on the installation position of panoramic radar and its calibration parameters according to the present invention includes the following steps:

[0022] Step S1: Obtain pre-collected data, including organizational structure data, radar installation position and its calibration parameter data, and pumping unit data;

[0023] The organizational structure data includes information on each department in the organizational structure and its superior-subordinate relationships;

[0024] The radar installation position and its calibration parameter data include the longitude and latitude of the radar, the installation height, the ground height, and the department to which the radar belongs;

[0025] The pumping unit data includes pumping unit attribute information, including the name of the pumping unit, the department to which the pumping unit belongs, the longitude and latitude of the pumping unit, and the ground height;

[0026] Step S2: Within the visible range of the radar image, draw the pumping unit in the form of a polygon in the radar image to detect whether an intrusion target is generated;

[0027] Step S3: Calculate the ground projection of the pumping unit polygon;

[0028] Step S4: Perform intrusion alarm screening, including:

[0029] Step S4.1: Calculate the ground projection of the intrusion target;

[0030] Step S4.2: According to the ground projections of the polygon and the intrusion target, determine whether the longitude and latitude of the intrusion target are within the polygon;

[0031] If it is outside the polygon, the intrusion alarm is regarded as noise, and this noise is ignored, and the intrusion alarm screening for this intrusion target ends;

[0032] Otherwise, the process jumps to step S4.3 for execution;

[0033] Step S4.3: Obtain the movement direction and speed of the intrusion target, and determine whether the intrusion target has a tendency to leave the polygon:

[0034] If it has a tendency to leave the polygon, the intrusion target is regarded as having strayed in, and this intrusion alarm is ignored, and the intrusion alarm screening for this intrusion target ends;

[0035] Otherwise, the intrusion alarm is an effective intrusion alarm, and the process jumps to step S4.4 for execution;

[0036] Step S4.4: According to the movement direction and speed of the intrusion target, determine the type of intrusion alarm:

[0037] If the speed of the intrusion target is less than the given speed threshold, the intrusion alarm type is a lingering alarm;

[0038] If the speed of the intrusion target is not less than the given speed threshold and the moving direction is uncertain, the intrusion alarm type is a wandering alarm.

[0039] Step S5: According to the departments to which the radar and the pumping unit belong, as well as the information of each department in the organizational structure and their superior-subordinate relationships, push the intrusion alarm screening results to the corresponding departments.

[0040] Further, a preferred implementation manner is provided. The step S3: calculating the ground projection of the pumping unit polygon includes:

[0041] Step S3.1: Obtain the pitch and azimuth of the vertices of the pumping unit polygon;

[0042] Step S3.3: Calculate the ground projection of the polygon according to the radar installation position and its calibration parameter data in combination with the pitch and azimuth of the vertices of the pumping unit polygon;

[0043] Further, a preferred implementation manner is provided. The step S3.3: calculating the ground projection of the polygon according to the radar installation position and its calibration parameter data in combination with the pitch and azimuth of the vertices of the pumping unit polygon is as follows:

[0044] distinctN = heightR * tan(pitchN);

[0045] longitudeN = longitudeR + distinctN * sin(azimuthN * π / 180) * 180 / (π × 6371229 * cos(latitudeR * π / 180));

[0046] latitudeN = latitudeR + distinctN * cos(azimuthN * π / 180) / (π * 6371229 / 180);

[0047] Where:

[0048] latitudeR is the radar latitude; longitudeR is the radar longitude; heightR is the radar height;

[0049] pitchN is the pitch of the Nth vertex of the polygon; azimuthN is the azimuth of the Nth vertex of the polygon;

[0050] distinctN is the distance of the Nth vertex of the polygon; latitudeN is the latitude of the Nth vertex of the polygon; longitudeN is the longitude of the Nth vertex of the polygon.

[0051] Further, a preferred implementation is provided. In step S4.1: calculating the ground projection of the intrusion target includes:

[0052] Step S4.1.1: Obtaining the pitch and azimuth of the intrusion target

[0053] Step S4.1.2: Calculating the longitude and latitude of its ground projection according to the pitch and azimuth of the intrusion target.

[0054] Further, a preferred implementation is provided. In step S4.2, according to the polygon and the ground projection of the intrusion target, it is judged whether the longitude and latitude of the intrusion target are within the polygon, as follows:

[0055] Step S4.2.1: Whether the intrusion target is located at the vertex of the polygon:

[0056] If the intrusion target is located at the vertex of the polygon, it is considered that the intrusion target is within the polygon;

[0057] Otherwise, the process jumps to step S4.2.2 for execution;

[0058] Step S4.2.2: Connecting the adjacent vertices of the polygon and judging whether the intrusion target is located on the connection line:

[0059] If the intrusion target is on the connection line, it is considered that the intrusion target is within the polygon;

[0060] Otherwise, the process jumps to step S4.2.3 for execution;

[0061] Step S4.2.3: Making a ray in any direction with the intrusion target as the starting point and judging whether the number of intersections of the ray and the polygon is odd or even:

[0062] If the number of intersections is odd, it is considered that the intrusion target is within the polygon;

[0063] If the number of intersections is even, it is considered that the intrusion target is outside the polygon.

[0064] Further, a preferred implementation is provided. The pre - collected data is stored in the database; the data obtained by calculating the ground projection of the polygon and the data obtained by calculating the ground projection of the intrusion target are stored in the cache.

[0065] The present invention also proposes a device for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters. The device includes:

[0066] Module S1: Obtaining pre - collected data, including organizational structure data, radar installation position and its calibration parameter data, and pumping unit data;

[0067] The organizational structure data includes the superior - subordinate relationship of the organizational structure;

[0068] The radar installation location and its calibration parameter data include the longitude and latitude, installation height, ground height of the radar, and the department to which the radar belongs;

[0069] The pumping unit data includes the pumping unit attribute information, including the pumping unit name, the department to which the pumping unit belongs, the longitude and latitude of the pumping unit, and the ground height;

[0070] Module S2: Within the visible range of the radar image, draw the pumping unit in the form of a polygon in the radar image to detect whether an intrusion target is generated;

[0071] Module S3: Calculate the ground projection of the pumping unit polygon;

[0072] Module S4: Perform intrusion alarm screening, including:

[0073] Module S4.1: Calculate the ground projection of the intrusion target;

[0074] Module S4.2: According to the ground projections of the polygon and the intrusion target, judge whether the longitude and latitude of the intrusion target are within the polygon;

[0075] If it is outside the polygon, the intrusion alarm is regarded as noise, and this noise is ignored, and the intrusion alarm screening of this intrusion target ends;

[0076] Otherwise, the process jumps to Module S4.3 for execution;

[0077] Module S4.3: Obtain the movement direction and speed of the intrusion target, and judge whether the intrusion target has a tendency to leave the polygon:

[0078] If there is a tendency to leave the polygon, the intrusion target is regarded as having strayed in, and this intrusion alarm is ignored, and the intrusion alarm screening of this intrusion target ends;

[0079] Otherwise, the intrusion alarm is an effective intrusion alarm, and the process jumps to Module S4.4 for execution;

[0080] Module S4.4: According to the movement direction and speed of the intrusion target, judge the type of intrusion alarm:

[0081] If the speed of the intrusion target is less than the given speed threshold, the type of intrusion alarm is a sojourn alarm;

[0082] If the speed of the intrusion target is not less than the given speed threshold and the movement direction is uncertain, the type of intrusion alarm is a wandering alarm.

[0083] Module S5: According to the departments to which the radar and the pumping unit belong, and the information of each department in the organizational structure and their superior-subordinate relationships, push the intrusion alarm screening results to the corresponding departments.

[0084] The present invention also provides a computer device, comprising: a processor and a memory, where the memory is used to store executable instructions of the processor, and the processor is configured to execute the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above via executing the executable instructions.

[0085] The present invention also provides a computer storage medium, in which a computer program is stored. When the computer program runs, it executes the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above.

[0086] The present invention also provides a computer program product, comprising a computer program / instructions. When the computer program / instructions are executed by a processor, the steps of the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above are implemented.

[0087] The present invention has the following beneficial effects:

[0088] 1. The method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to the present invention aims to detect in real time, accurately and efficiently whether an oil pumping unit generates an oil theft alarm, so as to solve the security problems in crude oil exploitation.

[0089] 2. The method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to the present invention obtains information about the department to which the radar and the oil pumping unit belong, so as to realize the differential push of alarms according to different departments.

[0090] 3. The method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to the present invention projects the intrusion point (i.e., the intrusion target) and the polygon onto the map simultaneously through the installation position of the panoramic radar and its calibration parameters, and determines whether the intrusion point is within the polygon to judge whether the alarm is caused by noise; when the relative movement of the intrusion target shows a leaving trend, the target is regarded as having strayed and the intrusion alarm is ignored; if the relative movement of the intrusion target shows a staying or wandering trend, the alarm is pushed to the user with corresponding permissions according to the department to which the radar and the oil pumping unit belong; this way can not only filter out invalid alarms, reduce the number and frequency of false alarms to the greatest extent, but also classify valid alarms to realize differential processing of alarms.

[0091] The method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to the present invention is applicable to the identification and screening of oil theft alarms of oil pumping units during the crude oil collection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0093] Figure 1 This is a schematic flowchart of a method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters in an embodiment of the present invention. Specific embodiments

[0094] To more clearly describe the technical solutions and advantages of the present invention, the following will further describe in detail and completely the specific embodiments of the present invention in conjunction with the drawings. The following described embodiments are only some preferred embodiments of the present invention, rather than all implementation manners; the following described embodiments are intended to explain the present invention and should not be construed as a limitation to the present invention; the reasonable combination of the technical features defined in each embodiment of the present invention, and all other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0095] Embodiment 1: A method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters, the method includes:

[0096] Step S1: Obtain pre-collected data, including organizational structure data, radar installation position and its calibration parameter data, and pumping unit data;

[0097] The organizational structure data includes information of each department in the organizational structure and its superior-subordinate relationships;

[0098] The radar installation position and its calibration parameter data include the longitude and latitude of the radar, installation height, ground height, and the department to which the radar belongs;

[0099] The pumping unit data includes pumping unit attribute information, including pumping unit name, the department to which the pumping unit belongs, pumping unit longitude and latitude, and ground height;

[0100] Step S2: Draw the pumping unit in the form of a polygon in the radar image within the visible range of the radar image to detect whether an intrusion target is generated;

[0101] Step S3: Calculate the ground projection of the pumping unit polygon;

[0102] Step S4: Perform intrusion alarm screening, including:

[0103] Step S4.1: Calculate the ground projection of the intrusion target;

[0104] Step S4.2: Determine whether the longitude and latitude of the intrusion target are within the polygon based on the polygon and the ground projection of the intrusion target;

[0105] If it is outside the polygon, the intrusion alarm is regarded as noise, and this noise is ignored, and the screening of the intrusion alarm for this intrusion target ends;

[0106] Otherwise, the process jumps to Step S4.3 for execution;

[0107] Step S4.3: Obtain the moving direction and speed of the intrusion target, and determine whether the intrusion target has a tendency to leave the polygon:

[0108] If it has a tendency to leave the polygon, the intrusion target is regarded as having strayed by mistake, and this intrusion alarm is ignored, and the screening of the intrusion alarm for this intrusion target ends;

[0109] Otherwise, the intrusion alarm is a valid intrusion alarm, and the process jumps to Step S4.4 for execution;

[0110] Step S4.4: Determine the type of intrusion alarm according to the moving direction and speed of the intrusion target:

[0111] If the speed of the intrusion target is less than the given speed threshold, the type of intrusion alarm is a stay alarm;

[0112] If the speed of the intrusion target is not less than the given speed threshold and the moving direction is uncertain, the type of intrusion alarm is a wandering alarm.

[0113] Step S5: Push the screening result of the intrusion alarm to the corresponding department according to the departments to which the radar and the pumping unit belong and the information of each department in the organizational structure and their superior-subordinate relationships.

[0114] In this embodiment, determine whether the intrusion target has a tendency to leave the polygon:

[0115] If the intrusion target has no deceleration tendency and the moving direction is towards the polygon boundary, it is considered to have a tendency to leave the polygon;

[0116] Otherwise, it is considered not to have a tendency to leave the polygon.

[0117] In this embodiment, if the speed of the intrusion target is less than the given speed threshold, the type of intrusion alarm is a stay alarm, where: the speed of the intrusion target being less than the given speed threshold means that the speed of the intrusion target is 0 or an extremely low value, that is:

[0118] If the speed of the intrusion target is 0 or an extremely low value and the direction is arbitrary, the type of intrusion alarm is regarded as a stay alarm.

[0119] In this embodiment, within the visible range of the radar image, the intrusion target is displayed as a dot, so it is also called the intrusion point.

[0120] In this embodiment, the purpose of the method is to detect in real time, accurately and efficiently whether the oil pumping unit generates an oil theft alarm to solve the security problems in crude oil production.

[0121] In this embodiment, the information of the department to which the radar and the oil pumping unit belong is obtained to realize the differential push of the alarm according to different departments.

[0122] In this embodiment, the method projects the intrusion point (i.e., the intrusion target) and the polygon onto the map simultaneously through the installation position of the panoramic radar and its calibration parameters, and determines whether the intrusion point is within the polygon to judge whether the alarm is caused by noise; when the relative movement of the intrusion target shows a leaving trend, the target is regarded as a misentry and the intrusion alarm is ignored; if the relative movement of the intrusion target shows a staying or wandering trend, the alarm is pushed to the user with corresponding permissions according to the department to which the radar and the oil pumping unit belong; this method can not only filter out invalid alarms, reduce the number and frequency of false alarms to the greatest extent, but also classify valid alarms to realize differential processing of alarms.

[0123] Embodiment 2: The step S3: calculating the ground projection of the polygon of the oil pumping unit includes:

[0124] Step S3.1: Obtain the pitch and azimuth of the vertices of the polygon of the oil pumping unit.

[0125] Step S3.3: Calculate the ground projection of the polygon according to the installation position of the radar and its calibration parameter data in combination with the pitch and azimuth of the vertices of the polygon of the oil pumping unit.

[0126] Embodiment 3: The step S3.3: Calculate the ground projection of the polygon according to the installation position of the radar and its calibration parameter data in combination with the pitch and azimuth of the vertices of the polygon of the oil pumping unit, as follows:

[0127] distinctN = heightR * tan(pitchN);

[0128] longitudeN = longitudeR + distinctN * sin(azimuthN * π / 180) * 180 / (π × 6371229 * cos(latitudeR * π / 180));

[0129] latitudeN = latitudeR + distinctN * cos(azimuthN * π / 180) / (π * 6371229 / 180);

[0130] Where:

[0131] latitudeR is the radar latitude; longitudeR is the radar longitude; heightR is the radar altitude;

[0132] pitchN is the pitch of the Nth vertex of the polygon; azimuthN is the azimuth of the Nth vertex of the polygon;

[0133] distinctN is the distance of the Nth vertex of the polygon; latitudeN is the latitude of the Nth vertex of the polygon; longitudeN is the longitude of the Nth vertex of the polygon.

[0134] In this embodiment, for the convenience of distinguishing from the letter "x", the symbol "*" is used to represent the multiplication sign "×".

[0135] Embodiment 4: In step S4.1: calculating the ground projection of the intrusion target, including:

[0136] Step S4.1.1: Obtaining the pitch and azimuth of the intrusion target

[0137] Step S4.1.2: Calculating the longitude and latitude of its ground projection according to the pitch and azimuth of the intrusion target.

[0138] Embodiment 5: In step S4.2, according to the polygon and the ground projection of the intrusion target, judging whether the longitude and latitude of the intrusion target are within the polygon, as follows:

[0139] Step S4.2.1: Whether the intrusion target is located at the vertex of the polygon:

[0140] If the intrusion target is located at the vertex of the polygon, it is considered that the intrusion target is within the polygon;

[0141] Otherwise, the process jumps to step S4.2.2 for execution;

[0142] Step S4.2.2: Connecting the adjacent vertices of the polygon and judging whether the intrusion target is located on the connection line:

[0143] If the intrusion target is on the connection line, it is considered that the intrusion target is within the polygon;

[0144] Otherwise, the process jumps to step S4.2.3 for execution;

[0145] Step S4.2.3: Making a ray in any direction with the intrusion target as the starting point and judging whether the number of intersections of the ray and the polygon is odd or even:

[0146] If the number of intersections is odd, it is considered that the intrusion target is within the polygon;

[0147] If the number of intersections is even, it is considered that the intrusion target is outside the polygon.

[0148] Embodiment 6: The pre - collected data is stored in the database; the data obtained by calculating the ground projection of the polygon and the data obtained by calculating the ground projection of the intrusion target are stored in the cache.

[0149] Embodiment 7: A device for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters, the device includes:

[0150] Module S1: Obtain pre - collected data, including organizational structure data, radar installation position and its calibration parameter data, and pumping unit data;

[0151] The organizational structure data includes the superior - subordinate relationship of the organizational structure;

[0152] The radar installation position and its calibration parameter data include the longitude and latitude, installation height, ground height of the radar, and the department to which the radar belongs;

[0153] The pumping unit data includes pumping unit attribute information, including the name of the pumping unit, the department to which the pumping unit belongs, the longitude and latitude of the pumping unit, and the ground height;

[0154] Module S2: Within the visible range of the radar image, draw the pumping unit in the form of a polygon in the radar image to detect whether an intrusion target is generated;

[0155] Module S3: Calculate the ground projection of the pumping unit polygon;

[0156] Module S4: Perform intrusion alarm screening, including:

[0157] Module S4.1: Calculate the ground projection of the intrusion target;

[0158] Module S4.2: According to the ground projections of the polygon and the intrusion target, determine whether the longitude and latitude of the intrusion target are within the polygon;

[0159] If it is outside the polygon, the intrusion alarm is regarded as noise, ignore the noise, and the intrusion alarm screening of this intrusion target ends;

[0160] Otherwise, the process jumps to Module S4.3 for execution;

[0161] Module S4.3: Obtain the moving direction and speed of the intrusion target, and determine whether the intrusion target has a tendency to leave the polygon:

[0162] If there is a tendency to leave the polygon, regard the intrusion target as a mis - entry and ignore the intrusion alarm, and the intrusion alarm screening of this intrusion target ends;

[0163] Otherwise, the intrusion alarm is an effective intrusion alarm, and the process jumps to Module S4.4 for execution;

[0164] Module S4.4: Determine the intrusion alarm type based on the movement direction and speed of the intrusion target:

[0165] If the speed of the intrusion target is less than the given speed threshold, the intrusion alarm type is a loitering alarm;

[0166] If the speed of the intrusion target is not less than the given speed threshold and the movement direction is uncertain, the intrusion alarm type is a wandering alarm.

[0167] Module S5: Push the intrusion alarm screening result to the corresponding department according to the departments to which the radar and the pumping unit belong, as well as the information of each department in the organizational structure and their superior-subordinate relationships.

[0168] Embodiment 8: A computer device, comprising: a processor and a memory, the memory is used to store executable instructions of the processor, and the processor is configured to execute the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above by executing the executable instructions.

[0169] Embodiment 9: A computer storage medium, in which a computer program is stored, and when the computer program runs, it executes the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above.

[0170] Embodiment 10: A computer program product, comprising a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps of the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters as described in any one of the above are implemented.

[0171] Embodiment 11: Give a specific embodiment to illustrate the processing flow of the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters:

[0172] I. Perform preparatory work:

[0173] Enter the organizational structure data into the database, including information of each department and set the superior-subordinate relationships of each department;

[0174] Enter the radar installation position and its calibration parameter data into the database, including the longitude and latitude, installation height, ground height of the radar, and the department to which the radar belongs;

[0175] Enter the pumping unit data into the database, including the pumping unit attribute information, specifically including the pumping unit name, the department to which the pumping unit belongs, the longitude and latitude of the pumping unit, and the ground height.

[0176] The above are the preparatory collected data.

[0177] Within the visible range of the radar image, the pumping unit is drawn in the radar image in the form of a polygon for detecting whether an intrusion occurs.

[0178] II. Ground projection of the pumping unit polygon:

[0179] Obtain the pitch and azimuth of each vertex of the pumping unit polygon;

[0180] Based on the radar installation position and calibration parameters, combined with the pitch and azimuth of the polygon vertices, calculate the ground projection of the polygon;

[0181] The calculation method is as follows:

[0182] distinctN = heightR * tan(pitchN);

[0183] longitudeN = longitudeR + distinctN * sin(azimuthN * π / 180) * 180 / (π × 6371229 * cos(latitudeR * π / 180));

[0184] latitudeN = latitudeR + distinctN * cos(azimuthN * π / 180) / (π * 6371229 / 180);

[0185] Where:

[0186] latitudeR is the radar latitude; longitudeR is the radar longitude; heightR is the radar height;

[0187] pitchN is the pitch of the Nth vertex of the polygon; azimuthN is the azimuth of the Nth vertex of the polygon;

[0188] distinctN is the distance of the Nth vertex of the polygon; latitudeN is the latitude of the Nth vertex of the polygon; longitudeN is the longitude of the Nth vertex of the polygon.

[0189] In the formula, in order to facilitate the distinction from the letter "x", the symbol "*" is used to represent the multiplication sign "×".

[0190] Store the data of the polygon vertices of the ground projection in the cache.

[0191] III. Intrusion alarm screening:

[0192] Calculate the ground projection of the intrusion target:

[0193] Obtain the pitch and azimuth of the intrusion target

[0194] Calculate the longitude and latitude of the ground projection of the intrusion target according to its pitch and azimuth;

[0195] Determine whether the longitude and latitude of the intrusion target are within the polygon: if it is outside the polygon, ignore the noise and generate an alarm;

[0196] The method for determining whether the longitude and latitude of the intrusion target are within the polygon is as follows:

[0197] (1) Determine whether the intrusion target (or intrusion point, or simply point, target) is located at the vertex of the polygon. If the point is located at the vertex, it is considered that the point is within the polygon;

[0198] (2) Connect the adjacent vertices of the polygon. If the point is on the connection line, it is considered that the point is within the polygon;

[0199] (3) Draw a ray in any direction with the point as the starting point. If the number of intersection points is odd, it is considered that the point is within the polygon; if the number of intersection points is even, it is considered that the point is outside the polygon;

[0200] Detect whether the target has a tendency to leave the polygon according to the target's movement speed and direction:

[0201] If there is a tendency to leave, regard the target as having strayed in and ignore the intrusion alarm;

[0202] If there is no tendency to leave, judge the alarm type according to the target's movement trend;

[0203] Judge the intrusion alarm type according to the target's movement trajectory (movement trend, that is, movement direction and speed):

[0204] If the target's movement speed is less than the given speed threshold, it is regarded as a stay alarm;

[0205] If the target's movement speed is not less than the given speed threshold and the direction is uncertain, it is regarded as a wandering alarm.

[0206] IV. Push the alarm to the department according to the departments to which the radar and the pumping unit belong.

[0207] A computer device or system provided by this embodiment. The hardware device in this part is of a general model and is not shown in the form of a diagram. The system includes a processor and a memory. The processor and the memory can be connected through a bus or other means. The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, as well as corresponding program instructions / modules. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, so as to implement the data space entity parsing data quality enhancement method in the above method embodiments.

[0208] The memory may include a program storage area and a data storage area. Among them, the program storage area can store the operating system and application programs required by at least one function; the data storage area can store data created by the processor and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely provided relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above-mentioned network include but are not limited to the Internet, an enterprise intranet, an enterprise internal network, a mobile communication network, and combinations thereof.

[0209] One or more modules are stored in the memory. When the processor executes, the method steps in the embodiments are performed. In this way, through the method, device, and process of the present invention, the invention object of the present invention can be achieved. The specific details of the above computer device can be understood by referring to the corresponding related descriptions and effects in the embodiments, and will not be elaborated here.

[0210] Those skilled in the art can understand that to implement all or part of the processes in the above method embodiments, it can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memories.

[0211] The technical solutions provided by the present invention are further described in detail through several specific embodiments to highlight the advantages and beneficial effects of the technical solutions provided by the present invention. However, the above-mentioned several specific embodiments are not used as a limitation to the present invention. Any reasonable changes and improvements to the present invention, reasonable combinations of implementation manners, and equivalent replacements within the spirit and principle scope of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters, characterized in that, The method includes: Step S1: Obtain pre - acquisition data, including organizational structure data, radar installation location and its calibration parameter data, and pumping unit data; The organizational structure data includes information of each department in the organizational structure and their superior - subordinate relationships; The radar installation location and its calibration parameter data include the longitude and latitude of the radar, installation height, ground height, and the department to which the radar belongs; The pumping unit data includes pumping unit attribute information, including pumping unit name, the department to which the pumping unit belongs, pumping unit longitude and latitude, and ground height; Step S2: Within the visible range of the radar image, draw the pumping unit in the form of a polygon in the radar image to detect whether an intrusion target is generated; Step S3: Calculate the ground projection of the pumping - unit polygon; Step S4: Perform intrusion - alarm screening, including: Step S4.1: Calculate the ground projection of the intrusion target; Step S4.2: According to the ground projections of the polygon and the intrusion target, determine whether the longitude and latitude of the intrusion target are within the polygon; If it is outside the polygon, the intrusion alarm is noise, ignore the noise, and the intrusion - alarm screening of this intrusion target ends; Otherwise, the process jumps to step S4.3 for execution; Step S4.3: Obtain the movement direction and speed of the intrusion target, and determine whether the intrusion target has a tendency to leave the polygon: If it has a tendency to leave the polygon, consider the intrusion target as a mis - entry and ignore the intrusion alarm, and the intrusion - alarm screening of this intrusion target ends; Otherwise, the intrusion alarm is a valid intrusion alarm, and the process jumps to step S4.4 for execution; Step S4.4: According to the movement direction and speed of the intrusion target, determine the type of intrusion alarm: If the speed of the intrusion target is less than the given speed threshold, the type of intrusion alarm is a stay alarm; If the speed of the intrusion target is not less than the given speed threshold 0 and the movement direction is uncertain, the type of intrusion alarm is a wandering alarm. Step S5: According to the departments to which the radar and the pumping unit belong, and the information of each department in the organizational structure and their superior - subordinate relationships, push the intrusion - alarm screening result to the corresponding department.

2. The method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters according to claim 1, characterized in that, The said step S3: Calculate the ground projection of the pumping - unit polygon, including: Step S3.1: Obtain the pitch and azimuth of the vertices of the pumping - unit polygon; Step S3.3: According to the radar installation location and its calibration parameter data, combined with the pitch and azimuth of the vertices of the pumping - unit polygon, calculate the ground projection of the polygon.

3. The method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters according to claim 2, wherein The said step S3.3: According to the radar installation location and its calibration parameter data, combined with the pitch and azimuth of the vertices of the pumping - unit polygon, calculate the ground projection of the polygon as follows: distinctN = heightR * tan(pitchN); longitudeN = longitudeR + distinctN * sin(azimuthN * π / 180) * 180 / (π×6371229 * cos(latitudeR * π / 180)); latitudeN = latitudeR + distinctN * cos(azimuthN * π / 180) / (π * 6371229 / 180); Where: latitudeR is the radar latitude; longitudeR is the radar longitude; heightR is the radar height; pitchN is the pitch of the Nth vertex of the polygon; azimuthN is the azimuth of the Nth vertex of the polygon; distinctN is the distance of the Nth vertex of the polygon; latitudeN is the latitude of the Nth vertex of the polygon; longitudeN is the longitude of the Nth vertex of the polygon.

4. The method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters according to claim 1, characterized in that, The step S4.1: Calculate the ground projection of the intrusion target, including: Step S4.1.1: Obtain the pitch and azimuth of the intrusion target Step S4.1.2: Calculate the longitude and latitude of its ground projection according to the pitch and azimuth of the intrusion target.

5. The method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters according to claim 1, characterized in that, In the step S4.2, according to the polygon and the ground projection of the intrusion target, judge whether the longitude and latitude of the intrusion target are within the polygon, as follows: Step S4.2.1: Whether the intrusion target is located at the vertex of the polygon: If the intrusion target is located at the vertex of the polygon, it is considered that the intrusion target is within the polygon; Otherwise, the process jumps to step S4.2.2 for execution; Step S4.2.2: Connect the adjacent vertices of the polygon and judge whether the intrusion target is located on the connection line: If the intrusion target is on the connection line, it is considered that the intrusion target is within the polygon; Otherwise, the process jumps to step S4.2.3 for execution; Step S4.2.3: Make a ray in any direction with the intrusion target as the starting point and judge whether the number of intersections of the ray and the polygon is odd or even: If the number of intersections is odd, it is considered that the intrusion target is within the polygon; If the number of intersections is even, it is considered that the intrusion target is outside the polygon.

6. The method for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters according to claim 1, characterized in that, The pre-collected data is stored in the database; the data obtained by calculating the ground projection of the polygon and the data obtained by calculating the ground projection of the intrusion target are stored in the cache.

7. An apparatus for screening intrusion alarms based on the installation position of a panoramic radar and its calibration parameters, characterized in that, The device includes: Module S1: Obtain the pre-collected data, including organizational structure data, radar installation location and its calibration parameter data, and pumping unit data; The organizational structure data includes the superior-subordinate relationship of the organizational structure; The radar installation location and its calibration parameter data include the longitude and latitude of the radar, installation height, ground height, and the department to which the radar belongs; The pumping unit data includes pumping unit attribute information, including pumping unit name, the department to which the pumping unit belongs, pumping unit longitude and latitude, and ground height; Module S2: Draw the pumping unit in the form of a polygon in the radar image within the visible range of the radar image to detect whether an intrusion target is generated; Module S3: Calculate the ground projection of the pumping unit polygon; Module S4: Perform intrusion alarm screening, including: Module S4.1: Calculate the ground projection of the intrusion target; Module S4.2: According to the polygon and the ground projection of the intrusion target, judge whether the longitude and latitude of the intrusion target are within the polygon; If it is outside the polygon, the intrusion alarm is noise, ignore the noise, and the intrusion alarm screening of this intrusion target ends; Otherwise, the process jumps to module S4.3 for execution; Module S4.3: Obtain the movement direction and speed of the intrusion target and judge whether the intrusion target has a tendency to leave the polygon: If there is a tendency to leave the polygon, the intrusion target is regarded as having strayed in by mistake, and the intrusion alarm is ignored, and the intrusion alarm screening of this intrusion target ends; Otherwise, the intrusion alarm is a valid intrusion alarm, and the process jumps to module S4.4 for execution; Module S4.4: Determine the intrusion alarm type according to the movement direction and speed of the intrusion target: If the speed of the intrusion target is less than the given speed threshold, the intrusion alarm type is a stay alarm; If the speed of the intrusion target is not less than the given speed threshold and the movement direction is uncertain, the intrusion alarm type is a wandering alarm. Module S5: Push the intrusion alarm screening result to the corresponding department according to the departments to which the radar and the pumping unit belong, the information of each department in the organizational structure, and their superior-subordinate relationships.

8. A computer device, comprising: A processor and a memory, characterized in that the memory is used to store executable instructions of the processor, and the processor is configured to execute the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to any one of claims 1-6 by executing the executable instructions.

9. A computer storage medium, characterized in that, A computer program is stored in the storage medium, and when the computer program runs, it executes the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to any one of claims 1-6.

10. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the steps of the method for screening intrusion alarms based on the installation position of the panoramic radar and its calibration parameters according to any one of claims 1-6 are implemented.