Fusion display method for multiple detection areas and electronic equipment

By judging and fusing the detection areas of multiple detection devices, a collection of target fusion areas is generated and highlighted on the map, the problem of confusion in map content caused by overlapping detection areas in the prior art is solved, and a more concise and intuitive display of drone flight data is achieved.

CN119625117AActive Publication Date: 2025-03-14AUTEL INTELLIGENT AUTOMOBILE CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411672708.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-14
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

In the prior art, the detection areas of multiple detection devices may overlap when displayed on the map, resulting in too confusing the map content and making it difficult for users to obtain accurate information of the drone.

Method used

By obtaining the detection area set, it is determined whether there are overlapping detection areas. If there are, the overlapping two detection areas will be randomly determined. The target fusion area is determined based on the center point and radius of these areas, and the detection area set is updated until all detection areas are traversed, the target fusion area set is generated, and highlighted on the map.

Benefits of technology

The overlapping detection areas are fused into a large fusion area for display, making the map content more concise and intuitive, and users can quickly obtain the flight data of the drone.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119625117A_ABST
    Figure CN119625117A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of area display, and discloses a fusion display method for multiple detection areas, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a detection area set, judging whether there is an overlapped detection area in the detection area set, and when there is the overlapped detection area, displaying the overlapped detection area in the detection area set; a first detection area and a second detection area which are overlapped are randomly determined from the detection area set, a target fusion area is determined according to the central point of the first detection area, the radius of the first detection area, the central point of the second detection area and the radius of the second detection area, and then the detection area set is updated; and skipping to the step of judging whether the overlapped detection areas exist in the detection area set or not until all the detection areas in the detection area set are traversed, generating a target fusion area set, and performing highlight display on the target fusion areas in the target fusion area set on the map. In this way, the interface displayed on the map is simpler and more visual.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of regional display technology, and specifically to a method for fusion display of multiple detection regions, an electronic device, and a computer-readable storage medium. Background Art

[0002] In recent years, drones have been widely used in military, logistics, agriculture and other fields. However, the widespread use of drones has also brought about problems such as airspace security, privacy infringement and illegal activities. Therefore, it is necessary to detect drones flying in a specific area (especially drones flying near key areas such as government-implemented or military areas) and obtain the movement trajectory of drones, so as to take countermeasures against illegal drones in a timely manner.

[0003] Due to the limitations of a single detection device, it is usually difficult to fully and accurately grasp the flight status of unmanned aircraft, and multiple detection devices are usually required to detect drones together. However, the detection areas of multiple detection devices may overlap when displayed on the map, which will cause the content displayed on the map to be too confusing and it is difficult for users to obtain accurate information about drones from the map. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application provide a method for fusion display of multiple detection areas, an electronic device and a computer-readable storage medium, which are used to solve the problem in the prior art that the content displayed on the map is too confusing and it is difficult for users to obtain accurate information about the drone from the map.

[0005] According to one aspect of an embodiment of the present application, a method for fusion display of multiple detection areas is provided, the method comprising: obtaining a detection area set, the detection area set comprising detection areas corresponding to multiple detection devices; determining whether there are overlapping detection areas in the detection area set; if there are overlapping detection areas, randomly determining overlapping first detection areas and second detection areas from the detection area set; determining a target fusion area according to a center point of the first detection area, a radius of the first detection area, a center point of the second detection area, and a radius of the second detection area; updating the detection area set according to the target fusion area, and jumping to the step of determining whether there are overlapping detection areas in the detection area set, until all detection areas in the detection area set are traversed to generate a target fusion area set; and highlighting the target fusion area in the target fusion area set on a map.

[0006] In an optional manner, before determining whether there are overlapping detection areas in the detection area set, the method further includes: searching a preset database based on the detection area set, wherein a plurality of detection area sets and their corresponding target fusion area sets are pre-stored in the preset database; if at least some of the detection areas in the detection area set are the same as all the detection areas in the detection area set pre-stored in the preset database, obtaining a target fusion area set corresponding to the detection area set from the preset database; and updating the detection area set based on the target fusion areas in the target fusion area set.

[0007] In an optional manner, the target fusion area is determined according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area, specifically including: obtaining the midpoint between the center point of the first detection area and the center point of the second detection area to obtain the center point of the target fusion area; calculating the distance between the center point of the first detection area and the center point of the second detection area to obtain the first distance; if the radius of the first detection area is greater than or equal to the radius of the second detection area, determining the radius of the target fusion area according to the radius of the first detection area and the first distance; if the radius of the first detection area is less than the radius of the second detection area, determining the radius of the target fusion area according to the radius of the second detection area and the first distance.

[0008] In an optional manner, the target fusion area is determined according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area, specifically including: calculating the distance between the center point of the first detection area and the center point of the second detection area to obtain a first distance; determining the radius of the target fusion area according to the sum of the radius of the first detection area, the radius of the second detection area, and the first distance; calculating the distance between the center point of the target fusion area and the center point of the first detection area according to the radius of the target fusion area and the radius of the first detection area to obtain a second distance; determining the center point of the target fusion area according to the center point of the first detection area, the center point of the second detection area, the first distance, and the second distance.

