Urban street lamp bird-friendly design planning method and system
By acquiring bird data through imaging equipment and inputting the planned number from the management terminal, combined with a location-based planning model, the problem of low efficiency in urban street light planning has been solved, achieving efficient and accurate bird-friendly street light planning and rational resource utilization.
Patent Information
- Application Number
- CN202411762893.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-12-03
AI Technical Summary
In existing technologies, bird-friendly planning for urban streetlights is inefficient and difficult to plan efficiently and accurately based on bird habitat preferences.
Bird data is collected using camera equipment, and combined with the preset number of planned birds input by the management terminal, a location planning mode is adopted to determine the planning path and planning points, and inspection data is obtained to ensure the reasonable layout and structural status of the planned streetlights.
It enables efficient and accurate planning based on bird habitat habits and management needs, ensures the rational use of street light resources, and promptly addresses bird nest tilting, providing a safe and comfortable habitat environment.
Smart Images

Figure CN119294680A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to street lamp planning technology, and in particular to a bird-friendly design planning method and system for urban street lamps. Background Art
[0002] In the rapid urban construction, in order to alleviate the problems faced by birds such as habitat loss and deterioration of breeding environment, city managers have begun to pay attention to how to incorporate bird-friendly design into urban infrastructure to provide a safe and suitable habitat and breeding environment. Street lights, as an important part of urban infrastructure, are widely distributed, easy to observe and manage, and have become an important carrier of bird-friendly planning.
[0003] In the existing technology, when conducting friendly urban street light planning, it is often dependent on manual field surveys and site selection, which takes a lot of time and manpower. Especially in large cities with a large number of street lights, this method is inefficient and the site selection results may not be in line with the actual habitat preferences of birds.
[0004] Therefore, how to plan bird-friendly street lights efficiently and accurately has become an urgent problem to be solved. Summary of the invention
[0005] The present invention provides a method and system for bird-friendly design planning of urban street lamps, which can efficiently and accurately plan bird-friendly street lamps.
[0006] A first aspect of the present invention provides a bird-friendly design and planning method for urban street lamps, comprising: Acquire bird collection data of each monitored street lamp based on the shooting device, and determine the street lamps to be screened that meet the friendly site selection conditions according to the bird collection data; Receiving the preset planning quantity input by the management end, and determining the positioning planning mode according to the comparison result of the screening quantity of the street lamps to be screened and the preset planning quantity; Acquire a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determine a plurality of planned points on the planned path, and determine the planned street lamp in the planned path according to the planned points; The inspection data of the structure of the planned street lamp photographed by the shooting equipment based on the monitoring route is obtained, and the structural state corresponding to the structure is determined according to the inspection data and sent to the management end.
[0007] Optionally, in a possible implementation of the first aspect, obtaining bird collection data of each monitored street lamp based on a photographing device, and determining street lamps to be screened that meet the friendly site selection condition according to the bird collection data include: Acquire the length of time and number of birds staying at each monitoring street lamp corresponding to the monitoring street lamp within a preset time period according to the shooting device; Obtaining a first offset weight corresponding to the length of the bird's stay and a second offset weight corresponding to the number of the bird's stays, and summing the first offset weight and the second offset weight to obtain a site selection weight for each of the monitoring street lamps; It is determined that the monitoring street lamps whose site selection weights are greater than or equal to the weight threshold meet the friendly site selection conditions, and the monitoring street lamps are determined to be street lamps to be screened.
[0008] Optionally, in a possible implementation of the first aspect, obtaining a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determining a plurality of planned points on the planned path, and determining the planned street lamp in the planned path according to the planned points includes: Based on the completion planning mode, a first planning path corresponding to the street lamp to be screened is obtained, a planning proportion of the street lamp to be screened located on the road side of the first planning path is obtained, a plurality of planning points are determined according to the planning proportion and a preset planning quantity, and a monitoring street lamp that meets the planning range of the planning point is determined as a planning street lamp; Acquire a second planned path corresponding to the street lamp to be screened according to the reduction planning mode, screen the street lamps to be screened based on the current spacing of multiple street lamps to be screened in the second planned path, and determine that the street lamps to be screened that meet the planning spacing condition are planned street lamps; Among them, the positioning planning mode includes a completion planning mode and a reduction planning mode, the planning path includes a first planning path and a second planning path, the completion planning mode is a positioning planning mode in which the screening number is less than the preset planning number, and the reduction planning mode is a positioning planning mode in which the screening number is greater than the preset planning number.
[0009] Optionally, in a possible implementation of the first aspect, a first planned path corresponding to the street lamp to be screened is obtained based on a completion planning mode, a planned proportion of the street lamp to be screened located on the road side of the first planned path is obtained, a plurality of planned points are determined according to the planned proportion and a preset planned quantity, and a monitoring street lamp that satisfies a planning range of the planning point is determined as a planned street lamp, including: Counting the number of sub-screenings corresponding to the street lamps to be screened on the sides of two roads in the first planned path, and obtaining the planning proportion according to the ratio of the sub-screening numbers; Dividing the preset planning quantity according to the planning proportion to obtain the planning estimated quantity corresponding to each of the road sides; Determine the road side with a large planned estimated volume as the emphasis side, and determine the road side with a small planned estimated volume as the supplementary side; According to the planned estimated amount, the road length of the focused side is evenly divided to obtain a unit spacing, and a plurality of planned points are determined on the focused side based on the unit spacing; The monitored street lights within the planning range of the planning point in the focused side are obtained as planned street lights, and the planned estimated quantity of the supplementary side is updated according to the actual planned quantity of the planned street lights on the focused side to obtain the planned supplementary quantity, and the planned street lights corresponding to the supplementary side are determined according to the planned supplementary quantity.
[0010] Optionally, in a possible implementation of the first aspect, acquiring a monitored street lamp in a planning range of a planning point in the focused side as a planned street lamp, updating the planned estimated quantity of the supplementary side according to an actual planned quantity of the planned street lamp of the focused side to obtain a planned supplementary quantity, and determining the planned street lamp corresponding to the supplementary side according to the planned supplementary quantity, including: When the planned estimated amount of the emphasis side is less than the actual planned amount, the excess planned amount is obtained according to the difference between the actual planned amount and the planned estimated amount, and the planned supplementary amount is obtained by subtracting the excess planned amount from the planned estimated amount of the supplementary side; When the planned estimated amount of the emphasis side is greater than the actual planned amount, the planned amount to be supplemented is obtained according to the difference between the planned estimated amount and the actual planned amount, and the planned supplementary amount is obtained according to the planned estimated amount of the supplementary side plus the planned amount to be supplemented; Obtain the to-be-screened supplementary quantity corresponding to the to-be-screened street lamps in the supplementary side; if the to-be-screened supplementary quantity is greater than the planned supplementary quantity, obtain a first spacing between adjacent to-be-screened street lamps in the supplementary side, and screen multiple to-be-screened street lamps according to the first spacing to obtain the planned street lamps; If the supplementary amount to be screened is less than the planned supplementary amount, determine that all the street lights to be screened in the supplementary side are planned street lights, obtain the second spacing between adjacent planned street lights, and screen the remaining monitored street lights in the supplementary side according to the second spacing to obtain the planned street lights.
[0011] Optionally, in a possible implementation of the first aspect, if the to-be-screened supplementary amount is greater than the planned supplementary amount, obtaining a first spacing between adjacent to-be-screened street lamps in the supplementary side, and screening a plurality of to-be-screened street lamps according to the first spacing to obtain the planned street lamps, including: Determine that the two to-be-screened street lamps with the farthest distance on the supplementary side are respectively the screening starting point and the screening end point, and determine that the direction from the screening starting point to the screening end point is the planning direction; Select the street lamps to be screened adjacent to the supplementary side in sequence according to the planning direction as the first screening group, and if the first spacing of the first screening group is greater than or equal to the minimum spacing threshold, determine the street lamps to be screened in the first screening group as the planned street lamps; If the first spacing of the first screening group is less than the minimum spacing threshold, the street lamp to be screened in the next traversal is not selected, and the street lamp to be screened in the previous traversal and the street lamp to be screened in the next traversal are continuously determined as the next first screening group; Repeat the steps of obtaining the first screening group and determining the planned street lamps according to the first screening group until the number of the planned street lamps is equal to the planned supplementary amount, and then stop selecting the planned street lamps.
[0012] Optionally, in a possible implementation of the first aspect, if the to-be-screened supplementary amount is less than the planned supplementary amount, determining that each of the to-be-screened street lamps in the supplementary side is a planned street lamp, obtaining a second spacing between adjacent planned street lamps, and screening the remaining monitored street lamps in the supplementary side according to the second spacing to obtain the planned street lamps, including: Determine that the two to-be-screened street lamps with the farthest distance on the supplementary side are respectively the screening starting point and the screening end point, and determine that the direction from the screening starting point to the screening end point is the planning direction; Obtaining the total distance from the screening start point to the screening end point, subtracting a preset distance value from the planned supplementary amount to obtain a target distance value, and obtaining the target distance according to the ratio of the total distance to the target distance value; sequentially acquiring a second spacing between adjacent planned street lamps based on the planned direction, and when the second spacing is greater than the target spacing, determining a path segment between adjacent planned street lamps as a screening path segment; Determine a plurality of sub-planning points on the screening path segment at intervals of the target distance according to the planning direction, and determine the monitoring street lamps within the planning range of the sub-planning points as the planning street lamps; The current planned quantity of the planned street lights is counted until the current planned quantity is equal to the planned supplementary quantity, and then the acquisition of the planned street lights is stopped.
[0013] Optionally, in a possible implementation of the first aspect, obtaining a second planned path corresponding to the street lamp to be screened according to the reduction planning mode, screening the street lamps to be screened based on the current spacing of multiple street lamps to be screened in the second planned path, and determining that the street lamps to be screened that meet the planning spacing condition are planned street lamps, including: Acquire the second screening group in which the adjacent street lamps to be screened on two road sides of the second planned path are the same group, acquire the current spacing between the adjacent street lamps to be screened in the second screening group, and determine the second screening group with the smallest current spacing as the target screening group; Determine that the farthest street lamps to be screened on the sides of each road are respectively a planning starting point and a planning end point, and determine the direction from the planning starting point to the planning end point as the planning direction; Removing the last street lamp to be screened in the target screening group and located in the planned direction, and counting the current screening number of the updated street lamps to be screened; When the current screening quantity is greater than the estimated planned quantity, reacquiring multiple groups of second screening groups according to the updated street lamps to be screened; Continue to repeat the step of removing the street lamps to be screened according to the second screening group until the current screening number is equal to the estimated planning number, determine that the remaining street lamps to be screened meet the planning spacing conditions, and determine that the street lamps to be screened are planned street lamps.
[0014] Optionally, in a possible implementation of the first aspect, obtaining inspection data of the structure of the planned street lamp photographed by a photographing device based on a monitoring route, and determining a structural state corresponding to the structure according to the inspection data and sending the data to a management end include: Determine a current shooting moment of the shooting device, and determine a shooting mode of the shooting device according to the current shooting moment, wherein the shooting mode includes a night shooting mode and a normal mode; Start the shooting mode, control the shooting device to go to the monitoring point corresponding to the planned street lamp based on the monitoring route to shoot images, and obtain the inspection data corresponding to the structure; Determine a marking pixel value according to the shooting mode, extract pixel points located at the marking pixel value in the inspection data as marking pixel points, and obtain a marking bar outline according to adjacent marking pixel points; Acquire a contour midline of the marker bar contour, and determine the inclination of the marker bar contour according to the slope of the contour midline, wherein the marker bar contour is a long strip contour; The structural state of the structure whose inclination is less than the inclination threshold is determined to be a normal state, the structural state of the structure whose inclination is greater than or equal to the inclination threshold is determined to be an abnormal state, and the structural state is sent to the management end.
[0015] A second aspect of the present invention provides a bird-friendly design and planning system for urban street lamps, comprising: An acquisition module, used to acquire bird collection data of each monitored street lamp based on a shooting device, and determine the street lamps to be screened that meet the friendly site selection conditions according to the bird collection data; A receiving module, used for receiving a preset planning quantity input by a management terminal, and determining a positioning planning mode according to a comparison result between the screening quantity of the street lamps to be screened and the preset planning quantity; A determination module, used to obtain a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determine a plurality of planned points on the planned path, and determine the planned street lamp in the planned path according to the planned points; The inspection module is used to obtain the inspection data of the structure of the planned street lamp photographed by the shooting equipment based on the monitoring route, determine the structural status corresponding to the structure according to the inspection data, and send it to the management end.
[0016] The beneficial effects of the present invention are as follows: 1. The present invention can plan the number and positions of street lamps that can be used for artificial nesting by combining the actual habitat habits of birds and the actual preset planning quantity of managers, so that artificial nests can be built on street lamps where birds stay for a longer time, providing birds with a comfortable habitat environment. In addition, the present invention can first combine the habitat preferences of birds to select street lamps where birds stay for a longer time and in larger numbers as street lamps to be screened, and then conduct a secondary screening of the street lamps to be screened based on the actual preset planning quantity, so as to obtain street lamps that meet the needs of managers and meet the habitat preferences of birds for artificial nesting.
[0017] 2. The present invention can flexibly adjust the positioning planning mode of street lamps for artificial nesting according to the preset planning quantity input by the management personnel in combination with actual needs, and can ensure that the planning process matches the planning needs of the management personnel. In the complementary planning mode, when the number of street lamps to be screened is insufficient, the present invention can effectively screen out more suitable street lamps from the remaining monitored street lamps for artificial nesting, thereby meeting the planning needs of the management personnel, and can reasonably allocate the preset planning quantity by planning proportion in combination with the difference in the number of street lamps to be screened on both sides of the road, thereby ensuring the rational use of street lamp resources, and by giving priority to planning on the side with a large planned amount, and then supplementing the planning on the supplementary side, it can be ensured that the final planned street lamp is a street lamp where birds stay for a longer time, thereby making full use of resources.
[0018] 3. In the reduction planning mode, the present invention can re-screen the street lamps to be screened according to the spacing between the street lamps to be screened, ensuring that the number of planned street lamps finally selected meets the preset planning number of the management personnel, thereby avoiding waste of resources. After completing the installation of the artificial nest, the present invention can construct a corresponding monitoring route for the shooting equipment according to the planned street lamps, and inspect the artificial bird nests on the planned street lamps at regular intervals according to the corresponding monitoring route, so that corresponding measures can be taken in time to deal with the tilt of the bird nest. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of a method for automatically identifying duty-free equipment provided by an embodiment of the present invention; Figure 2 is a schematic diagram of determining a first screening group provided by an embodiment of the present invention; Figure 3 is a schematic diagram of determining a screening path segment provided by an embodiment of the present invention; Figure 4 It is a structural schematic diagram of a carton production data processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0022] See also Figure 1 , is a schematic diagram of a bird-friendly design and planning method for urban street lamps provided by an embodiment of the present invention, Figure 1 The execution subject of the method shown may be a software and / or hardware device. The execution subject of the present application may include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, user equipment may include but is not limited to computers, smart phones, personal digital assistants (PDA) and the electronic devices mentioned above. Network equipment may include but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. It includes steps S1 to S4, as follows: S1, obtaining bird collection data of each monitored street lamp based on a shooting device, and determining street lamps to be screened that meet friendly site selection conditions according to the bird collection data.
[0023] Among them, the shooting equipment refers to a device that can capture images of birds resting on street lamps, such as a drone. The monitoring street lamp refers to a street lamp that monitors bird activities, which can be street lamps on both sides of the road. The activity of birds can be reflected by monitoring the street lamps. Bird collection data refers to data obtained by capturing images of birds resting on street lamps through shooting equipment, including the number of birds, residence time, etc. The friendly site selection condition refers to a large number of birds and a long residence time. The street lamp to be screened refers to a monitoring street lamp with a large number of birds and a long residence time.
[0024] In practical applications, installing bird nests on street lamps can provide birds with a stable and safe habitat, especially in urban environments, where artificial nesting is particularly important. This solution can reasonably plan the number and location of artificial nesting street lamps by combining the actual habitat of birds and the actual planning quantity of managers, thereby providing birds with a safe and comfortable habitat.
[0025] It is understandable that since the number of street lamps planned by managers for artificial nesting is limited, in order to be able to reasonably plan the location of bird-friendly street lamps, the planning can be based on the stay situation and number of birds, and street lamps where birds stay for a longer time and in larger numbers can be selected for artificial nesting.
[0026] Specifically, the shooting equipment such as drones can be controlled to regularly monitor each street lamp on both sides of the road, and the activities of birds on the street lamps can be regularly captured by video to obtain the bird collection data corresponding to each monitoring street lamp. By analyzing the bird collection data of each monitoring street lamp, it can be determined that the street lamps where birds stay for a longer time and in larger numbers meet the friendly site selection conditions, and the corresponding street lamps can be determined as the street lamps to be screened. Subsequently, based on the needs of management personnel, street lamps suitable for installing artificial bird nests can be further screened out.
[0027] In some embodiments, the specific implementation of step S1 may be: S11, obtaining the bird stay duration and the number of birds staying at each monitoring street lamp corresponding to each monitoring street lamp within a preset time period according to the shooting device.
[0028] Specifically, in order to comprehensively monitor the activities of birds in different time periods, multiple time periods can be pre-set for video collection. For example, during the time periods of 8:00-9:00 in the morning, 12:00-1:00 in the afternoon, and 17:00-18:00 in the afternoon, the shooting equipment can be controlled to shoot each monitoring street lamp. According to the captured video data, the length of time and the number of birds staying on each monitoring street lamp are counted during the preset time period, so that the length of time and the number of birds staying on each monitoring street lamp corresponding to each monitoring street lamp can be obtained.
[0029] Among them, the preset time period refers to the pre-set time period for monitoring the activities of birds on the monitoring street lamps, the bird stay time refers to the length of time the birds stay on the monitoring street lamps, and the number of bird stays refers to the number of birds staying on the monitoring street lamps.
[0030] S12, obtaining a first offset weight corresponding to the length of the bird's stay and a second offset weight corresponding to the number of the bird's stays, and summing the first offset weight and the second offset weight to obtain a site selection weight for each of the monitoring street lamps.
[0031] Specifically, the weight correspondence table can be retrieved, and the weight correspondence table includes multiple time intervals and multiple quantity intervals. Each time interval has a corresponding pre-configured first preset weight, and each quantity interval also has a corresponding pre-configured second preset weight. The weight correspondence table can be traversed according to the bird stay time corresponding to each monitoring street lamp, and the time interval in which the bird stay time is located can be determined, and the first preset weight corresponding to the interval can be obtained. The obtained first preset weight can be determined as the first offset weight corresponding to the bird stay time. The first offset weight can reflect the persistence of the bird's stay on the street lamp. The longer the stay time, the higher the first offset weight can be. The weight correspondence can be adjusted according to the number of bird stays corresponding to each monitoring street lamp. The table is traversed to determine the quantity interval of the number of birds staying, and the second preset weight corresponding to the interval is obtained. The obtained second preset weight can be determined as the second offset weight corresponding to the number of birds staying. The second offset weight can reflect the birds' preference for the street lamp. The more birds stay, the higher the second offset weight can be. The site selection weight corresponding to each monitoring street lamp is obtained by adding the first offset weight and the second offset weight. The site selection weight comprehensively considers the information of the length and number of birds staying, and can be used to evaluate the suitability of the street lamp as an artificial nesting site. The larger the site selection weight of the monitoring street lamp, the more birds like to roost on the monitoring street lamp, and in the subsequent planning process, street lamps with higher site selection weights can be given priority for artificial nesting.
[0032] Among them, the first offset weight can reflect the persistence of birds staying on the corresponding monitoring street lamp, the second offset weight can be used to reflect the preference of birds for the corresponding street lamp, and the site selection weight refers to the weight that can be used to evaluate the suitability of the monitoring street lamp as an artificial nesting site.
[0033] S13, determining that the monitoring street lamps whose site selection weights are greater than or equal to the weight threshold meet the friendly site selection conditions, and determining the monitoring street lamps as street lamps to be screened.
[0034] Specifically, a weight threshold can be pre-set to screen monitoring streetlights that meet the friendly site selection conditions. By comparing the site selection weight of each monitoring streetlight with the weight threshold, if the site selection weight is greater than or equal to the weight threshold, it is considered that the monitoring streetlight meets the friendly site selection conditions and can be determined as a streetlight to be screened. The streetlights to be screened can be screened again to select streetlights that are more in line with the bird's habitat preferences for artificial nesting. The weight threshold refers to the weight value that can be used to screen monitoring streetlights that meet the friendly site selection conditions.
[0035] Through the above implementation, street lamps where birds stay for a long time and in large numbers can be accurately identified.
[0036] S2, receiving the preset planning quantity input by the management end, and determining the positioning planning mode according to the comparison result of the screening quantity of the street lamps to be screened and the preset planning quantity.
[0037] Among them, the management end refers to the terminal held by the manager who plans the street lights for artificial nesting, such as a computer. The preset planning quantity refers to the number of street lights planned for artificial nesting by the manager based on actual needs. The positioning planning mode refers to the mode of planning the street lights for artificial nesting.
[0038] In actual applications, the management end can pre-configure the number of planned artificial nests based on actual needs, and this number may be inconsistent with the number of street lamps to be screened that meet the friendly site selection conditions. For example, the planning number configured by the management staff may be less than the number of street lamps to be screened, or it may be greater than the number of street lamps to be screened. At this time, the street lamps to be screened that can be used for artificial nesting can be planned according to the planning number pre-configured by the management end.
[0039] Specifically, the pre-configured artificial nesting planning number input by the management personnel, that is, the preset planning number, can be received, and the number of street lamps to be screened that meet the friendly screening conditions can be counted, and the screening number corresponding to the street lamps to be screened can be obtained. By comparing the preset planning number with the number to be screened, the positioning planning mode for the subsequent artificial nesting street lamps can be determined according to the comparison result. The comparison results are different, and the corresponding positioning planning modes are also different. If the screening number is greater than the preset planning number, it means that the number of street lamps screened is greater than the number of street lamps required by the management personnel, and the excess street lamps to be screened can be reduced. If the screening number is less than the preset planning number, it means that the number of street lamps screened cannot meet the artificial nesting needs of the management personnel, and the street lamps suitable for nesting can be screened from the remaining monitored street lamps to fill the gap, thereby meeting the preset planning number input by the management personnel.
[0040] Through the above implementation, it can be ensured that the planning process matches the preset planning quantity input by the management personnel.
[0041] S3, obtaining a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determining a plurality of planned points on the planned path, and determining the planned street lamp in the planned path according to the planned points.
[0042] Among them, the planned path refers to the road section where the street lamps to be screened are located, the planned points refer to the best locations that can represent artificial nesting, and the street lamps for artificial nesting can be determined through the planned points. The planned street lamps refer to the street lamps that can be used for artificial nesting.
[0043] In practical applications, there are many monitored street lamps, but the planned number of street lamps for artificial nesting is limited. In order to ensure that the distance between the artificially nested street lamps is optimal and that the artificially nested street lamps can be distributed as evenly as possible on the corresponding path, multiple planning points can be determined in sequence on the road section where the street lamps to be selected are located according to a fixed interval distance, and multiple artificially nested street lamps with the best interval distances can be determined based on the multiple planning points.
[0044] Specifically, the road section where the street lamp to be screened is located, that is, the planned path, can be obtained according to the corresponding positioning planning mode. The planned path is usually an area where birds often live or move, and it is also the best path for artificial nesting. On the planned path, multiple planning points can be determined at fixed intervals. These planning points can represent the best artificial nesting locations. If there are corresponding monitoring street lamps within the corresponding range near the planning points, the corresponding monitoring street lamps can be determined as the corresponding planning street lamps. Therefore, multiple planned street lamps in the planning path can be determined based on the planning points.
[0045] Based on the above embodiment, the specific implementation of step S3 may be: S31, based on the completion planning mode, obtain the first planning path corresponding to the street lamp to be screened, obtain the planning proportion of the street lamp to be screened located on the road side of the first planning path, determine multiple planning points according to the planning proportion and the preset planning quantity, and determine the monitoring street lamp that meets the planning range of the planning point as the planned street lamp.
[0046] Among them, the completion planning mode refers to a positioning planning mode in which the screening number is less than the preset planning number, the first planning path refers to the planning path corresponding to the street lights to be screened in the completion planning mode, the planning proportion refers to the ratio between the numbers of street lights to be screened corresponding to the two sides of the road of the first planning path, and the planning range refers to the range that can be used to determine the planned street lights.
[0047] In actual applications, if the screening number corresponding to the street lamps to be screened is less than the preset planning number, it means that the number of street lamps screened out for artificial nesting is difficult to meet the planning needs of managers. At this time, in order to meet the planning needs of managers, a complementary planning mode can be adopted, that is, more street lamps that can be used for artificial nesting are found from the remaining monitored street lamps. Since birds often stay on the street lamps to be screened, if there are more street lamps to be screened on one side of the road, it can be considered that birds often stay on this side of the road, and this side of the road may be more friendly to birds. Therefore, when completing the plan, the road side with a large number of street lamps to be screened can be planned first, and then the road side with a small number of street lamps to be screened can be supplemented. Planning, so as to ensure as much as possible that the street lamps for artificial nesting are street lamps where birds stay for a longer time.
[0048] Specifically, in the completion planning mode, the planned path corresponding to the street lights to be screened can be obtained, that is, the first planned path. Since the street lights to be screened are located on both sides of the road in the planned path, and the number of street lights to be screened on both sides of the road may be different, the corresponding planning proportion can be obtained according to the number of street lights to be screened corresponding to each side of the road. According to the planning proportion and the preset planning number, multiple planning points can be determined at the same intervals on both sides of the road, and the monitoring street lights within a certain range near the planning points can be determined as planned street lights.
[0049] In some embodiments, the specific implementation of step S31 may be: S311, counting the number of sub-screenings corresponding to the street lamps to be screened on the sides of two roads in the first planned path, and obtaining the planning proportion according to the ratio of the sub-screening numbers.
[0050] Specifically, the number of street lamps to be screened on the two road sides in the first planning path can be counted to obtain the number of sub-screenings corresponding to each road side. By calculating the ratio of the number of sub-screenings corresponding to each road side, the corresponding planning ratio can be obtained. For example, for road side 1 and road side 2 corresponding to the first planning path, the number of sub-screenings corresponding to road side 1 is 24, and the number of sub-screenings corresponding to road side 2 is 16. Then the planning ratio corresponding to road side 1 and road side 2 is 3:2. Among them, the number of sub-screenings refers to the number of street lamps to be screened corresponding to each road side.
[0051] S312: Divide the preset planning quantity according to the planning proportion to obtain the planning estimated quantity corresponding to each of the road sides.
[0052] Specifically, by dividing the preset planning quantity according to the planning ratio, the planning estimated quantity corresponding to each road side can be obtained. For example, when the planning ratio corresponding to road side 1 and road side 2 is 3:2, and the preset planning quantity is 50, it can be calculated that the planning estimated quantity corresponding to road side 1 is 30, and the planning estimated quantity corresponding to road side 2 is 20. Among them, the planning estimated quantity refers to the planned number of artificially nested street lamps corresponding to each road side.
[0053] S313, determining the road side with a large planned estimated volume as the emphasis side, and determining the road side with a small planned estimated volume as the supplementary side.
[0054] Among them, the emphasis side refers to the road side with a large planned volume, and the supplementary side refers to the road side with a small planned volume.
[0055] Specifically, if the environment near the street lamps on one side is more suitable for bird activities, such as the presence of trees, bushes or grass, then this side of the road may attract more birds, and most birds may often inhabit this side of the road. The number of street lamps to be screened corresponding to this side of the road will also be greater, and the corresponding planning estimate will also be greater. Therefore, the street lamps for artificial nesting on the focused side can be planned first. According to the number of street lamps for artificial nesting actually planned on the focused side, the planning estimate corresponding to the supplementary side can be updated, and then supplementary planning can be carried out, so as to effectively utilize the existing resources of street lamps to be screened, and ensure that the street lamps for artificial nesting are street lamps where birds often inhabit.
[0056] S314: Divide the road length of the focus side equally according to the planned estimated amount to obtain a unit spacing, and determine a plurality of planning points on the focus side based on the unit spacing.
[0057] When planning the street lights for artificial nesting on the focus side, in the supplementary planning mode, the number of street lights to be screened on the focus side is less than the planned estimated quantity corresponding to the road side. If only street lights for artificial nesting are selected from the street lights to be screened, it may not meet the planning needs of managers. Suitable street lights can be selected from the remaining monitoring street lights for supplementary planning. Since the focus side is the side of the road where most birds stay for a longer time, the street lights for artificial nesting can be planned based on the monitoring street lights on the focus side.
[0058] Specifically, the extension direction of the planned path can be obtained. According to the first street lamp to be screened and the last street lamp to be screened in the extension direction of the focused side of the planned path, the road length corresponding to the planned path where the focused side is located can be obtained. By calculating the ratio of the road length to the planned estimated amount corresponding to the focused side, the road length can be evenly divided to obtain the corresponding unit spacing. Starting from the first street lamp to be screened in the extension direction of the planned path, a planning point is determined every unit spacing. Multiple planning points can be determined on the focused side.
[0059] The road length refers to the length of the emphasis side corresponding to the first planned path, and the unit spacing refers to the interval distance obtained by evenly dividing the road length according to the planned estimated amount corresponding to the emphasis side.
[0060] S315, obtaining the monitored street lights in the planning range of the planning point in the focused side as the planned street lights, updating the planned estimated quantity of the supplementary side according to the actual planned quantity of the planned street lights in the focused side to obtain the planned supplementary quantity, and determining the planned street lights corresponding to the supplementary side according to the planned supplementary quantity.
[0061] Specifically, since the position corresponding to the determined planning point may not be the position where the monitoring street lamp is located, after obtaining multiple planning points, each planning point can be used as the center of the circle to determine a circumference range according to a pre-configured radius, and the corresponding circumference range can be determined as the planning range corresponding to each planning point. If the monitoring street lamp is traversed within the planning range, the corresponding monitoring street lamp can be determined as the planning street lamp, so that multiple planning street lamps with relatively uniform position distribution can be determined on the focus side, and the number of planning street lamps corresponding to the focus side determined by statistics, that is, the actual planning quantity, since the actual planning quantity determined may not be equal to the planning estimated quantity corresponding to the focus side, the actual planning quantity may be less than the planning estimated quantity corresponding to the focus side, or it may be greater than the planning estimated quantity corresponding to the focus side, in order to ensure that the total planning estimated quantity on both sides of the road is equal to the preset planning quantity required by the management personnel, the planning estimated quantity corresponding to the supplementary side can be updated according to the actual planning quantity corresponding to the focus side, and the number of planning street lamps that need to be supplemented on the supplementary side is obtained, that is, the planning supplementary quantity. According to the planning supplementary quantity, the corresponding number of planning street lamps can be determined on the supplementary side.
[0062] Among them, the planning scope refers to the range near the planning point that can be used to determine the planned street lights, the actual planning quantity refers to the number of planned street lights determined on the focus side, and the planned supplementary quantity refers to the number of planned street lights that need to be supplemented and determined on the supplementary side.
[0063] Through the above implementation, the efficiency and accuracy of planning can be improved, and it can be ensured that the planned street lights are evenly distributed on the planned path to meet the needs of bird habitats.
[0064] In some embodiments, the specific implementation of step S315 may be: S3151, when the planned estimated quantity of the emphasis side is less than the actual planned quantity, the excess planned quantity is obtained according to the difference between the actual planned quantity and the planned estimated quantity, and the planned supplementary quantity is obtained by subtracting the excess planned quantity from the planned estimated quantity of the supplementary side.
[0065] Specifically, if the planned estimated quantity for the emphasis side is less than the actual planned quantity, it can be considered that the number of monitoring street lights actually determined on the emphasis side exceeds the number planned for the emphasis side. By subtracting the planned estimated quantity from the actual planned quantity, the excess quantity can be obtained, that is, the excess planned quantity. In order to ensure that the total number of planned street lights actually determined does not exceed the number of planned street lights required by the management personnel, the planned estimated quantity corresponding to the supplementary side can be subtracted from the excess planned quantity to obtain the number of planned street lights that need to be determined on the supplementary side, that is, the planned supplementary quantity.
[0066] Among them, the excess planning quantity refers to the number of monitoring street lights actually determined on the side that exceeds the corresponding planned estimated quantity.
[0067] S3152: When the planned estimated quantity of the emphasis side is greater than the actual planned quantity, the planned quantity to be supplemented is obtained according to the difference between the planned estimated quantity and the actual planned quantity, and the planned supplementary quantity is obtained by adding the planned estimated quantity of the supplementary side to the planned quantity to be supplemented.
[0068] Specifically, if the planned quantity of the focused side is greater than the actual planned quantity, it can be considered that the number of monitoring street lights actually determined on the focused side cannot meet the planned quantity corresponding to the focused side. At this time, the street lights on the supplementary side can be supplemented and determined. By subtracting the actual planned quantity from the planned quantity, the missing quantity can be obtained, that is, the planned quantity to be supplemented. In order to ensure that the total number of planned street lights actually determined can meet the number of planned street lights required by the management personnel, the planned estimated quantity corresponding to the supplementary side can be added to the planned quantity to be supplemented to obtain the number of planned street lights that need to be determined on the supplementary side, that is, the planned supplementary quantity. At this time, the supplementary side may need to select street lights for artificial nesting from the remaining monitoring street lights.
[0069] Among them, the planned quantity to be supplemented refers to the number of planned street lights that need to be added on the supplementary side based on the original planned estimated quantity.
[0070] S3153, obtaining the supplementary quantity to be screened corresponding to the street lamps to be screened in the supplementary side. If the supplementary quantity to be screened is greater than the planned supplementary quantity, obtaining the first spacing between each adjacent street lamp to be screened in the supplementary side, and screening the multiple street lamps to be screened according to the first spacing to obtain the planned street lamps.
[0071] After obtaining the planned supplementary quantity corresponding to the supplementary side, the planned supplementary quantity may be inconsistent with the number of street lights to be screened on the supplementary side. The planned supplementary quantity may be greater than the number of street lights to be screened on the supplementary side, or it may be less than the number of street lights to be screened on the supplementary side. If the number of street lights to be screened on the supplementary side is greater than the planned supplementary quantity, it means that there are enough street lights to be screened on the supplementary side that can be determined as planned street lights. At this time, the planned street lights of the planned supplementary quantity may be screened out from the multiple street lights to be screened on the supplementary side.
[0072] Specifically, the number of street lamps to be screened on the supplementary side, that is, the supplementary amount to be screened, can be obtained. If the supplementary amount to be screened is greater than the planned supplementary amount, in order to ensure that the interval distance between the planned street lamps is optimal, the spacing between adjacent street lamps to be screened can be obtained, that is, the first spacing. The street lamps to be screened are screened according to the first spacing to obtain the corresponding planned street lamps. For example, if the spacing between adjacent street lamps to be screened is too close, it is not necessary to nest both of the two street lamps to be screened that are too close, and one of them can be selected as the planned street lamp for artificial nesting.
[0073] Among them, the supplementary amount to be screened refers to the number of street lamps to be screened in the supplementary side, and the first spacing refers to the spacing distance between adjacent street lamps to be screened.
[0074] In some embodiments, in step S3153, "if the to-be-screened supplementary amount is greater than the planned supplementary amount, obtaining the first spacing between the adjacent to-be-screened street lamps in the supplementary side, and screening the plurality of to-be-screened street lamps according to the first spacing to obtain the planned street lamps" includes the following steps: S31531, determining that the two to-be-screened street lamps with the farthest distance on the supplementary sides are the screening starting point and the screening end point respectively, and determining the direction from the screening starting point to the screening end point as the planning direction.
[0075] Specifically, on the supplementary side, two street lamps to be screened that are the farthest apart can be determined, one of the street lamps to be screened can be determined as the screening starting point, and the other street lamp to be screened can be determined as the screening end point, and the direction from the screening starting point to the screening end point can be determined as the planning direction.
[0076] Among them, the screening starting point refers to the starting point when the street lights to be screened are screened again, the screening end point refers to the end point when the street lights to be screened are screened, and the planning direction refers to the direction when the street lights to be screened are screened.
[0077] S31532, selecting the street lamps to be screened adjacent to the supplementary side in turn as the first screening group according to the planning direction, and if the first spacing of the first screening group is greater than or equal to the minimum spacing threshold, determining the street lamps to be screened in the first screening group as the planned street lamps.
[0078] Specifically, after determining the planning direction, the adjacent street lamps to be screened are traversed on the supplementary side in turn in the planning direction as the first screening group, and the first spacing between the street lamps to be screened in the first screening group is obtained. If the first spacing is greater than or equal to the minimum spacing threshold, it can be considered that the distance between the street lamps to be screened in the first screening group is not very close, and artificial nesting can be performed on the corresponding two street lamps to be screened. Therefore, the street lamps to be screened in the corresponding first screening group can all be determined as planned street lamps.
[0079] Among them, the first screening group refers to a group that can be re-screened for the street lamps to be screened, and the minimum spacing threshold refers to a distance threshold that can be used to determine whether the distance between the street lamps to be screened is too close. If the first spacing is greater than or equal to the minimum spacing threshold, it can be considered that the distance between the street lamps to be screened in the first screening group is not too close. If the first spacing is less than the minimum spacing threshold, it can be considered that the distance between the street lamps to be screened in the first screening group is too close.
[0080] S31533, if the first spacing of the first screening group is less than the minimum spacing threshold, the street lamp to be screened in the next traversal is not selected, and the street lamp to be screened in the previous traversal and the street lamp to be screened in the next traversal are continued to be determined as the next first screening group.
[0081] Specifically, if the first spacing corresponding to the street lights to be screened in the first traversed screening group is less than the minimum spacing threshold, it can be considered that the distance between the street lights to be screened in the first screening group is too close. At this time, in order to be able to re-screen the street lights to be screened on the supplementary side in turn, the last traversed street lights to be screened in the first screening group can be removed, and the removed street lights to be screened can be unselected when determining the planned street lights, and then the previously traversed street lights to be screened and the next traversed street lights to be screened can be determined as the next first screening group.
[0082] See also Figure 2 , is a schematic diagram of determining a first screening group provided by an embodiment of the present invention, such as Figure 2 As shown in, since the street lamps 1 to be screened and the street lamps 4 to be screened are the two street lamps to be screened with the farthest distance on the supplementary side, the street lamp 1 to be screened can be determined as the starting point of screening, the street lamp 4 to be screened can be determined as the end point of screening, and the direction from the starting point of screening to the end point of screening can be determined as the planning direction. In the planning direction, starting from the screening starting point, the street lamps 1 to be screened and the street lamps 2 to be screened can be determined as the first screening group. When the distance between the street lamps 1 to be screened and the street lamps 2 to be screened is too close, that is, the corresponding first spacing is less than the minimum spacing threshold, since the street lamps 1 to be screened are traversed first and the street lamps 2 to be screened are traversed later, when determining the planned street lamps, the street lamps 2 to be screened can be not selected. Since the street lamps 3 to be screened will be traversed in the next traversal, the street lamps 1 to be screened and the street lamps 3 to be screened can be determined as the next first screening group.
[0083] S31534, repeating the steps of obtaining the first screening group and determining the planned street lights according to the first screening group until the number of the planned street lights is equal to the planned supplementary amount, and then stopping the selection of the planned street lights.
[0084] Specifically, after obtaining the next first screening group, its corresponding first spacing can be determined. If the first spacing is greater than or equal to the minimum spacing threshold, the corresponding street lights to be screened can be determined as planned street lights. If the first spacing is less than the minimum spacing threshold, the next traversed street lights to be screened in the first screening group can be not selected when determining the planned street lights. The step of determining the previously traversed street lights to be screened and the next traversed street lights to be screened as the new first screening group can be repeated, and the step of determining the planned street lights according to the first screening group is repeated until the number of planned street lights determined is equal to the planned supplementary amount, and the step of determining the planned street lights is stopped.
[0085] S3154, if the supplementary quantity to be screened is less than the planned supplementary quantity, determine that all the street lamps to be screened in the supplementary side are planned street lamps, obtain the second spacing between adjacent planned street lamps, and screen the remaining monitored street lamps in the supplementary side according to the second spacing to obtain the planned street lamps.
[0086] If the amount to be screened is less than the planned amount to be screened, it means that the number of street lamps to be screened on the supplementary side cannot meet the number of planned street lamps that need to be supplemented and determined. At this time, it may be necessary to screen the remaining monitoring street lamps on the supplementary side to select the corresponding planned street lamps. Specifically, all the street lamps to be screened on the supplementary side can be determined as planned street lamps first, and then the interval distance between adjacent planned street lamps can be obtained, that is, the second spacing. The remaining monitoring street lamps on the supplementary side are screened according to the second spacing, so that a plurality of planned street lamps with relatively even distribution can be obtained. Among them, the second spacing refers to the interval distance between adjacent planned street lamps.
[0087] Based on the above embodiment, the specific implementation of step S3154 may be: S31541, determining that the two to-be-screened street lamps with the farthest distance on the supplementary sides are the screening starting point and the screening end point respectively, and determining the direction from the screening starting point to the screening end point as the planning direction.
[0088] Specifically, on the supplementary side, the two farthest street lamps to be screened are determined, one of the street lamps to be screened is determined as the screening starting point, the other street lamp to be screened is determined as the screening end point, and the direction from the screening starting point to the screening end point is determined as the planning direction.
[0089] S31542, obtaining the total distance from the screening start point to the screening end point, subtracting a preset distance value from the planned supplementary amount to obtain a target distance value, and obtaining the target distance according to the ratio of the total distance to the target distance value.
[0090] Among them, the total spacing refers to the interval distance between the screening start point and the screening end point. The preset spacing value is 1. The target spacing value refers to the value obtained by subtracting 1 from the planned supplement amount. The target spacing refers to the spacing obtained by dividing the total spacing according to the target spacing value.
[0091] Specifically, in the planned direction, the interval distance from the screening start point to the screening end point, that is, the total spacing, can be obtained. By subtracting the preset spacing value from the planned supplementary amount corresponding to the supplementary side, the corresponding target spacing value can be obtained. The total spacing is calculated by ratio with the target spacing value, and the distance of each segment after the total spacing is evenly divided can be obtained, that is, the target spacing.
[0092] S31543: based on the planned direction, sequentially obtain second intervals between adjacent planned street lamps; when the second interval is greater than the target interval, determine that the path segment between adjacent planned street lamps is a screening path segment.
[0093] Specifically, in the planned direction, the second spacing between adjacent planned street lamps is obtained in sequence. If the second spacing is greater than the target spacing, the path segment between the adjacent planned street lamps can be determined as a screening path segment, which can be used to screen the remaining monitored street lamps.
[0094] The screening path segment refers to a path segment that can screen the remaining monitoring street lights on the supplementary side.
[0095] S31544: Determine a plurality of sub-planning points on the screening path segment at intervals of the target distance according to the planning direction, and determine the monitoring street lamps within the planning range of the sub-planning points as the planned street lamps.
[0096] Specifically, in the planning direction, starting from the first planned street light corresponding to the planned path segment, a sub-planning point can be determined at every target interval, and multiple sub-planning points can be obtained on the screening path segment. If the monitoring street light is traversed within the planning range corresponding to the sub-planning point, the corresponding monitoring street light can be determined as the planned street light, and multiple planned street lights with relatively even distribution can be determined on the supplementary side.
[0097] See also Figure 3 , which is a schematic diagram of determining a screening path segment provided by an embodiment of the present invention, such as Figure 3 As shown in , in the planned direction, the second spacing between the planned street lamp 1 and the planned street lamp 2 can be obtained. If the second spacing is greater than the target spacing, the path segment between the planned street lamp 1 and the planned street lamp 2 can be determined as a screening path segment. On the screening path segment, starting from the position point corresponding to the planned street lamp 1, a sub-planning point can be determined every other target spacing, and multiple sub-planning points can be obtained. Figure 3 It can be seen that monitoring street light 1 is close to sub-planning point 1 and may be located within the planning scope corresponding to sub-planning point 1. Therefore, monitoring street light 1 can be determined as a planned street light. Monitoring street light 2 is close to sub-planning point 2 and may be located within the planning scope corresponding to sub-planning point 2. Therefore, monitoring street light 2 can also be determined as a planned street light. Since monitoring street light 3 is relatively far away from sub-planning point 3, it may not be located within the planning scope corresponding to sub-planning point 3. Therefore, monitoring street light 3 cannot be determined as a planned street light.
[0098] S31545, counting the current planned quantity of the planned street lights, and stopping acquisition of the planned street lights when the current planned quantity is equal to the planned supplementary quantity.
[0099] Specifically, when determining the planned street lights, the number of currently determined planned street lights, that is, the current planned quantity, can be counted in real time. If the current planned quantity is equal to the planned supplementary quantity, the acquisition of planned street lights can be stopped. The current planned quantity refers to the number of currently determined planned street lights.
[0100] Through the above implementation, the planned supplementary amount of the supplementary side can be accurately adjusted to ensure that the total planned number of street lights meets the preset planned number, thereby avoiding waste or shortage of resources.
[0101] S32, obtaining a second planned path corresponding to the street lamps to be screened according to the reduction planning mode, screening the street lamps to be screened based on the current spacing of multiple street lamps to be screened in the second planned path, and determining that the street lamps to be screened that meet the planning spacing conditions are the planned street lamps.
[0102] Among them, the positioning planning mode includes a completion planning mode and a reduction planning mode, the planning path includes a first planning path and a second planning path, the completion planning mode is a positioning planning mode in which the screening number is less than the preset planning number, and the reduction planning mode is a positioning planning mode in which the screening number is greater than the preset planning number.
[0103] In actual applications, if the screened number is greater than the preset planned number, it can be considered that the number of street lamps screened out for artificial nesting is greater than the planned number of street lamps required by the management personnel. At this time, the reduction planning mode can be used to reduce the excess street lamps to be screened. Since the number of street lamps planned by the management personnel for artificial nesting is limited, in order to reasonably plan the location of bird-friendly street lamps and ensure that the distance between the planned street lamps for artificial nesting is optimal, when reducing the street lamps to be screened, the street lamps to be screened can be screened again according to the spacing between the street lamps to obtain the preset planned number of planned street lamps.
[0104] Specifically, in the reduction planning mode, the planned path corresponding to the street lamps to be screened can be obtained, that is, the second planned path, and the interval distance between multiple street lamps to be screened in the second planned path, that is, the current spacing, can be obtained. The path to be screened is screened according to the current spacing, and the street lamps to be screened whose current spacing meets the planned spacing conditions are screened out, and the corresponding street lamps to be screened are determined as planned street lamps.
[0105] Among them, the second planned path refers to the planned path corresponding to the street lights to be screened in the reduction planning mode, the current spacing refers to the interval distance between the street lights to be screened on the second planned path, and the planned spacing condition means that the interval distance between the street lights to be screened is not too close.
[0106] In some embodiments, the specific implementation of step S32 may be: S321, obtaining the second screening group in which the adjacent street lights to be screened on the two road sides of the second planned path are the same group, obtaining the current spacing between the adjacent street lights to be screened in the second screening group, and determining the second screening group with the smallest current spacing as the target screening group.
[0107] Specifically, adjacent street lights to be screened can be obtained on the two road sides corresponding to the second planned path. As the same second screening group, multiple groups of second screening groups can be obtained, and the current spacing corresponding to adjacent street lights to be screened in each second screening group can be obtained. If the current spacing corresponding to one of the second screening groups is the smallest, it can be considered that the interval distance between the street lights to be screened corresponding to this group may be too close, and the street lights to be screened in this group can be eliminated. Therefore, the second screening group with the smallest current spacing can be determined as the target screening group.
[0108] Among them, the second screening group refers to the group corresponding to the adjacent street lamps to be screened, and the target screening group refers to the second screening group from which the street lamps to be screened need to be eliminated.
[0109] S322, determining the farthest street lamps to be screened on the sides of each road as the planning starting point and the planning end point, and determining the direction from the planning starting point to the planning end point as the planning direction.
[0110] Specifically, the two farthest street lamps to be screened can be determined on each road side corresponding to the second planning path, one of which is determined as the planning starting point and the other as the planning end point, and the direction from the planning starting point to the planning end point is determined as the planning direction. The planning starting point refers to the starting point on the corresponding road side when the street lamps to be screened are screened again, and the planning end point refers to the ending point on the corresponding road side when the street lamps to be screened are screened again.
[0111] S323, removing the last street lamp to be screened in the target screening group located in the planned direction, and counting the current screening number of the updated street lamps to be screened.
[0112] Specifically, in the planning direction, the last street light to be screened in the target screening group can be removed, the previous street light to be screened can be retained, and the number of current street lights to be screened after removing the last street light to be screened, that is, the current screening number, can be counted.
[0113] Among them, the current screening number refers to the number of street lamps to be screened that remain after removing the street lamps to be screened in the target screening group.
[0114] S324, when the current screening quantity is greater than the estimated planning quantity, reacquire multiple groups of second screening groups according to the updated street lamps to be screened.
[0115] If the current screening quantity is still greater than the expected planned quantity, it can be considered that the street lights to be screened need to continue to be removed. At this time, the adjacent street lights to be screened can be re-acquired on the two sides of the road based on the updated street lights to be screened as new second screening groups, and multiple groups of second screening groups can be re-acquired.
[0116] S325, continue to repeat the step of removing the street lights to be screened according to the second screening group until the current screening number is equal to the estimated planning number, determine that the remaining street lights to be screened meet the planning spacing conditions, and determine that the street lights to be screened are planned street lights.
[0117] Specifically, the current spacing corresponding to each second screening group is reacquired, and the second screening group with the smallest current spacing is obtained as the new target screening group. In the planning direction, after removing the last street lamp to be screened in the target screening group, the number corresponding to the updated street lamps to be screened is counted again to obtain the new current number to be screened. If the current number to be screened is still greater than the expected planning number, continue to repeat the step of removing the street lamps to be screened according to the second screening group until the current screening number is less than the expected planning number, then stop removing the street lamps to be screened, and it can be determined that the interval distance between the remaining street lamps to be screened will not be too close, and the planning spacing conditions are met. Therefore, the remaining street lamps to be screened can be determined as planned street lamps.
[0118] Through the above implementation, it can be ensured that the number of planned street lamps finally selected meets the preset planned number of the management personnel, thereby avoiding waste of resources.
[0119] S4, obtaining inspection data of the structure of the planned street lamp photographed by a photographing device based on a monitoring route, determining the structural state corresponding to the structure according to the inspection data, and sending it to the management end.
[0120] Among them, the monitoring route refers to the route taken by the shooting equipment to monitor the installed artificial bird's nest, the structure refers to the bird's nest installed on the planned street lamp, the inspection data refers to the data obtained by the shooting equipment to take images of the structure according to the corresponding monitoring route, and the structural status refers to whether the artificial bird's nest installed on the planned street lamp is tilted.
[0121] In actual applications, when artificial nests are built on the corresponding planned street lights, corresponding marking strips can be pasted on the installed bird nests, and the pasted marking strips will not cause harm to birds. For example, they can be rectangular marking strips with a small amount of reflective material added. After the installation of the artificial nest is completed, the bird nest may tilt. In this case, the corresponding reflective strip on the bird nest will also tilt. If it is not handled in time, the birds may leave because of the instability of the nest. In order to be able to deal with the tilted bird nest in time and provide a safe and comfortable habitat for the birds, after determining the planned street lights, a corresponding monitoring route can be constructed for the shooting equipment according to the planned street lights. According to the corresponding monitoring route, the artificial bird nests on the planned street lights are inspected at regular intervals to obtain corresponding inspection data, and the logo on the bird nest is extracted according to the inspection data. The structural state of the bird nest is judged according to the state of the logo to determine whether the bird nest is tilted, and the corresponding structural state can be sent to the management end, so that the management personnel can take corresponding measures to deal with it in time when the bird nest is tilted.
[0122] Based on the above embodiment, the specific implementation of step S4 may be: S41, determining a current shooting moment of the shooting device, and determining a shooting mode of the shooting device according to the current shooting moment, wherein the shooting modes include a night shooting mode and a normal mode.
[0123] Specifically, the current shooting moment corresponding to the shooting device can be obtained. The corresponding shooting modes of the shooting device are different at different shooting moments. The shooting mode corresponding to the shooting device can be determined according to the current shooting moment. For example, if the current shooting moment is in daytime or a well-lit environment, the shooting device can use normal mode for shooting. If the current shooting moment is at night or in a dimly lit environment, the shooting device can switch to night shooting mode.
[0124] Among them, the current shooting time refers to the time when the structure is photographed, the shooting mode refers to the mode corresponding to the shooting equipment when shooting the structure in combination with the shooting time, the night shooting mode refers to the mode corresponding to the shooting equipment when shooting the structure at night, and the normal mode may be the mode corresponding to the shooting equipment when shooting the structure during the day.
[0125] S42, start the shooting mode, control the shooting device to go to the monitoring point corresponding to the planned street lamp based on the monitoring route to shoot images, and obtain the inspection data corresponding to the structure.
[0126] Specifically, after obtaining the current shooting time corresponding to the shooting device, the corresponding shooting mode can be started. After installing the structure on each planned street lamp, the monitoring point corresponding to each planned street lamp can be configured in front of the structure corresponding to each planned street lamp at a fixed distance from the structure. At the monitoring point, the shooting device can collect the image of the complete structure. According to the monitoring point corresponding to each planned street lamp, a corresponding monitoring route is constructed for the shooting device. In the corresponding shooting mode, the shooting device is controlled to go to the corresponding monitoring point along the monitoring route to shoot the image of the structure, and obtain the inspection data corresponding to the structure. Among them, the monitoring point refers to the location point where the image of the structure can be shot.
[0127] S43, determining a marking pixel value according to the shooting mode, extracting pixel points located at the marking pixel value in the inspection data as marking pixel points, and obtaining a marking bar outline according to adjacent marking pixel points.
[0128] Specifically, the marking strip pasted on the bird's nest can be displayed in different colors under different shooting modes. For example, when the marking strip is a rectangular strip with a small amount of reflective material added, the marking strip can be displayed in white under normal shooting mode, and in night shooting mode, the marking strip can be displayed in silver. Therefore, in different shooting modes, the marking pixel values corresponding to the identifier are different. The corresponding marking pixel values can be determined according to the shooting mode. For example, when the shooting mode is the night shooting mode, the silver pixel value can be used as the marking pixel value, and the pixel points corresponding to the silver pixel value can be extracted from the multiple images corresponding to the inspection data, which can be determined as the marking pixel points. Based on the multiple marking pixel points, the outline corresponding to the marking strip, that is, the marking strip outline, can be determined. Subsequently, whether there is any abnormality in the bird's nest can be judged according to the state corresponding to the marking strip outline.
[0129] Among them, the marking pixel value refers to the pixel value corresponding to the marking bar in different shooting modes, the marking pixel point refers to the pixel point whose pixel value is the marking pixel value, and the marking bar outline refers to the outline of the marking bar pasted on the artificially installed bird's nest.
[0130] S44, acquiring a contour center line of the marker bar contour, and determining the inclination of the marker bar contour according to the slope of the contour center line, wherein the marker bar contour is a long strip contour.
[0131] Specifically, after obtaining the marker bar outline, the contour centerline corresponding to the marker bar outline can be obtained. For example, when the marker bar outline is a rectangular long strip outline, the contour centerline can be a straight line parallel to the two long sides of the rectangular outline and located in the middle of the two long sides of the rectangular outline. After obtaining the contour centerline, its corresponding slope can be obtained. According to the slope of the contour centerline, the inclination corresponding to the marker bar outline can be determined, and according to the inclination corresponding to the marker bar outline, the corresponding inclination of the bird's nest can be determined.
[0132] S45, determining that the structural state of the structure whose inclination is less than the inclination threshold is a normal state, determining that the structural state of the structure whose inclination is greater than or equal to the inclination threshold is an abnormal state, and sending the structural state to the management terminal.
[0133] Specifically, in order to be able to judge the inclination degree of the bird's nest, the corresponding inclination degree of the bird's nest in the normal state, that is, the inclination threshold, can be pre-configured. If the inclination degree is less than the inclination threshold, it can be considered that the corresponding inclination degree of the bird's nest is within the normal range, and the structural state of the corresponding structure can be determined as a normal state. If the inclination degree is greater than the inclination threshold, it can be considered that the inclination degree of the corresponding bird's nest exceeds the normal range, and there may be structural safety hazards. The structural state of the corresponding structure can be determined as an abnormal state. After obtaining the structural state corresponding to each structure, the structural state can be sent to the management end.
[0134] Through the above implementation, the tilt of the bird's nest can be discovered in time, and the problems of birds leaving or the damage of the bird's nest due to the instability of the bird's nest can be avoided as much as possible.
[0135] See also Figure 4 , is a structural diagram of a bird-friendly design and planning system for urban street lamps provided by an embodiment of the present invention. The data processing system based on the bird-friendly design and planning system for urban street lamps includes: An acquisition module, used to acquire bird collection data of each monitored street lamp based on a shooting device, and determine the street lamps to be screened that meet the friendly site selection conditions according to the bird collection data; A receiving module, used for receiving a preset planning quantity input by a management terminal, and determining a positioning planning mode according to a comparison result between the screening quantity of the street lamps to be screened and the preset planning quantity; A determination module, used to obtain a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determine a plurality of planned points on the planned path, and determine the planned street lamp in the planned path according to the planned points; The inspection module is used to obtain the inspection data of the structure of the planned street lamp photographed by the shooting equipment based on the monitoring route, determine the structural status corresponding to the structure according to the inspection data, and send it to the management end.
[0136] Figure 4 The apparatus of the embodiment shown can be used to perform Figure 1 The implementation principles and technical effects of the steps in the method embodiment shown are similar and will not be repeated here.
[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A bird-friendly design and planning method for urban street lamps, characterized in that: include: Acquire bird collection data of each monitored street lamp based on the shooting device, and determine the street lamps to be screened that meet the friendly site selection conditions according to the bird collection data; Receiving the preset planning quantity input by the management end, and determining the positioning planning mode according to the comparison result of the screening quantity of the street lamps to be screened and the preset planning quantity; Acquire a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determine a plurality of planned points on the planned path, and determine the planned street lamp in the planned path according to the planned points; The inspection data of the structure of the planned street lamp photographed by the shooting equipment based on the monitoring route is obtained, and the structural state corresponding to the structure is determined according to the inspection data and sent to the management end.
2. The method according to claim 1, characterized in that: The bird collection data of each monitored street lamp is obtained based on the shooting device, and the street lamps to be screened that meet the friendly site selection conditions are determined according to the bird collection data, including: Acquire the length of time and number of birds staying at each monitoring street lamp corresponding to the monitoring street lamp within a preset time period according to the shooting device; Obtaining a first offset weight corresponding to the length of the bird's stay and a second offset weight corresponding to the number of the bird's stays, and summing the first offset weight and the second offset weight to obtain a site selection weight for each of the monitoring street lamps; It is determined that the monitoring street lamps whose site selection weights are greater than or equal to the weight threshold meet the friendly site selection conditions, and the monitoring street lamps are determined to be street lamps to be screened.
3. The method according to claim 1, characterized in that Acquiring a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determining a plurality of planned points on the planned path, and determining the planned street lamp in the planned path according to the planned points, including: Based on the completion planning mode, a first planning path corresponding to the street lamp to be screened is obtained, a planning proportion of the street lamp to be screened located on the road side of the first planning path is obtained, a plurality of planning points are determined according to the planning proportion and a preset planning quantity, and a monitoring street lamp that meets the planning range of the planning point is determined as a planning street lamp; Acquire a second planned path corresponding to the street lamp to be screened according to the reduction planning mode, screen the street lamps to be screened based on the current spacing of multiple street lamps to be screened in the second planned path, and determine that the street lamps to be screened that meet the planning spacing condition are planned street lamps; Among them, the positioning planning mode includes a completion planning mode and a reduction planning mode, the planning path includes a first planning path and a second planning path, the completion planning mode is a positioning planning mode in which the screening number is less than the preset planning number, and the reduction planning mode is a positioning planning mode in which the screening number is greater than the preset planning number.
4. The method according to claim 3, characterized in that The method comprises: obtaining a first planned path corresponding to the street lamp to be screened based on the completion planning mode, obtaining a planned proportion of the street lamp to be screened located on the road side of the first planned path, determining a plurality of the planned points according to the planned proportion and a preset planned quantity, and determining the monitoring street lamp that meets the planning range of the planning point as the planned street lamp, including: Counting the number of sub-screenings corresponding to the street lamps to be screened on the sides of two roads in the first planned path, and obtaining the planning proportion according to the ratio of the sub-screening numbers; Dividing the preset planning quantity according to the planning proportion to obtain the planning estimated quantity corresponding to each of the road sides; Determine the road side with a large planned estimated volume as the emphasis side, and determine the road side with a small planned estimated volume as the supplementary side; According to the planned estimated amount, the road length of the focused side is evenly divided to obtain a unit spacing, and a plurality of planned points are determined on the focused side based on the unit spacing; The monitored street lights within the planning range of the planning point in the focused side are obtained as planned street lights, and the planned estimated quantity of the supplementary side is updated according to the actual planned quantity of the planned street lights on the focused side to obtain the planned supplementary quantity, and the planned street lights corresponding to the supplementary side are determined according to the planned supplementary quantity.
5. The method according to claim 4, characterized in that Acquiring the monitored street lights in the planning range of the planning point in the focused side as the planned street lights, updating the planned estimated quantity of the supplementary side according to the actual planned quantity of the planned street lights of the focused side to obtain the planned supplementary quantity, and determining the planned street lights corresponding to the supplementary side according to the planned supplementary quantity, including: When the planned estimated amount of the emphasis side is less than the actual planned amount, the excess planned amount is obtained according to the difference between the actual planned amount and the planned estimated amount, and the planned supplementary amount is obtained by subtracting the excess planned amount from the planned estimated amount of the supplementary side; When the planned estimated amount of the emphasis side is greater than the actual planned amount, the planned amount to be supplemented is obtained according to the difference between the planned estimated amount and the actual planned amount, and the planned supplementary amount is obtained according to the planned estimated amount of the supplementary side plus the planned amount to be supplemented; Obtain the to-be-screened supplementary quantity corresponding to the to-be-screened street lamps in the supplementary side; if the to-be-screened supplementary quantity is greater than the planned supplementary quantity, obtain a first spacing between adjacent to-be-screened street lamps in the supplementary side, and screen multiple to-be-screened street lamps according to the first spacing to obtain the planned street lamps; If the supplementary amount to be screened is less than the planned supplementary amount, determine that all the street lights to be screened in the supplementary side are planned street lights, obtain the second spacing between adjacent planned street lights, and screen the remaining monitored street lights in the supplementary side according to the second spacing to obtain the planned street lights.
6. The method according to claim 5, characterized in that If the to-be-screened supplementary quantity is greater than the planned supplementary quantity, obtaining a first spacing between adjacent to-be-screened street lamps in the supplementary side, and screening a plurality of to-be-screened street lamps according to the first spacing to obtain planned street lamps, including: Determine that the two to-be-screened street lamps with the farthest distance on the supplementary side are respectively the screening starting point and the screening end point, and determine that the direction from the screening starting point to the screening end point is the planning direction; Select the street lamps to be screened adjacent to the supplementary side in sequence according to the planning direction as the first screening group, and if the first spacing of the first screening group is greater than or equal to the minimum spacing threshold, determine the street lamps to be screened in the first screening group as the planned street lamps; If the first spacing of the first screening group is less than the minimum spacing threshold, the street lamp to be screened in the next traversal is not selected, and the street lamp to be screened in the previous traversal and the street lamp to be screened in the next traversal are continuously determined as the next first screening group; Repeat the steps of obtaining the first screening group and determining the planned street lamps according to the first screening group until the number of the planned street lamps is equal to the planned supplementary amount, and then stop selecting the planned street lamps.
7. The method according to claim 5, characterized in that If the to-be-screened supplementary amount is less than the planned supplementary amount, determining that each of the to-be-screened street lamps in the supplementary side is a planned street lamp, obtaining a second spacing between adjacent planned street lamps, and screening the remaining monitored street lamps in the supplementary side according to the second spacing to obtain the planned street lamps, including: Determine that the two to-be-screened street lamps with the farthest distance on the supplementary side are respectively the screening starting point and the screening end point, and determine that the direction from the screening starting point to the screening end point is the planning direction; Obtaining the total distance from the screening start point to the screening end point, subtracting a preset distance value from the planned supplementary amount to obtain a target distance value, and obtaining the target distance according to the ratio of the total distance to the target distance value; sequentially acquiring a second spacing between adjacent planned street lamps based on the planned direction, and when the second spacing is greater than the target spacing, determining a path segment between adjacent planned street lamps as a screening path segment; Determine a plurality of sub-planning points on the screening path segment at intervals of the target distance according to the planning direction, and determine the monitoring street lamps within the planning range of the sub-planning points as the planning street lamps; The current planned quantity of the planned street lights is counted until the current planned quantity is equal to the planned supplementary quantity, and then the acquisition of the planned street lights is stopped.
8. The method according to claim 3, characterized in that The method further comprises: obtaining a second planned path corresponding to the street lamp to be screened according to the reduction planning mode, screening the street lamp to be screened based on the current spacing of multiple street lamps to be screened in the second planned path, and determining that the street lamp to be screened that meets the planning spacing condition is the planned street lamp, including: Acquire the second screening group in which the adjacent street lamps to be screened on two road sides of the second planned path are the same group, acquire the current spacing between the adjacent street lamps to be screened in the second screening group, and determine the second screening group with the smallest current spacing as the target screening group; Determine that the farthest street lamps to be screened on the sides of each road are respectively a planning starting point and a planning end point, and determine the direction from the planning starting point to the planning end point as the planning direction; Removing the last street lamp to be screened in the target screening group and located in the planned direction, and counting the current screening number of the updated street lamps to be screened; When the current screening quantity is greater than the estimated planned quantity, reacquiring multiple groups of second screening groups according to the updated street lamps to be screened; Continue to repeat the step of removing the street lamps to be screened according to the second screening group until the current screening number is equal to the estimated planning number, determine that the remaining street lamps to be screened meet the planning spacing conditions, and determine that the street lamps to be screened are planned street lamps.
9. The method according to claim 1, characterized in that: Obtaining inspection data of the structure of the planned street lamp photographed by a photographing device based on a monitoring route, determining a structural state corresponding to the structure according to the inspection data and sending the data to a management end, including: Determine a current shooting moment of the shooting device, and determine a shooting mode of the shooting device according to the current shooting moment, wherein the shooting mode includes a night shooting mode and a normal mode; Start the shooting mode, control the shooting device to go to the monitoring point corresponding to the planned street lamp based on the monitoring route to shoot images, and obtain the inspection data corresponding to the structure; Determine a marking pixel value according to the shooting mode, extract pixel points located at the marking pixel value in the inspection data as marking pixel points, and obtain a marking bar outline according to adjacent marking pixel points; Acquire a contour midline of the marker bar contour, and determine the inclination of the marker bar contour according to the slope of the contour midline, wherein the marker bar contour is a long strip contour; The structural state of the structure whose inclination is less than the inclination threshold is determined to be a normal state, the structural state of the structure whose inclination is greater than or equal to the inclination threshold is determined to be an abnormal state, and the structural state is sent to the management end.
10. A bird-friendly design and planning system for urban street lamps, characterized in that: include: An acquisition module, used to acquire bird collection data of each monitored street lamp based on a shooting device, and determine the street lamps to be screened that meet the friendly site selection conditions according to the bird collection data; A receiving module, used for receiving a preset planning quantity input by a management terminal, and determining a positioning planning mode according to a comparison result between the screening quantity of the street lamps to be screened and the preset planning quantity; A determination module, used to obtain a planned path corresponding to the street lamp to be screened according to the positioning planning mode, determine a plurality of planned points on the planned path, and determine the planned street lamp in the planned path according to the planned points; The inspection module is used to obtain the inspection data of the structure of the planned street lamp photographed by the shooting equipment based on the monitoring route, determine the structural status corresponding to the structure according to the inspection data, and send it to the management end.
Citation Information
Patent Citations
Street lamp with bird nest
CN103775930A
GPS tracking data-based bird migration route graph theory modeling method
CN116805015A
Urban drainage facility inspection method and system based on machine vision
CN117744908A
Intelligent inspection and street lamp control method and system based on personnel positioning
CN118409524A