Urban street lamp bird-friendly design planning method and system
By acquiring bird data and managing the planned number of birds, and combining this with supplementary or reduced planning methods, suitable streetlights are selected for artificial nesting. This solves the problem of low efficiency in urban streetlight planning in existing technologies, and achieves efficient and accurate bird-friendly streetlight planning and resource utilization.
Patent Information
- Application Number
- CN202411762893.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2044-12-03
AI Technical Summary
In existing technologies, bird-friendly planning for urban streetlights is inefficient, making it difficult to efficiently and accurately select suitable locations for artificial nesting, especially in large cities with a large number of streetlights, which consumes a lot of time and manpower.
By acquiring bird data using imaging equipment, streetlights that meet the criteria for site selection are identified. Combined with the pre-planned quantity from the management end, a supplementary or reduction planning mode is adopted to select suitable streetlights for artificial nesting, and the structural status of the nests is monitored through inspection equipment.
It enables efficient and accurate planning of bird-friendly streetlights, meeting the needs of management personnel while conforming to the habitat preferences of birds, making rational use of resources, ensuring the comfort of the bird habitat, and promptly addressing nest tilting issues.
Smart Images

Figure CN119294680B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to street lamp planning technology, in particular to a city street lamp bird-friendly design planning method and system. BACKGROUND
[0002] In the rapid urban construction, city managers begin to focus on how to integrate bird-friendly design into urban infrastructure to provide a safe and suitable habitat and breeding environment. Street lamps, as an important part of urban infrastructure, are widely distributed, easy to observe and manage, and become an important carrier of bird-friendly planning.
[0003] In the prior art, when planning a friendly city street lamp, it often relies on manual field investigation and site selection, which requires a lot of time and manpower. Especially in the case of large city size and large number of street lamps, the efficiency of this method is low, and the site selection result may not meet the actual habitat preference of birds.
[0004] Therefore, how to efficiently and accurately plan bird-friendly street lamps has become a problem to be solved. SUMMARY
[0005] The present application provides a city street lamp bird-friendly design planning method and system, which can efficiently and accurately plan bird-friendly street lamps.
[0006] In a first aspect of the present application, a city street lamp bird-friendly design planning method is provided, comprising:
[0007] Obtaining bird collection data of each monitoring street lamp based on a shooting device, and determining a to-be-screened street lamp that meets a friendly site selection condition according to the bird collection data;
[0008] Receiving a preset planning quantity input by a management end, and determining a positioning planning mode according to a comparison result of a screening quantity of the to-be-screened street lamp and the preset planning quantity;
[0009] Obtaining a planning path corresponding to the to-be-screened street lamp according to the positioning planning mode, determining a plurality of planning points on the planning path, and determining a planning street lamp in the planning path according to the planning points;
[0010] Obtaining inspection data of a structure of the planning street lamp shot by the shooting device based on a monitoring route, and determining a structure state corresponding to the structure according to the inspection data and sending the structure state to the management end.
[0011] Optionally, in a possible implementation manner of the first aspect, the bird collection data of each monitoring street lamp is obtained based on a shooting device, and the to-be-screened street lamp that meets the friendly site selection condition is determined according to the bird collection data, comprising:
[0012] acquiring, according to the shooting device, a bird staying time and a bird staying quantity corresponding to each of the monitoring street lamps in a preset time period;
[0013] acquiring a first offset weight corresponding to the bird staying time and a second offset weight corresponding to the bird staying quantity, and summing the first offset weight and the second offset weight to obtain a site selection weight of each of the monitoring street lamps;
[0014] determining that the monitoring street lamp whose site selection weight is greater than or equal to a weight threshold meets the friendly site selection condition, and determining the monitoring street lamp as a to-be-screened street lamp.
[0015] Optionally, in a possible implementation manner of the first aspect, according to the positioning planning mode, a planning path corresponding to the to-be-screened street lamp is acquired, a plurality of planning points on the planning path are determined, and a planning street lamp in the planning path is determined according to the planning points, including:
[0016] acquiring, based on a supplement planning mode, a first planning path corresponding to the to-be-screened street lamp, acquiring a planning proportion of the to-be-screened street lamp located at a road edge side of the first planning path, determining a plurality of the planning points according to the planning proportion and a preset planning quantity, and determining a monitoring street lamp meeting a planning range of the planning points as a planning street lamp;
[0017] acquiring, according to a reduction planning mode, a second planning path corresponding to the to-be-screened street lamp, screening the to-be-screened street lamp based on a current distance between a plurality of to-be-screened street lamps in the second planning path, and determining a to-be-screened street lamp meeting a planning distance condition as a planning street lamp;
[0018] The positioning planning mode includes a supplement planning mode and a reduction planning mode, the planning path includes a first planning path and a second planning path, the supplement planning mode is a positioning planning mode in which a screening quantity is less than a preset planning quantity, and the reduction planning mode is a positioning planning mode in which a screening quantity is greater than a preset planning quantity.
[0019] Optionally, in a possible implementation manner of the first aspect, based on a supplement planning mode, a first planning path corresponding to the to-be-screened street lamp is acquired, a planning proportion of the to-be-screened street lamp located at a road edge side of the first planning path is acquired, a plurality of the planning points are determined according to the planning proportion and a preset planning quantity, and a monitoring street lamp meeting a planning range of the planning points is determined as a planning street lamp, including:
[0020] a sub-screening quantity corresponding to the to-be-screened street lamp at two road edge sides in the first planning path is counted, and a planning proportion is obtained according to a ratio of the sub-screening quantity;
[0021] the preset planning quantity is divided according to the planning proportion, to obtain a planning expected quantity corresponding to each of the road edge sides;
[0022] determining the road side with a planned expected amount as a main side and determining the road side with a planned expected amount as a supplementary side;
[0023] dividing the length of the road on the main side by the planned expected amount to obtain a unit interval, and determining a plurality of planning points on the main side based on the unit interval;
[0024] obtaining monitoring lamps in a planning range of a planning point on the main side as planning lamps, updating the planned expected amount of the supplementary side based on an actual planning amount of the planning lamps on the main side to obtain a planning supplementary amount, and determining planning lamps corresponding to the supplementary side based on the planning supplementary amount.
[0025] Optionally, in a possible implementation manner of the first aspect, the obtaining of the monitoring lamps in the planning range of the planning point on the main side as the planning lamps, the updating of the planned expected amount of the supplementary side based on the actual planning amount of the planning lamps on the main side to obtain the planning supplementary amount, and the determining of the planning lamps corresponding to the supplementary side based on the planning supplementary amount include:
[0026] when the planned expected amount of the main side is less than the actual planning amount, obtaining an excess planning amount based on a difference between the actual planning amount and the planned expected amount, and subtracting the excess planning amount from the planned expected amount of the supplementary side to obtain the planning supplementary amount;
[0027] when the planned expected amount of the main side is greater than the actual planning amount, obtaining a planning amount to be supplemented based on a difference between the planned expected amount and the actual planning amount, and adding the planning amount to be supplemented to the planned expected amount of the supplementary side to obtain the planning supplementary amount;
[0028] obtaining a screening supplementary amount corresponding to the screening lamp on the supplementary side, and if the screening supplementary amount is greater than the planning supplementary amount, obtaining a first interval between each adjacent screening lamp on the supplementary side, and screening a plurality of screening lamps based on the first interval to obtain planning lamps;
[0029] if the screening supplementary amount is less than the planning supplementary amount, determining that each screening lamp on the supplementary side is a planning lamp, obtaining a second interval between adjacent planning lamps, and screening remaining monitoring lamps on the supplementary side based on the second interval to obtain planning lamps.
[0030] Optionally, in a possible implementation manner of the first aspect, if the screening supplementary amount is greater than the planning supplementary amount, the obtaining of the first interval between each adjacent screening lamp on the supplementary side and the screening of a plurality of screening lamps based on the first interval to obtain planning lamps include:
[0031] determining two farthest streetlamps in the supplement side as a screening start point and a screening end point respectively, and determining a direction from the screening start point to the screening end point as a planning direction;
[0032] selecting streetlamps adjacent to the supplement side as a first screening group according to the planning direction, and determining the streetlamps in the first screening group as planning streetlamps if a first interval of the first screening group is greater than or equal to a minimum interval threshold;
[0033] if the first interval of the first screening group is less than the minimum interval threshold, not selecting a streetlamp in a next iteration, and continuing to determine a streetlamp in a previous iteration and a streetlamp in a next iteration as a next first screening group;
[0034] repeating the steps of obtaining a first screening group and determining planning streetlamps according to the first screening group until a number of the planning streetlamps is equal to the planning supplement amount.
[0035] Optionally, in a possible implementation manner of the first aspect, if the supplement amount to be screened is less than the planning supplement amount, determining that all the streetlamps in the supplement side are planning streetlamps, obtaining a second interval between adjacent planning streetlamps, and screening the remaining monitoring streetlamps in the supplement side according to the second interval to obtain planning streetlamps, including:
[0036] determining two farthest streetlamps in the supplement side as a screening start point and a screening end point respectively, and determining a direction from the screening start point to the screening end point as a planning direction;
[0037] obtaining a total interval from the screening start point to the screening end point, subtracting a preset interval value from the planning supplement amount to obtain a target interval value, and obtaining a target interval according to a ratio of the total interval and the target interval value;
[0038] obtaining a second interval between adjacent planning streetlamps according to the planning direction, and determining a path segment between the adjacent planning streetlamps as a screening path segment when the second interval is greater than the target interval;
[0039] determining a plurality of sub-planning points on the screening path segment at intervals of the target interval according to the planning direction, and determining a monitoring streetlamp located in a planning range of the sub-planning point as a planning streetlamp;
[0040] counting a current planning amount of the planning streetlamps, and stopping obtaining of the planning streetlamps when the current planning amount is equal to the planning supplement amount.
[0041] Optionally, in a possible implementation manner of the first aspect, the second planning path corresponding to the to-be-screened street lamp is acquired according to the pruning planning mode, the to-be-screened street lamps are screened based on the current spacing of the to-be-screened street lamps in the second planning path, and the to-be-screened street lamp that meets the planning spacing condition is determined as the planning street lamp, including:
[0042] The to-be-screened street lamps adjacent to each other in two road edge sides of the second planning path are acquired as a same second screening group, the current spacing of the to-be-screened street lamps adjacent to each other in the second screening group is acquired, and the second screening group with the minimum current spacing is determined as a target screening group;
[0043] The to-be-screened street lamps farthest from each other in each of the road edge sides are determined as a planning starting point and a planning ending point respectively, and the direction from the planning starting point to the planning ending point is determined as a planning direction;
[0044] The to-be-screened street lamp located in the planning direction and subsequent to the to-be-screened street lamp in the target screening group is removed, and the current screening quantity of the to-be-screened street lamps after update is counted;
[0045] When the current screening quantity is greater than the expected planning quantity, a plurality of second screening groups are re-acquired according to the to-be-screened street lamps after update;
[0046] The step of removing the to-be-screened street lamps according to the second screening group is repeatedly continued until the current screening quantity is equal to the expected planning quantity, the remaining to-be-screened street lamps that meet the planning spacing condition are determined, and the to-be-screened street lamps are determined as the planning street lamps.
[0047] Optionally, in a possible implementation manner of the first aspect, the inspection data of the structure of the planning street lamp captured by the shooting device based on the monitoring route is acquired, and the structure state corresponding to the structure is determined according to the inspection data and sent to the management end, including:
[0048] A current shooting time of the shooting device is determined, and a shooting mode of the shooting device is determined according to the current shooting time, the shooting mode including a night shooting mode and a normal mode;
[0049] The shooting mode is started, the shooting device is controlled to go to the monitoring point corresponding to the planning street lamp based on the monitoring route to perform image shooting, and the inspection data corresponding to the structure is obtained;
[0050] A marker pixel value is determined according to the shooting mode, a marker pixel point in the inspection data located at the marker pixel value is extracted as a marker pixel point, and a marker strip contour is obtained according to adjacent marker pixel points;
[0051] A contour center line of the marker strip contour is acquired, and an inclination of the marker strip contour is determined according to the slope of the contour center line, the marker strip contour being a long strip contour;
[0052] determine the structure state of the structure as a normal state when the inclination is less than an inclination threshold, determine the structure state of the structure as an abnormal state when the inclination is greater than or equal to the inclination threshold, and send the structure state to the management end.
[0053] In a second aspect, the present application provides a city street lamp bird-friendly design planning system, comprising:
[0054] An acquisition module is configured to acquire bird collection data of each monitoring street lamp based on a shooting device, and determine a to-be-screened street lamp that meets a friendly site selection condition according to the bird collection data.
[0055] A receiving module is configured to receive a preset planning quantity input by a management end, and determine a positioning planning mode according to a comparison result of a screening quantity of the to-be-screened street lamp and the preset planning quantity.
[0056] A determination module is configured to acquire a planning path corresponding to the to-be-screened street lamp according to the positioning planning mode, determine a plurality of planning points on the planning path, and determine a planning street lamp in the planning path according to the planning points.
[0057] An inspection module is configured to acquire inspection data of a structure of the planning street lamp shot by a shooting device based on a monitoring route, and send a structure state corresponding to the structure to a management end according to the inspection data.
[0058] The present application has the following advantages:
[0059] 1、The present application can plan the number and position of street lamps that can be artificially nested by combining the actual habitat habits of birds and the actual preset planning quantity of management personnel, so that artificial nesting can be performed on street lamps where birds stay for a long time, thereby providing a comfortable habitat environment for birds.
[0060] 2、The present application can flexibly adjust the positioning planning mode of the artificial nest of the street lamp according to the preset planning quantity input by the manager combined with the actual demand, can ensure that the planning process matches the planning demand of the manager, in the supplement planning mode, when the number of the to-be-screened street lamp is insufficient, more suitable street lamps can be effectively screened from the remaining monitoring street lamps for artificial nesting, so that the planning demand of the manager can be met, and the number difference of the to-be-screened street lamps on both sides of the road can be combined, the preset planning quantity can be reasonably distributed through the planning proportion, so that the rational use of street lamp resources can be ensured, the planning is carried out on the side with large planning expected amount first, and then the supplement side is supplemented, so that the finally determined planning street lamp can be the street lamp with longer bird staying time, so that the resources can be fully utilized.
[0061] 3、In the present application, in the reduction planning mode, the to-be-screened street lamps can be screened again according to the distance between the to-be-screened street lamps, so that the number of the finally selected planning street lamps can meet the preset planning quantity of the manager, and the waste of resources can be avoided. After the installation of the artificial nest is completed, the present application can construct a corresponding monitoring route for the shooting device according to the planning street lamp, and according to the corresponding monitoring route, the artificial bird nest on the planning street lamp is inspected every certain period of time, so that corresponding measures can be taken in time when the bird nest is inclined. BRIEF DESCRIPTION OF DRAWINGS
[0062] Figure 1 It is the flowchart of the automatic identification method of the tax-free equipment provided by the embodiment of the present application;
[0063] Figure 2 It is the schematic diagram for determining the first screening group provided by the embodiment of the present application;
[0064] Figure 3 It is the schematic diagram for determining the screening path segment provided by the embodiment of the present application;
[0065] Figure 4 It is the structural schematic diagram of the carton production data processing system provided by the embodiment of the present application. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0067] The technical solutions of the present application will be described in detail below with specific examples. The following specific examples can be combined with each other, and the same or similar concepts or processes may not be described in detail in some examples.
[0068] Referring to Figure 1 , a city street lamp bird-friendly design planning method schematic diagram provided by an embodiment of the present application, Figure 1 The execution subject of the method shown can be a software and / or hardware device. The execution subject of the present application can include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, the user equipment can include but is not limited to computers, smart phones, personal digital assistants (Personal Digital Assistant, abbreviated as: PDA) and the above-mentioned electronic devices, etc. The network equipment can include but is not limited to a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of computers or network servers based on cloud computing, wherein cloud computing is a kind of distributed computing, which is a super virtual computer composed of a loose coupling computer group. This embodiment does not make any limitation. Including steps S1 to S4, as follows:
[0069] S1, based on the shooting device, acquire the bird collection data of each monitoring street lamp, and determine the to-be-screened street lamp meeting the friendly site selection condition according to the bird collection data.
[0070] Among them, the shooting device refers to a device that can collect images of birds resting on street lamps, for example, it can be a drone, the monitoring street lamp refers to a street lamp that monitors the activity of birds, which can be the street lamp on both sides of the road, through the monitoring street lamp, the activity of the birds can be reflected, the bird collection data refers to the data obtained by the shooting device collecting images of birds resting on street lamps, including the number of birds, the resting time, etc., the friendly site selection condition refers to a large number of birds and a long resting time, and the to-be-screened street lamp refers to a monitoring street lamp with a large number of birds and a long resting time.
[0071] In actual application, by installing bird nests on street lamps, a stable and safe habitat can be provided for birds, especially in urban environment, artificial nesting is particularly important. The present scheme can reasonably plan the number and position of artificial nesting street lamps by combining the actual habitat of birds and the actual planning quantity of management personnel, so as to provide a safe and comfortable habitat for birds.
[0072] It can be understood that since the number of street lamps for artificial nesting planned by the management personnel is limited, in order to reasonably plan the position of bird-friendly street lamps, the planning can be combined with the resting condition and the number of birds, and the street lamps with a long resting time and a large number of birds are selected for artificial nesting.
[0073] Specifically, the shooting device such as a drone can be controlled to periodically monitor each street lamp on both sides of the road, periodically collect video data of the activities of birds on the street lamp, and obtain 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 lamp with a longer bird stay time and a larger number of birds meets the friendly site selection condition, and the corresponding street lamp can be determined as a to-be-screened street lamp. Subsequently, the street lamp suitable for installing an artificial bird nest can be further screened in combination with the needs of the management personnel.
[0074] In some embodiments, the specific implementation of step S1 can be:
[0075] S11, obtaining, according to the shooting device, bird stay time and bird stay quantity corresponding to each monitoring street lamp in a preset time period.
[0076] Specifically, in order to comprehensively monitor the activities of birds at different time periods, a plurality of time periods can be preset for video collection. For example, the shooting device can be controlled to shoot each monitoring street lamp in the time period of 8:00-9:00 am, 12:00-13:00 pm and 17:00-18:00 pm. According to the shot video data, the stay time and the stay quantity of the birds on each monitoring street lamp in the preset time period are counted, so as to obtain the bird stay time and the bird stay quantity corresponding to each monitoring street lamp.
[0077] Among them, the preset time period refers to the time period for monitoring the activities of birds on the monitoring street lamp, the bird stay time refers to the time period for the birds to stay on the monitoring street lamp, and the bird stay quantity refers to the number of birds staying on the monitoring street lamp.
[0078] S12, obtaining a first offset weight corresponding to the bird stay time and a second offset weight corresponding to the bird stay quantity, and summing the first offset weight and the second offset weight to obtain a site selection weight of each monitoring street lamp.
[0079] Specifically, a weight corresponding table can be called out, and the weight corresponding table includes a plurality of time interval and a plurality of quantity interval. Each time interval has a corresponding first preset weight, and each quantity interval has a corresponding second preset weight. The weight corresponding table can be traversed according to the bird staying time corresponding to each monitoring lamp to determine the time interval in which the bird staying time is located, and the first preset weight corresponding to the interval is obtained. The obtained first preset weight can be determined as the first offset weight corresponding to the bird staying time. The first offset weight can reflect the persistence of the bird staying on the lamp. The longer the staying time is, the higher the first offset weight can be. The weight corresponding table can be traversed according to the bird staying quantity corresponding to each monitoring lamp to determine the quantity interval in which the bird staying quantity is located, 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 bird staying quantity. The second offset weight can reflect the preference degree of the bird to the lamp. The more the bird staying quantity is, the higher the second offset weight can be. The site selection weight corresponding to each monitoring lamp can be obtained by adding the first offset weight and the second offset weight. The site selection weight comprehensively considers the information of the bird staying time and quantity, and can be used to evaluate the suitability of the lamp as an artificial nesting site. The monitoring lamp with a larger site selection weight is more preferred by the bird to stay on, and in the subsequent planning process, the lamp with a higher site selection weight can be preferentially considered for artificial nesting.
[0080] The first offset weight can reflect the persistence of the bird staying on the corresponding monitoring lamp, and the second offset weight can be used to reflect the preference degree of the bird to the corresponding lamp. The site selection weight is a weight that can be used to evaluate the suitability of the monitoring lamp as an artificial nesting site.
[0081] S13, determining that the monitoring lamp with the site selection weight greater than or equal to the weight threshold value meets the friendly site selection condition, and determining the monitoring lamp as a to-be-screened lamp.
[0082] Specifically, a weight threshold value can be preset to screen the monitoring lamp meeting the friendly site selection condition. The site selection weight of each monitoring lamp is compared with the weight threshold value. If the site selection weight is greater than or equal to the weight threshold value, it is considered that the monitoring lamp meets the friendly site selection condition, and the monitoring lamp can be determined as a to-be-screened lamp. The to-be-screened lamp can be screened again in the subsequent process to screen the lamp more in line with the bird habitat preference for artificial nesting. The weight threshold value is a weight value that can be used to screen the monitoring lamp meeting the friendly site selection condition.
[0083] Through the above implementation manner, the lamp with a longer bird staying time and a larger bird staying quantity can be accurately identified.
[0084] S2, receiving a preset planning quantity input by the management end, and determining a positioning planning mode according to a comparison result of the screening quantity of the to-be-screened street lamp and the preset planning quantity.
[0085] The management end refers to a terminal held by a management personnel who plans the artificial nesting of the street lamp, for example, a computer. The preset planning quantity refers to the number of street lamps planned for artificial nesting by the management personnel according to actual needs. The positioning planning mode refers to a mode of planning the artificial nesting of the street lamp.
[0086] In actual application, the management end can pre-configure the number of street lamps planned for artificial nesting according to actual needs, and the number may not be consistent with the number of to-be-screened street lamps meeting the friendly site selection condition. For example, the number of street lamps planned for artificial nesting configured by the management personnel may be less than or greater than the number of to-be-screened street lamps. In this case, the to-be-screened street lamps that can be artificially nested can be planned according to the number of street lamps planned for artificial nesting pre-configured by the management end.
[0087] Specifically, the number of to-be-screened street lamps meeting the friendly screening condition can be counted, and the screening quantity corresponding to the to-be-screened street lamps can be obtained. The preset planning quantity is compared with the screening quantity, and the positioning planning mode of the subsequent street lamp for artificial nesting is determined according to the comparison result. The comparison result is different, and the corresponding positioning planning mode is also different. If the screening quantity is greater than the preset planning quantity, it means that the number of screened street lamps is greater than the number of street lamps required by the management personnel, and the excess to-be-screened street lamps can be reduced. If the screening quantity is less than the preset planning quantity, it means that the number of screened street lamps cannot meet the artificial nesting needs of the management personnel, and the street lamps suitable for nesting can be selected from the remaining monitoring street lamps to supplement, so as to meet the preset planning quantity input by the management personnel.
[0088] Through the above implementation, it can be ensured that the planning process matches the preset planning quantity input by the management personnel.
[0089] S3, obtaining a planning path corresponding to the to-be-screened street lamp according to the positioning planning mode, determining a plurality of planning points on the planning path, and determining a planning street lamp in the planning path according to the planning point.
[0090] The planning path refers to a road section where the to-be-screened street lamp is located. The planning point refers to a best place for artificial nesting. The planning street lamp refers to a street lamp that can be artificially nested.
[0091] In actual application, there are many monitoring street lamps, but the planning number of the street lamps for artificial nest building is limited. In order to ensure that the distances between the street lamps for artificial nest building are optimal and the street lamps for artificial nest building can be distributed as evenly as possible on the corresponding path, a plurality of planning points can be determined on the road section where the to-be-screened street lamps are located in a fixed interval distance, and a plurality of street lamps for artificial nest building with optimal interval distance can be determined according to the plurality of planning points.
[0092] Specifically, the road section where the to-be-screened street lamps are located, i.e., the planning path, can be acquired according to the corresponding positioning planning mode. The planning path is usually an area where birds often stay or move, and is also the best path for artificial nest building. A plurality of planning points can be determined on the planning path in a fixed interval distance. These planning points can represent the best artificial nest building positions. If there is a corresponding monitoring street lamp in the corresponding range near the planning point, the corresponding monitoring street lamp can be determined as the corresponding planning street lamp. Therefore, a plurality of planning street lamps in the planning path can be determined according to the planning points.
[0093] The specific implementation mode of step S3 on the basis of the above embodiment can be:
[0094] S31, acquiring a first planning path corresponding to the to-be-screened street lamp based on the complement planning mode, acquiring a planning proportion of the to-be-screened street lamp located on the road side of the first planning path, determining a plurality of planning points according to the planning proportion and a preset planning number, and determining a monitoring street lamp that meets a planning range of the planning point as a planning street lamp.
[0095] The complement 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 a planning path corresponding to the to-be-screened street lamp in the complement planning mode. The planning proportion refers to a ratio between the numbers of the to-be-screened street lamps on the two sides of the road of the first planning path. The planning range refers to a range that can be used to determine a planning street lamp.
[0096] In actual application, if the screening number corresponding to the to-be-screened street lamp is less than the preset planning number, it indicates that the number of the screened street lamps for artificial nest building is difficult to meet the planning demand of the management personnel. At this time, in order to meet the planning demand of the management personnel, the complement planning mode can be used, i.e., more street lamps for artificial nest building can be found from the remaining monitoring street lamps. Since birds often stay on the to-be-screened street lamps, if there are more to-be-screened street lamps on one side of the road, it can be considered that the birds often stay on this side of the road, and this side of the road can be more friendly to the birds. Therefore, when complementing, the side of the road with more to-be-screened street lamps can be planned first, and the side of the road with fewer to-be-screened street lamps can be supplemented, so that the street lamps for artificial nest building can be ensured to be the street lamps on which the birds stay for a longer time as much as possible.
[0097] Specifically, in the filling planning mode, a planning path corresponding to the to-be-screened street lamp, i.e., a first planning path, can be obtained. Since the to-be-screened street lamp is located on both sides of the planning path, and the number of to-be-screened street lamps on both sides of the road can be different, a corresponding planning proportion can be obtained according to the number of to-be-screened street lamps on each side of the road. According to the planning proportion and the preset planning number, a plurality of planning points can be determined at the same interval on both sides of the road, and the monitoring street lamps within a certain range near the planning points can be determined as the planning street lamps.
[0098] In some embodiments, the specific implementation of step S31 can be:
[0099] S311, the number of to-be-screened street lamps on both sides of the road in the first planning path is counted, and a planning proportion is obtained according to the ratio of the number of to-be-screened street lamps on both sides of the road.
[0100] Specifically, the number of to-be-screened street lamps on both sides of the road in the first planning path can be counted to obtain the number of to-be-screened street lamps on each side of the road. By calculating the ratio of the number of to-be-screened street lamps on each side of the road, a corresponding planning proportion can be obtained. For example, for road side 1 and road side 2 corresponding to the first planning path, the number of to-be-screened street lamps on road side 1 is 24, and the number of to-be-screened street lamps on road side 2 is 16. Then, the planning proportion corresponding to road side 1 and road side 2 is 3:2. Wherein, the number of to-be-screened street lamps on each side of the road refers to the number of to-be-screened street lamps on each side of the road.
[0101] S312, the preset planning number is divided according to the planning proportion, to obtain a planning expected number corresponding to each side of the road.
[0102] Specifically, the preset planning number can be divided according to the planning proportion to obtain a planning expected number corresponding to each side of the road. For example, when the planning proportion corresponding to road side 1 and road side 2 is 3:2, and the preset planning number is 50, the planning expected number corresponding to road side 1 is 30, and the planning expected number corresponding to road side 1 is 20. Wherein, the planning expected number refers to the planning number of artificial nesting street lamps corresponding to each side of the road.
[0103] S313, determining the road side with a larger planning expected number as a side emphasis side, and determining the road side with a smaller planning expected number as a supplement side.
[0104] Wherein, the side emphasis side refers to the road side with a larger planning expected number, and the supplement side refers to the road side with a smaller planning expected number.
[0105] Specifically, if the environment near the streetlight on one side is more suitable for bird activities, for example, there are trees, shrubs or grasslands, etc., the road side may attract more birds, most birds may often inhabit the road side, and the corresponding number of road lights to be screened on the road side may be more, and the corresponding planning expected amount may be larger, so the road lights on the side with more birds may be preferentially planned for artificial nesting, and the number of road lights planned for artificial nesting on the side with more birds is updated after the corresponding planning expected amount of the complementary side is updated, and then the complementary planning is performed, so that the existing resources of road lights to be screened can be effectively utilized, and it can be ensured that the road lights for artificial nesting are the road lights where birds often inhabit.
[0106] S314, the road length on the side with more birds is evenly divided according to the planning expected amount to obtain a unit interval, and a plurality of planning points are determined on the side with more birds based on the unit interval.
[0107] In the planning of the road lights for artificial nesting on the side with more birds, in the complementary planning mode, the number of road lights to be screened on the side with more birds is less than the corresponding planning expected amount of the road side, and if only the road lights to be screened are selected for artificial nesting, the planning demand of the management personnel may not be met, and appropriate road lights can be selected from the remaining monitoring road lights for complementary planning, and since the side with more birds is the road side where most birds stay for a long time, the road lights on the side with more birds can be used for planning of the road lights for artificial nesting.
[0108] Specifically, the extension direction of the planning path can be obtained, and the first road light to be screened and the last road light to be screened on the side with more birds in the extension direction of the planning path can be obtained. The road length corresponding to the planning path on the side with more birds can be obtained, and the road length can be evenly divided by ratio calculation of the road length and the planning expected amount corresponding to the side with more birds to obtain a corresponding unit interval. In the extension direction of the planning path, a planning point is determined every unit interval starting from the first road light to be screened, and a plurality of planning points can be determined on the side with more birds.
[0109] The road length refers to the length of the side with more birds corresponding to the first planning path, and the unit interval refers to the interval distance obtained by evenly dividing the road length according to the planning expected amount corresponding to the side with more birds.
[0110] S315, the monitoring road lights in the planning range of the planning point in the side with more birds are obtained as planning road lights, the planning expected amount of the complementary side is updated to obtain a planning complementary amount according to the actual planning amount of the planning road lights on the side with more birds, and the corresponding planning road lights of the complementary side are determined according to the planning complementary amount.
[0111] Specifically, since the position corresponding to the determined planning point can not be the position of the monitoring street lamp, after obtaining a plurality of planning points, a circumferential range can be determined according to a preconfigured radius with each planning point as the center, and the corresponding circumferential range can be determined as the planning range corresponding to each planning point. If the monitoring street lamp is traversed in the planning range, the corresponding monitoring street lamp can be determined as the planning street lamp, so that a plurality of planning street lamps with uniform distribution of positions can be determined on the side edge, and the number of planning street lamps corresponding to the side edge is counted, that is, the actual planning amount. Since the actual planning amount can not be equal to the planning amount corresponding to the side edge, the actual planning amount can be less than the planning amount corresponding to the side edge, or can be greater than the planning amount corresponding to the side edge. In order to ensure that the total planning amount of both sides of the road is equal to the preset planning amount required by the management personnel, the planning amount corresponding to the supplement edge can be updated according to the actual planning amount corresponding to the side edge, to obtain the number of planning street lamps that need to be supplemented and determined on the supplement edge, that is, the planning supplement amount, and according to the planning supplement amount, a corresponding number of planning street lamps can be determined on the supplement edge.
[0112] Among them, the planning range refers to the range near the planning point that can be used to determine the planning street lamp, the actual planning amount refers to the number of planning street lamps determined on the side edge, and the planning supplement amount refers to the number of planning street lamps that need to be supplemented and determined on the supplement edge.
[0113] Through the above implementation manner, the efficiency and accuracy of planning can be improved, and it can be ensured that the planning street lamps are uniformly distributed on the planning path to meet the needs of birds to inhabit.
[0114] In some embodiments, the specific implementation manner of step S315 can be:
[0115] S3151, when the planning amount of the side edge is less than the actual planning amount, the excess planning amount is obtained according to the difference between the actual planning amount and the planning amount, and the planning supplement amount is obtained by subtracting the excess planning amount from the planning amount of the supplement edge.
[0116] Specifically, if the planning amount of the side edge is less than the actual planning amount, it can be considered that the number of monitoring street lamps actually determined on the side edge exceeds the number of planning street lamps on the side edge. By subtracting the planning amount from the actual planning amount, the excess amount, that is, the excess planning amount, can be obtained. In order to ensure that the total number of planning street lamps actually determined does not exceed the number of planning street lamps required by the management personnel, the planning amount corresponding to the supplement edge can be subtracted from the excess planning amount to obtain the number of planning street lamps that need to be determined on the supplement edge, that is, the planning supplement amount.
[0117] The excess planning quantity refers to the number of the monitoring street lamps determined on the side of emphasis exceeding the corresponding planning expected quantity.
[0118] S3152, when the planning expected quantity on the side of emphasis is greater than the actual planning quantity, obtaining a to-be-supplemented planning quantity according to the difference between the planning expected quantity and the actual planning quantity, and obtaining a planning supplemented quantity according to the planning expected quantity on the side of supplementation plus the to-be-supplemented planning quantity.
[0119] Specifically, if the planning expected quantity on the side of emphasis is greater than the actual planning quantity, it can be considered that the number of the monitoring street lamps determined on the side of emphasis cannot meet the corresponding planning quantity on the side of emphasis, at this time, the street lamps on the side of supplementation can be supplemented and determined, by subtracting the actual planning quantity from the planning expected quantity, the number of the missing street lamps, i.e., the to-be-supplemented planning quantity, can be obtained, in order to ensure that the total number of the determined planning street lamps can meet the number of the planning street lamps required by the management personnel, the planning expected quantity corresponding to the side of supplementation can be added to the to-be-supplemented planning quantity, to obtain the number of the planning street lamps to be determined on the side of supplementation, i.e., the planning supplemented quantity, at this time, the side of supplementation can select the street lamps for manual nesting from the remaining monitoring street lamps.
[0120] The to-be-supplemented planning quantity refers to the number of the planning street lamps to be added on the basis of the original planning expected quantity on the side of supplementation.
[0121] S3153, obtaining a to-be-screened supplemented quantity corresponding to the to-be-screened street lamp on the side of supplementation, if the to-be-screened supplemented quantity is greater than the planning supplemented quantity, obtaining a first interval of each adjacent to-be-screened street lamp on the side of supplementation, and screening a plurality of to-be-screened street lamps according to the first interval to obtain a planning street lamp.
[0122] After obtaining the planning supplemented quantity corresponding to the side of supplementation, the planning supplemented quantity can be inconsistent with the number of the to-be-screened street lamps on the side of supplementation, the planning supplemented quantity can be greater than the number of the to-be-screened street lamps on the side of supplementation, or the planning supplemented quantity can be less than the number of the to-be-screened street lamps on the side of supplementation, if the number of the to-be-screened street lamps on the side of supplementation is greater than the planning supplemented quantity, it indicates that there are enough to-be-screened street lamps on the side of supplementation to be determined as the planning street lamps, at this time, the planning street lamps of the planning supplemented quantity can be screened from the plurality of to-be-screened street lamps on the side of supplementation.
[0123] Specifically, the number of to-be-screened street lamps in the supplement side, i.e., a to-be-screened supplement amount, can be obtained. If the to-be-screened supplement amount is greater than the planned supplement amount, in order to ensure that the interval distance between the obtained planned street lamps is optimal, the interval distance between adjacent to-be-screened street lamps, i.e., a first interval distance, can be obtained. The to-be-screened street lamps are screened according to the first interval distance, and corresponding planned street lamps are obtained. For example, if the interval distance between adjacent to-be-screened street lamps is too close, at this time, nest building can not be performed on both of the two to-be-screened street lamps that are too close. One of the two to-be-screened street lamps can be selected as a planned street lamp for manual nest building.
[0124] In the formula, the to-be-screened supplement amount refers to the number of to-be-screened street lamps in the supplement side, and the first interval distance refers to the interval distance between adjacent to-be-screened street lamps.
[0125] In some embodiments, the step "if the to-be-screened supplement amount is greater than the planned supplement amount, a first interval distance between each adjacent to-be-screened street lamp in the supplement side is obtained, and the to-be-screened street lamps are screened according to the first interval distance to obtain planned street lamps" in step S3153 includes the following steps:
[0126] S31531, determining that the two to-be-screened street lamps farthest from each other in the supplement side are a screening starting point and a screening ending point, respectively, and determining that the direction from the screening starting point to the screening ending point is a planning direction.
[0127] Specifically, the two to-be-screened street lamps farthest from each other in the supplement side can be determined. One of the two to-be-screened street lamps is determined as the screening starting point, and the other to-be-screened street lamp is determined as the screening ending point. The direction from the screening starting point to the screening ending point can be determined as the planning direction.
[0128] In the formula, the screening starting point refers to the starting point when the to-be-screened street lamps are screened again, the screening ending point refers to the termination point when the to-be-screened street lamps are screened, and the planning direction refers to the direction when the to-be-screened street lamps are screened.
[0129] S31532, according to the planning direction, adjacent to-be-screened street lamps in the supplement side are sequentially selected as a first screening group, and if the first interval distance of the first screening group is greater than or equal to a minimum interval threshold, the to-be-screened street lamps in the first screening group are determined as planned street lamps.
[0130] Specifically, after the planning direction is determined, adjacent to-be-screened street lamps in the supplement side are sequentially selected as a first screening group in the planning direction. The first interval distance between the to-be-screened street lamps in the first screening group is obtained. If the first interval distance is greater than or equal to the minimum interval threshold, it can be considered that the distance between the to-be-screened street lamps in the first screening group is not very close. Manual nest building can be performed on both of the corresponding to-be-screened street lamps. Therefore, the to-be-screened street lamps in the corresponding first screening group can be determined as planned street lamps.
[0131] The first screening group refers to a group that can perform re-screening on the to-be-screened street lamps, and the minimum distance threshold refers to a distance threshold that can be used to determine whether the distance between the to-be-screened street lamps is too close. If the first distance is greater than or equal to the minimum distance threshold, it can be considered that the distance between the to-be-screened street lamps in the first screening group is not too close, and if the first distance is less than the minimum distance threshold, it can be considered that the distance between the to-be-screened street lamps in the first screening group is too close.
[0132] S31533, if the first distance of the first screening group is less than the minimum distance threshold, the last to-be-screened street lamp in the last iteration is not selected, and the previous to-be-screened street lamp and the to-be-screened street lamp in the next iteration are determined as the next first screening group.
[0133] Specifically, if the first distance corresponding to the to-be-screened street lamps in the first screening group is less than the minimum distance threshold, it can be considered that the distance between the to-be-screened street lamps in the first screening group is too close. At this time, in order to be able to re-screen the to-be-screened street lamps on the supplementary side in turn, the last to-be-screened street lamp in the first screening group can be removed, and the removed to-be-screened street lamp can not be selected when determining the planned street lamp, and then the previous to-be-screened street lamp and the to-be-screened street lamp in the next iteration are determined as the next first screening group.
[0134] Referring to Figure 2 A schematic diagram for determining the first screening group is provided for the embodiment of the application, as shown in Figure 2 As to-be-screened street lamp 1 and to-be-screened street lamp 4 are the two to-be-screened street lamps farthest apart on the supplementary side, to-be-screened street lamp 1 can be determined as the screening starting point, to-be-screened street lamp 4 can be determined as the screening ending point, and the direction from the screening starting point to the screening ending point can be determined as the planning direction. On the planning direction, from the screening starting point, to-be-screened street lamp 1 and to-be-screened street lamp 2 can be determined as the first screening group. When the distance between to-be-screened street lamp 1 and to-be-screened street lamp 2 is too close, i.e., the corresponding first distance is less than the minimum distance threshold, since to-be-screened street lamp 1 is the first to-be-screened street lamp to be iterated, to-be-screened street lamp 2 is the last to-be-screened street lamp to be iterated, and therefore to-be-screened street lamp 2 can not be selected when determining the planned street lamp. Since to-be-screened street lamp 3 will be iterated in the next iteration, to-be-screened street lamp 1 and to-be-screened street lamp 3 can be determined as the next first screening group.
[0135] S31534, repeating the steps of obtaining the first screening group and determining the planned street lamp according to the first screening group until the number of the planned street lamps is equal to the planning supplementary amount.
[0136] Specifically, after obtaining the next first screening group, it can be judged that the corresponding first interval, if the first interval is greater than or equal to the minimum interval threshold, the corresponding to-be-screened street lamp can be determined as a planning street lamp, if the first interval is less than the minimum interval threshold, the same can be determined when the planning street lamp is determined, and the last to-be-screened street lamp in the first screening group is not selected, and the step of repeatedly determining the to-be-screened street lamp and the next to-be-screened street lamp as a new first screening group is continued, and the step of determining the planning street lamp according to the first screening group is repeated until the number of determined planning street lamps is equal to the planning supplement amount, and the step of determining the planning street lamp is stopped.
[0137] S3154, if the to-be-screened supplement amount is less than the planning supplement amount, determining that each to-be-screened street lamp in the supplement side is a planning street lamp, obtaining a second interval between adjacent planning street lamps, and screening the remaining monitoring street lamps in the supplement side according to the second interval to obtain planning street lamps.
[0138] If the to-be-screened supplement amount is less than the planning supplement amount, it means that the number of to-be-screened street lamps on the supplement side cannot meet the number of planning street lamps that need to be supplemented and determined, at this time, the remaining monitoring street lamps on the supplement side may need to be screened to screen out corresponding planning street lamps. Specifically, all to-be-screened street lamps in the supplement side can be determined as planning street lamps, and then the interval distance between adjacent planning street lamps, that is, the second interval, can be obtained, and the remaining monitoring street lamps in the supplement side can be screened according to the second interval, so that a plurality of planning street lamps arranged relatively uniformly can be obtained. The second interval refers to the interval distance between adjacent planning street lamps.
[0139] The specific implementation mode of step S3154 on the basis of the above embodiment can be:
[0140] S31541, determining that the two to-be-screened street lamps farthest from the supplement side are a screening starting point and a screening ending point respectively, and determining that the direction from the screening starting point to the screening ending point is a planning direction.
[0141] Specifically, on the supplement side, the two to-be-screened street lamps farthest apart are determined, one of the to-be-screened street lamps is determined as a screening starting point, and the other to-be-screened street lamp is determined as a screening ending point. The direction from the screening starting point to the screening ending point is determined as a planning direction.
[0142] S31542, obtaining the total interval from the screening starting point to the screening ending point, subtracting a preset interval value from the planning supplement amount to obtain a target interval value, and obtaining a target interval according to the ratio of the total interval to the target interval value.
[0143] The total interval refers to the interval distance between the screening starting point and the screening ending point, the preset interval value is 1, the target interval value refers to the value obtained by subtracting 1 from the planning supplement amount, and the target interval refers to the interval obtained by equally dividing the total interval according to the target interval value.
[0144] Specifically, in the planning direction, the interval distance between the screening starting point and the screening ending point, that is, the total interval, can be obtained, and by subtracting the preset interval value from the planning supplement amount corresponding to the supplement side, the corresponding target interval value can be obtained. By ratio calculation of the total interval and the target interval value, the distance of each segment after equal division of the total interval, that is, the target interval, can be obtained.
[0145] S31543, sequentially obtain a second interval between adjacent planning street lamps based on the planning direction, and when the second interval is greater than the target interval, determine that a path segment between the adjacent planning street lamps is a screening path segment.
[0146] Specifically, in the planning direction, the second interval between adjacent planning street lamps is sequentially obtained, and if the second interval is greater than the target interval, the path segment between the adjacent planning street lamps can be determined as a screening path segment, which can be used for screening the remaining monitoring street lamps.
[0147] The screening path segment refers to a path segment that can screen the remaining monitoring street lamps on the supplement side.
[0148] S31544, determine a plurality of sub-planning points on the screening path segment at intervals of the target interval according to the planning direction, and determine the monitoring street lamps located in the planning range of the sub-planning point as planning street lamps.
[0149] Specifically, in the planning direction, starting from the first planning street lamp corresponding to the planning path segment, a sub-planning point can be determined every target interval, a plurality of sub-planning points can be obtained on the screening path segment, and if a monitoring street lamp is traversed in the planning range corresponding to the sub-planning point, the corresponding monitoring street lamp can be determined as a planning street lamp, and a plurality of planning street lamps with uniform distribution of positions can be determined on the supplement side.
[0150] Referring to Figure 3 A schematic diagram for determining a screening path segment is provided for the embodiment of the present application, as shown in Figure 3 In the planning direction, the second interval between the planning street lamp 1 and the planning street lamp 2 can be obtained, and if the second interval is greater than the target interval, the path segment between the planning street lamp 1 and the planning street lamp 2 can be determined as a screening path segment. Starting from the position point corresponding to the planning street lamp 1 on the screening path segment, a sub-planning point can be determined every target interval, and a plurality of sub-planning points can be obtained. From the position point corresponding to the planning street lamp 1, the position point corresponding to the planning street lamp 2 can be determined as a sub-planning point, and the position point corresponding to the planning street lamp 3 can be determined as another sub-planning point. Figure 3As can be seen, the monitoring street lamp 1 is close to the sub-planning point 1 and can be located in the planning range corresponding to the sub-planning point 1, so the monitoring street lamp 1 can be determined as a planning street lamp. The monitoring street lamp 2 is close to the sub-planning point 2 and can be located in the planning range corresponding to the sub-planning point 2, so the monitoring street lamp 2 can also be determined as a planning street lamp. Since the monitoring street lamp 3 is relatively far away from the sub-planning point 3 and can not be located in the planning range corresponding to the sub-planning point 3, the monitoring street lamp 3 cannot be determined as a planning street lamp.
[0151] S31545, statistics of the current planning amount of the planning street lamp, until the current planning amount is equal to the planning supplement amount, stop acquiring the planning street lamp.
[0152] Specifically, when determining the planning street lamp, the number of currently determined planning street lamps, i.e., the current planning amount, can be counted in real time. If the current planning amount is equal to the planning supplement amount, the acquisition of the planning street lamp can be stopped at this time. The current planning amount refers to the number of currently determined planning street lamps.
[0153] Through the above implementation, the planning supplement amount of the supplement side can be accurately adjusted, the total number of planning street lamps is ensured to meet the preset planning amount, and waste or shortage of resources is avoided.
[0154] S32, according to the reduction planning mode, acquiring the second planning path corresponding to the to-be-screened street lamp, screening the to-be-screened street lamp based on the current distance between the plurality of to-be-screened street lamps in the second planning path, and determining the to-be-screened street lamp meeting the planning distance condition as a planning street lamp.
[0155] The positioning planning mode includes a supplement planning mode and a reduction planning mode, and the planning path includes a first planning path and a second planning path. The supplement planning mode is a positioning planning mode with a screening number less than a preset planning number, and the reduction planning mode is a positioning planning mode with a screening number greater than the preset planning number.
[0156] In actual application, if the screening number is greater than the preset planning number, it can be considered that the number of screened street lamps capable of artificial nesting is greater than the number of planning street lamps required by the management personnel. At this time, the reduction planning mode can be used to reduce the excess to-be-screened street lamps. Since the number of planning street lamps for artificial nesting planned by the management personnel is limited, in order to reasonably plan the site selection position of the bird-friendly street lamp and ensure that the distance between the planning street lamps for artificial nesting is optimal, when the to-be-screened street lamps are reduced, the to-be-screened street lamps can be re-screened according to the distance between the to-be-screened street lamps, and the preset planning number of planning street lamps is acquired.
[0157] Specifically, in the reduction planning mode, a planning path corresponding to the to-be-screened street lamp, i.e., a second planning path, can be obtained, interval distances between the to-be-screened street lamps in the second planning path, i.e., current intervals, can be obtained, the to-be-screened path is screened according to the current intervals, the to-be-screened street lamp satisfying the planning interval condition in the current interval is screened out, and the corresponding to-be-screened street lamp is determined as a planning street lamp.
[0158] The second planning path refers to a planning path corresponding to the to-be-screened street lamp in the reduction planning mode, the current interval refers to an interval distance between the to-be-screened street lamps on the second planning path, and the planning interval condition refers to that the interval distance between the to-be-screened street lamps is not too close.
[0159] In some embodiments, the specific implementation of step S32 can be:
[0160] S321, obtaining that adjacent to-be-screened street lamps in two road edge sides of the second planning path are in the same second screening group, obtaining a current interval of adjacent to-be-screened street lamps in the second screening group, and determining that a second screening group with the smallest current interval is a target screening group.
[0161] Specifically, adjacent to-be-screened street lamps on the two road edge sides corresponding to the second planning path can be obtained as the same second screening group, a plurality of second screening groups can be obtained, a current interval corresponding to adjacent to-be-screened street lamps in each second screening group can be obtained, if the current interval corresponding to one of the second screening groups is the smallest, it can be considered that the interval distance between the to-be-screened street lamps corresponding to the group is possibly too close, and the to-be-screened street lamps in the group can be eliminated, therefore, the second screening group with the smallest current interval can be determined as the target screening group.
[0162] The second screening group refers to a group corresponding to adjacent to-be-screened street lamps, and the target screening group refers to a second screening group that needs to eliminate to-be-screened street lamps.
[0163] S322, determining that to-be-screened street lamps farthest apart in each road edge side are a planning starting point and a planning ending point respectively, and determining a direction from the planning starting point to the planning ending point as a planning direction.
[0164] Specifically, in each road edge side corresponding to the second planning path, two to-be-screened street lamps farthest apart can be determined, one of which is determined as a planning starting point and the other is determined as a planning ending point, and a direction from the planning starting point to the planning ending point is determined as a planning direction. The planning starting point refers to a starting point when to-be-screened street lamps are re-screened on the corresponding road edge side, and the planning ending point refers to a termination point when to-be-screened street lamps are re-screened on the corresponding road edge side.
[0165] S323, remove the next street lamp in the target screening group in the planning direction, and count the current screening number of the updated street lamps to be screened.
[0166] Specifically, in the planning direction, the next street lamp to be screened in the target screening group can be removed, the previous street lamp to be screened is retained, and the current number of street lamps to be screened, i.e., the current screening number, is counted after the next street lamp to be screened is removed.
[0167] The current screening number refers to the number of street lamps to be screened remaining after the street lamps to be screened in the target screening group are removed.
[0168] S324, when the current screening number is greater than the expected planning number, a plurality of second screening groups are reacquired according to the updated street lamps to be screened.
[0169] If the current screening number is still greater than the expected planning number, it can be considered that the street lamps to be screened still need to be removed. At this time, adjacent street lamps to be screened on the two road sides can be reacquired as new second screening groups according to the updated street lamps to be screened, and a plurality of second screening groups can be reacquired.
[0170] S325, continue to repeat the step of removing the street lamps to be screened according to the second screening groups until the current screening number is equal to the expected planning number, stop, determine that the remaining street lamps to be screened meet the planning spacing condition, and determine that the street lamps to be screened are planning street lamps.
[0171] Specifically, the current spacing corresponding to each second screening group is reacquired, the second screening group with the smallest current spacing is acquired as a new target screening group, the next street lamp to be screened in the target screening group is removed in the planning direction, and the number of the updated street lamps to be screened is counted again to acquire a new current screening number. If the current screening number is still greater than the expected planning number, the step of removing the street lamps to be screened according to the second screening groups is continued to be repeated until the current screening number is less than the expected planning number, the step of removing the street lamps to be screened is stopped, and it can be determined that the interval distance between the remaining street lamps to be screened is not too close, which meets the planning spacing condition. Therefore, the remaining street lamps to be screened can be determined as planning street lamps.
[0172] Through the above implementation manner, it can be ensured that the number of finally selected planning street lamps meets the preset planning number of the management personnel, so that the waste of resources can be avoided.
[0173] S4, acquire the inspection data of the structure of the planning street lamp photographed by the shooting device based on the monitoring route, determine the structure state corresponding to the structure according to the inspection data, and send the structure state to the management end.
[0174] The monitoring route refers to the route of the shooting device when monitoring the installed artificial nest, the structure refers to the nest installed on the planned street lamp, the inspection data refers to the data obtained by the shooting device shooting the image of the structure according to the corresponding monitoring route, and the structure state refers to the state of whether the artificial nest installed on the planned street lamp is inclined.
[0175] In actual application, when the artificial nest is installed on the corresponding planned street lamp, a corresponding mark strip can be pasted on the installed nest, and the pasted mark strip will not harm the birds. For example, a rectangular mark strip with a small amount of reflective material can be added. After the installation of the artificial nest is completed, the nest may be inclined. In this case, the corresponding reflective strip on the nest will also be inclined. If it is not handled in time, the birds may leave because of the instability of the nest. In order to handle the inclined nest in time and provide a safe and comfortable habitat for the birds, after the planned street lamp is determined, a corresponding monitoring route can be constructed for the shooting device according to the planned street lamp. According to the corresponding monitoring route, the artificial nest on the planned street lamp is inspected every certain period of time to obtain corresponding inspection data. The mark on the nest is extracted according to the inspection data, the structure state of the nest is judged according to the state of the mark, whether the nest is inclined is judged, and the corresponding structure state can be sent to the management end, so that the management personnel can take corresponding measures to handle the nest in the inclined state in time.
[0176] The specific implementation mode of step S4 on the basis of the above embodiment can be:
[0177] S41, determine the current shooting time of the shooting device, and determine the shooting mode of the shooting device according to the current shooting time. The shooting mode includes night shooting mode and ordinary mode.
[0178] Specifically, the current shooting time corresponding to the shooting device can be obtained. The shooting mode corresponding to the shooting device is different at different shooting times. The shooting mode corresponding to the shooting device can be determined according to the current shooting time. For example, if the current shooting time is in the daytime or in an environment with sufficient light, the shooting device can use the ordinary mode for shooting. If the current shooting time is at night or in an environment with relatively dark light, the shooting device can switch to the night shooting mode.
[0179] The current shooting time refers to the time when the structure is shot, the shooting mode refers to the mode corresponding to the shooting device when the structure is shot in combination with the shooting time, the night shooting mode refers to the mode corresponding to the shooting device when the structure is shot at night, and the ordinary mode can be the mode corresponding to the shooting device when the structure is shot in the daytime.
[0180] S42, starting the shooting mode, controlling the shooting device to take images based on a monitoring route to the monitoring point corresponding to the planned light pole to obtain the inspection data corresponding to the structure.
[0181] 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 light pole, the monitoring point corresponding to each planned light pole can be configured at a fixed distance in front of the structure corresponding to each planned light pole. The shooting device can collect complete images of the structure at the monitoring point. According to the monitoring point corresponding to each planned light pole, the monitoring route for the shooting device is constructed. In the corresponding shooting mode, the shooting device is controlled to take images of the structure at the corresponding monitoring point along the monitoring route to obtain the inspection data corresponding to the structure. The monitoring point refers to a position point at which the structure can be imaged.
[0182] S43, determining a marker pixel value according to the shooting mode, extracting a pixel point located at the marker pixel value in the inspection data as a marker pixel point, and obtaining a marker strip contour according to adjacent marker pixel points.
[0183] Specifically, the marker strip pasted on the bird nest can exhibit different colors under different shooting modes. For example, when the marker strip is a rectangular long strip with a small amount of reflective material added, the marker strip can exhibit white color under normal shooting mode, and the marker strip can exhibit silver color under night shooting mode. Therefore, the corresponding marker pixel value is different under different shooting modes. The corresponding marker pixel value 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 marker pixel value. The pixel point corresponding to the silver pixel value can be extracted from the multiple images corresponding to the inspection data, and the pixel point can be determined as the marker pixel point. According to the multiple marker pixel points, the contour corresponding to the marker strip, i.e., the marker strip contour, can be determined. Subsequently, whether the bird nest is abnormal can be determined according to the state of the marker strip contour.
[0184] The marker pixel value refers to the pixel value of the marker strip under different shooting modes. The marker pixel point refers to the pixel point with the marker pixel value. The marker strip contour refers to the contour of the marker strip pasted on the artificially installed bird nest.
[0185] S44, obtaining the contour center line of the marker strip contour, determining the inclination of the marker strip contour according to the slope of the contour center line, and the marker strip contour is a long strip contour.
[0186] Specifically, after the marker strip contour is acquired, a contour center line corresponding to the marker strip contour can be acquired, for example, when the marker strip contour is a rectangular long contour, the contour center line can be a straight line parallel to the two long sides of the rectangular contour and located at the middle position of the two long sides of the rectangular contour, after the contour center line is acquired, a slope corresponding to the contour center line can be acquired, the inclination corresponding to the marker strip contour can be determined according to the slope of the contour center line, and the inclination of the corresponding bird nest can be determined according to the inclination corresponding to the marker strip contour.
[0187] S45, determining that the structure state of the structure with the inclination less than the inclination threshold value is a normal state, determining that the structure state of the structure with the inclination greater than or equal to the inclination threshold value is an abnormal state, and sending the structure state to the management end.
[0188] Specifically, in order to be able to judge the inclination degree of the bird nest, the inclination threshold value corresponding to the bird nest in the normal state can be configured in advance, if the inclination is less than the inclination threshold value, it can be considered that the inclination degree of the corresponding bird nest is within the normal range, and the structure state of the corresponding structure can be determined as a normal state, if the inclination is greater than the inclination threshold value, it can be considered that the inclination degree of the corresponding bird nest exceeds the normal range, and there may be a structure safety hazard, and the structure state of the corresponding structure can be determined as an abnormal state, after the structure state corresponding to each structure is acquired, the structure state can be sent to the management end.
[0189] Through the above embodiment, the inclination of the bird nest can be found in time, and problems such as bird leaving or bird nest damage caused by unstable bird nest can be avoided as much as possible.
[0190] Referring to Figure 4 , a structure schematic diagram of a city street lamp bird-friendly design planning system provided by an embodiment of the present application, the data processing system based on the city street lamp bird-friendly design planning system comprises:
[0191] An acquisition module is configured to acquire bird collection data of each monitoring street lamp based on a shooting device, and determine a to-be-screened street lamp meeting a friendly site selection condition according to the bird collection data.
[0192] A receiving module is configured to receive a preset planning quantity input by a management end, and determine a positioning planning mode according to a comparison result of a screening quantity of the to-be-screened street lamp and the preset planning quantity.
[0193] A determination module is configured to acquire a planning path corresponding to the to-be-screened street lamp according to the positioning planning mode, determine a plurality of planning points on the planning path, and determine a planning street lamp in the planning path according to the planning points.
[0194] The inspection module is configured to acquire inspection data of the structure of the planned street lamp captured by the shooting device based on the monitoring route, and transmit the structure state corresponding to the structure to the management terminal according to the inspection data.
[0195] Figure 4 The device of the illustrated embodiment can be used to perform Figure 1 The steps in the method embodiment are similar in implementation principle and technical effect, and will not be described here.
[0196] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for urban street light bird-friendly design planning, characterized in that, include: Bird collection data is acquired from each monitored street light using imaging equipment, and street lights that meet the site selection criteria are identified based on the bird collection data. The system receives a preset planning quantity from the management terminal and determines the positioning planning mode based on the comparison result between the number of streetlights to be screened and the preset planning quantity. According to the positioning planning mode, the planning path corresponding to the street light to be screened is obtained, multiple planning points on the planning path are determined, and the planned street lights in the planning path are determined according to the planning points, including: The first planning path corresponding to the street light to be screened is obtained based on the completion planning mode. The planning proportion of the street lights to be screened located on the roadside of the first planning path is obtained. Multiple planning points are determined according to the planning proportion and the preset planning quantity. The monitoring street lights that meet the planning range of the planning points are determined as planned street lights. The second planning path corresponding to the street light to be screened is obtained according to the reduction planning mode. The street lights to be screened are screened based on the current spacing of multiple street lights to be screened in the second planning path, and the street lights to be screened that meet the planning spacing conditions are determined as planned street lights. 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 where the number of filters is less than the preset planning number. The reduction planning mode is a positioning planning mode where the number of filters is greater than the preset planning number. The system acquires inspection data of the planned streetlights' structures captured by the camera based on the monitoring route, determines the structural status of the structures based on the inspection data, and sends it to the management terminal.
2. The method according to claim 1, characterized in that, Bird data collected from each monitored street light is obtained using imaging equipment. Based on this bird data, street lights that meet the site selection criteria are identified for screening, including: The camera device is used to obtain the bird dwelling time and the number of birds at each of the monitored streetlights within a preset time period. Obtain the first offset weight corresponding to the bird stay duration and the second offset weight corresponding to the number of birds stay, and sum the first offset weight and the second offset weight to obtain the site selection weight of each monitoring street light; The monitoring streetlights whose site selection weight is greater than or equal to the weight threshold are determined to meet the friendly site selection conditions, and the monitoring streetlights are determined to be streetlights to be screened.
3. The method according to claim 1, characterized in that, Based on the completion planning mode, the first planning path corresponding to the streetlights to be screened is obtained, the planning proportion of the streetlights to be screened located on the roadside of the first planning path is obtained, multiple planning points are determined according to the planning proportion and a preset planning quantity, and the monitoring streetlights that meet the planning range of the planning points are determined as planned streetlights, including: The number of sub-screenings corresponding to the streetlights to be screened on the two sides of the first planning path is counted, and the planning proportion is obtained based on the ratio of the number of sub-screenings. The preset planning quantity is divided according to the planning proportion to obtain the planned expected quantity corresponding to each roadside; determining the road side with a planned expected amount as a main side and the road side with a planned expected amount as a supplementary side; dividing the length of the main side according to the planned expected amount to obtain a unit distance, and determining a plurality of planning points on the main side based on the unit distance; obtaining monitoring lamps in a planning range of the planning points on the main side as planning lamps, updating the planned expected amount of the supplementary side according to an actual planning amount of the planning lamps on the main side to obtain a planning supplementary amount, and determining planning lamps corresponding to the supplementary side according to the planning supplementary amount.
4. The method of claim 3, wherein obtaining monitoring lamps in a planning range of the planning points on the main side as planning lamps, updating the planned expected amount of the supplementary side according to an actual planning amount of the planning lamps on the main side to obtain a planning supplementary amount, and determining planning lamps corresponding to the supplementary side according to the planning supplementary amount, comprises: when the planned expected amount of the main side is less than the actual planning amount, obtaining an excess planning amount according to a difference between the actual planning amount and the planned expected amount, and obtaining the planning supplementary amount by subtracting the excess planning amount from the planned expected amount of the supplementary side; when the planned expected amount of the main side is greater than the actual planning amount, obtaining a to-be-supplemented planning amount according to a difference between the planned expected amount and the actual planning amount, and obtaining the planning supplementary amount by adding the to-be-supplemented planning amount to the planned expected amount of the supplementary side; obtaining a to-be-screened supplementary amount corresponding to the to-be-screened lamps on the supplementary side, and if the to-be-screened supplementary amount is greater than the planning supplementary amount, obtaining a first distance between each adjacent to-be-screened lamp on the supplementary side, and screening a plurality of to-be-screened lamps according to the first distance to obtain planning lamps; if the to-be-screened supplementary amount is less than the planning supplementary amount, determining that each to-be-screened lamp on the supplementary side is a planning lamp, obtaining a second distance between adjacent planning lamps, and screening the remaining monitoring lamps on the supplementary side according to the second distance to obtain planning lamps.
5. The method of claim 4, wherein if the to-be-screened supplementary amount is greater than the planning supplementary amount, obtaining a first distance between each adjacent to-be-screened lamp on the supplementary side, and screening a plurality of to-be-screened lamps according to the first distance to obtain planning lamps, comprises: determining that the two to-be-screened lamps farthest from each other on the supplementary side are a screening starting point and a screening ending point, and determining a planning direction from the screening starting point to the screening ending point; selecting adjacent to-be-screened lamps on the supplementary side in the planning direction as a first screening group, and if a first distance of the first screening group is greater than or equal to a minimum distance threshold, determining that the to-be-screened lamps of the first screening group are planning lamps; if the first distance of the first screening group is less than the minimum distance threshold, not selecting a to-be-screened lamp traversed next time, and continuing to determine a to-be-screened lamp traversed last time and a to-be-screened lamp traversed next time as a next first screening group. The steps of obtaining the first screening group and determining the planned street lamps according to the first screening group are repeated until the number of the planned street lamps is equal to the planned replenishment amount.
6. The method of claim 4, wherein, if the to-be-screened replenishment amount is less than the planned replenishment amount, determining that each to-be-screened street lamp in the replenishment side is a planned street lamp, obtaining a second interval between adjacent planned street lamps, and screening the remaining monitoring street lamps in the replenishment side according to the second interval to obtain planned street lamps, comprising: determining that the two to-be-screened street lamps farthest from the replenishment side are a screening starting point and a screening ending point, respectively, and determining that the direction from the screening starting point to the screening ending point is a planning direction; obtaining a total interval from the screening starting point to the screening ending point, subtracting a preset interval value from the planned replenishment amount to obtain a target interval value, and obtaining a target interval according to the ratio of the total interval to the target interval value; based on the planning direction, obtaining a second interval between adjacent planned street lamps in sequence, and determining that the path segment between adjacent planned street lamps is a screening path segment when the second interval is greater than the target interval; determining a plurality of sub-planning points on the screening path segment at intervals of the target interval according to the planning direction, and determining that the monitoring street lamps located within the planning range of the sub-planning points are planned street lamps; counting the current planning amount of the planned street lamps until the current planning amount is equal to the planned replenishment amount to stop obtaining the planned street lamps.
7. The method of claim 1, wherein, obtaining a second planning path corresponding to the to-be-screened street lamps according to a reduction planning mode, screening the to-be-screened street lamps based on the current interval of a plurality of to-be-screened street lamps in the second planning path, and determining that the to-be-screened street lamps meeting the planning interval condition are planned street lamps, comprising: obtaining a second screening group in which adjacent to-be-screened street lamps in two road sides of the second planning path are the same group, obtaining the current interval of adjacent to-be-screened street lamps in the second screening group, and determining that the second screening group with the smallest current interval is a target screening group; determining that the to-be-screened street lamps farthest from each road side are a planning starting point and a planning ending point, respectively, and determining that the direction from the planning starting point to the planning ending point is a planning direction; removing the latter to-be-screened street lamp in the target screening group located in the planning direction, and counting the current screening number of the updated to-be-screened street lamps; when the current screening number is greater than the preset planning number, re-obtaining a plurality of second screening groups from the updated to-be-screened street lamps; continuing to repeat the step of removing to-be-screened street lamps according to the second screening group until the current screening number is equal to the preset planning number, determining that the remaining to-be-screened street lamps meet the planning interval condition, and determining that the to-be-screened street lamps are planned street lamps.
8. The method of claim 1, wherein, obtaining inspection data photographed by a shooting device based on a monitoring route for a structure of the planned street lamp, determining a structure state corresponding to the structure according to the inspection data, and sending the structure state to a management end, comprising: Determine the current shooting time of the shooting device, determine the shooting mode of the shooting device according to the current shooting time, and the shooting mode includes night shooting mode and normal mode; Start the shooting mode, control the shooting device to take pictures based on the monitoring route to the monitoring point corresponding to the planned street lamp, and obtain the inspection data corresponding to the structure; According to the shooting mode, determine the marker pixel value, extract the pixel point located in the marker pixel value in the inspection data as the marker pixel point, and obtain the marker strip contour according to the adjacent marker pixel points; Obtain the contour center line of the marker strip contour, determine the inclination of the marker strip contour according to the slope of the contour center line, and the marker strip contour is a long strip contour; Determine the structure state of the structure whose inclination is less than the inclination threshold as normal state, and determine the structure state of the structure whose inclination is greater than or equal to the inclination threshold as abnormal state, and send the structure state to the management end.
9. A bird-friendly design planning system for urban street lighting according to any of the methods of claims 1-8, characterized in that, Including: The acquisition module is used for acquiring bird collection data of each monitoring street lamp based on a shooting device, and determining a to-be-screened street lamp meeting a friendly site selection condition according to the bird collection data; The receiving module is used for receiving a preset planning quantity input by the management end, and determining a positioning planning mode according to the comparison result of the screening quantity of the to-be-screened street lamp and the preset planning quantity; The determination module is used for acquiring a planning path corresponding to the to-be-screened street lamp according to the positioning planning mode, determining a plurality of planning points on the planning path, and determining a planning street lamp in the planning path according to the planning point; The inspection module is used for acquiring inspection data of a structure of the planning street lamp shot by a shooting device based on a monitoring route, and sending the structure state corresponding to the structure to the management end according to the inspection data.
Citation Information
Patent Citations
GPS tracking data-based bird migration route graph theory modeling method
CN116805015A
Intelligent inspection and street lamp control method and system based on personnel positioning
CN118409524A