[0009] In an optional manner, the detection area set is updated according to the target fusion area, specifically including: determining whether each detection area in the detection area set is within the target fusion area; if the detection area is within the target fusion area, deleting the detection area from the detection area set; and updating the target fusion area to the detection area set.

[0010] In an optional manner, the target fusion area in the target fusion area set is highlighted on the map, specifically including: setting a first foreground color on the map, the first foreground color is used to reduce the brightness of the map; deleting the first foreground color within the target fusion area in the target fusion area set on the map to increase the brightness within the detection area in the updated detection area set.

[0011] In an optional manner, after deleting the first foreground color in the target fusion area in the target fusion area set on the map to increase the brightness in the detection area in the updated detection area set, the method also includes: setting a second foreground color in the target fusion area in the target fusion area set on the map; determining whether the brightness of each pixel in the detection area in the updated detection area set on the map is greater than a preset brightness; if the brightness corresponding to the pixel is less than or equal to the preset brightness, reducing the brightness of the pixel on the map according to the second foreground color; if the brightness of the pixel is greater than the preset brightness, increasing the brightness of the pixel on the map according to the second foreground color.

[0012] In an optional manner, the brightness of a pixel on a map is lowered according to a second foreground color, specifically including: obtaining a color value corresponding to the pixel on the map to obtain a first color value; obtaining a color value corresponding to the pixel on the second foreground color to obtain a second color value; updating the color value of the pixel on the map according to the product of the first color value and the second color value, wherein the brightness of the updated color value is less than the brightness of the first color value; increasing the brightness of the pixel on the map according to the second foreground color, specifically including: obtaining a complementary color of the color value corresponding to the pixel on the map to obtain a third color value; obtaining a complementary color of the color value corresponding to the pixel on the second foreground color to obtain a fourth color value; determining a fifth color value according to the product of the third color value and the fourth color value; and updating the complementary color of the fifth color value to the color value of the pixel on the map, wherein the brightness of the updated color value is greater than the brightness of the complementary color of the third color value.

[0013] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement any one of the above-mentioned methods for fusion display of multiple detection areas.

