[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2023088286A1 - Early-warning rule issuing method and apparatus, and electronic device and computer program product - Google Patents

Early-warning rule issuing method and apparatus, and electronic device and computer program product Download PDF

Info

Publication number
WO2023088286A1
WO2023088286A1 PCT/CN2022/132181 CN2022132181W WO2023088286A1 WO 2023088286 A1 WO2023088286 A1 WO 2023088286A1 CN 2022132181 W CN2022132181 W CN 2022132181W WO 2023088286 A1 WO2023088286 A1 WO 2023088286A1
Authority
WO
WIPO (PCT)
Prior art keywords
cutting line
sub
radar
defense
radius
Prior art date
Application number
PCT/CN2022/132181
Other languages
French (fr)
Chinese (zh)
Inventor
张文凯
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Priority to MX2024006067A priority Critical patent/MX2024006067A/en
Publication of WO2023088286A1 publication Critical patent/WO2023088286A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B31/00Predictive alarm systems characterised by extrapolation or other computation using updated historic data

Definitions

  • the present application relates to the field of radar technology, in particular to a method, device, electronic equipment and computer program product for issuing early warning rules.
  • Radar is a device that detects the spatial position of a target object.
  • radar can be divided into ultrasonic radar and electromagnetic wave radar.
  • electromagnetic wave radar is widely used in production and life due to its advantages of fast response speed and wide detection range. After the radar detects the target object, it can provide early warning. How to realize the setting of radar early warning rules has become a technical problem to be solved urgently.
  • the purpose of the embodiments of the present application is to provide a method, device, electronic equipment and computer program product for issuing early warning rules, so as to realize the setting of radar early warning rules.
  • the specific technical scheme is as follows:
  • the embodiment of the present application provides a method for issuing an early warning rule, the method including:
  • the background image is also marked with an effective detection range of the radar.
  • the background image is an electronic map of the detection scene of the radar.
  • the method also includes:
  • the arc cutting line is displayed within the effective detection range of the radar of the background image, or the arc cutting line is displayed in the defense zone of the background image .
  • the setting an early warning rule for at least one of the multiple sub-zones includes: setting an early warning rule for each of the sub-zones respectively.
  • the at least one defense zone is divided into multiple sub-zones, including:
  • the defense zone For each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, then the defense zone will be divided into multiple small defense zone.
  • the method also includes:
  • the arc cutting line inside the at least one defense zone is displayed in a first display manner, and the arc cutting line outside the at least one defense zone is displayed in a second display manner, wherein the first display manner is the same as the second display manner in different ways;
  • the arc cutting lines outside the at least one defense zone are filtered out.
  • the setting an early warning rule for at least one sub-zone in the plurality of sub-zones includes:
  • the setting an early warning rule for at least one sub-zone in the plurality of sub-zones includes:
  • N is an integer greater than 1, and the value of i is one or more of ⁇ 1, 2, ..., N-1 ⁇ .
  • arc cutting line formed by the radius of each cutting line according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  • the obtaining the cutting line radius for the at least one defense zone includes:
  • the method further includes: based on the scale of the background image, displaying the real length of the radius of the cutting line in the detection scene.
  • the embodiment of the present application provides a device for issuing early warning rules, the device comprising:
  • the background image acquisition module is used to display the background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
  • a cutting line radius acquisition module configured to acquire a cutting line radius for the at least one defense zone
  • the sub-defense zone division module is used to divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius;
  • An early warning rule setting module configured to set an early warning rule for at least one sub-defense zone in the multiple sub-defense zones
  • the early warning rule sending module is used to send the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
  • the background image is also marked with an effective detection range of the radar.
  • the background image is an electronic map of a detection scene of the radar.
  • the device further includes a cutting line display module, configured to use the position of the radar as the center and the cutting line radius as the radius, within the effective detection range of the radar of the background image
  • the arc cutting line is displayed inside, or the arc cutting line is displayed in the defense zone of the background image.
  • the early warning rule setting module is specifically configured to respectively set early warning rules for each of the sub-zones.
  • the sub-defense zone division module is specifically configured to take the position of the radar as the center and the radius of the cutting line as the radius to determine within the effective detection range of the radar of the background image Arc cutting line; for each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, the arc cutting line will be This zone is divided into multiple sub-zones.
  • the device further includes a cutting line display module, configured to display the arc cutting line inside the at least one defense zone in a first display manner, and display the at least one arc cutting line in a second display manner.
  • the early warning rule setting module is specifically configured to set a first early warning rule for a sub-zone inside the arc cutting line when a cutting line radius is acquired, and/or Or, set the second warning rule for the sub-zones outside the arc cutting line.
  • the early warning rule setting module is specifically configured to perform at least one of the following steps when N cutting line radii are obtained:
  • N is an integer greater than 1, and the value of i is one or more of ⁇ 1, 2, ..., N-1 ⁇ .
  • arc cutting line formed by the radius of each cutting line according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  • the cutting line radius acquisition module is specifically configured to, after receiving the cutting preparation instruction, take the position of the radar as the origin in the background image according to the position of the current focus, to The position of the focal point is the other end point of the radius, which determines the radius of the cutting line;
  • the device further includes: a length display module, configured to display the real length of the radius of the cutting line in the detection scene based on the scale of the background image.
  • the embodiment of the present application provides an electronic device, including a processor and a memory;
  • the memory is used to store computer programs
  • the processor is configured to implement any one of the warning rule issuing methods described in the present application when executing the program stored in the memory.
  • the embodiment of the present application provides a computer-readable storage medium, which is characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any The method for issuing the warning rules.
  • the embodiment of the present application provides that the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any of the warning rule delivery methods described in the present application .
  • the method, device, electronic equipment, and computer program product provided in the embodiments of the present application display a background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar; Cutting line radius of a defense zone; according to the arc cutting line with the radar position as the center and the cutting line radius as the radius, at least one defense zone is divided into multiple sub-defense zones in the background image; for at least one of the multiple sub-defense zones Set the early warning rules for the sub-zones; send the location of the sub-zones with the early warning rules and the corresponding early warning rules to the radar.
  • the setting of radar warning rules is implemented.
  • any product or method of the present application does not necessarily need to achieve all the above-mentioned advantages at the same time.
  • FIG. 1 is a first schematic diagram of a method for issuing an early warning rule according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an effective detection area in an embodiment of the present application.
  • Fig. 3 is a schematic diagram of the defense zone in the embodiment of the present application.
  • Fig. 4 is the first schematic diagram of the early warning rule setting in the embodiment of the present application.
  • Fig. 5 is the second schematic diagram of the early warning rule setting in the embodiment of the present application.
  • FIG. 6 is a second schematic diagram of a method for issuing an early warning rule according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a possible implementation of step S103 in the embodiment of the present application.
  • Fig. 8 is a schematic diagram of the neutron defense zone in the embodiment of the present application.
  • FIG. 9 is a schematic diagram of a device for issuing early warning rules according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • an embodiment of the present application provides a method for issuing early warning rules.
  • the method includes: displaying a background image, wherein the background image is marked with the position of the radar, within the effective detection range of the radar at least one defense zone; obtain the cutting line radius for the at least one defense zone; according to the arc cutting line formed with the radar position as the center and the cutting line radius as the radius, the background image will include the At least one defense zone is divided into multiple sub-defense zones; an early warning rule is set for at least one of the multiple sub-defense zones; the position of the sub-defense zone with the early warning rule and the corresponding early warning rule are sent to the radar.
  • the location of each sub-zone and the early warning rules of each sub-zone are sent to the radar to realize the setting of radar early warning rules.
  • FIG. 1 is a first schematic diagram of the method for issuing early warning rules in the embodiment of the present application, including:
  • S101 Display a background image, wherein the background image is marked with a position of a radar and at least one defense zone within an effective detection range of the radar.
  • the method for delivering an early warning rule in the embodiment of the present application may be implemented by an electronic device.
  • the electronic device may be a smart phone or a computer.
  • the position of the radar and at least one defense zone within the effective detection range of the radar are marked in the background image.
  • the effective detection range of the radar may also be marked in the background image.
  • Radar refers to a device that uses radio to find targets and determine their spatial positions.
  • the effective detection range of radar refers to the range that radar can detect. In one example, the effective detection range of radar can be shown in Figure 2.
  • the defense area refers to the polygonal area that needs radar monitoring within the effective detection range of the radar. It is used for the deployment of the radar area. The defense area can be customized according to the actual situation.
  • the radar needs to monitor the area where airport A is located, you can set the area where airport A is located as a defense zone.
  • at least one defense zone within the effective detection range may be as shown in FIG. 3 .
  • the background image is marked with the effective detection range of the radar, which is convenient for the user to observe the effective detection range of the radar intuitively, and is convenient for the user to divide the sub-zones.
  • the background image can be any image, such as a solid color image or an image with a specified pattern.
  • the background image is an electronic map of a detection scene of the radar.
  • the detection scene is a real-world scene that requires radar detection.
  • the electronic map of the detection scene can directly use the existing electronic map, or create a special electronic map for the detection scene.
  • For the establishment method of the electronic map please refer to the relevant electronic map establishment method. , is not specifically limited in this application.
  • the electronic map of the detection scene may use a GIS (Geographic Information System, geographic information system) map.
  • GIS Geographic Information System
  • the position of the radar, the effective detection range of the radar, and at least one defense zone within the effective detection range of the radar are marked in the electronic map.
  • the steps for obtaining the electronic map of the detection scene include:
  • Step 1 acquiring the position of the radar in the detection scene, the effective detection range of the radar, and the position of at least one defense zone within the effective detection range of the radar.
  • Step 2 According to the position of the radar in the detection scene, mark the position of the radar in the electronic map of the detection scene.
  • Step 3 According to the effective detection range of the radar in the detection scene and the position of the radar in the electronic map, mark the position of the effective detection range of the radar in the electronic map.
  • Step 4 Mark the position of at least one defense zone in the electronic map according to the position of at least one defense zone within the effective detection range of the radar in the detection scene and the position of the effective detection range of the radar in the electronic map.
  • the electronic map of the detection scene is used as the background image, which is convenient for the user to intuitively obtain the radar, the effective detection range of the radar, and the position of at least one defense zone within the effective detection range of the radar in the detection scene, which is convenient for the user to intuitively
  • the ground observation of the corresponding positions of each sub-defense zone in the detection scene facilitates the division of sub-defense zones.
  • the user can directly input the length of the radius of the cutting line to obtain the radius of the cutting line.
  • the radius of the cutting line can be obtained through the position of the focus of the user's touch screen or mouse relative to the radar.
  • the acquiring the radius of the cutting line for the at least one defense zone includes: after receiving the cutting preparation instruction, according to the position of the current focus, using the radar's The position is the origin, and the radius of the cutting line is determined by taking the position of the focal point as the other end point of the radius.
  • function buttons can also be displayed while displaying the background image, wherein the function buttons include a cutting button, and the user clicks the cutting button through the touch screen or the mouse, that is, receives the user's cutting preparation instruction and enters the defense zone cutting state , the focus position is transformed into a cutting icon.
  • the cutting line radius is the line segment from the radar to the focal point.
  • the method further includes: based on the scale of the background image, displaying the real length of the radius of the cutting line in the detection scene.
  • the scale of the background image is similar to the scale of the electronic map. It is used to indicate the ratio of the effective detection range of the radar in the background image to the effective detection range of the radar in the real detection scene. It can also be understood as the defense zone in the background image and the real detection scene. The size ratio of the defense zone.
  • the corresponding arc cutting line can be displayed according to the current focus position. The arc cutting line is centered on the radar, and the distance from the focus to the radar is the radius (that is, The arc made by line radius).
  • the real length of the cutting line radius in the real detection scene can also be calculated and displayed in the background image according to the real-time scale, that is, the real distance from the cutting line to the radar in the real detection scene.
  • the display position of the real length can be customized according to the actual situation, for example, the real length can be displayed near the focal point in the background image, or the real length can be displayed near the arc cutting line in the background image, etc.
  • the real length of the cutting line radius in the detection scene is displayed, so that the length of the arc cutting line from the radar can be accurately known, and the accuracy of sub-defense zone cutting can be improved.
  • a line cutting line which divides the at least one defense zone into a plurality of sub-defense zones in the background image, including: taking the position of the radar as the center and the radius of the cutting line as the radius, in the radar of the background image Determine the arc cutting line within the effective detection range; for each defense area, if the arc cutting line is not included in the defense area, the defense area will be directly regarded as a sub-defense area; if the arc cutting line is included in the defense area, the The arc cutting line divides the defense zone into multiple sub-defense zones.
  • the arc cutting line formed with the radar position as the center and the radius of the cutting line as the radius passes through at least one defense area.
  • the arc cutting line divides the passing defense area into multiple sub-defense areas.
  • the The defense zone that does not need to be divided is also called a sub-defense zone, so that multiple sub-defense zones can be obtained.
  • the defense area A does not include the arc cutting line, and the defense area A is directly regarded as a sub-defense area;
  • the defense area B includes the arc cutting line, which is divided into two sub-defense areas by the arc cutting line ;
  • the defense area C includes the arc cutting line, which is divided into two sub-defense areas by the arc cutting line.
  • the complete arc cutting line can be displayed, or only the arc cutting line in the defense zone can be displayed.
  • the method further includes: using the position of the radar The arc cutting line is displayed in the effective detection range of the radar of the background image, or the arc cutting line is displayed in the defense zone of the background image.
  • S104 Set an early warning rule for at least one sub-zone in the plurality of sub-zones.
  • the user sets an early warning rule for at least one of the multiple sub-zones according to actual setting requirements.
  • early warning rules only need to be set for some specific sub-zones, so early warning rules can be set for some of the multiple sub-zones, while other sub-zones do not need to set early warning rules.
  • the defense zone A is a sub-defense zone
  • the defense zone B is divided into two sub-defense zones by the arc cutting line
  • the defense zone C is divided into two sub-defense zones by the arc cutting line, which can be set according to the actual situation. It is required to set the early warning rule for only one of the five sub-defense zones, or set the early warning rules for multiple sub-defense zones among the five sub-defense zones.
  • the setting an early warning rule for at least one of the multiple sub-zones includes: setting an early warning rule for each of the sub-zones respectively.
  • an early warning rule can be set separately for each sub-zone.
  • early warning rules can be set for sub-areas within different radiuses with the radar as the center.
  • the early warning rules of each sub-defense zone are set separately, realizing the diversity setting of early warning rules, thereby increasing the diversity of radar early warning methods.
  • the position of the sub-defense area with the early warning rules and the corresponding early warning rules are sent to the radar, so that the radar can monitor the sub-defense area according to the position of the sub-defense area, and give an early warning according to the early warning rules of the sub-defense area.
  • sending the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar includes: Step 1. According to the position of the sub-defense zone set with the warning rule in the background image, determine the position of the sub-defense zone set with the warning rule in the detection scene. Step 2: Sending the position of the sub-defense zone with the early warning rule in the detection scene and the corresponding early warning rule to the radar.
  • the position of the sub-zone in the detection scene can be determined based on the scale of the background image.
  • the position of the sub-zone in the detection scene can be determined based on the correspondence between the background image coordinate system and the detection scene coordinate system.
  • the early warning rules are sent to the radar to realize the setting of the radar early warning rules.
  • Cutting the sub-defense area by the arc cutting line obtained by the radius of the cutting line can reduce the inconsistent and inaccurate distance between the cut sub-defense area and the radar; whether it is for Both regular and irregular defense zones can be divided into sub-zones with the same detection radius, and the setting of early warning rules for sub-regions with the same detection radius can be realized.
  • the length of the radius of the cutting line can be obtained by inputting the value of the length, so as to obtain the radius of the cutting line; in one example, the line segment between the focus of the touch screen or the mouse and the position of the radar can be displayed. After the cutting command is executed, for example, after the user clicks the left mouse button, the current line segment is used as the final input cutting line radius.
  • the setting the warning rule for at least one sub-defense zone in the plurality of sub-defense zones includes: in the case of obtaining one cutting line radius Next, set the first warning rule for the sub-zones inside the arc cutting line, and/or set the second warning rule for the sub-zones outside the arc cutting line.
  • the sub-defense zone can be divided into a sub-defense zone inside the arc cutting line and a sub-defense zone outside the arc cutting line, and at least one sub-defense zone inside the arc cutting line can be
  • the first warning rule is set, and the second warning rule can also be set for at least one sub-zone outside the arc cutting line.
  • the setting of the early warning rule for at least one of the plurality of sub-zones includes: when a cutting line radius is obtained, setting the first warning rule for the sub-zones inside the arc cutting line An early warning rule, setting a second early warning rule for the sub-zones outside the arc cutting line.
  • the first warning rule is set for the defense sub-zones inside the arc
  • the second warning rule is set for the defense sub-zones outside the arc.
  • the first warning rule and the second warning rule can be customized according to the actual situation. For example, they can be general warning, warning warning or alarm warning.
  • the first warning rule and the second warning rule should be different warning rules.
  • the setting an early warning rule for at least one sub-defense zone in the multiple sub-defense zones includes:
  • N is an integer greater than 1, and the value of i is one or more of ⁇ 1, 2, ..., N-1 ⁇ .
  • arc cutting line formed by the radius of each cutting line according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  • early warning rules can be set for each sub-defense zone; the setting of early warning rules for at least one sub-defense zone in the multiple sub-defence zones includes:
  • the first warning rule is set for the sub-defense zone inside the first arc cutting line, and the first warning rule is set for the sub-area outside the N-i arc cutting line and at the N-i+1 arc cutting
  • N is an integer greater than 1
  • the effective detection range is divided into N+1 areas by N cutting line radii, and the first warning rule is set for at least one sub-defense zone inside the first arc cutting line, Set the N-i+1th warning rule for at least one sub-defense zone outside the N-ith arc cutting line and inside the N-i+1th arc cutting line, and set the N-i+1th warning rule for at least one sub-area outside the Nth arc cutting line.
  • the defense zone sets the N+1th early warning rule.
  • N is 3 as an example, as shown in Figure 5, according to the order of distance from the radar position from near to far, they are the first arc, the second arc and the third arc, respectively, and the first
  • the first warning rule is set for the sub-defense zone inside the arc
  • the second warning rule is set for the sub-defense zone outside the first arc and inside the second arc
  • the second warning rule is set for the sub-zone outside the second arc and inside the third arc
  • the third warning rule is set for the sub-defense area
  • the fourth early warning rule is set for the sub-defense area outside the third arc.
  • the first early warning rule, the second early warning rule, the third early warning rule, and the fourth early warning rule can be customized according to the actual situation, and each early warning rule should be a different early warning rule.
  • the method further includes:
  • the radar detects an early-warning object in the sub-area A
  • the corresponding early-warning operation is performed according to the early-warning rules of the sub-area A.
  • the corresponding early warning operation is performed according to the early warning rules of the sub-defense zone where the early warning object appears, and the early warning operation can be carried out by an independent early warning unit of the sub-defense zone , and increased the diversity of radar early warning methods.
  • the method further includes:
  • the first display method and the second display method can be customized according to the actual situation.
  • the first display method is displayed with a solid line
  • the second display method is displayed with a dotted line.
  • the arc cutting line represented by the dotted line is the arc cutting line outside the defense zone, which needs to be filtered out after the cutting execution command is obtained
  • the arc cutting line represented by the solid line is Arc cutting lines inside the zone.
  • the corresponding arc cutting line can be displayed according to the current focus position.
  • the arc cutting line is centered on the radar, and the distance from the focus to the radar is the radius (that is, the cutting line radius ) made by the arc.
  • the arc cutting line inside the defense area is displayed in the first display mode, and the arc cutting line outside the defense area is displayed in the second display mode.
  • the arc cutting lines inside and outside the defense zone are displayed through different display methods, which can facilitate the distinction of the arc cutting lines inside and outside the defense zone; after obtaining the cutting execution command, filter out the The arc cutting line can filter out useless arc cutting lines and reduce the visual impact of useless arc cutting lines on sub-defense zone division.
  • the embodiment of the present application also provides a device for issuing early warning rules, see Figure 9, the device includes:
  • the background image acquisition module 11 is used to display the background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
  • a cutting line radius acquisition module 12 configured to acquire a cutting line radius for the at least one defense zone
  • the sub-defense zone division module 13 is used to divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius ;
  • An early warning rule setting module 14 configured to set an early warning rule for at least one sub-defense zone in the plurality of sub-defense zones
  • the early warning rule issuing module 15 is configured to send the location of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
  • the background image is also marked with an effective detection range of the radar.
  • the background image is an electronic map of a detection scene of the radar.
  • the device further includes a cutting line display module, configured to use the position of the radar as the center and the cutting line radius as the radius, within the effective detection range of the radar of the background image
  • the arc cutting line is displayed inside, or the arc cutting line is displayed in the defense zone of the background image.
  • the early warning rule setting module is specifically configured to respectively set early warning rules for each of the sub-zones.
  • the sub-defense zone division module is specifically configured to take the position of the radar as the center and the radius of the cutting line as the radius to determine within the effective detection range of the radar of the background image Arc cutting line; for each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, the arc cutting line will be This zone is divided into multiple sub-zones.
  • the device further includes a cutting line display module, configured to display the arc cutting line inside the at least one defense zone in a first display manner, and display the at least one arc cutting line in a second display manner.
  • the early warning rule setting module is specifically configured to set a first early warning rule for a sub-zone inside the arc cutting line when a cutting line radius is acquired, and/or Or, set the second warning rule for the sub-zones outside the arc cutting line.
  • the early warning rule setting module is specifically configured to perform at least one of the following steps when N cutting line radii are obtained:
  • N is an integer greater than 1, and the value of i is one or more of ⁇ 1, 2, ..., N-1 ⁇ .
  • arc cutting line formed by the radius of each cutting line according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  • the cutting line radius acquisition module is specifically configured to, after receiving the cutting preparation instruction, take the position of the radar as the origin in the background image according to the position of the current focus, to The position of the focal point is the other end point of the radius, which determines the radius of the cutting line;
  • the device further includes: a length display module, configured to display the real length of the radius of the cutting line in the detection scene based on the scale of the background image.
  • the location of each sub-zone and the early warning rules of each sub-zone are sent to the radar to realize the setting of radar early warning rules.
  • the embodiment of the present application also provides an electronic device, including: a processor and a memory;
  • the above-mentioned memory is used to store computer programs
  • the electronic device of the embodiment of the present application further includes a communication interface 22 and a communication bus 24, wherein, the processor 21, the communication interface 22, and the memory 23 complete mutual communication through the communication bus 24. communication.
  • the communication bus mentioned in the above-mentioned electronic equipment may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc.
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the electronic device and other devices.
  • the memory may include RAM (Random Access Memory, random access memory), and may also include NVM (Non-Volatile Memory, non-volatile memory), such as at least one disk memory.
  • the memory may also be at least one storage device located far away from the aforementioned processor.
  • processor can be general-purpose processor, comprises CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor) etc.; Can also be DSP (Digital Signal Processing, digital signal processor), ASIC ( Application Specific Integrated Circuit (ASIC), FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor, network processor
  • DSP Digital Signal Processing, digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array, Field Programmable Gate Array
  • other programmable logic devices discrete gate or transistor logic devices, and discrete hardware components.
  • the embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored in the above-mentioned computer-readable storage medium, and when the above-mentioned computer program is executed by a processor, any method for delivering an early warning rule described in this application is implemented.
  • a computer program product including instructions is also provided, and when it is run on a computer, it causes the computer to execute any one of the warning rule delivery methods described in the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
  • SSD Solid State Disk
  • each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments.
  • the description is relatively simple.
  • relevant parts please refer to the part of the description of the method embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Emergency Management (AREA)
  • Geometry (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

An early-warning rule issuing method and apparatus, and an electronic device and a computer program product. The method comprises: displaying a background image, wherein the position of a radar and at least one defense area within an effective detection range of the radar are marked in the background image; acquiring the radius of a cutting line for the at least one defense area; dividing the at least one defense area in the background image into a plurality of defense sub-areas according to an arc cutting line, which is formed by taking the position of the radar as the center of a circle and taking the radius of the cutting line as a radius; setting an early-warning rule for at least one of the plurality of defense sub-areas; and issuing, to the radar, the position of the defense sub-area, for which the early-warning rule is set, and the corresponding early-warning rule, and thereby realizing the setting of an early-warning rule for the radar.

Description

预警规则下发方法、装置、电子设备及计算机程序产品Method, device, electronic equipment, and computer program product for issuing early warning rules
本申请要求于2021年11月19日提交中国专利局、申请号为202111397890.0发明名称为“预警规则下发方法、装置、电子设备及计算机程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on November 19, 2021, with the application number 202111397890.0 and the title of the invention is "Method, device, electronic equipment and computer program product for issuing early warning rules", the entire content of which is passed References are incorporated in this application.
技术领域technical field
本申请涉及雷达技术领域,特别是涉及预警规则下发方法、装置、电子设备及计算机程序产品。The present application relates to the field of radar technology, in particular to a method, device, electronic equipment and computer program product for issuing early warning rules.
背景技术Background technique
雷达是一种探测目标对象空间位置的装置。相关技术中,雷达可以分为超声波雷达及电磁波雷达,其中,电磁波雷达以响应速度快、探测范围广等优势,广泛应用于生产及生活中。雷达在检测到目标对象后,可以进行预警,如何实现雷达预警规则的设置,成为亟待解决的技术问题。Radar is a device that detects the spatial position of a target object. In related technologies, radar can be divided into ultrasonic radar and electromagnetic wave radar. Among them, electromagnetic wave radar is widely used in production and life due to its advantages of fast response speed and wide detection range. After the radar detects the target object, it can provide early warning. How to realize the setting of radar early warning rules has become a technical problem to be solved urgently.
发明内容Contents of the invention
本申请实施例的目的在于提供一种预警规则下发方法、装置、电子设备及计算机程序产品,以实现雷达预警规则的设置。具体技术方案如下:The purpose of the embodiments of the present application is to provide a method, device, electronic equipment and computer program product for issuing early warning rules, so as to realize the setting of radar early warning rules. The specific technical scheme is as follows:
第一方面,本申请实施例提供了一种预警规则下发方法,所述方法包括:In the first aspect, the embodiment of the present application provides a method for issuing an early warning rule, the method including:
展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;Displaying a background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
获取针对所述至少一个防区的切割线半径;obtaining a cutting line radius for the at least one defense zone;
根据以所述雷达的位置为圆心、以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;dividing the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius;
对所述多个子防区中的至少一个子防区设置预警规则;Setting an early warning rule for at least one sub-defense zone in the plurality of sub-defense zones;
将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。Send the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
在一种可能的实施方式中,所述背景图像中还标记有雷达的有效探测范围。In a possible implementation manner, the background image is also marked with an effective detection range of the radar.
在一种可能的实施方式中,所述背景图像为所述雷达的探测场景的电子 地图。In a possible implementation manner, the background image is an electronic map of the detection scene of the radar.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method also includes:
以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线。With the position of the radar as the center and the radius of the cutting line as the radius, the arc cutting line is displayed within the effective detection range of the radar of the background image, or the arc cutting line is displayed in the defense zone of the background image .
在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:分别对各所述子防区设置预警规则。In a possible implementation manner, the setting an early warning rule for at least one of the multiple sub-zones includes: setting an early warning rule for each of the sub-zones respectively.
在一种可能的实施方式中,所述根据以所述雷达的位置为圆心以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区,包括:In a possible implementation manner, according to the arc cutting line formed with the radar position as the center and the cutting line radius as the radius, the at least one defense zone is divided into multiple sub-zones, including:
以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;Taking the position of the radar as the center and the radius of the cutting line as the radius, determine the arc cutting line within the effective detection range of the radar of the background image;
针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。For each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, then the defense zone will be divided into multiple small defense zone.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method also includes:
采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同;The arc cutting line inside the at least one defense zone is displayed in a first display manner, and the arc cutting line outside the at least one defense zone is displayed in a second display manner, wherein the first display manner is the same as the second display manner in different ways;
在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线切割线。After the cutting execution instruction is obtained, the arc cutting lines outside the at least one defense zone are filtered out.
在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:In a possible implementation manner, the setting an early warning rule for at least one sub-zone in the plurality of sub-zones includes:
在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。In the case of obtaining a cutting line radius, set the first warning rule for the sub-zones inside the arc cutting line, and/or set the second warning rule for the sub-zones outside the arc cutting line .
在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:In a possible implementation manner, the setting an early warning rule for at least one sub-zone in the plurality of sub-zones includes:
在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:In the case that N cutting line radii are obtained, perform at least one of the following steps:
对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
在一种可能的实施方式中,所述获取针对所述至少一个防区的切割线半径,包括:In a possible implementation manner, the obtaining the cutting line radius for the at least one defense zone includes:
在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径;After receiving the cutting preparation instruction, according to the position of the current focus, determine the cutting line radius in the background image with the position of the radar as the origin and the position of the focus as the other end point of the radius;
在一种可能的实施方式中,所述方法还包括:基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。In a possible implementation manner, the method further includes: based on the scale of the background image, displaying the real length of the radius of the cutting line in the detection scene.
第二方面,本申请实施例提供了一种预警规则下发装置,所述装置包括:In the second aspect, the embodiment of the present application provides a device for issuing early warning rules, the device comprising:
背景图像获取模块,用于展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;The background image acquisition module is used to display the background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
切割线半径获取模块,用于获取针对所述至少一个防区的切割线半径;A cutting line radius acquisition module, configured to acquire a cutting line radius for the at least one defense zone;
子防区划分模块,用于根据以所述雷达的位置为圆心、以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;The sub-defense zone division module is used to divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius;
预警规则设置模块,用于对所述多个子防区中的至少一个子防区设置预警规则;An early warning rule setting module, configured to set an early warning rule for at least one sub-defense zone in the multiple sub-defense zones;
预警规则下发模块,用于将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。The early warning rule sending module is used to send the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
在一种可能的实施方式中,所述背景图像中还标记有雷达的有效探测范围。In a possible implementation manner, the background image is also marked with an effective detection range of the radar.
在一种可能的实施方式中,所述背景图像为所述雷达的探测场景的电子地图。In a possible implementation manner, the background image is an electronic map of a detection scene of the radar.
在一种可能的实施方式中,所述装置还包括切割线展示模块,用于以所 述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线。In a possible implementation manner, the device further includes a cutting line display module, configured to use the position of the radar as the center and the cutting line radius as the radius, within the effective detection range of the radar of the background image The arc cutting line is displayed inside, or the arc cutting line is displayed in the defense zone of the background image.
在一种可能的实施方式中,所述预警规则设置模块,具体用于分别对各所述子防区设置预警规则。In a possible implementation manner, the early warning rule setting module is specifically configured to respectively set early warning rules for each of the sub-zones.
在一种可能的实施方式中,所述子防区划分模块,具体用于以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。In a possible implementation manner, the sub-defense zone division module is specifically configured to take the position of the radar as the center and the radius of the cutting line as the radius to determine within the effective detection range of the radar of the background image Arc cutting line; for each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, the arc cutting line will be This zone is divided into multiple sub-zones.
在一种可能的实施方式中,所述装置还包括,切割线展示模块,用于采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同;在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线切割线。In a possible implementation manner, the device further includes a cutting line display module, configured to display the arc cutting line inside the at least one defense zone in a first display manner, and display the at least one arc cutting line in a second display manner. The arc cutting line outside the defense zone, wherein, the first presentation mode is different from the second presentation mode; after the cutting execution instruction is acquired, the arc cutting line outside the at least one defense zone is filtered out.
在一种可能的实施方式中,所述预警规则设置模块,具体用于在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。In a possible implementation manner, the early warning rule setting module is specifically configured to set a first early warning rule for a sub-zone inside the arc cutting line when a cutting line radius is acquired, and/or Or, set the second warning rule for the sub-zones outside the arc cutting line.
在一种可能的实施方式中,所述预警规则设置模块,具体用于在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:In a possible implementation manner, the early warning rule setting module is specifically configured to perform at least one of the following steps when N cutting line radii are obtained:
对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
在一种可能的实施方式中,所述切割线半径获取模块,具体用于在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的 位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径;In a possible implementation manner, the cutting line radius acquisition module is specifically configured to, after receiving the cutting preparation instruction, take the position of the radar as the origin in the background image according to the position of the current focus, to The position of the focal point is the other end point of the radius, which determines the radius of the cutting line;
在一种可能的实施方式中,所述装置还包括:长度展示模块,用于基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。In a possible implementation manner, the device further includes: a length display module, configured to display the real length of the radius of the cutting line in the detection scene based on the scale of the background image.
第三方面,本申请实施例提供了一种电子设备,包括处理器及存储器;In a third aspect, the embodiment of the present application provides an electronic device, including a processor and a memory;
所述存储器,用于存放计算机程序;The memory is used to store computer programs;
所述处理器,用于执行所述存储器上所存放的程序时,实现本申请中任一所述的预警规则下发方法。The processor is configured to implement any one of the warning rule issuing methods described in the present application when executing the program stored in the memory.
第四方面,本申请实施例提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现本申请中任一所述的预警规则下发方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, which is characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any The method for issuing the warning rules.
第五方面,本申请实施例提供了本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本申请中任一所述的预警规则下发方法。In the fifth aspect, the embodiment of the present application provides that the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any of the warning rule delivery methods described in the present application .
本申请实施例有益效果:Beneficial effects of the embodiment of the application:
本申请实施例提供的预警规则下发方法、装置、电子设备及计算机程序产品,展示背景图像,其中,背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;获取针对至少一个防区的切割线半径;根据以雷达的位置为圆心、以切割线半径为半径构成的弧线切割线,在背景图像中将至少一个防区划分为多个子防区;对多个子防区中的至少一个子防区设置预警规则;将设置有预警规则的子防区的位置及相应的预警规则下发给雷达。在本申请实施例中,实现了雷达预警规则的设置。当然,实施本申请的任一产品或方法并不一定需要同时达到以上所述的所有优点。The method, device, electronic equipment, and computer program product provided in the embodiments of the present application display a background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar; Cutting line radius of a defense zone; according to the arc cutting line with the radar position as the center and the cutting line radius as the radius, at least one defense zone is divided into multiple sub-defense zones in the background image; for at least one of the multiple sub-defense zones Set the early warning rules for the sub-zones; send the location of the sub-zones with the early warning rules and the corresponding early warning rules to the radar. In the embodiment of the present application, the setting of radar warning rules is implemented. Of course, implementing any product or method of the present application does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明Description of drawings
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application and the prior art, the following briefly introduces the accompanying drawings required in the embodiments and the prior art. Obviously, the accompanying drawings in the following description are only the present invention. For some embodiments of the application, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请实施例的预警规则下发方法的第一种示意图;FIG. 1 is a first schematic diagram of a method for issuing an early warning rule according to an embodiment of the present application;
图2为本申请实施例中有效探测区域的一种示意图;FIG. 2 is a schematic diagram of an effective detection area in an embodiment of the present application;
图3为本申请实施例中防区的一种示意图;Fig. 3 is a schematic diagram of the defense zone in the embodiment of the present application;
图4为本申请实施例中的预警规则设置的第一种示意图;Fig. 4 is the first schematic diagram of the early warning rule setting in the embodiment of the present application;
图5为本申请实施例中的预警规则设置的第二种示意图;Fig. 5 is the second schematic diagram of the early warning rule setting in the embodiment of the present application;
图6为本申请实施例的预警规则下发方法的第二种示意图;FIG. 6 is a second schematic diagram of a method for issuing an early warning rule according to an embodiment of the present application;
图7为本申请实施例中步骤S103的一种可能的实现方式的示意图;FIG. 7 is a schematic diagram of a possible implementation of step S103 in the embodiment of the present application;
图8为本申请实施例中子防区的一种示意图;Fig. 8 is a schematic diagram of the neutron defense zone in the embodiment of the present application;
图9为本申请实施例的预警规则下发装置的一种示意图;FIG. 9 is a schematic diagram of a device for issuing early warning rules according to an embodiment of the present application;
图10为本申请实施例的电子设备的一种示意图。FIG. 10 is a schematic diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and examples. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
为了实现雷达预警规则的设置,本申请实施例提供了一种预警规则下发方法,所述方法包括:展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;获取针对所述至少一个防区的切割线半径;根据以所述雷达的位置为圆心以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;对所述多个子防区中的至少一个子防区设置预警规则;将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。在本申请实施例中,将各子防区的位置及各子防区的预警规则下发给雷达,实现了雷达预警规则的设置。In order to realize the setting of radar early warning rules, an embodiment of the present application provides a method for issuing early warning rules. The method includes: displaying a background image, wherein the background image is marked with the position of the radar, within the effective detection range of the radar at least one defense zone; obtain the cutting line radius for the at least one defense zone; according to the arc cutting line formed with the radar position as the center and the cutting line radius as the radius, the background image will include the At least one defense zone is divided into multiple sub-defense zones; an early warning rule is set for at least one of the multiple sub-defense zones; the position of the sub-defense zone with the early warning rule and the corresponding early warning rule are sent to the radar. In the embodiment of the present application, the location of each sub-zone and the early warning rules of each sub-zone are sent to the radar to realize the setting of radar early warning rules.
以下进行具体说明,参见图1,图1为本申请实施例的预警规则下发方法的第一种示意图,包括:The following is a specific description, referring to FIG. 1. FIG. 1 is a first schematic diagram of the method for issuing early warning rules in the embodiment of the present application, including:
S101,展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区。S101. Display a background image, wherein the background image is marked with a position of a radar and at least one defense zone within an effective detection range of the radar.
本申请实施例的预警规则下发方法可以通过电子设备实现,一个例子中, 该电子设备可以为智能手机或计算机等。背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区,在一种可能的实施方式中,背景图像中还可以标记有雷达的有效探测范围。雷达指的是用无线电的方法发现目标并测定它们的空间位置的装置,雷达的有效探测范围是指雷达可探测的范围,一个例子中,雷达的有效探测范围可以如图2所示。防区是指雷达有效探测范围内需要雷达监控的多边形区域,用于雷达的区域的布防,防区可以根据实际情况自定义设置。例如,雷达需要对机场A所在的区域进行监控,则可以设置机场A所在的区域为防区。一个例子中,有效探测范围内的至少一个防区可以如图3所示。背景图像标记有雷达的有效探测范围,可以方便用户直观地观测到雷达的有效探测范围,方便用户的子防区划分操作。The method for delivering an early warning rule in the embodiment of the present application may be implemented by an electronic device. In one example, the electronic device may be a smart phone or a computer. The position of the radar and at least one defense zone within the effective detection range of the radar are marked in the background image. In a possible implementation manner, the effective detection range of the radar may also be marked in the background image. Radar refers to a device that uses radio to find targets and determine their spatial positions. The effective detection range of radar refers to the range that radar can detect. In one example, the effective detection range of radar can be shown in Figure 2. The defense area refers to the polygonal area that needs radar monitoring within the effective detection range of the radar. It is used for the deployment of the radar area. The defense area can be customized according to the actual situation. For example, if the radar needs to monitor the area where airport A is located, you can set the area where airport A is located as a defense zone. In an example, at least one defense zone within the effective detection range may be as shown in FIG. 3 . The background image is marked with the effective detection range of the radar, which is convenient for the user to observe the effective detection range of the radar intuitively, and is convenient for the user to divide the sub-zones.
背景图像可以为任意的图像,例如纯色图像或设置有指定图案的图像等。在一种可能的实施方式中,所述背景图像为所述雷达的探测场景的电子地图。探测场景为需要雷达探测的真实世界的场景,探测场景的电子地图可以直接采用已有的电子地图,也可以针对探测场景建立专门的电子地图,电子地图的建立方式可以参见相关的电子地图建立方法,本申请中不作具体限定。一个例子中,探测场景的电子地图可以采用GIS(Geographic Information System,地理信息系统)地图。The background image can be any image, such as a solid color image or an image with a specified pattern. In a possible implementation manner, the background image is an electronic map of a detection scene of the radar. The detection scene is a real-world scene that requires radar detection. The electronic map of the detection scene can directly use the existing electronic map, or create a special electronic map for the detection scene. For the establishment method of the electronic map, please refer to the relevant electronic map establishment method. , is not specifically limited in this application. In an example, the electronic map of the detection scene may use a GIS (Geographic Information System, geographic information system) map.
一个例子中,电子地图中标记有雷达的位置、雷达的有效探测范围、雷达的有效探测范围内的至少一个防区。获取探测场景的电子地图的步骤,包括:In an example, the position of the radar, the effective detection range of the radar, and at least one defense zone within the effective detection range of the radar are marked in the electronic map. The steps for obtaining the electronic map of the detection scene include:
步骤一,获取探测场景中雷达的位置、所述雷达的有效探测范围及所述雷达的有效探测范围内至少一个防区的位置。Step 1, acquiring the position of the radar in the detection scene, the effective detection range of the radar, and the position of at least one defense zone within the effective detection range of the radar.
步骤二,根据所述探测场景中雷达的位置,在所述探测场景的电子地图中标记出雷达的位置。Step 2: According to the position of the radar in the detection scene, mark the position of the radar in the electronic map of the detection scene.
步骤三,根据所述探测场景中雷达的有效探测范围及所述电子地图中雷达的位置,在所述电子地图中标记出雷达的有效探测范围的位置。Step 3: According to the effective detection range of the radar in the detection scene and the position of the radar in the electronic map, mark the position of the effective detection range of the radar in the electronic map.
步骤四,根据所述探测场景中雷达的有效探测范围内至少一个防区的位置及所述电子地图中雷达的有效探测范围的位置,在所述电子地图中标记出至少一个防区的位置。Step 4: Mark the position of at least one defense zone in the electronic map according to the position of at least one defense zone within the effective detection range of the radar in the detection scene and the position of the effective detection range of the radar in the electronic map.
在本申请实施例中,采用探测场景的电子地图作为背景图像,便于用户直观地获取雷达、雷达的有效探测范围、雷达的有效探测范围内的至少一个防区在探测场景中的位置,方便用户直观地观测各子防区在探测场景对应的位置,便于子防区的划分。In the embodiment of the present application, the electronic map of the detection scene is used as the background image, which is convenient for the user to intuitively obtain the radar, the effective detection range of the radar, and the position of at least one defense zone within the effective detection range of the radar in the detection scene, which is convenient for the user to intuitively The ground observation of the corresponding positions of each sub-defense zone in the detection scene facilitates the division of sub-defense zones.
S102,获取针对所述至少一个防区的切割线半径。S102. Acquire a cutting line radius for the at least one defense zone.
获取用户根据展示的背景图像输出的切割线半径。一个例子中,用户可以直接输入切割线半径的长度,从而得到切割线半径,一个例子中,可以通过用户触屏或鼠标的焦点相对于雷达的位置,来得到切割线半径。Get the cutting line radius output by the user based on the displayed background image. In one example, the user can directly input the length of the radius of the cutting line to obtain the radius of the cutting line. In one example, the radius of the cutting line can be obtained through the position of the focus of the user's touch screen or mouse relative to the radar.
在一种可能的实施方式中,所述获取针对所述至少一个防区的切割线半径,包括:在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径。In a possible implementation manner, the acquiring the radius of the cutting line for the at least one defense zone includes: after receiving the cutting preparation instruction, according to the position of the current focus, using the radar's The position is the origin, and the radius of the cutting line is determined by taking the position of the focal point as the other end point of the radius.
一个例子中,在展示背景图像的同时还可以展示功能按钮,其中,功能按钮中包括切割按钮,用户通过触屏或鼠标的方式点击切割按钮,即接收到用户的切割准备指令,进入防区切割状态,焦点的位置变换成切割的图标。其中,切割线半径为雷达到焦点的线段。In one example, function buttons can also be displayed while displaying the background image, wherein the function buttons include a cutting button, and the user clicks the cutting button through the touch screen or the mouse, that is, receives the user's cutting preparation instruction and enters the defense zone cutting state , the focus position is transformed into a cutting icon. Among them, the cutting line radius is the line segment from the radar to the focal point.
在一种可能的实施方式中,所述方法还包括:基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。In a possible implementation manner, the method further includes: based on the scale of the background image, displaying the real length of the radius of the cutting line in the detection scene.
背景图像的比例尺与电子地图的比例尺类似,用于表示背景图像中雷达的有效探测范围与真实探测场景中雷达的有效探测范围的大小比例,也可以理解为背景图像中的防区与真实探测场景中的防区的大小比例。一个例子中,在焦点进入雷达的有效探测范围内后,可以根据当前的焦点位置展示相应的弧线切割线,该弧线切割线为以雷达为圆心,焦点到雷达的距离为半径(即切割线半径)所做的弧线。在焦点移动的过程中,背景图像中还可以根据实时的比例尺计算和展示出切割线半径在真实探测场景中的真实长度,也即真实探测场景中切割线到雷达的真实距离。该真实长度的展示位置可以根据实际情况自定义设置,例如,可以在背景图像中的焦点附近展示该真实长度,或者可以在背景图像中的弧线切割线附近展示该真实长度等。The scale of the background image is similar to the scale of the electronic map. It is used to indicate the ratio of the effective detection range of the radar in the background image to the effective detection range of the radar in the real detection scene. It can also be understood as the defense zone in the background image and the real detection scene. The size ratio of the defense zone. In one example, after the focus enters the effective detection range of the radar, the corresponding arc cutting line can be displayed according to the current focus position. The arc cutting line is centered on the radar, and the distance from the focus to the radar is the radius (that is, The arc made by line radius). During the process of focus movement, the real length of the cutting line radius in the real detection scene can also be calculated and displayed in the background image according to the real-time scale, that is, the real distance from the cutting line to the radar in the real detection scene. The display position of the real length can be customized according to the actual situation, for example, the real length can be displayed near the focal point in the background image, or the real length can be displayed near the arc cutting line in the background image, etc.
在本申请实施例中,展示切割线半径在探测场景中的真实长度,可以精 准知道弧线切割线距离雷达的长度,能够提高子防区切割的准确性。In the embodiment of this application, the real length of the cutting line radius in the detection scene is displayed, so that the length of the arc cutting line from the radar can be accurately known, and the accuracy of sub-defense zone cutting can be improved.
S103,根据以所述雷达的位置为圆心、以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区。S103. Divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius.
雷达的有效探测范围内可以仅有一个防区,也可以有多个防区;在一种可能的实施方式中,所述根据以所述雷达的位置为圆心以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区,包括:以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。There may be only one defense zone within the effective detection range of the radar, or there may be multiple defense zones; A line cutting line, which divides the at least one defense zone into a plurality of sub-defense zones in the background image, including: taking the position of the radar as the center and the radius of the cutting line as the radius, in the radar of the background image Determine the arc cutting line within the effective detection range; for each defense area, if the arc cutting line is not included in the defense area, the defense area will be directly regarded as a sub-defense area; if the arc cutting line is included in the defense area, the The arc cutting line divides the defense zone into multiple sub-defense zones.
以雷达的位置为圆心以切割线半径为半径构成的弧线切割线至少穿过一个防区,弧线切割线将穿过的防区划分为多个子防区,为了方便描述,将弧线未穿过的无需划分的防区也称为子防区,从而得到多个子防区。一个例子中,如图8所示,其中的防区A内不包括弧线切割线,将防区A直接作为一个子防区;防区B内包括弧线切割线,被弧线切割线划分为了两个子防区;防区C内包括弧线切割线,被弧线切割线划分为了两个子防区。The arc cutting line formed with the radar position as the center and the radius of the cutting line as the radius passes through at least one defense area. The arc cutting line divides the passing defense area into multiple sub-defense areas. For the convenience of description, the The defense zone that does not need to be divided is also called a sub-defense zone, so that multiple sub-defense zones can be obtained. In one example, as shown in Figure 8, the defense area A does not include the arc cutting line, and the defense area A is directly regarded as a sub-defense area; the defense area B includes the arc cutting line, which is divided into two sub-defense areas by the arc cutting line ;The defense area C includes the arc cutting line, which is divided into two sub-defense areas by the arc cutting line.
在展示背景图像的过程中,可以展示完整的弧线切割线,也可以仅展示防区内的弧线切割线,在一种可能的实施方式中,所述方法还包括:以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线。In the process of displaying the background image, the complete arc cutting line can be displayed, or only the arc cutting line in the defense zone can be displayed. In a possible implementation manner, the method further includes: using the position of the radar The arc cutting line is displayed in the effective detection range of the radar of the background image, or the arc cutting line is displayed in the defense zone of the background image.
S104,对所述多个子防区中的至少一个子防区设置预警规则。S104. Set an early warning rule for at least one sub-zone in the plurality of sub-zones.
用户根据实际的设置需求对多个子防区中的至少一个子防区设置预警规则。一些场景中,虽然存在多个子防区,但是仅需要针对一些特定的子防区设置预警规则,因此可以针对多个子防区中的一部分子防区设置预警规则,而其他的子防区可以不设置预警规则。一个例子中,例如图8所示,防区A为一个子防区,防区B被弧线切割线划分成了2个子防区,防区C被弧线切割线划分成了2个子防区,可以根据实际的设置需求仅对这五个子防区中的一个设置预警规则,也可以对这五个子防区中的多个子防区分别设置预警规则。The user sets an early warning rule for at least one of the multiple sub-zones according to actual setting requirements. In some scenarios, although there are multiple sub-zones, early warning rules only need to be set for some specific sub-zones, so early warning rules can be set for some of the multiple sub-zones, while other sub-zones do not need to set early warning rules. In one example, as shown in Figure 8, the defense zone A is a sub-defense zone, the defense zone B is divided into two sub-defense zones by the arc cutting line, and the defense zone C is divided into two sub-defense zones by the arc cutting line, which can be set according to the actual situation. It is required to set the early warning rule for only one of the five sub-defense zones, or set the early warning rules for multiple sub-defense zones among the five sub-defense zones.
在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:分别对各所述子防区设置预警规则。一个例子中,可以针对每个子防区单独设置一个预警规则。一个例子中,可以以雷达为中心分别对不同半径范围内的子区域设置预警规则。在本申请实施例中,分别设置各子防区的预警规则,实现了预警规则的多样性设置,从而增加了雷达预警方式的多样性。In a possible implementation manner, the setting an early warning rule for at least one of the multiple sub-zones includes: setting an early warning rule for each of the sub-zones respectively. In one example, an early warning rule can be set separately for each sub-zone. In an example, early warning rules can be set for sub-areas within different radiuses with the radar as the center. In the embodiment of the present application, the early warning rules of each sub-defense zone are set separately, realizing the diversity setting of early warning rules, thereby increasing the diversity of radar early warning methods.
S105,将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。S105. Send the location of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
设置有预警规则的子防区的位置及相应的预警规则下发给雷达,从而雷达可以根据子防区的位置对子防区进行监控,并根据子防区的预警规则进行预警。The position of the sub-defense area with the early warning rules and the corresponding early warning rules are sent to the radar, so that the radar can monitor the sub-defense area according to the position of the sub-defense area, and give an early warning according to the early warning rules of the sub-defense area.
从背景图像到真实的探测场景需要进行位置的转换,在一种可能的实施方式中,所述将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达,包括:步骤一,根据所述背景图像中设置有预警规则的子防区的位置,确定设置有预警规则的子防区在所述探测场景中的位置。步骤二,将设置有预警规则的子防区在所述探测场景中的位置及相应的预警规则下发给所述雷达。一个例子中,可以基于背景图像的比例尺来确定子防区在探测场景中的位置。一个例子中,可以基于背景图像坐标系与探测场景坐标系的对应关系来确定子防区在探测场景中的位置。It is necessary to convert the position from the background image to the real detection scene. In a possible implementation manner, sending the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar includes: Step 1. According to the position of the sub-defense zone set with the warning rule in the background image, determine the position of the sub-defense zone set with the warning rule in the detection scene. Step 2: Sending the position of the sub-defense zone with the early warning rule in the detection scene and the corresponding early warning rule to the radar. In one example, the position of the sub-zone in the detection scene can be determined based on the scale of the background image. In an example, the position of the sub-zone in the detection scene can be determined based on the correspondence between the background image coordinate system and the detection scene coordinate system.
在本申请实施例中,将预警规则下发给雷达,实现了雷达预警规则的设置。通过由切割线半径得到的弧线切割线来切割子防区,相比于手动对多个防区分别画线切割,能够减少切割后的子防区到雷达的距离不一致、不精准的情况;无论是针对形状规则还是形状不规则的防区,均可以在以同一探测半径进行子防区的划分的基础上,实现了探测半径相同的子区域的预警规则的设置。In the embodiment of the present application, the early warning rules are sent to the radar to realize the setting of the radar early warning rules. Cutting the sub-defense area by the arc cutting line obtained by the radius of the cutting line, compared with manually drawing lines for multiple defense areas, can reduce the inconsistent and inaccurate distance between the cut sub-defense area and the radar; whether it is for Both regular and irregular defense zones can be divided into sub-zones with the same detection radius, and the setting of early warning rules for sub-regions with the same detection radius can be realized.
一个例子中,可以通过输入长度数值的方式,来得到切割线半径的长度,从而得到切割线半径;一个例子中,可以展示触屏或鼠标的焦点与雷达的位置之间的线段,在获取到切割执行指令后例如用户点击鼠标左键后,将当前的线段作为最终输入的切割线半径。In one example, the length of the radius of the cutting line can be obtained by inputting the value of the length, so as to obtain the radius of the cutting line; in one example, the line segment between the focus of the touch screen or the mouse and the position of the radar can be displayed. After the cutting command is executed, for example, after the user clicks the left mouse button, the current line segment is used as the final input cutting line radius.
在仅获取到一个切割线半径的情况下,在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。In the case where only one cutting line radius is obtained, in a possible implementation manner, the setting the warning rule for at least one sub-defense zone in the plurality of sub-defense zones includes: in the case of obtaining one cutting line radius Next, set the first warning rule for the sub-zones inside the arc cutting line, and/or set the second warning rule for the sub-zones outside the arc cutting line.
在仅获取到一个切割线半径的情况下,子防区可以分为弧线切割线内侧的子防区和弧线切割线外侧的子防区,可以对处于所述弧线切割线内侧的至少一个子防区设置第一预警规则,还可以对处于弧线切割线外侧的至少一个子防区设置第二预警规则。In the case that only one cutting line radius is obtained, the sub-defense zone can be divided into a sub-defense zone inside the arc cutting line and a sub-defense zone outside the arc cutting line, and at least one sub-defense zone inside the arc cutting line can be The first warning rule is set, and the second warning rule can also be set for at least one sub-zone outside the arc cutting line.
一个例子中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,对处于所述弧线切割线外侧的子防区设置第二预警规则。例如图4所示,对处于弧线内侧的子防区设置第一预警规则,对处于弧线外侧的子防区设置第二预警规则。第一预警规则及第二预警规则可以根据实际情况自定义设置,例如,可以为普通预警、警戒预警或报警预警等,第一预警规则及第二预警规则应当为不同的预警规则。In an example, the setting of the early warning rule for at least one of the plurality of sub-zones includes: when a cutting line radius is obtained, setting the first warning rule for the sub-zones inside the arc cutting line An early warning rule, setting a second early warning rule for the sub-zones outside the arc cutting line. For example, as shown in FIG. 4 , the first warning rule is set for the defense sub-zones inside the arc, and the second warning rule is set for the defense sub-zones outside the arc. The first warning rule and the second warning rule can be customized according to the actual situation. For example, they can be general warning, warning warning or alarm warning. The first warning rule and the second warning rule should be different warning rules.
在获取到多个切割线半径的情况下,在一种可能的实施方式中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:In the case where multiple cutting line radii are obtained, in a possible implementation manner, the setting an early warning rule for at least one sub-defense zone in the multiple sub-defense zones includes:
在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:In the case that N cutting line radii are obtained, perform at least one of the following steps:
对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
一个例子中,在获取到多个切割线半径的情况下,可以针对各子防区均设置预警规则;所述对所述多个子防区中的至少一个子防区设置预警规则,包括:In an example, in the case of obtaining multiple cutting line radii, early warning rules can be set for each sub-defense zone; the setting of early warning rules for at least one sub-defense zone in the multiple sub-defence zones includes:
在获取到N个切割线半径的情况下,对处于第一弧线切割线内侧的子防 区设置第一预警规则,对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则,对处于第N弧线切割线外侧的子防区设置第N+1预警规则,其中,N为大于1的整数,i={1,2,…,N-1},在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。In the case where N cutting line radii are obtained, the first warning rule is set for the sub-defense zone inside the first arc cutting line, and the first warning rule is set for the sub-area outside the N-i arc cutting line and at the N-i+1 arc cutting Set the N-i+1th early warning rule for the sub-defense zone inside the line, and set the N+1th early warning rule for the sub-defense zone outside the Nth arc cutting line, where N is an integer greater than 1, i={1,2 ,..., N-1}, among the arc cutting lines formed by the radii of each cutting line, according to the order from near to far from the position of the radar, they are respectively the first arc cutting line and the second arc cutting line Cutting line, ..., Nth arc cutting line.
在仅获取到N个切割线半径的情况下,有效探测范围被N个切割线半径划分为N+1个区域,对处于第一弧线切割线内侧的至少一个子防区设置第一预警规则,对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的至少一个子防区设置第N-i+1预警规则,对处于第N弧线切割线外侧的至少一个子防区设置第N+1预警规则。一个例子中,以N为3为例,例如图5所示,按照距离雷达的位置由近到远的顺序,分别为第一弧线、第二弧线及第三弧线,对处于第一弧线内侧的子防区设置第一预警规则,对处于第一弧线外侧且处于第二弧线内侧的子防区设置第二预警规则,对处于第二弧线外侧且处于第三弧线内侧的子防区设置第三预警规则,对处于第三弧线外侧的子防区设置第四预警规则。第一预警规则、第二预警规则、第三预警规则、第四预警规则可以根据实际情况自定义设置,各预警规则应当为不同的预警规则。In the case where only N cutting line radii are obtained, the effective detection range is divided into N+1 areas by N cutting line radii, and the first warning rule is set for at least one sub-defense zone inside the first arc cutting line, Set the N-i+1th warning rule for at least one sub-defense zone outside the N-ith arc cutting line and inside the N-i+1th arc cutting line, and set the N-i+1th warning rule for at least one sub-area outside the Nth arc cutting line. The defense zone sets the N+1th early warning rule. In one example, taking N as 3 as an example, as shown in Figure 5, according to the order of distance from the radar position from near to far, they are the first arc, the second arc and the third arc, respectively, and the first The first warning rule is set for the sub-defense zone inside the arc, the second warning rule is set for the sub-defense zone outside the first arc and inside the second arc, and the second warning rule is set for the sub-zone outside the second arc and inside the third arc. The third warning rule is set for the sub-defense area, and the fourth early warning rule is set for the sub-defense area outside the third arc. The first early warning rule, the second early warning rule, the third early warning rule, and the fourth early warning rule can be customized according to the actual situation, and each early warning rule should be a different early warning rule.
在一种可能的实施方式中,参见图6,所述方法还包括:In a possible implementation manner, referring to FIG. 6, the method further includes:
S106,在所述雷达检测到至少一个子防区中出现预警对象时,按照出现预警对象的子防区的预警规则,执行相应的预警操作。S106. When the radar detects that an early warning object appears in at least one sub-defense zone, perform a corresponding early warning operation according to an early warning rule of the sub-defense zone where the early warning object appears.
例如,雷达检测到了子防区A中出现预警对象,则按照子防区A的预警规则执行相应的预警操作。For example, if the radar detects an early-warning object in the sub-area A, the corresponding early-warning operation is performed according to the early-warning rules of the sub-area A.
在本申请实施例中,在雷达检测到至少一个子防区中出现预警对象时,按照出现预警对象的子防区的预警规则执行相应的预警操作,能够实现以子防区独立的预警单位来进行预警操作,并且增加了雷达预警方式的多样性。In the embodiment of the present application, when the radar detects that an early warning object appears in at least one sub-defense zone, the corresponding early warning operation is performed according to the early warning rules of the sub-defense zone where the early warning object appears, and the early warning operation can be carried out by an independent early warning unit of the sub-defense zone , and increased the diversity of radar early warning methods.
在一种可能的实施方式中,参见图7,所述方法还包括:In a possible implementation manner, referring to FIG. 7, the method further includes:
S107,采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同。S107. Display the arc cut line inside the at least one defense zone in a first display manner, and display the arc cut line outside the at least one defense zone in a second display manner, wherein the first display manner is the same as the second display manner The two displays are different.
S108,在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线 切割线。S108. After obtaining the cutting execution instruction, filter out the arc cutting lines outside the at least one defense zone.
第一展示方式与第二展示方式可以根据实际情况自定义设置,例如,第一展示方式为采用实线展示,第二展示方式为采用虚线展示等。一个例子中,如图8所示,其中用虚线表示的弧线切割线即为防区外部的弧线切割线,在获取到切割执行指令后需要过滤掉,用实线表示的弧线切割线为防区内部的弧线切割线。The first display method and the second display method can be customized according to the actual situation. For example, the first display method is displayed with a solid line, and the second display method is displayed with a dotted line. In one example, as shown in Figure 8, the arc cutting line represented by the dotted line is the arc cutting line outside the defense zone, which needs to be filtered out after the cutting execution command is obtained, and the arc cutting line represented by the solid line is Arc cutting lines inside the zone.
例如,在焦点进入雷达的有效探测范围内后,可以根据当前的焦点位置展示相应的弧线切割线,该弧线切割线为以雷达为圆心,焦点到雷达的距离为半径(即切割线半径)所做的弧线。其中,防区内部的弧线切割线采用第一展示方式展示,防区外部的弧线切割线采用第二展示方式展示。在获取到切割执行指令后,例如用户点击鼠标左键后,过滤掉防区外部的弧线切割线,展示并保留防区内部的弧线切割线。For example, after the focus enters the effective detection range of the radar, the corresponding arc cutting line can be displayed according to the current focus position. The arc cutting line is centered on the radar, and the distance from the focus to the radar is the radius (that is, the cutting line radius ) made by the arc. Among them, the arc cutting line inside the defense area is displayed in the first display mode, and the arc cutting line outside the defense area is displayed in the second display mode. After obtaining the cutting execution command, for example, after the user clicks the left mouse button, the arc cutting lines outside the defense zone are filtered out, and the arc cutting lines inside the defense zone are displayed and retained.
在本申请实施例中,通过不同的展示方式来展示防区内部及外部的弧线切割线,能够便于防区内部及外部的弧线切割线的区分;在获取到切割执行指令后过滤掉防区外部的弧线切割线,能够过滤掉无用的弧线切割线,减少无用的弧线切割线对子防区划分的视觉影响。In the embodiment of the present application, the arc cutting lines inside and outside the defense zone are displayed through different display methods, which can facilitate the distinction of the arc cutting lines inside and outside the defense zone; after obtaining the cutting execution command, filter out the The arc cutting line can filter out useless arc cutting lines and reduce the visual impact of useless arc cutting lines on sub-defense zone division.
本申请实施例还提供了一种预警规则下发装置,参见图9,所述装置包括:The embodiment of the present application also provides a device for issuing early warning rules, see Figure 9, the device includes:
背景图像获取模块11,用于展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;The background image acquisition module 11 is used to display the background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
切割线半径获取模块12,用于获取针对所述至少一个防区的切割线半径;A cutting line radius acquisition module 12, configured to acquire a cutting line radius for the at least one defense zone;
子防区划分模块13,用于根据以所述雷达的位置为圆心、以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;The sub-defense zone division module 13 is used to divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius ;
预警规则设置模块14,用于对所述多个子防区中的至少一个子防区设置预警规则;An early warning rule setting module 14, configured to set an early warning rule for at least one sub-defense zone in the plurality of sub-defense zones;
预警规则下发模块15,用于将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。The early warning rule issuing module 15 is configured to send the location of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
在一种可能的实施方式中,所述背景图像中还标记有雷达的有效探测范围。In a possible implementation manner, the background image is also marked with an effective detection range of the radar.
在一种可能的实施方式中,所述背景图像为所述雷达的探测场景的电子地图。In a possible implementation manner, the background image is an electronic map of a detection scene of the radar.
在一种可能的实施方式中,所述装置还包括切割线展示模块,用于以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线。In a possible implementation manner, the device further includes a cutting line display module, configured to use the position of the radar as the center and the cutting line radius as the radius, within the effective detection range of the radar of the background image The arc cutting line is displayed inside, or the arc cutting line is displayed in the defense zone of the background image.
在一种可能的实施方式中,所述预警规则设置模块,具体用于分别对各所述子防区设置预警规则。In a possible implementation manner, the early warning rule setting module is specifically configured to respectively set early warning rules for each of the sub-zones.
在一种可能的实施方式中,所述子防区划分模块,具体用于以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。In a possible implementation manner, the sub-defense zone division module is specifically configured to take the position of the radar as the center and the radius of the cutting line as the radius to determine within the effective detection range of the radar of the background image Arc cutting line; for each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, the arc cutting line will be This zone is divided into multiple sub-zones.
在一种可能的实施方式中,所述装置还包括,切割线展示模块,用于采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同;在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线切割线。In a possible implementation manner, the device further includes a cutting line display module, configured to display the arc cutting line inside the at least one defense zone in a first display manner, and display the at least one arc cutting line in a second display manner. The arc cutting line outside the defense zone, wherein, the first presentation mode is different from the second presentation mode; after the cutting execution instruction is acquired, the arc cutting line outside the at least one defense zone is filtered out.
在一种可能的实施方式中,所述预警规则设置模块,具体用于在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。In a possible implementation manner, the early warning rule setting module is specifically configured to set a first early warning rule for a sub-zone inside the arc cutting line when a cutting line radius is acquired, and/or Or, set the second warning rule for the sub-zones outside the arc cutting line.
在一种可能的实施方式中,所述预警规则设置模块,具体用于在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:In a possible implementation manner, the early warning rule setting module is specifically configured to perform at least one of the following steps when N cutting line radii are obtained:
对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远 的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
在一种可能的实施方式中,所述切割线半径获取模块,具体用于在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径;In a possible implementation manner, the cutting line radius acquisition module is specifically configured to, after receiving the cutting preparation instruction, take the position of the radar as the origin in the background image according to the position of the current focus, to The position of the focal point is the other end point of the radius, which determines the radius of the cutting line;
在一种可能的实施方式中,所述装置还包括:长度展示模块,用于基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。In a possible implementation manner, the device further includes: a length display module, configured to display the real length of the radius of the cutting line in the detection scene based on the scale of the background image.
在本申请实施例中,将各子防区的位置及各子防区的预警规则下发给雷达,实现了雷达预警规则的设置。In the embodiment of the present application, the location of each sub-zone and the early warning rules of each sub-zone are sent to the radar to realize the setting of radar early warning rules.
本申请实施例还提供了一种电子设备,包括:处理器及存储器;The embodiment of the present application also provides an electronic device, including: a processor and a memory;
上述存储器,用于存放计算机程序;The above-mentioned memory is used to store computer programs;
上述处理器用于执行上述存储器存放的计算机程序时,实现本申请中任一所述的预警规则下发方法。When the above-mentioned processor is used to execute the computer program stored in the above-mentioned memory, it realizes any one of the methods for issuing early warning rules in the present application.
在一种可能的实施方式中,参见图10,本申请实施例的电子设备还包括通信接口22和通信总线24,其中,处理器21,通信接口22,存储器23通过通信总线24完成相互间的通信。In a possible implementation, referring to FIG. 10 , the electronic device of the embodiment of the present application further includes a communication interface 22 and a communication bus 24, wherein, the processor 21, the communication interface 22, and the memory 23 complete mutual communication through the communication bus 24. communication.
上述电子设备提到的通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above-mentioned electronic equipment may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.
存储器可以包括RAM(Random Access Memory,随机存取存储器),也可以包括NVM(Non-Volatile Memory,非易失性存储器),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include RAM (Random Access Memory, random access memory), and may also include NVM (Non-Volatile Memory, non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far away from the aforementioned processor.
上述的处理器可以是通用处理器,包括CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processing,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程 门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。Above-mentioned processor can be general-purpose processor, comprises CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor) etc.; Can also be DSP (Digital Signal Processing, digital signal processor), ASIC ( Application Specific Integrated Circuit (ASIC), FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
本申请实施例还提供了一种计算机可读存储介质,上述计算机可读存储介质内存储有计算机程序,上述计算机程序被处理器执行时实现本申请中任一所述的预警规则下发方法。The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored in the above-mentioned computer-readable storage medium, and when the above-mentioned computer program is executed by a processor, any method for delivering an early warning rule described in this application is implemented.
在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本申请中任一所述的预警规则下发方法。In yet another embodiment provided by the present application, a computer program product including instructions is also provided, and when it is run on a computer, it causes the computer to execute any one of the warning rule delivery methods described in the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
需要说明的是,在本文中,各个可选方案中的技术特征只要不矛盾均可组合来形成方案,这些方案均在本申请公开的范围内。诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物 品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this article, as long as there is no contradiction, the technical features in each optional solution can be combined to form a solution, and these solutions are within the scope of the disclosure of this application. Relational terms such as first and second, etc. are used only to distinguish one entity or operation from another and do not necessarily require or imply any such actual relationship or relationship between these entities or operations. order. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、电子设备、计算机程序产品及存储介质的实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, electronic equipment, computer program product, and storage medium, since they are basically similar to the method embodiments, the description is relatively simple. For relevant parts, please refer to the part of the description of the method embodiments.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within the range.

Claims (16)

  1. 一种预警规则下发方法,所述方法包括:A method for issuing early warning rules, the method comprising:
    展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;Displaying a background image, wherein the background image is marked with the location of the radar and at least one defense zone within the effective detection range of the radar;
    获取针对所述至少一个防区的切割线半径;obtaining a cutting line radius for the at least one defense zone;
    根据以所述雷达的位置为圆心、以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;dividing the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius;
    对所述多个子防区中的至少一个子防区设置预警规则;Setting an early warning rule for at least one sub-defense zone in the plurality of sub-defense zones;
    将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。Send the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
  2. 根据权利要求1所述的方法,其中,所述背景图像中还标记有雷达的有效探测范围;所述背景图像为所述雷达的探测场景的电子地图;The method according to claim 1, wherein, the effective detection range of the radar is also marked in the background image; the background image is an electronic map of the detection scene of the radar;
    所述方法还包括:The method also includes:
    以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线;With the position of the radar as the center and the radius of the cutting line as the radius, the arc cutting line is displayed within the effective detection range of the radar of the background image, or the arc cutting line is displayed in the defense zone of the background image ;
    所述对所述多个子防区中的至少一个子防区设置预警规则,包括:The setting of early warning rules for at least one sub-defense zone in the plurality of sub-defense zones includes:
    分别对各所述子防区设置预警规则。Set early warning rules for each of the sub-zones.
  3. 根据权利要求1所述的方法,其中,所述根据以所述雷达的位置为圆心以所述切割线半径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区,包括:The method according to claim 1, wherein the at least one defense zone is divided in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius For multiple subzones, including:
    以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;Taking the position of the radar as the center and the radius of the cutting line as the radius, determine the arc cutting line within the effective detection range of the radar of the background image;
    针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。For each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, then the defense zone will be divided into multiple small defense zone.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同;The arc cutting line inside the at least one defense zone is displayed in a first display manner, and the arc cutting line outside the at least one defense zone is displayed in a second display manner, wherein the first display manner is the same as the second display manner in different ways;
    在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线切割线。After the cutting execution instruction is obtained, the arc cutting lines outside the at least one defense zone are filtered out.
  5. 根据权利要求1所述的方法,其中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:The method according to claim 1, wherein said setting an early warning rule for at least one sub-zone in the plurality of sub-zones comprises:
    在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。In the case of obtaining a cutting line radius, set the first warning rule for the sub-zones inside the arc cutting line, and/or set the second warning rule for the sub-zones outside the arc cutting line .
  6. 根据权利要求1所述的方法,其中,所述对所述多个子防区中的至少一个子防区设置预警规则,包括:The method according to claim 1, wherein said setting an early warning rule for at least one sub-zone in the plurality of sub-zones comprises:
    在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:In the case that N cutting line radii are obtained, perform at least one of the following steps:
    对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
    对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
    对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
    其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  7. 根据权利要求1所述的方法,其中,所述获取针对所述至少一个防区的切割线半径,包括:The method according to claim 1, wherein said obtaining the cutting line radius for said at least one defense zone comprises:
    在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径;After receiving the cutting preparation instruction, according to the position of the current focus, determine the cutting line radius in the background image with the position of the radar as the origin and the position of the focus as the other end point of the radius;
    所述方法还包括:The method also includes:
    基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。Based on the scale of the background image, the real length of the radius of the cutting line in the detection scene is displayed.
  8. 一种预警规则下发装置,所述装置包括:A device for issuing early warning rules, the device comprising:
    背景图像获取模块,用于展示背景图像,其中,所述背景图像中标记有雷达的位置、雷达的有效探测范围内的至少一个防区;The background image acquisition module is used to display the background image, wherein the background image is marked with the position of the radar and at least one defense zone within the effective detection range of the radar;
    切割线半径获取模块,用于获取针对所述至少一个防区的切割线半径;A cutting line radius acquisition module, configured to acquire a cutting line radius for the at least one defense zone;
    子防区划分模块,用于根据以所述雷达的位置为圆心、以所述切割线半 径为半径构成的弧线切割线,在所述背景图像中将所述至少一个防区划分为多个子防区;The sub-defense zone division module is used to divide the at least one defense zone into multiple sub-defense zones in the background image according to the arc cutting line formed with the position of the radar as the center and the radius of the cutting line as the radius;
    预警规则设置模块,用于对所述多个子防区中的至少一个子防区设置预警规则;An early warning rule setting module, configured to set an early warning rule for at least one sub-defense zone in the multiple sub-defense zones;
    预警规则下发模块,用于将设置有预警规则的子防区的位置及相应的预警规则下发给所述雷达。The early warning rule sending module is used to send the position of the sub-defense zone with the early warning rule and the corresponding early warning rule to the radar.
  9. 根据权利要求8所述的装置,其中,所述背景图像中还标记有雷达的有效探测范围;所述背景图像为所述雷达的探测场景的电子地图;The device according to claim 8, wherein the effective detection range of the radar is also marked in the background image; the background image is an electronic map of the detection scene of the radar;
    所述装置还包括切割线展示模块,用于以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内展示弧线切割线,或在所述背景图像的防区内展示弧线切割线;The device also includes a cutting line display module, which is used to display an arc cutting line within the effective detection range of the radar of the background image, or take the position of the radar as the center and the radius of the cutting line as the radius. The arc cutting line is displayed in the defense zone of the background image;
    所述预警规则设置模块,具体用于分别对各所述子防区设置预警规则。The early warning rule setting module is specifically used to set early warning rules for each of the sub-zones.
  10. 根据权利要求8所述的装置,其中,所述子防区划分模块,具体用于以所述雷达的位置为圆心、以所述切割线半径为半径,在所述背景图像的雷达的有效探测范围内确定弧线切割线;针对每一个防区,若该防区内不包括弧线切割线,则将该防区直接作为一个子防区;若该防区内包括弧线切割线,则通过所述弧线切割线将该防区划分为多个子防区。The device according to claim 8, wherein the sub-defense zone division module is specifically configured to take the position of the radar as the center and the radius of the cutting line as the radius, within the effective detection range of the radar of the background image Determine the arc cutting line within; for each defense zone, if the defense zone does not include the arc cutting line, the defense zone will be directly regarded as a sub-defense zone; if the defense zone includes the arc cutting line, then the arc cutting line will be passed Lines divide the zone into several sub-zones.
  11. 根据权利要求8所述的装置,其中,所述切割线展示模块,具体用于采用第一展示方式展示所述至少一个防区内部的弧线切割线,采用第二展示方式展示所述至少一个防区外部的弧线切割线,其中,所述第一展示方式与所述第二展示方式不同;在获取到切割执行指令后,过滤掉所述至少一个防区外部的弧线切割线。The device according to claim 8, wherein the cutting line display module is specifically used to display the arc cutting line inside the at least one defense zone in a first display manner, and display the at least one defense zone in a second display manner The outer arc cutting line, wherein the first presentation manner is different from the second presentation manner; after the cutting execution instruction is acquired, the arc cutting line outside the at least one defense zone is filtered out.
  12. 根据权利要求8所述的装置,其中,所述预警规则设置模块,具体用于在获取到一个切割线半径的情况下,对处于所述弧线切割线内侧的子防区设置第一预警规则,和/或,对处于所述弧线切割线外侧的子防区设置第二预警规则。The device according to claim 8, wherein the early warning rule setting module is specifically configured to set a first early warning rule for the sub-area inside the arc cutting line when a cutting line radius is acquired, And/or, set a second warning rule for the sub-zones outside the arc cutting line.
  13. 根据权利要求8所述的装置,其中,所述预警规则设置模块,具体用于在获取到N个切割线半径的情况下,执行以下步骤中的至少一项:The device according to claim 8, wherein the early warning rule setting module is specifically configured to perform at least one of the following steps when N cutting line radii are obtained:
    对处于第一弧线切割线内侧的子防区设置第一预警规则;Set the first warning rule for the sub-zones inside the first arc cutting line;
    对处于第N-i弧线切割线外侧且处于第N-i+1弧线切割线内侧的子防区设置第N-i+1预警规则;Set the N-i+1th early warning rule for the sub-area outside the N-ith arc cutting line and inside the N-i+1th arc cutting line;
    对处于第N弧线切割线外侧的子防区设置第N+1预警规则;Set the N+1th early warning rule for the sub-zone outside the Nth arc cutting line;
    其中,N为大于1的整数,i的取值为{1,2,…,N-1}中的一个或多个,在各所述切割线半径形成的弧线切割线中,按照距离所述雷达的位置由近到远的顺序,分别为第一弧线切割线、第二弧线切割线、…、第N弧线切割线。Wherein, N is an integer greater than 1, and the value of i is one or more of {1, 2, ..., N-1}. In the arc cutting line formed by the radius of each cutting line, according to the distance The order of the position of the radar from near to far is the first arc cutting line, the second arc cutting line, ..., the Nth arc cutting line.
  14. 根据权利要求8所述的装置,其中,所述切割线半径获取模块,具体用于在接收到切割准备指令后,根据当前焦点的位置,在所述背景图像中以所述雷达的位置为原点,以所述焦点的位置为半径的另一端点,确定切割线半径;The device according to claim 8, wherein the cutting line radius acquisition module is specifically configured to take the position of the radar as the origin in the background image according to the position of the current focus after receiving the cutting preparation instruction , taking the position of the focal point as the other endpoint of the radius to determine the radius of the cutting line;
    所述装置还包括:长度展示模块,用于基于所述背景图像的比例尺,展示所述切割线半径在所述探测场景中的真实长度。The device further includes: a length display module, configured to display the real length of the radius of the cutting line in the detection scene based on the scale of the background image.
  15. 一种电子设备,包括处理器及存储器;An electronic device, including a processor and a memory;
    所述存储器,用于存放计算机程序;The memory is used to store computer programs;
    所述处理器,用于执行所述存储器上所存放的程序时,实现权利要求1-7任一所述的预警规则下发方法。The processor is configured to implement the method for delivering an early warning rule according to any one of claims 1-7 when executing the program stored in the memory.
  16. 一种计算机程序产品,当其在计算机上运行时,使得计算机执行权利要求1-7任一所述的预警规则下发方法。A computer program product, which, when running on a computer, causes the computer to execute the method for issuing warning rules according to any one of claims 1-7.
PCT/CN2022/132181 2021-11-19 2022-11-16 Early-warning rule issuing method and apparatus, and electronic device and computer program product WO2023088286A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
MX2024006067A MX2024006067A (en) 2021-11-19 2022-11-16 Early-warning rule issuing method and apparatus, and electronic device and computer program product.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111397890.0A CN114037718A (en) 2021-11-19 2021-11-19 Early warning rule issuing method and device, electronic equipment and computer program product
CN202111397890.0 2021-11-19

Publications (1)

Publication Number Publication Date
WO2023088286A1 true WO2023088286A1 (en) 2023-05-25

Family

ID=80138516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/132181 WO2023088286A1 (en) 2021-11-19 2022-11-16 Early-warning rule issuing method and apparatus, and electronic device and computer program product

Country Status (3)

Country Link
CN (1) CN114037718A (en)
MX (1) MX2024006067A (en)
WO (1) WO2023088286A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114037718A (en) * 2021-11-19 2022-02-11 杭州海康威视数字技术股份有限公司 Early warning rule issuing method and device, electronic equipment and computer program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108152808A (en) * 2017-11-23 2018-06-12 安徽四创电子股份有限公司 A kind of circumference intelligent predicting method for early warning based on millimetre-wave radar
CN110599740A (en) * 2019-10-16 2019-12-20 深圳震有科技股份有限公司 Multidimensional electronic fence early warning monitoring method and device, computer equipment and medium
CN111383294A (en) * 2018-12-27 2020-07-07 杭州海康威视数字技术股份有限公司 Drawing method and device for defense area in security radar system
CN112068079A (en) * 2020-08-28 2020-12-11 森思泰克河北科技有限公司 Defense area dividing method and device for security radar, terminal and storage medium
CN112527009A (en) * 2020-04-10 2021-03-19 广州极飞科技有限公司 Radar data processing method and device and operation equipment
CN112954271A (en) * 2021-01-28 2021-06-11 浙江大华技术股份有限公司 Video monitoring defense deploying method and system, storable medium and computer equipment
CN113433946A (en) * 2021-07-14 2021-09-24 北京华科软通科技有限公司 Anti-collision early warning method, device and system, electronic equipment and storage medium
CN114037718A (en) * 2021-11-19 2022-02-11 杭州海康威视数字技术股份有限公司 Early warning rule issuing method and device, electronic equipment and computer program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108152808A (en) * 2017-11-23 2018-06-12 安徽四创电子股份有限公司 A kind of circumference intelligent predicting method for early warning based on millimetre-wave radar
CN111383294A (en) * 2018-12-27 2020-07-07 杭州海康威视数字技术股份有限公司 Drawing method and device for defense area in security radar system
CN110599740A (en) * 2019-10-16 2019-12-20 深圳震有科技股份有限公司 Multidimensional electronic fence early warning monitoring method and device, computer equipment and medium
CN112527009A (en) * 2020-04-10 2021-03-19 广州极飞科技有限公司 Radar data processing method and device and operation equipment
CN112068079A (en) * 2020-08-28 2020-12-11 森思泰克河北科技有限公司 Defense area dividing method and device for security radar, terminal and storage medium
CN112954271A (en) * 2021-01-28 2021-06-11 浙江大华技术股份有限公司 Video monitoring defense deploying method and system, storable medium and computer equipment
CN113433946A (en) * 2021-07-14 2021-09-24 北京华科软通科技有限公司 Anti-collision early warning method, device and system, electronic equipment and storage medium
CN114037718A (en) * 2021-11-19 2022-02-11 杭州海康威视数字技术股份有限公司 Early warning rule issuing method and device, electronic equipment and computer program product

Also Published As

Publication number Publication date
MX2024006067A (en) 2024-06-21
CN114037718A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
US20210318793A1 (en) Method and Apparatus for Managing Notification Bar Message
AU2014200949B2 (en) An apparatus for providing a cursor in electronic devices and a method thereof
US8869041B2 (en) Dynamic and local management of hierarchical discussion thread data
CN102968338A (en) Method and device for classifying application program of electronic equipment and electronic equipment
WO2019024056A1 (en) Anti-misoperation method and terminal
US9170680B2 (en) Method, system and computer program product for operating a touchscreen
CN102045423A (en) Mobile terminal and method for detecting temperatures by using same
WO2023088286A1 (en) Early-warning rule issuing method and apparatus, and electronic device and computer program product
US10887561B2 (en) Surveillance system, surveillance method, and program
CN111414105A (en) Information reminding method and electronic equipment
JP2018530833A (en) Providing notifications based on geofencing search results
US20140071349A1 (en) Method, apparatus, and computer program product for changing a viewing angle of a video image
US9626580B2 (en) Defining region for motion detection
EP3198389B1 (en) Apparatus and method for identifying object
CN109902089B (en) Query method and device using heterogeneous index, electronic equipment and medium
US20180035367A1 (en) Method and Apparatus for Accessing Wifi Access Point in Target Shop
WO2019228283A1 (en) Split screen display method and apparatus used for terminal
CN109165648B (en) Image processing method, image processing device and mobile terminal
TWI512592B (en) Electronic device and method for displaying a user interface thereof
CN111061530A (en) Image processing method, electronic device and storage medium
US10983681B1 (en) Image identification system
CN112578974B (en) Wearable device screen capture control method based on distance measurement
CN110851052B (en) Display method and flexible electronic equipment
US20160110030A1 (en) System and method for filtering photos, text, and videos by users choice
WO2016011803A1 (en) Touch screen based application layout arrangement method and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22894818

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112024009872

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112024009872

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20240517