Method and system for configuring personalized power consumption plans
Through drones collecting images and combining object and elevation recognition technology, personalized power consumption solutions are generated, which solves the scientific problems of photovoltaic equipment layout planning in remote mountainous areas and improves power generation efficiency and stability.
Patent Information
- Application Number
- CN202510510785.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2045-04-23
AI Technical Summary
In remote mountainous areas and other field construction and exploration scenarios, it is difficult for traditional methods to scientifically plan the layout of photovoltaic equipment, resulting in insufficient power supply, the existing technology cannot fully acquire the characteristics of the target area, and relying on manual experience leads to planning errors and large workloads.
By collecting images in different orders of the target area through the drone, combining object recognition and elevation recognition, the removal layer interacts with the user to determine the operating equipment area, configure a personalized power consumption plan, and optimize the photovoltaic equipment layout based on the minimum unit of the power generation equipment.
The precise planning of the location of photovoltaic equipment is achieved, the power generation efficiency and stability are improved, manual operation errors are reduced, and the power supply meets demand.
Smart Images

Figure CN120046943B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a method and system for configuring a personalized power consumption plan. Background Art
[0002] In scenarios like field construction and exploration, power supply is crucial for smooth operations. For example, when conducting mineral exploration in remote mountainous areas, where traditional grid power is difficult to reach, photovoltaic systems become an important power supply option. In these scenarios, the layout of photovoltaic systems must be strategically planned to meet power demands. However, the target areas often feature complex topography, diverse vegetation distribution, and a variety of operating equipment, all of which pose challenges to the planning of photovoltaic system layout.
[0003] Existing technologies may not be able to fully grasp the characteristics of the target area when acquiring information about the target area. The layout of photovoltaic equipment is usually planned based on human experience. For example, when determining the area where operating equipment is to be placed, manual drawing may be relied upon, which is labor-intensive and prone to errors.
[0004] Therefore, how to automatically generate personalized electricity consumption plans based on target area data to meet the needs of efficient photovoltaic power generation has become an urgent problem that needs to be solved. Summary of the Invention
[0005] The embodiments of the present invention provide a method and system for configuring a personalized electricity plan, which can automatically generate a personalized electricity plan in combination with target area data to meet the needs of efficient photovoltaic power generation.
[0006] According to a first aspect of an embodiment of the present invention, a method for configuring a personalized power consumption plan is provided, comprising:
[0007] Acquire first acquired images of the same point in the target area of the to-be-configured solution at different time sequences;
[0008] Eliminate a first area where the operating equipment is placed in the first acquired image to obtain a second acquired image;
[0009] performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image;
[0010] Acquire the irradiation point map of the second acquisition image at different time sequences, and generate a personalized electricity consumption plan for the target area based on the configuration of the irradiation point map based on the minimum unit of the power generation equipment.
[0011] Optionally, in a possible implementation of the first aspect, obtaining first acquired images of the same point in the target area of the to-be-configured solution at different time sequences includes:
[0012] Interact with the user to determine the preset collection points in the target area;
[0013] The UAV ascends to a preset height at a preset collection point and collects images of the target area at different times to obtain a first collected image.
[0014] Optionally, in a possible implementation of the first aspect, eliminating the first area where the operating equipment is placed in the first acquired image includes:
[0015] The server generates a culling layer corresponding to the first acquired image, wherein the culling layer is transparent and overlaps the first acquired image, and pixels of the culling layer are arranged in a one-to-one correspondence with pixels of the first acquired image;
[0016] Based on the culling layer and the user interaction, a first area for placing the operating equipment is determined.
[0017] Optionally, in a possible implementation of the first aspect, determining the first area for placing the operating equipment based on the interaction with the user by removing the layer includes:
[0018] Receive the pixel points selected by the user in the culling layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes;
[0019] A first area for placement of the work equipment is determined based on the pixel attributes.
[0020] Optionally, in a possible implementation of the first aspect, the receiving of the pixel points selected by the user in the culling layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes, includes:
[0021] Obtain the motion trajectory of the pixel points selected by the user by continuously clicking on the screen, and determine the first starting pixel point and the second ending pixel point in the motion trajectory;
[0022] A pixel whose number of selected motion trajectory pixels is greater than a preset value is counted as a third pixel;
[0023] A default pixel attribute of a corresponding pixel point is determined based on the first pixel point, the second pixel point, and the third pixel point.
[0024] Optionally, in a possible implementation manner of the first aspect, determining a default pixel attribute of a corresponding pixel point based on the first pixel point, the second pixel point, and the third pixel point includes:
[0025] If the number of the third pixel points is less than the first preset value;
[0026] Determine corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point in the culling layer, assign the corresponding pixel points a first pixel value, and control the corresponding pixel points to convert between transparent and the first pixel value according to a preset time and display contour attributes.
[0027] Optionally, in a possible implementation manner of the first aspect, determining a default pixel attribute of a corresponding pixel point based on the first pixel point, the second pixel point, and the third pixel point includes:
[0028] If the number of the third pixel points is greater than or equal to the first preset value;
[0029] For the corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point determined in the elimination layer, the corresponding pixel points are assigned a second pixel value, and the corresponding pixel points are controlled to convert between transparency and the second pixel value according to a preset time and display point attributes.
[0030] Optionally, in a possible implementation of the first aspect, determining the first area where the operating equipment is placed based on pixel attributes includes:
[0031] If the pixel attribute is a contour attribute, obtain the contour formed by directly or indirectly adjacent pixels with the same label, and determine all pixels within the contour range to obtain the first area;
[0032] If the pixel attribute is a point attribute, the first region is obtained by acquiring a region formed by directly or indirectly adjacent pixel points.
[0033] Optionally, in a possible implementation of the first aspect, performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image includes:
[0034] Performing object recognition and / or elevation recognition on the second collected image to obtain object recognition information and elevation information of each group of pixels;
[0035] If it is determined that the object recognition information contains an object target, then pixels corresponding to the object target are determined to be removed from the second acquired image; and / or,
[0036] A second area that does not meet the requirements is determined based on the elevation information of each group of pixel points and is removed from the second acquired image.
[0037] Optionally, in a possible implementation of the first aspect, determining the second area that does not meet the requirements based on the elevation information of each group of pixels and removing it from the second acquired image includes:
[0038] Based on the position of the pixel point, the adjacent pixel points are determined, the elevation information difference between each pixel point and the adjacent pixel points is calculated, and the pixel points whose elevation information difference is greater than the preset value are counted to obtain the pixel point set;
[0039] Pixels corresponding to the pixel set are removed from the second acquired image.
[0040] Optionally, in a possible implementation of the first aspect, acquiring an illumination point map of the second acquired image at different time sequences, and configuring the illumination point map based on a minimum unit of a power generation device to generate a personalized electricity usage plan for the target area includes:
[0041] Counting the illumination point bitmaps of the second acquired image at different time sequences to obtain the illumination duration of each pixel at the corresponding time sequence;
[0042] All pixels are sorted based on the irradiation duration to obtain a pixel sequence, and a personalized electricity usage plan for the target area is generated based on the pixel sequence and the smallest unit of the power generation equipment.
[0043] Optionally, in a possible implementation of the first aspect, generating a personalized electricity usage plan for a target area based on the pixel point sequence and the minimum unit of the power generation equipment includes:
[0044] Traversing all pixels in the pixel sequence, and adding them in sequence according to the third pixel value in the second acquired image based on their positions;
[0045] After determining that the area formed by the directly or indirectly adjacent third pixel values is greater than or equal to the minimum unit of the power generation equipment, the corresponding area is used as the first power consumption area;
[0046] Count all the first electricity consumption areas until the specification requirements of the power generation equipment are met.
[0047] Optionally, in a possible implementation of the first aspect, the method further includes:
[0048] If it is determined that the illumination time of the selected pixel point is less than the preset value, the corresponding pixel point is used as the pixel point to be filled, and the time period for the pixel point to be filled is determined;
[0049] Determine the pixel points with the illumination duration corresponding to the time segment to be padded in the pixel point sorting as the padded pixel points;
[0050] The areas formed by the pixels to be padded and the padded pixels are respectively used as the linked second power consumption areas.
[0051] A second aspect of an embodiment of the present invention provides a system for configuring a personalized power consumption plan, including:
[0052] An acquisition module, configured to acquire first acquired images of the same point in the target area of the to-be-configured solution at different time sequences;
[0053] a removal module, configured to remove a first area where the operating equipment is placed from the first acquired image, to obtain a second acquired image;
[0054] an identification module, configured to perform object identification and / or elevation identification on the second acquired image, obtain a second area that does not meet the requirements, and remove the second area from the second acquired image;
[0055] The generation module is used to obtain the irradiation point map of the second acquisition image at different time sequences, and generate a personalized electricity consumption plan for the target area based on the configuration of the irradiation point map and the minimum unit of the power generation equipment.
[0056] Technical effect:
[0057] By interacting with the user, the system determines preset collection points in the target area. The drone then ascends to a preset altitude at these points, capturing images at different times to generate a first captured image. This allows for comprehensive and accurate image data of the target area. This provides an accurate regional scope for subsequent power plan configuration, enabling subsequent analysis and planning of the target area to be based on reliable data. In mountainous exploration areas, the system can clearly visualize the distribution of peaks and valleys, as well as sunlight obstruction by trees and other factors, providing a key basis for precise planning of photovoltaic equipment placement.
[0058] The server generates a culling layer corresponding to the first acquired image and, through interaction with the user, determines the first area where the work equipment is placed. During this process, the server can determine the user's intent based on pixel manipulation (such as the selected pixel's motion trajectory and the number of times it has been selected), determine the pixel's attributes (contour or point attributes), and then determine the work equipment placement area and remove it from the first acquired image. This approach improves the efficiency and accuracy of user determination of work equipment placement areas, making the process of determining work equipment areas within the entire image more intelligent, efficient, and user-friendly.
[0059] Perform object recognition and elevation recognition on the second acquired image, eliminate the second area that does not meet the requirements, obtain the illumination point map of the second acquired image at different time sequences, and generate a personalized electricity consumption plan for the target area based on the smallest unit of the power generation equipment. By counting the illumination time of each pixel, sorting the pixels and determining the electricity consumption area according to the smallest unit of the power generation equipment, it can ensure that the power generation equipment is arranged in the area with sufficient light in the most reasonable way. When the determined photovoltaic area cannot meet the power supply demand, by linking the areas with different illumination time periods, such as determining the pixels to be supplemented and the supplemented pixels and constructing the second electricity consumption area, and using mobile photovoltaic equipment, etc., the stability and efficiency of power generation can be effectively improved, the personalized electricity consumption plan can be improved, and the efficiency of photovoltaic power generation can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 This is a flowchart of a method for configuring a personalized power consumption plan provided by an embodiment of the present invention;
[0061] Figure 2 This is a structural diagram of a personalized electricity plan configuration system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The following specific embodiments are used to describe the technical solution of the present invention in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0063] See also Figure 1 , is a flow chart of a method for configuring a personalized power plan provided by an embodiment of the present invention, the method comprising:
[0064] S1, obtaining first acquired images of the same point in the target area of the to-be-configured solution at different time sequences.
[0065] First, let's explain the scenario for this solution. Field construction and exploration often present numerous challenges in power supply. For example, in remote mountainous areas, traditional power supply coverage is limited, making photovoltaic systems a reliable power supply option. This solution focuses on this issue, aiming to improve power generation efficiency through scientific planning of photovoltaic panel layouts. By defining a target area, such as a user-specified circular or square area, comprehensive image data for that area is captured. This data covers topography, vegetation distribution, and other information, providing a baseline for subsequent analysis of suitable areas for photovoltaic equipment placement. For example, in a mountainous exploration area, a user defines a square area as the target area. The image data captured by the server clearly shows the distribution of peaks and valleys within the area, as well as the presence of large forests that block sunlight. This provides critical information for accurately planning the placement of photovoltaic equipment, ensuring continuous and efficient photovoltaic power generation to meet the power needs of field operations.
[0066] This step can obtain comprehensive and accurate target area image data, providing the area range for subsequent power consumption plan configuration. The target area can be set by the user, such as a circular range or a square range.
[0067] In some embodiments, obtaining first acquired images of the same point in the target area of the to-be-configured solution at different time sequences includes:
[0068] S11, interacting with the user to determine the preset collection points in the target area.
[0069] Based on their understanding of the target area and the needs of their power plan configuration, users mark representative points on the map. For example, they can mark an electronic fence on the map and select the center of the fence as the preset collection point. It is understood that at the preset collection point, the drone will be able to cover the target area as much as possible after ascending to a certain height, completing image acquisition of the target area.
[0070] S12: The drone ascends to a preset height at a preset collection point to collect images of the target area at different times to obtain first collected images.
[0071] The drone takes off vertically from a preset collection point and ascends to a preset altitude, which is determined by the size of the target area. For example, if 10 meters is sufficient for image acquisition, then that altitude will be used. Upon reaching the designated altitude, the drone's onboard image acquisition equipment captures images at various times, including morning, noon, and evening, to capture changes in illumination throughout the day. This provides rich data support for subsequent analysis, ensuring that the captured images fully reflect the characteristics of the target area at different times of day.
[0072] S2: Eliminate the first area where the operating equipment is placed in the first acquired image to obtain a second acquired image.
[0073] In scenarios like field construction and exploration, various types of operating equipment, such as pile drivers and large cranes, may be present within the target area. These areas are unsuitable for photovoltaic equipment installation and, if not removed, will affect the accuracy of PV panel layout planning. This step removes the areas where these equipment are located from the first captured image, resulting in a cleaner second image that focuses on areas suitable for photovoltaic equipment placement, providing a foundation for subsequent precise analysis and power plan configuration.
[0074] In some embodiments, eliminating the first area where the operating equipment is placed in the first acquired image includes:
[0075] S21, the server generates a culling layer corresponding to the first acquired image, the culling layer is transparent and overlapped on the first acquired image, and the pixels of the culling layer are set in a one-to-one correspondence with the pixels of the first acquired image.
[0076] The server generates a culling layer based on the first acquired image. This layer is transparent, allowing users to perform operations on it without obstructing the first acquired image. Furthermore, the pixels in the culling layer correspond one-to-one with those in the first acquired image, ensuring that subsequent operations performed on the culling layer are accurately mapped to the first acquired image.
[0077] S22: Determine a first area for placing the operating equipment based on the interaction between the removed layers and the user.
[0078] Using the culling layer, the server interacts with the user to determine the areas where equipment is located. Based on their understanding of the target area, users can manipulate the culling layer to mark the locations of equipment. In field construction scenarios, construction workers are most familiar with the layout of on-site equipment. By marking the culling layer, they can indicate the placement of equipment such as pile drivers and generators, providing accurate information for subsequent image processing.
[0079] The step of determining the first area for placing the operating equipment based on the interaction with the user by removing the layer includes:
[0080] S221, receiving the pixel points selected by the user in the removal layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes;
[0081] The server receives the pixels selected by the user on the culling layer and records the attributes added by the user to these pixels. Pixel attributes are divided into outline attributes and point attributes. Outline attributes are typically used to mark the area occupied by large equipment, such as a large crane, which occupies a certain area on the image. Outline attributes can accurately define its scope. Point attributes are used to mark small equipment, such as a small motor, which may appear as a single point on the image and are marked with point attributes.
[0082] In some embodiments, the receiving of the pixel points selected by the user in the culling layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes, includes:
[0083] S2211, obtaining a motion trajectory of a pixel point selected by the user by continuously clicking on the screen, and determining a first starting pixel point and a second ending pixel point in the motion trajectory.
[0084] When a user continuously taps the screen on the culling layer, the server records the movement trajectory of the selected pixels. By analyzing this movement trajectory, the server can determine the starting and ending pixel points. When marking large equipment, users may tap along the edge of the device. The server records this click trajectory to identify the starting and ending pixel points, providing a basis for subsequently determining the approximate range of the device.
[0085] S2212: Count the number of pixel points selected in the motion trajectory that is greater than a preset value as the third pixel point.
[0086] In the motion trajectory created by the user's clicks, the server counts the number of times each pixel is selected. Pixels selected more than a preset number of times are considered third pixels. For example, if a user repeatedly circles a small device, some pixels may be clicked multiple times, becoming third pixels. By counting third pixels, we can more accurately determine the user's marking intent and the device's actual location.
[0087] S2213: Determine the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point.
[0088] The server determines the attributes of the corresponding pixel based on the first, second, and third pixel points. If the number of third pixel points is small, it means that the number of repeated third pixel points is small. The server assumes that the user may be drawing an outline, and the pixel points are assumed to have outline attributes. If the number of third pixel points is large, it means that the user may be drawing a point, and the pixel points are assumed to have point attributes. In this way, the server can automatically identify the user's operational intention and provide support for the subsequent accurate determination of the first area for the operation equipment placement.
[0089] In some embodiments, determining the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes:
[0090] S22131: If the number of the third pixel points is less than the first preset value.
[0091] After the user operates on the culled layer and generates a pixel motion trajectory, the server counts the number of third pixels in the trajectory. If the statistical result shows that the number of third pixels is less than a pre-set first preset value (e.g., 30), the server preliminarily determines that the user's operation intention is more inclined to draw the outline of the work equipment. For example, when processing an image of a construction site, the user is marking the location of a large tower crane. Because the tower crane occupies a certain area, the number of third pixels formed by the user clicking around the edge of the tower crane is relatively small, which triggers the judgment logic of this step.
[0092] S22132, determining the corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point in the culling layer, assigning the corresponding pixel points the first pixel value, and controlling the corresponding pixel points to convert between transparent and the first pixel value according to a preset time and display the contour attributes.
[0093] After determining that the number of the third pixel points is less than the first preset value, the server finds the pixel points corresponding to the first pixel point, the second pixel point and the third pixel point in the motion trajectory in the elimination layer. Then, the server assigns these corresponding pixel points a first pixel value. This first pixel value can be a specific color, such as red, for highlighting. At the same time, the server controls these corresponding pixel points to switch between a transparent state and a first pixel value (i.e., display color) at a preset time interval. The purpose of this is to allow users to see the marked contour area more intuitively and to clearly identify which pixels belong to the contour. For example, in the above-mentioned tower crane example, the server will mark the pixel points involved in the click around the edge of the tower crane in red, and flash them at a certain time frequency to highlight the contour area where the tower crane is located.
[0094] In some other embodiments, determining the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes:
[0095] S22133: If the number of the third pixel points is greater than or equal to the first preset value.
[0096] In contrast to the previous scenario, when the server counts a number of third pixels greater than or equal to a first preset value, the server preliminarily determines that the user's intention is to mark a single point, corresponding to the location of a small piece of equipment. For example, when marking a small welding machine at a construction site, since the welder occupies a relatively small area in the image, the user may click multiple times within a relatively small area, resulting in a large number of third pixels. In this case, the judgment condition for this step is met.
[0097] S22134, for the corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point determined in the elimination layer, the corresponding pixel points are assigned a second pixel value, and the corresponding pixel points are controlled to convert between transparent and the second pixel value according to a preset time and display point attributes.
[0098] After determining that the number of third pixels is greater than or equal to the first preset value, the server also finds the pixels corresponding to the first, second, and third pixels in the elimination layer and assigns these corresponding pixels a second pixel value, which can be another specific color, such as blue. The server then controls these pixels to switch between a transparent state and a second pixel value (i.e., a display color) at a preset time, thereby highlighting the point attribute area marked by the user. For example, to mark a small electric welder, the server will mark the relevant pixels blue and display them flashing at a certain time interval to clearly identify the location of the welder.
[0099] S222: Determine a first area where the operating equipment is placed based on pixel attributes.
[0100] After the server determines the pixel attributes (outline or point attributes), this step accurately identifies the area where the equipment is located based on these attributes. Through the previous steps, the server understands whether the user's marking intent is to draw an outline or mark a point. This allows for more precise delineation of the equipment's location within the image, providing an accurate basis for subsequent removal of this area and power consumption planning.
[0101] The determining of the first area for placing the operating equipment based on pixel attributes includes:
[0102] S2221: If the pixel attribute is a contour attribute, obtain a contour formed by directly adjacent or indirectly adjacent pixels of the same label, and determine all pixels within the contour range to obtain a first area.
[0103] When the pixel attribute is an outline attribute, the server searches and removes pixels in the layer with the same mark (that is, assigned the first pixel value). The server then analyzes the adjacent relationships between these pixels, including direct adjacency (that is, the pixels are adjacent horizontally, vertically, or diagonally) and indirect adjacency (can be connected through other pixels). Through these adjacency relationships, the server determines a complete outline. Finally, the server determines all pixels within the outline range as the first area for the placement of the operating equipment. For example, when marking a large tower crane, the server will determine the area enclosed by the red-marked pixels surrounding the tower crane as the first area where the tower crane is located.
[0104] S2222: If the pixel attribute is a point attribute, obtain an area formed by directly or indirectly adjacent pixel points to obtain a first area.
[0105] When the pixel attribute is a point attribute, the server similarly searches for pixels with the same tag (i.e., assigned the second pixel value). Then, by analyzing the direct or indirect adjacency of these pixels, it determines an area formed by these pixels and identifies this area as the first area for the equipment. For example, for a small welding machine, the server identifies the area surrounding the blue-tagged pixels as the first area for the welding machine, which may be relatively small.
[0106] By performing pixel manipulation and attribute determination on the culling layer, the server can determine user behavior and predict user intent. In practice, when a user marks an area for a piece of equipment, the server performs a comprehensive analysis based on the user's movement trajectory, the number of pixel selections, and other information. When a user clicks around the edge of a large piece of equipment, resulting in a relatively small number of third pixels, the server accurately determines the user's intent to outline the equipment and assigns specific pixel values to the corresponding pixels, displaying them as such, helping the user clearly visualize the outline of the equipment. Conversely, when a user marks a small piece of equipment and a relatively large number of third pixels appear, the server quickly identifies the user's intent as marking points and similarly assigns specific pixel values to the corresponding pixels, displaying them as such, helping the user clearly identify the equipment's location. This method of closely integrating user actions to predict intent and assist in determining areas significantly improves the efficiency and accuracy of determining equipment placement areas, reduces the workload of users manually drawing precise lines, and makes the process of determining equipment areas within the entire image more intelligent, efficient, and user-friendly.
[0107] S3, performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image.
[0108] In scenarios like field construction and exploration, scientific planning of photovoltaic equipment layout requires further screening of areas unsuitable for PV panel installation. While the second captured image removes areas where equipment is placed, other areas that do not meet these requirements may still exist, such as areas with natural objects like trees and rivers, as well as areas with excessively rugged terrain. Object and elevation recognition can accurately locate and remove these areas, allowing subsequent analysis to focus on areas truly suitable for PV installation.
[0109] In some embodiments, performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image includes:
[0110] S31 , performing object recognition and / or elevation recognition on the second collected image to obtain object recognition information and elevation information of each group of pixels.
[0111] The server performs a comprehensive analysis of the second collected image. In terms of object recognition, the image recognition model in the existing technology can be used. For example, through recognition models such as OPCV, the objects in the image are classified and identified to determine whether there are trees, rivers, buildings and other object targets, and obtain their location, size and other detailed information. Elevation recognition can use point cloud data processing technology, combined with image information collected by drones, to calculate the elevation value corresponding to each group of pixels in the image. It can also use the altitude sensor carried by the drone to fly around the target area to record the height of different points in the target area. This solution does not limit it. The above is the existing technology. For example, in a field construction scene in a mountainous area, the server can identify objects such as trees and valleys in the image and obtain the altitude information of each pixel.
[0112] S32: If it is determined that the object recognition information contains an object target, pixels corresponding to the object target are determined to be removed from the second collected image.
[0113] When the server identifies objects in the image through object recognition, it identifies the pixels corresponding to those objects. For example, trees block sunlight, affecting the light received by photovoltaic panels. Therefore, the pixels corresponding to the trees need to be removed from the second captured image. Based on the object recognition information, the server marks the area occupied by the trees in the image, labels all pixels within that area, and removes them from subsequent processing.
[0114] S33, and / or determining a second area that does not meet the requirements based on the elevation information of each group of pixels and removing the second area from the second acquired image.
[0115] The undulation of terrain significantly impacts the installation and power generation efficiency of photovoltaic equipment. Excessively steep terrain can make installation of photovoltaic panels difficult and result in uneven sunlight at different times of day. Therefore, the server further filters out and removes areas that do not meet the requirements based on the elevation information of each pixel group.
[0116] The step of determining the second area that does not meet the requirements based on the elevation information of each group of pixels and removing the area from the second acquired image includes:
[0117] S331, determining adjacent pixel points based on the position of the pixel point, calculating the elevation information difference between each pixel point and the adjacent pixel points, and counting the pixel points whose elevation information difference is greater than a preset value to obtain a pixel point set.
[0118] The server first determines the adjacent pixels of each pixel based on the positional relationship of the pixels in the image. For a pixel, its adjacent pixels can be adjacent pixels in the horizontal, vertical or diagonal direction. Then, the elevation information difference between each pixel and its adjacent pixels is calculated. The preset value is set according to the actual situation and the installation requirements of the photovoltaic equipment. For example, when the elevation difference between adjacent pixels exceeds 0.5 meters, it is considered that the terrain of the area is too undulating. The server will count all pixels whose elevation information difference is greater than the preset value and group these pixels into a pixel set. In field construction scenarios in mountainous areas, the pixels corresponding to areas with large elevation changes on the hillside will be included in the pixel set.
[0119] S332: Eliminate the pixel points corresponding to the pixel point set from the second acquired image.
[0120] After obtaining a set of pixels with elevation differences greater than a preset value, the server removes the corresponding pixels from the second captured image. This removes areas with excessively rugged terrain that are unsuitable for photovoltaic installation, providing a more accurate data foundation for the subsequent generation of personalized electricity plans.
[0121] S4, obtaining an irradiation point map of the second collected image at different time sequences, and configuring the irradiation point map based on the minimum unit of the power generation equipment to generate a personalized electricity consumption plan for the target area.
[0122] After removing unsuitable areas from the second captured image, this step generates a personalized electricity usage plan that meets actual needs based on the lighting conditions of the target area at different times and the characteristics of the power generation equipment, so as to maximize the efficiency of photovoltaic power generation.
[0123] In some embodiments, acquiring an illumination point map of the second collected image at different time sequences, and configuring the illumination point map based on the minimum unit of the power generation equipment to generate a personalized electricity usage plan for the target area includes:
[0124] S41 , performing statistics on the illumination point bitmaps of the second collected image at different time sequences to obtain the illumination duration of each pixel at the corresponding time sequence.
[0125] The server conducts in-depth statistical analysis on the illumination point maps of the second captured images taken at different time points. By tracking and recording the illumination status of each pixel in the image at different times, the server can calculate the illumination duration of each pixel in the corresponding time sequence. For example, in an outdoor construction site, in images taken at different times from morning to evening, the server can clearly know the illumination duration of each point in different time periods such as 9 to 10 am and 2 to 3 pm. This statistics on illumination duration provides a key basis for subsequently determining which areas are more suitable for installing power generation equipment.
[0126] S42 , sorting all pixels based on the illumination duration to obtain a pixel sequence, and generating a personalized electricity usage plan for the target area based on the pixel sequence and the smallest unit of the power generation equipment.
[0127] Based on the previously calculated illumination duration for each pixel, the server sorts all pixels into a pixel sequence. This sequence is arranged from longest to shortest illumination duration, facilitating subsequent layout planning based on the characteristics of the power generation equipment. Furthermore, the server generates personalized electricity usage plans for the target area, taking into account the smallest unit of the power generation equipment, such as the area of a single photovoltaic panel.
[0128] The generating of a personalized electricity usage plan for a target area based on the pixel sequence and the smallest unit of the power generation equipment includes:
[0129] S421 , traverse all pixel points in the pixel point sequence, and add them in sequence according to the third pixel value in the second acquired image based on their positions.
[0130] The server iterates through each pixel in the pixel sequence. Based on the pixel's position in the second acquired image, it adds a third pixel value to the image. The third pixel value can be a specific color, used to mark potential power generation equipment installation areas. For example, the server marks the first pixel in the pixel sequence at the corresponding position in the second acquired image green (assuming green is the third pixel value). The server then repeats the same operation for subsequent pixels, gradually identifying areas on the image that are associated with light duration.
[0131] S422: After determining that the area formed by the directly or indirectly adjacent third pixel values is greater than or equal to the minimum unit of the power generation equipment, the corresponding area is used as the first power consumption area.
[0132] The server monitors the pixels with third pixel values added to the second captured image in real time. When the area formed by directly or indirectly adjacent third pixel values is found to be greater than or equal to the minimum unit area of the power generation equipment, this area is identified as the first power consumption area. For example, when the area formed by connecting multiple green-marked pixels meets the area requirements of a single photovoltaic panel, this area is identified as a first power consumption area suitable for photovoltaic panel installation. This process ensures that power generation equipment can be arranged in an area with sufficient sunlight in the most reasonable manner.
[0133] S423: Count all first power consumption areas until the specification requirements of the power generation equipment are met.
[0134] The server continuously counts all eligible first-use power areas. It repeats the previous steps, traversing the pixel sequence and identifying more first-use power areas until the total area or total number of these areas meets the specifications of the power generation equipment. For example, if a certain number of photovoltaic panels are planned to be installed, the server will continue to search for suitable areas until a sufficient number of first-use power areas are found to place these panels. This completes the preliminary planning of the power generation equipment layout in the personalized power consumption plan for the target area, ensuring that the power generation equipment can fully utilize the target area's light resources and achieve efficient power generation.
[0135] In the above embodiment, when generating a personalized electricity consumption plan, when the photovoltaic area composed of pixels whose illumination time is longer than the preset value cannot meet the power supply demand, it is necessary to further explore the potential available areas. This solution is achieved by linking areas with different illumination periods. Some pixels may have an illumination time shorter than the preset value due to factors such as the geographical environment and obstructions. If power generation equipment is installed separately in the area where these pixels are located, the power generation efficiency will be greatly affected. By processing it through the following steps, the power consumption plan can be further optimized and the overall power generation efficiency can be improved, including:
[0136] If it is determined that the illumination time of the selected pixel point is less than the preset value, the corresponding pixel point is used as the pixel point to be filled, and the time period for the pixel point to be filled is determined.
[0137] The server first traverses the generated pixel sequence and filters out those pixels that are excluded from the initial photovoltaic area planning because the illumination time is less than the preset value. The area formed by these pixels is the area to be filled. For example, statistics show that the illumination time of some pixels in a certain area is only 3 hours a day, which is lower than the preset 6-hour standard. The area is determined to be an area to be filled. For the area to be filled, the server determines the time period to be filled when the light is insufficient. For example, the above-mentioned area may lack light during the time period of 9:00-12:00. It is worth mentioning that multiple connected pixels to be filled need to form an area where photovoltaic panels can be placed, otherwise the pixels to be filled will not be able to perform subsequent linkage.
[0138] Determine the pixel points with the illumination duration corresponding to the time segment to be padded in the pixel point sorting as the padded pixel points.
[0139] Based on the time period to be supplemented, the server traverses the entire pixel sequence again, searching for areas with sufficient light during that period. The corresponding pixels are the supplementary pixels. Suppose that in another area, the pixels have a maximum of 3 hours of light between 9:00 and 12:00, meeting the supplementary light requirements of the first area. This area then becomes the complementary area to the area to be supplemented.
[0140] The areas formed by the pixels to be padded and the padded pixels are respectively used as the linked second power consumption areas.
[0141] The areas to be completed and the complementary areas are constructed into a linked second power consumption area. In terms of implementation, mobile photovoltaic equipment can be used. Taking Area A and Area B as an example, between 9:00 AM and 12:00 PM, the mobile photovoltaic equipment is placed in Area B, fully utilizing the sunlight there to generate electricity. Outside of 9:00 AM and 12:00 PM, the mobile photovoltaic equipment is transferred to Area A. This ensures that the entire second power consumption area can achieve optimal power generation at different times, effectively improving power generation stability and efficiency, compensating for the insufficient power supply capacity of the initial photovoltaic area, and improving personalized power consumption solutions.
[0142] See also Figure 2 , is a structural diagram of a personalized power plan configuration system provided by an embodiment of the present invention, the system comprising:
[0143] An acquisition module, configured to acquire first acquired images of the same point in the target area of the to-be-configured solution at different time sequences;
[0144] a removal module, configured to remove a first area where the operating equipment is placed from the first acquired image, to obtain a second acquired image;
[0145] an identification module, configured to perform object identification and / or elevation identification on the second acquired image, obtain a second area that does not meet the requirements, and remove the second area from the second acquired image;
[0146] The generation module is used to obtain the irradiation point map of the second acquisition image at different time sequences, and generate a personalized electricity consumption plan for the target area based on the configuration of the irradiation point map and the minimum unit of the power generation equipment.
[0147] The present invention also provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided in the various embodiments described above.
[0148] The storage medium may be a computer storage medium or a communication medium. Communication media include any medium that facilitates the transfer of computer programs from one location to another. Computer storage media may be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and storage medium may be located in an application-specific integrated circuit (ASIC). Alternatively, the ASIC may be located in a user device. Of course, the processor and storage medium may also exist as discrete components in a communication device. The storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0149] The present invention also provides a program product, which includes execution instructions stored in a storage medium. At least one processor of a device can read the execution instructions from the storage medium, and at least one processor executes the execution instructions so that the device implements the methods provided in the various embodiments described above.
[0150] In the above-mentioned terminal or server embodiments, it should be understood that the processor can be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention can be directly implemented by a hardware processor or performed by a combination of hardware and software modules in the processor.
[0151] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for configuring a personalized electricity plan, characterized in that: include: Acquire first acquired images of the same point in the target area of the to-be-configured solution at different time sequences; Eliminate a first area where the operating equipment is placed in the first acquired image to obtain a second acquired image; performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image; Counting the illumination point bitmaps of the second acquired image at different time sequences to obtain the illumination duration of each pixel at the corresponding time sequence; Sort all pixels based on the illumination duration to obtain a pixel sequence, traverse all pixels in the pixel sequence, and add them in the second acquired image in sequence according to the third pixel value based on their positions; After determining that the area formed by the directly or indirectly adjacent third pixel values is greater than or equal to the minimum unit of the power generation equipment, the corresponding area is used as the first power consumption area; Count all first-tier electricity consumption areas until the specifications of the power generation equipment are met; If it is determined that the illumination time of the selected pixel point is less than the preset value, the corresponding pixel point is used as the pixel point to be filled, and the time period for the pixel point to be filled is determined; Determine the pixel points with the illumination duration corresponding to the time segment to be padded in the pixel point sorting as the padded pixel points; The areas formed by the pixels to be padded and the padded pixels are respectively used as the linked second power consumption areas.
2. The method according to claim 1, characterized in that The obtaining of first acquired images of the same point in the target area of the to-be-configured solution at different time sequences includes: Interact with the user to determine the preset collection points in the target area; The drone rises to a preset height at a preset collection point and collects images of the target area at different times to obtain a first collected image.
3. The method according to claim 1, characterized in that Eliminating the first area where the operating equipment is placed in the first acquired image includes: The server generates a culling layer corresponding to the first acquired image, wherein the culling layer is transparent and overlaps the first acquired image, and pixels of the culling layer are arranged in a one-to-one correspondence with pixels of the first acquired image; Based on the culling layer and the user interaction, a first area for placing the operating equipment is determined.
4. The method according to claim 3, characterized in that The determining the first area for placing the operating equipment based on the interaction with the user by removing the layer includes: Receive the pixel points selected by the user in the elimination layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes; A first area for placement of the work equipment is determined based on the pixel attributes.
5. The method according to claim 4, characterized in that The receiving of the pixel points selected by the user in the culling layer and the pixel attributes added to the pixel points, wherein the pixel attributes include contour attributes and point attributes, includes: Obtain the motion trajectory of the pixel points selected by the user by continuously clicking on the screen, and determine the first starting pixel point and the second ending pixel point in the motion trajectory; A pixel whose number of selected motion trajectory pixels is greater than a preset value is counted as a third pixel; A default pixel attribute of a corresponding pixel point is determined based on the first pixel point, the second pixel point, and the third pixel point.
6. The method according to claim 5, characterized in that The determining of the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes: If the number of the third pixel points is less than the first preset value; Determine corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point in the culling layer, assign the corresponding pixel points a first pixel value, and control the corresponding pixel points to convert between transparent and the first pixel value according to a preset time and display contour attributes.
7. The method according to claim 5, characterized in that The determining of the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes: If the number of the third pixel points is greater than or equal to the first preset value; For the corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point determined in the elimination layer, the corresponding pixel points are assigned a second pixel value, and the corresponding pixel points are controlled to convert between transparency and the second pixel value according to a preset time and display point attributes.
8. The method according to claim 5, characterized in that The determining the first area where the operating equipment is placed based on pixel attributes includes: If the pixel attribute is a contour attribute, obtain the contour formed by directly or indirectly adjacent pixels with the same label, and determine all pixels within the contour range to obtain the first area; If the pixel attribute is a point attribute, the first region is obtained by acquiring a region formed by directly or indirectly adjacent pixel points.
9. The method according to claim 1, characterized in that The performing object recognition and / or elevation recognition on the second acquired image to obtain a second area that does not meet the requirements and removing the second area from the second acquired image includes: Performing object recognition and / or elevation recognition on the second collected image to obtain object recognition information and elevation information of each group of pixels; If it is determined that the object recognition information contains an object target, then pixels corresponding to the object target are determined to be removed from the second acquired image; and / or, A second area that does not meet the requirements is determined based on the elevation information of each group of pixel points and is removed from the second acquired image.
10. The method according to claim 9, characterized in that The step of determining the second area that does not meet the requirements based on the elevation information of each group of pixels and removing the second area from the second acquired image includes: Based on the position of the pixel point, the adjacent pixel points are determined, the elevation information difference between each pixel point and the adjacent pixel points is calculated, and the pixel points whose elevation information difference is greater than the preset value are counted to obtain the pixel point set; Pixels corresponding to the pixel set are removed from the second acquired image.
11. Based on the personalized electricity plan configuration system, it is characterized by: include: An acquisition module, configured to acquire first acquired images of the same point in the target area of the to-be-configured solution at different time sequences; a removal module, configured to remove a first area where the operating equipment is placed from the first acquired image, to obtain a second acquired image; an identification module, configured to perform object identification and / or elevation identification on the second acquired image, obtain a second area that does not meet the requirements, and remove the second area from the second acquired image; A generation module is used to count the illumination point bitmaps of the second collected image at different time sequences to obtain the illumination duration of each pixel point at the corresponding time sequence; Sort all pixels based on the illumination duration to obtain a pixel sequence, traverse all pixels in the pixel sequence, and add them in the second acquired image in sequence according to the third pixel value based on their positions; After determining that the area formed by the directly or indirectly adjacent third pixel values is greater than or equal to the minimum unit of the power generation equipment, the corresponding area is used as the first power consumption area; Count all first-tier electricity consumption areas until the specifications of the power generation equipment are met; If it is determined that the illumination time of the selected pixel point is less than the preset value, the corresponding pixel point is used as the pixel point to be filled, and the time period for the pixel point to be filled is determined; Determine the pixel points with the illumination duration corresponding to the time segment to be padded in the pixel point sorting as the padded pixel points; The areas formed by the pixels to be padded and the padded pixels are respectively used as the linked second power consumption areas.
Citation Information
Patent Citations
Bridge construction site selection method suitable for remote mountains
CN110804953A
Transmission tower site selection optimization system and method based on satellite remote sensing recognition
CN112862210A
Photovoltaic base site selection method considering solar resource distribution characteristics
CN115423197A