[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for fusion display of multiple detection areas described in any one of the above is implemented.

[0015] The embodiment of the present application determines whether there are overlapping detection areas in the detection area set, merges the overlapping detection areas, generates a target fusion area set, and finally highlights the target fusion area in the target fusion area set on the map to highlight the detection areas of multiple detection devices on the map, making the interface displayed on the map simpler and more intuitive, and the user can quickly view the flight trajectory and status of the drone from the map.

[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0018] Figure 1 A schematic diagram showing a flow chart of a method for fusing and displaying multiple detection areas provided in the first embodiment of the present application is shown;

[0019] Figure 2 A schematic diagram showing a flow chart of a method for fusing and displaying multiple detection areas provided in a second embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram showing a flow chart of a method for fusing and displaying multiple detection areas provided in a third embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram showing a flow chart of a method for fusing and displaying multiple detection areas provided in a fourth embodiment of the present application is shown;

[0022] Figure 5 A schematic diagram of the structure of a multiple detection area fusion display device provided in an embodiment of the present application is shown;

[0023] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein.

[0025] Current detection equipment mainly includes radar, infrared sensors, radio receivers, etc. These devices can provide the location information, flight altitude, speed and other data of drones. However, a single detection device has limitations such as small detection range, low detection accuracy and poor environmental adaptability, making it difficult to fully and accurately grasp the flight status of drones. Therefore, it is usually necessary for multiple detection devices to work together to detect the flight trajectory of drones, and then display the detection areas of multiple detection devices on a map so that users can accurately obtain the flight data of drones from the map.

[0026] However, the detection areas of multiple detection devices may overlap, which will cause the content displayed on the map to be too confusing. Especially in complex environments, the content displayed on the map is already complex, and the overlapping and covered detection areas make the content displayed on the map very confusing, making it difficult for users to obtain the flight data of the drone from the map.

[0027] Based on this, the present application provides a method for fusion display of multiple detection areas. After obtaining a detection area set consisting of detection areas corresponding to multiple detection devices, first determine whether there are overlapping detection areas in the detection area set. As long as there are overlapping detection areas, randomly determine two overlapping detection areas, and then determine the fusion area based on the center and radius of the two detection areas. Then update the detection area set based on the fusion area, repeat the above steps until there is only one detection area left in the detection area set or there are no overlapping detection areas, and then the fusion area set can be obtained. Finally, the fusion area in the fusion area set is highlighted on the map.

[0028] In this way, overlapping detection areas can be fused into a large fusion area for display, making the content displayed on the map more concise and intuitive. Users can quickly obtain the required drone flight data from the content displayed on the map, especially in complex environments, the content displayed on the map can be clearer.

[0029] Figure 1 A flow chart of a method for fusion display of multiple detection areas provided by an embodiment of the present application is shown, and the method is executed by an electronic device. The electronic device can be a mobile phone, a tablet, a computer, etc. After multiple detection devices are turned on, their detection areas are automatically sent to the electronic device. The electronic device receives the detection areas of multiple detection devices and fuses these detection areas. Finally, the fused area is highlighted on the map. It can be displayed directly on the display screen on the electronic device (for example, the display screen of a mobile phone or tablet), or the display data can be sent to a display device (for example, a liquid crystal display, a projector, etc.) connected to the electronic device signal, so that the fused area is highlighted on the map through the display device.

[0030] Specifically, Figure 1 As shown, the method comprises the following steps:

[0031] Step S110: Acquire a detection area set.

[0032] The detection area set includes the detection area corresponding to the detection device. The detection area can be determined by the center and radius. The position of the detection device is the center point of the detection area, and the detection radius of the detection device is the radius of the detection area.

[0033] Step S120: Determine whether there are multiple detection areas in the detection area set.

[0034] If there are multiple detection areas in the detection area set, it means that there may be detection areas in the detection area set that need to be fused and displayed, and it is necessary to further determine whether there are overlapping detection areas in the detection area set, so as to fuse and display the overlapping detection areas in the detection area set, and then jump to step S130;

[0035] If there is only one detection area in the detection area set, it means that there is no need to fuse the detection areas in the detection area set and the detection areas in the detection area set are directly highlighted on the map, and the process jumps to step S190.

[0036] Step S130: determining whether there are overlapping detection areas in the detection area set.

[0037] If there are overlapping detection areas in the detection area set, it means that there are detection areas in the detection area set that need to be fused and displayed, and these detection areas need to be fused and displayed, and the process jumps to step S140;

[0038] If the detection areas in the detection area set do not overlap, it means that the detection areas in the detection area set do not need to be fused and displayed, and the detection areas in the detection area set can be directly highlighted on the map, and the process jumps to step S190.

[0039] Specifically, it is possible to determine whether there are overlapping detection areas according to the center points and radius of each detection area in the detection area set, take any two detection areas in the detection area set as a group, and calculate the distance between the center points of the two detection areas in each group, and finally, compare the distance between the center points of the two detection areas in the same group with the sum of the radii of the two detection areas in this group to determine whether the two detection areas in this group overlap. If the distance between the center points of the two detection areas in the same group is greater than or equal to the sum of the radii of the two detection areas in this group, it means that the two detection areas in this group do not overlap, and if the distance between the center points of the two detection areas in the same group is less than the sum of the radii of the two detection areas in this group, it means that the two detection areas in this group overlap.

[0040] Step S140: If there are overlapping detection areas, randomly determine an overlapping first detection area and a second detection area from the detection area set.

[0041] If there are only two overlapping detection areas in the detection area set, the two detection areas are respectively determined as the first detection area and the second detection area, so that the two detection areas are fused and displayed. If there are more than two overlapping detection areas in the detection area set, two detection areas are randomly obtained from the more than two detection areas and are respectively determined as the first detection area and the second detection area, and the two detection areas overlap.

[0042] Step S150: determining a target fusion area according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area.

[0043] The target fusion area is the area where the first detection area and the second detection area are fused and displayed, and both the first detection area and the second detection area must be located in the target fusion area. Specifically, the center point and radius of the target fusion area can be determined according to the center point and radius of the first detection area and the center point and radius of the second detection area, thereby obtaining the target fusion area.

[0044] In order to quickly obtain the target fusion area, step S150 may include the following steps (steps S151a to S154a):

[0045] Step S151a: Obtain the midpoint between the center point of the first detection area and the center point of the second detection area to obtain the center point of the target fusion area.

[0046] Step S152a: Calculate the distance between the center point of the first detection area and the center point of the second detection area to obtain a first distance.

[0047] Step S153a: If the radius of the first detection area is greater than or equal to the radius of the second detection area, the radius of the target fusion area is determined according to the radius of the first detection area and the first distance.

[0048] Step S154a: If the radius of the first detection area is smaller than the radius of the second detection area, determining the radius of the target fusion area according to the radius of the second detection area and the first distance.

[0049] Among them, the midpoint between the center point of the first detection area and the center point of the second detection area is calculated, that is, the point on the line segment with the center point of the first detection area and the center point of the second detection area as the endpoints and the same distance to the endpoints, and this midpoint is used as the center point of the target fusion area. The farthest distance from the center point of the target fusion area to the edge position of the first detection area is the sum of the distance from the center point of the target fusion area to the center point of the first detection area and the radius of the first detection area. Similarly, the farthest distance from the center point of the target fusion area to the edge position of the second detection area is the sum of the distance from the center point of the target fusion area to the center point of the second detection area and the radius of the second detection area.

[0050] Therefore, as long as the radius of the target fusion area is greater than or equal to the farthest distance from the center point of the target fusion area to the edge position of the first detection area and the farthest distance from the center point of the target fusion area to the edge position of the second detection area, the first detection area and the second detection area will be located within the target fusion area, that is, the radius of the target fusion area needs to be greater than or equal to the larger value of the farthest distance from the edge position of the first detection area and the farthest distance from the center point of the target fusion area to the edge position of the second detection area.

[0051] Since the distance from the center point of the target fusion area to the center point of the first detection area and the distance to the center point of the second detection area are equal, that is, the distance from the center point of the target fusion area to the center point of the first detection area and the distance to the center point of the second detection area are both equal to half of the first distance, the size relationship between the radius of the first detection area and the radius of the second detection area directly determines the size relationship between the center point of the target fusion area to the farthest edge position of the first detection area and the farthest edge position of the second detection area.

[0052] If the radius of the first detection area is greater than or equal to the radius of the second detection area, the farthest distance from the center point of the target fusion area to the edge position of the first detection area is greater than or equal to the farthest distance from the center point of the target fusion area to the edge position of the second detection area, and the farthest distance from the center point of the target fusion area to the edge position of the first detection area can be used as the radius of the target fusion area, that is, the radius of the target fusion area is determined according to the radius of the first detection area and the first distance. If the radius of the first detection area is less than the radius of the second detection area, the farthest distance from the center point of the target fusion area to the edge position of the first detection area is less than the farthest distance from the center point of the target fusion area to the edge position of the second detection area, and the farthest distance from the center point of the target fusion area to the edge position of the second detection area can be used as the radius of the target fusion area, that is, the radius of the target fusion area is determined according to the radius of the second detection area and the first distance.

[0053] Steps S151a to S154a can obtain the center point of the target fusion area by acquiring the midpoint between the center point of the first detection area and the center point of the second detection area, and then calculate the distance between the center point of the first detection area and the center point of the second detection area. In combination with the radius of the first detection area and the radius of the second detection area, the radius of the target fusion area can be quickly determined, and then the target fusion area after the fusion of the first detection area and the second detection area can be quickly determined.

[0054] In order to make the target fusion area fit more closely with the first detection area and the second detection area, step S150 may include the following steps (steps S151b to S154b):

[0055] Step S151b: Calculate the distance between the center point of the first detection area and the center point of the second detection area to obtain a first distance.

[0056] Step S152b: determining the radius of the target fusion area according to the sum of the radius of the first detection area, the radius of the second detection area and the first distance.

[0057] If the target fusion area is to be more closely matched with the first detection area and the second detection area, the first detection area and the second detection area can be inscribed with the target fusion area, and the target fusion area can just fuse the first detection area and the second detection area together. Therefore, the farthest distance from the edge position of the first detection area to the edge position of the second detection area needs to be less than or equal to the diameter of the target fusion area, that is, the sum of the distance between the center point of the first detection area and the center point of the second detection area, the radius of the second detection area, and the radius of the second detection area needs to be less than or equal to the diameter of the target fusion area.

[0058] In addition, when the farthest distance from the edge position of the first detection area to the edge position of the second detection area is equal to the diameter of the target fusion area, the target fusion area can most appropriately display the first detection area and the second detection area, that is, the sum of the radius of the first detection area, the radius of the second detection area and the first distance is less than or equal to the diameter of the target fusion area.

[0059] Step S153b: Calculate the distance between the center point of the target fusion area and the center point of the first detection area according to the radius of the target fusion area and the radius of the first detection area to obtain a second distance.

[0060] Step S154b: determining the center point of the target fusion area according to the center point of the first detection area, the center point of the second detection area, the first distance, and the second distance.

[0061] Among them, when the sum of the radius of the first detection area, the radius of the second detection area and the first distance is less than or equal to the diameter of the target fusion area, the center point of the first detection area and the center point of the second detection area will be on the same diameter of the target fusion area, and the center point of the target fusion area will be between the center point of the first detection area and the center point of the second detection area. Therefore, the distance between the center point of the target fusion area and the center point of the first detection area can be calculated by the radius of the target fusion area and the radius of the first detection area, and then the distance between the center point of the target fusion area and the center point of the first detection area can be determined in combination with the first distance, and finally the center point of the target fusion area can be determined in combination with the center point of the first detection area and the center point of the second detection area, thereby determining the target fusion area.

[0062] Steps S151b to S154b first determine the radius of the target fusion area by using the radius of the first detection area, the radius of the second detection area and the first distance, and then determine the center point of the target fusion area by combining the center of the first detection area and the center of the second detection area. This can obtain a target fusion area that is more closely aligned with the first detection area and the second detection area, thereby making the target fusion area set highlighted on the map finally more closely aligned with the actual detection area of ​​the detection device, and the user can obtain the required data from the map more quickly.

[0063] After step S150, step S160 is executed: updating the detection area set according to the target fusion area

[0064] After determining the target fusion area for fusion display of the first detection area and the second detection area, since there may be other detection areas in the detection area set that overlap with the target fusion area, it is necessary to update the target fusion area to the detection area set. When updating the detection area set, the target fusion area can directly replace the first detection area and the second detection area.

[0065] In addition, in order to speed up the acquisition of the target fusion region set, step S160 may include the following steps (steps S161 to S163):

[0066] Step S161: determining whether each detection area in the detection area set is within the target fusion area.

[0067] If the detection area is within the target fusion area, it means that the detection area can be fused and displayed through the target fusion area, and there is no need to fuse the detection area with other detection areas, and the process jumps to step S162;

[0068] If the detection area is not within the target fusion area, it means that the target fusion area cannot display the detection area, and the detection area needs to be further fused with other detection areas. When updating the detection area set, no operation needs to be performed on the detection area.

[0069] Specifically, it is possible to first determine whether the radius of a detection area in the detection area set is smaller than the radius of the target fusion area, and when the radius of the detection area is smaller than the radius of the target fusion area, calculate the distance between the center point of the detection area and the center point of the target fusion area. If the distance between the center points is smaller than the difference between the radius of the target fusion area and the radius of the detection area, it indicates that the detection area is within the target fusion area.

[0070] Step S162: If the detection area is within the target fusion area, the detection area is deleted from the detection area set.

[0071] Step S163: Update the target fusion area to the detection area set.

[0072] The detection areas in the detection area set that are within the target fusion area are deleted from the detection area set, and then the target fusion area is updated to the detection area set.

[0073] Steps S161 to S163 determine whether the detection area in the detection area set is in the target fusion area, delete the detection area in the detection area set that is already in the target fusion area from the detection area set, and then update the target fusion area to the detection area set, so that the fusion speed of the detection areas in the detection area set is faster.

[0074] After step S160 , step S170 is executed: determining whether all detection areas in the detection area set are traversed.

[0075] If yes, it means that all overlapping detection areas in the detection area set have been fused, and there is no need to fuse the detection area set again, and the process jumps to step S180;

[0076] If not, it means that there may be overlapping detection areas in the detection area set, and it is necessary to continue to determine whether there are overlapping detection areas in the detection area set, and then jump to step S130.

[0077] Step S180: If all detection areas in the detection area set have been traversed, a target fusion area set is generated.

[0078] Among them, after all overlapping detection areas in the detection area set have been fused, a target fusion area set can be generated based on the final detection area set. At this time, there may be a target fusion area in the target fusion area set that fuses and displays all the detection areas in the detection area set, or there may be multiple non-overlapping target fusion areas.

[0079] Step S190: highlighting the target fusion area in the target fusion area set on the map.

[0080] Among them, the target fusion area is highlighted on the map, the target fusion area on the map is set to be highlighted, and other positions are set to have a lower brightness than the target fusion area, so that the target fusion area can be highlighted, that is, the detection area of ​​the detection device can be highlighted on the map.

[0081] In the above embodiment, by determining whether there are overlapping detection areas in the detection area set, and merging the overlapping detection areas to generate a target fusion area set, and finally highlighting the target fusion area in the target fusion area set on the map, the detection areas of multiple detection devices are highlighted on the map, so that the interface displayed on the map is simpler and more intuitive, and the user can quickly view the flight trajectory and status of the drone from the map.

[0082] In addition, the electronic device is also used to receive real-time data from the detection device, including but not limited to the location information of the drone (e.g., longitude, latitude, altitude, etc.), flight speed, heading angle, etc. Since the data of different detection devices may be in different formats and resolutions, the electronic device can also pre-process the acquired data to convert the format of these data and denoise the data. Since different detection devices may have data deviations, a data calibration module can also be set on the electronic device to correct the data of each detection device using a calibration algorithm to eliminate the offset or error caused by differences between devices and ensure the consistency and accuracy of the data, for example, deleting the drone data that obviously exceeds the detection area of ​​the detection device.

[0083] Furthermore, an abnormality detection module and an alarm system can be set up on the electronic device. The abnormality detection module monitors the flight status of the drone in real time and makes judgments based on preset abnormal conditions, such as entering a no-fly zone, exceeding the flight altitude, speeding too fast, or having an irregular flight path. When an abnormality is detected, the alarm system is automatically triggered to sound an alarm, which includes sound and light alarms, message push, SMS or email notifications, etc., to ensure that monitoring personnel can promptly discover and handle abnormal situations. This method enables electronic equipment to have abnormality detection and alarm functions, can promptly warn of potential threats, and improve the efficiency of airspace safety management.

[0084] Furthermore, for a fixed detection device, the position of the detection device is usually fixed at one position. Therefore, in order to more quickly generate a target fusion area set according to the detection area set, before step S130, the method further includes the following steps:

[0085] Step S121: searching a preset database according to the detection region set, wherein a plurality of detection region sets and their corresponding target fusion region sets are pre-stored in the preset database.

[0086] Among them, after obtaining the detection area set to generate the target fusion area set, the detection area set and its corresponding target fusion area set can be stored in a preset database. When the detection area set is obtained subsequently, the preset database is searched first according to the detection area set. If the detection area set is the same as the detection area set in the preset database, the target fusion area set corresponding to the detection area set can be directly obtained.

[0087] Step S122: if at least part of the detection areas in the detection area set are the same as all the detection areas in the detection area set pre-stored in the preset database, a target fusion area set corresponding to the detection area set is obtained from the preset database.

[0088] Among them, when at least some of the detection areas in the detection area set A are the same as all the detection areas in the detection area set B pre-stored in the preset database, that is, the detection area set B is a subset of the detection area set A (in other words, the detection area set A includes all the detection areas in the detection area set B), the target fusion area set corresponding to the detection area set B can be determined as the target fusion area set corresponding to the detection area set A. In addition, when there are multiple subsets of the detection area set A in the preset database, the target fusion area set corresponding to the detection area set with the largest number of detection areas in these subsets can be determined as the target fusion area set corresponding to the detection area set A.

[0089] Specifically, it is assumed that the detection area set A includes five detection areas a, b, c, d, and e, and the preset database includes a detection area set B, a detection area set C, and a detection area set D, and the detection area set B includes three detection areas a, b, and c, the detection area set C includes four detection areas a, b, c, and d, and the detection area set D includes four detection areas a, b, c, and f. The detection area set B and the detection area set C are both subsets of the detection area set A, and the number of detection areas included in the detection area set C is less than the number of detection areas included in the detection area set B. Therefore, the target fusion area set corresponding to the detection area set C can be used as the target fusion area set of the detection area set A, and then the target fusion area set corresponding to the detection area set C is obtained from the preset database, so as to update the detection area set A according to the target fusion areas in the target fusion area set.

[0090] Step S123: updating the detection area set according to the target fusion area in the target fusion area set.

[0091] Specifically, it is determined whether the detection areas in the detection area set are within the target fusion areas in the target fusion area set. If the detection area is within the target fusion area, the detection area is deleted from the detection area set. Finally, the target fusion area in the target fusion area set is updated to the detection area set.

[0092] In the above embodiment, before determining whether there are overlapping detection areas in the detection area set, the preset database is first searched based on the detection area set. When a subset of the detection area set exists in the preset database, the target fusion area set corresponding to the subset is obtained from the preset database, and then the detection area set is updated based on the target fusion area set. Finally, it is determined whether there are overlapping detection areas in the updated detection area set and the overlapping detection areas are further fused. This can effectively speed up the speed of fusion display of the detection areas and improve the real-time performance of the fusion display method of multiple detection areas.

[0093] Furthermore, in order to better highlight the target fusion area on the map, such as Figure 3 As shown, Figure 3 The flowchart of the method for fusing and displaying multiple detection areas provided in the third embodiment of the present application is shown. Step S190 includes the following steps:

[0094] Step S191: setting a first foreground color on the map, where the first foreground color is used to reduce the brightness of the map.

[0095] Step S192: deleting the first foreground color in the target fusion area in the target fusion area set on the map to increase the brightness in the detection area in the updated detection area set.

[0096] The first foreground color is used to reduce the brightness of the interface displayed on the map. The first foreground color can be gray, black, or other colors with a certain degree of transparency. The first foreground color can also be other dark tones, such as dark blue, dark green, dark red, etc. The first foreground color is first covered on the map, and then the first foreground color in the target fusion area is deleted from the map, so that the brightness of other locations on the map except the target fusion area will be reduced, and the target fusion area will be highlighted.

[0097] In the above embodiment, by setting the first foreground color on the map and deleting the first foreground color in the target fusion area on the map, the brightness of other areas outside the target fusion area can be reduced, and the target fusion area can be highlighted, so that the user can quickly obtain the trajectory and status of the drone in the target fusion area from the map.

[0098] Furthermore, in order to make the target fusion area more prominent, such as Figure 4 As shown, Figure 4 A schematic flow chart of a method for fusion display of multiple detection areas provided in the fourth embodiment of the present application is shown. After step S192, the method includes the following steps:

[0099] Step S193: setting a second foreground color in the target fusion area in the target fusion area set on the map.

[0100] Among them, the second foreground color is set on the target fusion area on the map. The second foreground color can be a gradient color. The second foreground color is set to black for 90% of the area outside the center point of the target fusion area, and the remaining area gradually changes to black with 40% transparency toward the edge. Then, the second foreground color is used to dynamically apply different mixing operations according to the brightness of the background color to achieve the effect of brightness superposition and highlighting.

[0101] Step S194: determining whether the brightness of each pixel in the detection area of ​​the updated detection area set on the map is greater than a preset brightness.

[0102] Step S195: If the brightness corresponding to the pixel point is less than or equal to the preset brightness, the brightness of the pixel point on the map is reduced according to the second foreground color.

[0103] When the brightness of a pixel on the map is less than or equal to a preset brightness, for example, when the average value of RGB of the pixel is less than or equal to 128, it means that the pixel is relatively dark, and the brightness of the pixel can be reduced according to the second foreground color.

[0104] In order to more quickly adjust the brightness of each pixel on the map, specifically, step S195 includes the following steps (step S195a to step S195c):

[0105] Step S195a: Obtain the color value corresponding to the pixel point on the map to obtain a first color value.

[0106] Step S195b: Obtain the color value corresponding to the pixel point on the second foreground color to obtain the second color value.

[0107] Step S195c: updating the color value of the pixel on the map according to the product of the first color value and the second color value, wherein the brightness of the updated color value is less than the brightness of the first color value.

[0108] Among them, the RGB components of the source pixel (i.e., the second foreground color) and the background pixel (i.e., the pixel on the map) are multiplied, that is, the first color value and the second color value are multiplied to obtain the corresponding product, and the product of the first color value and the second color value is used to update the color value of the pixel on the map, so that the updated color value is darker than the original color value. Specifically, the updated color value can be calculated by the following formula:

[0109] Result=Source×Background

[0110] Among them, Source is the color value of the pixel on the second foreground color, Background is the color value of the pixel on the map, and Result is the color value of the pixel on the updated map.

[0111] After step S195, step S196 is executed: if the brightness of the pixel point is greater than the preset brightness, the brightness of the pixel point on the map is increased according to the second foreground color.

[0112] When the brightness of a pixel on the map is greater than a preset brightness, for example, when the average value of RGB of the pixel is greater than 128, it means that the pixel is relatively bright, and the brightness of the pixel can be increased according to the second foreground color.

[0113] In order to more quickly adjust the brightness of each pixel on the map, specifically, step S196 includes the following steps (step S196a to step S196d):

[0114] Step S196a: Obtain the complementary color of the color value corresponding to the pixel point on the map to obtain a third color value.

[0115] The color of the pixel on the map is inverted, that is, the complementary color of the color value corresponding to the pixel (the sum of the color value corresponding to the pixel and its complementary color is equal to 255), to obtain a third color value.

[0116] Step S196b: Obtain the complementary color of the color value corresponding to the pixel point on the second foreground color to obtain a fourth color value.

[0117] The second foreground color is inverted, that is, the complementary color of the color value corresponding to the pixel point on the second foreground color is obtained to obtain the fourth color value.

[0118] Step S196c: Determine a fifth color value according to the product of the third color value and the fourth color value.

[0119] Step S196d: Update the complementary color of the fifth color value to the color value of the pixel on the map, and the brightness of the updated color value is greater than the brightness of the complementary color of the third color value.

[0120] The third color value and the fourth color value are multiplied to obtain the fifth color value, and the color obtained by inverting the fifth color value (i.e., the complementary color of the fifth color value) is updated as the color value of the pixel on the map, so that the updated color value is brighter than the original color value. Specifically, the updated color value can be calculated by the following formula:

[0121] Result=255-(255-Scource)×(255-Background)

[0122] Through steps S195a to S195c, the darker pixels on the map become darker, and through steps S196a to S196d, the brighter pixels on the map become brighter, so that the contrast can be increased, the contrast between the target fusion area and other areas on the map is more obvious, and the content on the map is clearer, especially the map with complex environment.

[0123] In the above embodiment, the brightness of each pixel on the map is adjusted by the second foreground color, so that the parts of the pixels on the map with relatively high brightness become brighter, and the parts of the pixels on the map with relatively low brightness become darker, thereby enhancing the contrast, making the contrast between the target fusion area and other areas on the map more obvious and clearer, making the target fusion area on the map more obvious, and achieving a visual effect of overlapping light and shadow and rich layers.

[0124] According to another aspect of the embodiment of the present application, a plurality of detection area fusion display devices are also provided, such as Figure 5 As shown, Figure 5 A schematic structural diagram of a multiple detection area fusion display device provided in an embodiment of the present application is shown. The multiple detection area fusion display device 1 includes: an acquisition module 11, a judgment module 12, a first determination module 13, a second determination module 14, an update module 15 and a display module 16.

[0125] The acquisition module 11 is used to obtain a detection area set, and the detection area set includes detection areas corresponding to multiple detection devices. The judgment module 12 is used to judge whether there are overlapping detection areas in the detection area set. The first determination module 13 is used to randomly determine the overlapping first detection area and the second detection area from the detection area set when there are overlapping detection areas. The second determination module 14 is used to determine the target fusion area according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area. The update module 15 is used to update the detection area set according to the target fusion area, and jump to the judgment module 12 until all detection areas in the detection area set are traversed to generate the target fusion area set. The display module 16 is used to highlight the target fusion area in the target fusion area set on the map.

[0126] In the above embodiment, by determining whether there are overlapping detection areas in the detection area set, and merging the overlapping detection areas to generate a target fusion area set, and finally highlighting the target fusion area in the target fusion area set on the map, the detection areas of multiple detection devices are highlighted on the map, so that the interface displayed on the map is simpler and more intuitive, and the user can quickly view the flight trajectory and status of the drone from the map.

[0127] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the electronic device.

[0128] like Figure 6 As shown, the electronic device 2 may include: a processor (processor) 21 and a memory (memory) 22.

[0129] The memory 22 is used to store a computer program 23. The memory 22 may include a high-speed RAM memory, or may also include a non-volatile memory, such as at least one disk memory. The computer program 23 may include computer executable instructions.

[0130] The processor 21 is used to execute the computer program 23 to implement the above-mentioned multiple detection area fusion display method embodiment.

[0131] The processor 21 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the electronic device 2 may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0132] An embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned multiple detection area fusion display method embodiment is implemented.

[0133] The embodiment of the present application provides a computer program, which can be executed by a processor to implement the above-mentioned multiple detection area fusion display method embodiment.

[0134] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned multiple detection area fusion display method embodiment is implemented.

[0135] In several embodiments provided in the present application, if any function is implemented in the form of a software function module / unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, part or all of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, server or other electronic device) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), disk or optical disk and other media that can store computer program code.

[0136] The algorithm or display provided here are not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present application described here, and the above description of specific languages ​​is to disclose the best mode of implementation of the present application.

[0137] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In the claims that list several devices, several units or modules in these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0138] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for fusion display of multiple detection areas, characterized in that: The method comprises: Acquire a detection area set, where the detection area set includes detection areas corresponding to a plurality of detection devices; Determining whether there are overlapping detection areas in the detection area set; If there are overlapping detection areas, randomly determining an overlapping first detection area and a second detection area from the detection area set; Determining a target fusion area according to a center point of the first detection area, a radius of the first detection area, a center point of the second detection area, and a radius of the second detection area; updating the detection area set according to the target fusion area, and jumping to the step of determining whether there are overlapping detection areas in the detection area set, until all detection areas in the detection area set are traversed to generate a target fusion area set; The target fusion area in the target fusion area set is highlighted on the map.

2. The method for fusion display of multiple detection areas according to claim 1, characterized in that: Before determining whether there are overlapping detection areas in the detection area set, the method further includes: Searching a preset database according to the detection area set, wherein the preset database pre-stores a plurality of detection area sets and their corresponding target fusion area sets; If at least part of the detection areas in the detection area set are the same as all the detection areas in the detection area set pre-stored in the preset database, obtaining a target fusion area set corresponding to the detection area set from the preset database; The detection area set is updated according to the target fusion area in the target fusion area set.

3. The method for fusion display of multiple detection areas according to claim 1, characterized in that: The determining the target fusion area according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area specifically includes: Obtaining a midpoint between a center point of the first detection area and a center point of the second detection area to obtain a center point of the target fusion area; Calculating the distance between the center point of the first detection area and the center point of the second detection area to obtain a first distance; If the radius of the first detection area is greater than or equal to the radius of the second detection area, determining the radius of the target fusion area according to the radius of the first detection area and the first distance; If the radius of the first detection area is smaller than the radius of the second detection area, the radius of the target fusion area is determined according to the radius of the second detection area and the first distance.

4. The method for fusion display of multiple detection areas according to claim 1, characterized in that: The determining the target fusion area according to the center point of the first detection area, the radius of the first detection area, the center point of the second detection area, and the radius of the second detection area specifically includes: Calculating the distance between the center point of the first detection area and the center point of the second detection area to obtain a first distance; Determine the radius of the target fusion area according to the sum of the radius of the first detection area, the radius of the second detection area and the first distance; Calculating the distance between the center point of the target fusion area and the center point of the first detection area according to the radius of the target fusion area and the radius of the first detection area to obtain a second distance; The center point of the target fusion area is determined according to the center point of the first detection area, the center point of the second detection area, the first distance, and the second distance.

5. The method for fusion display of multiple detection areas according to claim 1, characterized in that: The updating of the detection area set according to the target fusion area specifically includes: Determining whether each detection area in the detection area set is within the target fusion area; If the detection area is within the target fusion area, deleting the detection area from the detection area set; The target fusion area is updated to the detection area set.

6. The method for fusion display of multiple detection areas according to any one of claims 1 to 5, characterized in that: The highlighting of the target fusion area in the target fusion area set on the map specifically includes: Setting a first foreground color on the map, wherein the first foreground color is used to reduce the brightness of the map; The first foreground color in the target fusion area in the target fusion area set on the map is deleted to increase the brightness in the detection area in the updated detection area set.

7. The method for fusion display of multiple detection areas according to claim 6, characterized in that: After deleting the first foreground color in the target fusion area in the target fusion area set on the map to increase the brightness in the detection area in the updated detection area set, the method further includes: Setting a second foreground color for a target fusion area in the target fusion area set on the map; Determine whether the brightness of each pixel in the detection area of ​​the updated detection area set on the map is greater than a preset brightness; If the brightness corresponding to the pixel point is less than or equal to the preset brightness, reducing the brightness of the pixel point on the map according to the second foreground color; If the brightness of the pixel point is greater than the preset brightness, the brightness of the pixel point on the map is increased according to the second foreground color.

8. The method for fusion display of multiple detection areas according to claim 7, characterized in that: The reducing the brightness of the pixel on the map according to the second foreground color specifically includes: Obtaining a color value corresponding to the pixel point on the map to obtain a first color value; Obtaining a color value corresponding to the pixel point on the second foreground color to obtain a second color value; updating the color value of the pixel on the map according to the product of the first color value and the second color value, wherein the brightness of the updated color value is less than the brightness of the first color value; The step of increasing the brightness of the pixel on the map according to the second foreground color specifically includes: Obtain the complementary color of the color value corresponding to the pixel point on the map to obtain a third color value; Obtain a complementary color of the color value corresponding to the pixel point on the second foreground color to obtain a fourth color value; determining a fifth color value according to a product of the third color value and the fourth color value; The complementary color of the fifth color value is updated to the color value of the pixel on the map, and the brightness of the updated color value is greater than the brightness of the complementary color of the third color value.

9. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the method for fusing and displaying multiple detection areas according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for fusing and displaying multiple detection areas as claimed in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Image processing method and apparatus, storage medium, and electronic device

    CN107945135A

  • Region display method and device and electronic equipment

    CN113747040A

  • Ground-air collaborative map construction method and device, equipment and storage medium

    CN114964275A

  • Multi-robot autonomous cooperative localization and mapping method and system

    CN117451031A

  • Panoramic target detection method and device, vehicle and storage medium

    CN118247765A