Personalization-based power utilization scheme configuration method and system
By acquiring and processing image data of the target area, eliminating inappropriate areas, and generating personalized power consumption solutions, the problem that traditional methods are difficult to scientifically plan the layout of photovoltaic equipment is solved, and efficient photovoltaic power generation is achieved.
Patent Information
- Application Number
- CN202510510785.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2045-04-23
AI Technical Summary
In remote mountainous areas and other scenarios, it is difficult for traditional methods to scientifically plan the layout of photovoltaic equipment, resulting in low photovoltaic power generation efficiency.
By obtaining image data of the target area under different orders, combining drone acquisition data, using object recognition and elevation recognition technology to eliminate inappropriate areas, and generating personalized power consumption solutions to ensure that the photovoltaic equipment is arranged in areas with sufficient light.
It realizes efficient photovoltaic power generation, improves power generation efficiency and stability, and meets the power demand for field operations.
Smart Images

Figure CN120046943A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technologies, and in particular, to a method and system for configuring an electricity consumption plan based on personalization. Background Art
[0002] In scenarios such as field construction and exploration, power supply is a key factor in ensuring the smooth progress of operations. For example, when conducting mineral exploration in remote mountainous areas, traditional power grid power supply is difficult to cover, and at this time, photovoltaic devices become an important power supply option. In such scenarios, it is necessary to scientifically plan the layout of photovoltaic devices to meet the power demand. However, the target area often has complex terrain and landforms, diverse vegetation distributions, and various operating devices, which pose challenges to the layout planning of photovoltaic devices.
[0003] When the prior art obtains information about the target area, it may not comprehensively grasp the regional characteristics, and usually relies on human experience to plan the layout of photovoltaic devices. For example, when determining the area where operating devices are placed, it may rely on manual drawing, which is labor-intensive and error-prone.
[0004] Therefore, how to automatically generate a personalized electricity consumption plan in combination with target area data to meet the demand for efficient photovoltaic power generation has become an urgent problem to be solved. Summary of the Invention
[0005] An embodiment of the present invention provides a method and system for configuring an electricity consumption plan based on personalization, which can automatically generate a personalized electricity consumption plan in combination with target area data to meet the demand for efficient photovoltaic power generation.
[0006] In a first aspect of an embodiment of the present invention, a method for configuring an electricity consumption plan based on personalization is provided, including: Obtaining first acquisition images of the same point positions in the target area of the plan to be configured at different time sequences; Removing a first area where operating devices are placed in the first acquisition images to obtain second acquisition images; Performing object recognition and / or elevation recognition on the second acquisition images, obtaining second areas that do not meet the requirements, and removing the second areas from the second acquisition images; Obtaining an irradiation point map of the second acquisition images at different time sequences, and configuring and generating a personalized electricity consumption plan for the target area based on the minimum unit of the power generation device.
[0007] Optionally, in a possible implementation manner of the first aspect, the obtaining first acquisition images of the same point positions in the target area of the plan to be configured at different time sequences includes: Interacting with the user to determine preset acquisition point positions of the target area; Based on the drone ascending to a preset height at a preset collection point to collect images of the target area at different times to obtain the first collection image.
[0008] Optionally, in a possible implementation manner of the first aspect, the removing of the first area where the operating device is placed in the first collection image includes: The server generates a removal layer corresponding to the first collection image. The removal layer is transparent and overlays on the upper part of the first collection image. The pixel points of the removal layer are set in one-to-one correspondence with the pixel points of the first collection image; Based on the interaction with the user through the removal layer, determine the first area where the operating device is placed.
[0009] Optionally, in a possible implementation manner of the first aspect, the determining of the first area where the operating device is placed based on the interaction with the user through the removal layer includes: Receive the pixel points selected by the user in the removal layer and the pixel attributes added to the pixel points. The pixel attributes include contour attributes and point attributes; Based on the pixel attributes, determine the first area where the operating device is placed.
[0010] Optionally, in a possible implementation manner of the first aspect, the receiving of the pixel points selected by the user in the removal layer and the pixel attributes added to the pixel points, where the pixel attributes include contour attributes and point attributes, includes: Obtain the movement trajectory of the pixel points selected by the user continuously clicking on the screen, and determine the first pixel point at the start and the second pixel point at the end of the movement trajectory; Count the pixel points whose selection times of the movement trajectory pixel points are greater than a preset value as the third pixel points; Based on the first pixel point, the second pixel point, and the third pixel point, determine the default pixel attributes of the corresponding pixel points.
[0011] Optionally, in a possible implementation manner of the first aspect, 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; In the removal layer, determine the corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point, assign the first pixel value to the corresponding pixel points, and control the corresponding pixel points to convert and display the contour attributes between transparency and the first pixel value according to a preset time.
[0012] Optionally, in a possible implementation manner of the first aspect, 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 pixels determined for the first pixel, the second pixel, and the third pixel in the culling layer, assign the second pixel value to the corresponding pixels, and control the corresponding pixels to convert between transparency and the second pixel value and display the dot attributes according to a preset time.
[0013] Optionally, in a possible implementation manner of the first aspect, the determining the first area for placing the working device based on the pixel attributes includes: If the pixel attribute is a contour attribute, obtain the contour formed by directly adjacent or indirectly adjacent pixels with the same mark, and determine all the pixels within the contour range to obtain the first area; If the pixel attribute is a dot attribute, obtain the area formed by directly adjacent or indirectly adjacent pixels to obtain the first area.
[0014] Optionally, in a possible implementation manner of the first aspect, the performing object recognition and / or elevation recognition on the second acquired image, obtaining the non-compliant second area and removing the second area from the second acquired image includes: Perform object recognition and / or elevation recognition on the second acquired image to obtain object recognition information and the elevation information of each group of pixels; If it is determined that there is an object target in the object recognition information, determine the pixels corresponding to the object target and remove them from the second acquired image; and / or, Determine the non-compliant second area based on the elevation information of each group of pixels and remove it from the second acquired image.
[0015] Optionally, in a possible implementation manner of the first aspect, the determining the non-compliant second area based on the elevation information of each group of pixels and removing it from the second acquired image includes: Determine the adjacent pixels based on the positions of the pixels, calculate the elevation information difference between each pixel and the adjacent pixels, and count the pixels with the elevation information difference greater than the preset value to obtain a pixel set; Remove the pixels corresponding to the pixel set from the second acquired image.
[0016] Optionally, in a possible implementation manner of the first aspect, the obtaining the irradiation point bitmap of the second acquired image at different time sequences, and configuring and generating a personalized power consumption plan for the target area based on the minimum unit of the power generation device includes: Statistically analyze the irradiation point bitmap of the second acquired image at different time sequences to obtain the irradiation duration of each pixel at the corresponding time sequence; Sort all the pixels based on the irradiation duration to obtain a pixel sequence, and generate a personalized power consumption plan for the target area based on the pixel sequence and the minimum unit of the power generation device.
[0017] Optionally, in a possible implementation manner of the first aspect, generating a personalized electricity consumption plan for a target area based on the pixel point sequence and the minimum unit of the power generation equipment includes: Traversing all the pixels in the pixel sequence, and adding 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, taking the corresponding area as the first power consumption area; All first electricity consumption areas are counted until the specification requirements of the power generation equipment are met.
[0018] Optionally, in a possible implementation of the first aspect, the method further includes: If it is determined that the irradiation 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 filled in the pixel point sorting as the filling pixel points; The areas formed by the to-be-complemented pixels and the complemented pixels are respectively used as the linked second power consumption areas. A second aspect of an embodiment of the present invention provides a personalized power consumption plan configuration system, including: An acquisition module, used to acquire first acquired images of the same point in the target area of the to-be-configured scheme at different time sequences; A removal module, used for removing a first area where the operating equipment is placed in the first collected image to obtain a second collected image; A recognition module, used for performing object recognition and / or elevation recognition on the second acquired image, obtaining a second area that does not meet the requirements and removing the second area from the second acquired image; The generation module is used to obtain the irradiation point map of the second acquisition image at different time sequences, and configure 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.
[0019] Technical effects: By interacting with the user, the preset collection points in the target area are determined, and the first collection image is obtained by collecting images at different times based on the drone rising to a preset height at the preset collection point, so that comprehensive and accurate image data of the target area can be obtained. This provides an accurate regional scope for the subsequent configuration of the power consumption plan, so that the subsequent analysis and planning of the target area are based on reliable data. In the mountain exploration area, the distribution of peaks and valleys and the blocking of sunlight by trees can be clearly presented, providing a key basis for the accurate planning of the placement of photovoltaic equipment.
[0020] The server generates a rejection layer corresponding to the first captured image and determines the first area where the operation device is placed through interaction with the user. In this process, the server can judge the user's intention according to the user's operations on the pixel points (such as the movement trajectory of the selected pixel points, the number of selections, etc.), determine the attributes of the pixel points (outline attributes or point attributes), and then determine the area where the operation device is placed and reject it from the first captured image. This method improves the efficiency and accuracy of the user in determining the area where the operation device is placed, making the determination process of the operation device area in the entire image more intelligent, efficient and user-friendly.
[0021] Perform object recognition and elevation recognition on the second captured image, reject the second area that does not meet the requirements, obtain the illumination point map of the second captured image at different time sequences, and configure and generate a personalized power consumption plan for the target area based on the minimum unit of the power generation device. By counting the illumination duration of each pixel point, sorting the pixel points and determining the power consumption area according to the minimum unit of the power generation device, it can ensure that the power generation device 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 different light time period areas, such as determining the pixel points to be filled and the filled pixel points and constructing a second power consumption area, and adopting methods such as moving photovoltaic devices, the power generation stability and efficiency can be effectively improved, the personalized power consumption plan can be improved, and the photovoltaic power generation efficiency can be improved. Brief Description of the Drawings
[0022] Figure 1 is a schematic flowchart of a method for configuring a personalized power consumption plan provided by an embodiment of the present invention; Figure 2 is a schematic structural diagram of a system for configuring a personalized power consumption plan provided by an embodiment of the present invention. Detailed Embodiments
[0023] The technical solutions of the present invention will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0024] See Figure 1 , which is a schematic flowchart of a method for configuring a personalized power consumption plan provided by an embodiment of the present invention. The method includes: S1, obtain the first captured images of the same points at the same positions in the target area of the power consumption plan to be configured at different time sequences.
[0025] First, the scenarios of this solution are described. In scenarios such as field construction and exploration, power supply often faces many challenges. For example, when conducting mineral exploration in remote mountainous areas, traditional power supply is difficult to cover, and photovoltaic equipment becomes a reliable power supply option. This solution focuses on this, aiming to improve power generation efficiency by scientifically planning the layout of photovoltaic panels. By determining the target area, such as a circular or square range specified by the user, comprehensive image data of this area is obtained. These data cover information such as terrain and vegetation distribution, providing a basic range for subsequent analysis of which areas are suitable for placing photovoltaic equipment. For example, in a mountain exploration area, the user circles a square range as the target area, and the image data obtained by the server can clearly show the distribution of mountains and valleys in this area, as well as whether there are large areas of woods blocking sunlight, thus providing a key basis for accurately planning the placement position of photovoltaic equipment to ensure continuous and efficient photovoltaic power generation and meet the power needs of field operations.
[0026] This step can obtain comprehensive and accurate image data of the target area, providing a regional range for subsequent power usage plan configuration. Among them, the target area can be set by the user, for example, a circular range or a square range.
[0027] In some embodiments, the obtaining of the first acquisition images of the same point positions in the target area of the to-be-configured solution at different time sequences includes: S11, interact with the user to determine the preset acquisition point positions of the target area.
[0028] Based on the user's understanding of the target area and in combination with the requirements of power usage plan configuration, the user marks the points considered representative on the map. For example, when marking an electronic area fence on the map, the user can select the central position of the electronic area fence as the preset acquisition point position. It can be understood that at the preset acquisition point position, after the drone rises to a certain height, it can cover the target area as much as possible to complete the image acquisition of the target area.
[0029] S12, based on the drone rising to a preset height at the preset acquisition point position, acquire images of the target area at different times to obtain the first acquisition images.
[0030] The drone takes off vertically at the preset acquisition point position and rises to the preset height, which is set according to the scale requirements of the target area. For example, when a height of 10 meters can meet the image acquisition requirements, the preset height is 10 meters; after reaching the specified height, the image acquisition device carried by the drone acquires images at different times, covering periods such as morning, noon, and evening, to capture the all-day light changes in the target area, providing rich data support for subsequent analysis and ensuring that the acquired images can comprehensively reflect the characteristics of the target area at different times.
[0031] S2. Remove the first area where the operating equipment is placed in the first captured image to obtain a second captured image.
[0032] In scenarios such as field construction and exploration, various operating equipment may exist in the target area, such as pile drivers and large cranes. The areas where these equipment are placed are not suitable for installing photovoltaic equipment. If not removed, it will affect the accuracy of the photovoltaic panel layout planning. Through this step, the area where the operating equipment is placed in the first captured image is removed to obtain a purer second captured image, focusing on the area available for placing photovoltaic equipment, providing a basis for subsequent accurate analysis and power consumption plan configuration.
[0033] In some embodiments, the removing the first area where the operating equipment is placed in the first captured image includes: S21. The server generates a removal layer corresponding to the first captured image. The removal layer is transparent and overlays on the upper part of the first captured image, and the pixel points of the removal layer are set in one-to-one correspondence with the pixel points of the first captured image.
[0034] The server generates a removal layer based on the first captured image. This layer is transparent, so that users can operate on it without obscuring the content of the first captured image. Moreover, the pixel points of the removal layer are in one-to-one correspondence with the pixel points of the first captured image, ensuring that the subsequent operations on the removal layer can be accurately mapped to the first captured image.
[0035] S22. Interact with the user based on the removal layer to determine the first area where the operating equipment is placed.
[0036] With the help of the removal layer, the server interacts with the user to determine the area where the operating equipment is placed. Users can operate on the removal layer according to their understanding of the target area and mark the location of the operating equipment. In the field construction scenario, the construction personnel are most familiar with the on-site equipment layout. They can mark on the removal layer to indicate the placement areas of equipment such as pile drivers and generators, providing accurate information for subsequent image processing.
[0037] Among them, the interacting with the user based on the removal layer to determine the first area where the operating equipment is placed includes: S221. Receive the pixel points selected by the user in the removal layer and the pixel attributes added to the pixel points. The pixel attributes include contour attributes and point attributes. The server receives the pixel points selected by the user on the exclusion layer and records the attributes added by the user to these pixel points. Pixel attributes are divided into contour attributes and point attributes. Contour attributes are usually used to mark the area occupied by large equipment, such as large cranes, which occupy a certain area on the image, and their range can be accurately delineated through contour attributes; point attributes are used to mark small equipment, such as small motors, which may only appear as a single point on the image and are marked with point attributes.
[0038] In some embodiments, receiving the pixel points selected by the user in the exclusion layer and the pixel attributes added to the pixel points, where the pixel attributes include contour attributes and point attributes, includes: S2211, obtaining the movement trajectory of the pixel points selected by the user continuously clicking on the screen, and determining the first pixel point at the start and the second pixel point at the end in the movement trajectory.
[0039] When the user continuously clicks on the screen on the exclusion layer, the server records the movement trajectory of the selected pixel points. By analyzing this movement trajectory, the first pixel point at the start and the second pixel point at the end are determined. When marking large operating equipment, the user may click along the edge of the equipment. The server records this click trajectory to find the starting and ending pixel points, providing a basis for subsequently determining the approximate range of the equipment.
[0040] S2212, counting the pixel points whose selection times of the pixel points in the movement trajectory are greater than a preset value as the third pixel points.
[0041] In the movement trajectory formed by the user's clicks, the server counts the selection times of each pixel point. The pixel points whose selection times are greater than the preset value are used as the third pixel points. For example, when the user continuously repeats drawing a circle to mark a small equipment, some pixel points may be clicked multiple times, and these pixel points become the third pixel points. By counting the third pixel points, the server can more accurately judge the user's marking intention and the actual position of the equipment.
[0042] S2213, determining the default pixel attributes of the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel points.
[0043] The server determines the attributes of the corresponding pixel points according to the situations of the first pixel point, the second pixel point, and the third pixel points. If the number of the third pixel points is small, it means that the number of the third pixel points repeatedly selected is small, and the server defaults that the user may be drawing a contour, and at this time the pixel points default to have contour attributes. If the number of the third pixel points is large, it means that the user may be drawing points, and the pixel points default to have point attributes. In this way, the server can automatically identify the user's operation intention and provide support for subsequently accurately determining the first area where the operating equipment is placed.
[0044] In some embodiments, determining the pixel attributes default for the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes: S22131, if the number of third pixel points is less than the first preset value.
[0045] After the user operates on the culling layer and generates the pixel point movement trajectory, the server counts the number of third pixel points in the trajectory. When the statistical result shows that the number of third pixel points is less than the preset first preset value (for example, 30), the server preliminarily determines that the user's operation intention is more inclined to draw the outline of the working device. For example, when processing an image of a wild construction site, the user is marking the position of a large tower crane. Since the tower crane occupies a certain area, the number of third pixel points formed during the user's clicking around the edge of the tower crane is relatively small, and the judgment logic of this step will be triggered at this time.
[0046] 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 first pixel value to the corresponding pixel points, and controlling the corresponding pixel points to convert and display the outline attribute between transparency and the first pixel value according to a preset time.
[0047] After determining that the number of 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 movement trajectory in the culling layer. Then, the server assigns the first pixel value to these corresponding pixel points. 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 convert between the transparent state and the first pixel value (i.e., the displayed color) at a preset time interval. The purpose of this is to allow the user to more intuitively see the outlined area marked by themselves and clearly distinguish which pixel points belong to the outline. For example, in the above tower crane example, the server will mark the pixel points involved in clicking around the edge of the tower crane as red and display them flashing at a certain time frequency to highlight the outlined area where the tower crane is located.
[0048] In other embodiments, determining the pixel attributes default for the corresponding pixel points based on the first pixel point, the second pixel point, and the third pixel point includes: S22133, if the number of third pixel points is greater than or equal to the first preset value.
[0049] Conversely, when the server counts that the number of third pixel points is greater than or equal to the first preset value, the server preliminarily determines that the user's operation intention is more inclined to mark a point, that is, the position corresponding to the small-scale operation device. For example, when marking a small electric welding machine device at a field construction site, since the electric welding machine occupies a small area in the image, when the user clicks to mark, they may click multiple times within a small area, resulting in a large number of third pixel points, and at this time, the judgment condition of this step is met.
[0050] S22134, for the corresponding pixel points determined in the elimination layer corresponding to the first pixel point, the second pixel point, and the third pixel point, assign the second pixel value to the corresponding pixel points, and control the corresponding pixel points to convert and display the point attributes between transparency and the second pixel value according to a preset time.
[0051] After determining that the number of third pixel points is greater than or equal to the first preset value, the server also finds the pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point in the elimination layer, and assigns the second pixel value to these corresponding pixel points. The second pixel value can be another specific color, such as blue. Then, the server controls these pixel points to convert between the transparent state and the second pixel value (i.e., the displayed color) according to a preset time, so as to highlight the area of the point attributes marked by the user. For example, for the marking of a small electric welding machine, the server will mark the relevant pixel points as blue and display them flashing at regular time intervals to clearly identify the position of the electric welding machine.
[0052] S222, determine the first area where the operation device is placed based on the pixel attributes.
[0053] After the server determines the attributes (outline attributes or point attributes) of the pixel points, this step is used to accurately determine the area where the operation device is placed according to these attributes. Through the previous operations, the server can already understand whether the user's marking intention is to draw an outline or mark a point, so as to more accurately delimit the position area of the operation device in the image, providing an accurate basis for subsequent elimination of this area and power consumption plan planning.
[0054] Among them, the determining the first area where the operation device is placed based on the pixel attributes includes: S2221, if the pixel attribute is an outline attribute, obtain the outline formed by the directly adjacent or indirectly adjacent pixel points with the same mark, and determine all the pixel points within the outline range to obtain the first area.
[0055] When the pixel attribute is the contour attribute, the server searches for and eliminates the pixel points in the culling layer that have the same label (i.e., are assigned the first pixel value). Then, the server analyzes the adjacent relationships among these pixel points, including direct adjacency (i.e., the pixel points are next to each other horizontally, vertically, or diagonally) and indirect adjacency (which can be connected through other pixel points). Through these adjacent relationships, the server determines a complete contour. Finally, the server determines all the pixel points within this contour range as the first area for placing the operating device. For example, when marking a large tower crane device, the server will determine the area enclosed by the red-labeled pixel points around the tower crane as the first area where the tower crane is located.
[0056] S2222, if the pixel attribute is the point attribute, obtain the area formed by directly adjacent or indirectly adjacent pixel points to get the first area.
[0057] When the pixel attribute is the point attribute, the server also searches for the pixel points that have the same label (i.e., are assigned the second pixel value). Then, by analyzing the direct or indirect adjacent relationships of these pixel points, it determines an area formed by these pixel points and determines this area as the first area for placing the operating device. For example, for the marking of a small electric welding machine, the server will determine the area formed by the blue-labeled pixel points around it as the first area where the electric welding machine is located, and this area may be relatively small.
[0058] Through the above-mentioned method of operating on pixel points and judging attributes on the culling layer, the server can judge the user's operation behavior and predict the user's intention. During the actual operation process, when the user marks the area of the operating device, the server conducts a comprehensive analysis based on various information such as the movement trajectory formed by the user's clicked pixel points and the number of times the pixel points are selected. When the user clicks around the edge of a large operating device and the number of the third pixel points formed is small, the server can accurately judge that the user's intention is to draw the contour of the operating device, and then assign a specific pixel value to the corresponding pixel points and display them to assist the user in clearly presenting the contour area of the device. When the user marks a small operating device and there are a large number of the third pixel points, the server can quickly recognize that the user's intention is to mark points, and also by assigning a specific pixel value to the corresponding pixel points and displaying them, it helps the user to clarify the device position area. This way of closely combining with the user's operation to predict the intention and assist in determining the area greatly improves the efficiency and accuracy of the user in determining the placement area of the operating device, reduces the workload of the user's manual precise drawing, and makes the process of determining the operating device area in the entire image more intelligent, efficient, and user-friendly.
[0059] S3, perform object recognition and / or elevation recognition on the second captured image, obtain the second area that does not meet the requirements, and eliminate the second area from the second captured image.
[0060] In scenarios such as field construction and exploration, in order to scientifically plan the layout of photovoltaic equipment, it is necessary to further screen out areas that are not suitable for installing photovoltaic panels. The second collected image has excluded the areas where the operating equipment is placed, but there may still be other non-compliant areas, such as natural object areas like trees and rivers, and areas with excessive terrain undulation. Through object recognition and elevation recognition, these non-compliant areas can be accurately located and excluded, enabling subsequent analysis to focus on the areas that are truly suitable for installing photovoltaic equipment.
[0061] In some embodiments, the object recognition and / or elevation recognition of the second collected image to obtain the non-compliant second area and exclude the second area from the second collected image includes: S31, perform object recognition and / or elevation recognition on the second collected image to obtain object recognition information and the elevation information of each group of pixel points.
[0062] The server conducts a comprehensive analysis of the second collected image. For object recognition, an existing image recognition model in the prior art can be used. For example, through recognition models such as OPCV, the objects in the image are classified and recognized to determine whether there are object targets such as trees, rivers, and buildings, and detailed information such as their positions and sizes is obtained. Elevation recognition can utilize point cloud data processing technology. Combining the image information collected by the drone, the elevation value corresponding to each group of pixel points in the image is calculated. It can also be achieved by the height sensor carried by the drone flying around the target area to record the heights of different points within the target area. This solution does not limit it, and the above are prior arts. For example, in a field construction scenario 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 point.
[0063] S32, if it is determined that there are object targets in the object recognition information, determine the pixel points corresponding to the object targets and exclude them from the second collected image.
[0064] When the server determines that there are object targets in the image through object recognition, it will find the pixel points corresponding to these object targets. Taking trees as an example, trees will block sunlight and affect the light reception of photovoltaic panels. Therefore, the pixel points corresponding to the trees need to be excluded from the second collected image. The server will mark the area occupied by the trees in the image according to the object recognition information, mark all the pixel points within this area, and exclude them in subsequent processing.
[0065] S33, and / or determine the non-compliant second area based on the elevation information of each group of pixel points and exclude it from the second collected image.
[0066] The undulation of the terrain will have an important impact on the installation and power generation efficiency of photovoltaic devices. Too steep terrain may lead to difficulties in installing photovoltaic panels and uneven illumination at different times. Therefore, the server will further screen out and eliminate the areas that do not meet the requirements based on the elevation information of each group of pixel points.
[0067] Among them, determining the second area that does not meet the requirements based on the elevation information of each group of pixel points and eliminating it from the second acquisition image includes: S331, determining adjacent pixel points based on the positions of the pixel points, calculating the elevation information difference between each pixel point and its adjacent pixel points, and counting the pixel points with elevation information differences greater than a preset value to obtain a set of pixel points.
[0068] The server first determines the adjacent pixel points of each pixel point according to the positional relationship of the pixel points in the image. For a pixel point, its adjacent pixel points can be the pixel points adjacent in the horizontal, vertical or diagonal directions. Then, the elevation information difference between each pixel point and its adjacent pixel points is calculated. The preset value is set according to the actual situation and the installation requirements of the photovoltaic device. For example, when the elevation difference between adjacent pixel points exceeds 0.5 meters, it is considered that the terrain undulation in this area is too large. The server will count all the pixel points with elevation information differences greater than the preset value and form these pixel points into a set of pixel points. In the field construction scenario in the mountainous area, the pixel points corresponding to the areas with large elevation changes on the hillside will be included in this set of pixel points.
[0069] S332, eliminating the pixel points corresponding to the set of pixel points from the second acquisition image.
[0070] After obtaining the set of pixel points with elevation information differences greater than the preset value, the server will eliminate the pixel points corresponding to these pixel points from the second acquisition image. Through this step, the areas with too large terrain undulation and not suitable for installing photovoltaic devices are removed, providing a more accurate data basis for generating personalized power consumption plans in the follow-up.
[0071] S4, obtaining the irradiation position maps of the second acquisition image at different time sequences, and configuring and generating a personalized power consumption plan for the target area based on the minimum unit of the power generation device.
[0072] After completing the elimination of the unsuitable areas in the second acquisition image, this step generates a personalized power consumption plan that meets the actual needs based on the illumination conditions of the target area at different time sequences and the characteristics of the power generation device, so as to maximize the power generation efficiency of the photovoltaic power generation.
[0073] In some embodiments, the obtaining the irradiation position maps of the second acquisition image at different time sequences and configuring and generating a personalized power consumption plan for the target area based on the minimum unit of the power generation device includes: S41. Statistically analyze the illumination point maps of the second acquisition images at different time sequences to obtain the illumination duration of each pixel point at the corresponding time sequence.
[0074] The server conducts in-depth statistical analysis on the illumination point maps of the second acquisition images taken at different time points. By tracking and recording the illumination states of each pixel point in the image at different moments, the server can calculate the illumination duration of each pixel point at the corresponding time sequence. For example, in an outdoor construction site, from morning to evening, in the images taken at different time periods, the server can clearly know the illumination duration of each point during different time periods such as from 9 am to 10 am and from 2 pm to 3 pm. This kind of statistical analysis of the illumination duration provides a key basis for subsequent determination of which areas are more suitable for installing power generation equipment.
[0075] S42. Sort all pixel points based on the indicated illumination duration to obtain a pixel point sequence, and generate a personalized power usage plan for the target area based on the pixel point sequence and the minimum unit of the power generation equipment.
[0076] Based on the illumination duration of each pixel point statistically obtained previously, the server sorts all pixel points to form a pixel point sequence. This sequence is arranged in descending order of illumination duration, which is convenient for subsequent reasonable layout planning according to the characteristics of the power generation equipment. At the same time, in combination with the minimum unit of the power generation equipment, such as the area size of a single photovoltaic panel, the server starts to generate a personalized power usage plan for the target area.
[0077] Among them, the generating of the personalized power usage plan for the target area based on the pixel point sequence and the minimum unit of the power generation equipment includes: S421. Traverse all pixel points in the pixel point sequence and sequentially add them in the second acquisition image based on their positions according to the third pixel value.
[0078] The server sequentially traverses each pixel point in the pixel point sequence. According to the position of the pixel point in the second acquisition image, it adds according to the third pixel value on the image. The third pixel value can be a specific color used to mark potential areas for installing power generation equipment. For example, the server marks the corresponding position of the first pixel point in the pixel point sequence in the second acquisition image as green (assuming green is the third pixel value), and then sequentially performs the same operation on subsequent pixel points, gradually identifying the areas related to the illumination duration on the image.
[0079] S422. After determining that the area formed by directly adjacent or indirectly adjacent third pixel values is greater than or equal to the minimum unit of the power generation equipment, use the corresponding area as the first power usage area.
[0080] The server monitors in real time the pixel points with the third pixel value added in the second acquired image. When it is found that the area formed by directly adjacent or indirectly adjacent third pixel values is greater than or equal to the minimum unit area of the power generation device, this area is determined as the first power consumption area. For example, when the area formed by connecting multiple pixel points marked in green reaches the area requirement of a single photovoltaic panel, this area is recognized as a first power consumption area suitable for installing photovoltaic panels. This process ensures that the power generation devices can be arranged in the well-lit area in the most reasonable way.
[0081] S423, count all the first power consumption areas until the specification requirements of the power generation device are met.
[0082] The server continuously counts all the eligible first power consumption areas. Continuously repeat the previous steps, traverse the pixel point sequence, and determine more first power consumption areas until the total area or the total number of these areas meets the specification requirements of the power generation device. For example, if a certain number of photovoltaic panels are planned to be installed, the server will continuously search for suitable areas until enough first power consumption areas are found to place these photovoltaic panels, thus completing the preliminary planning of the layout of the power generation devices in the personalized power consumption plan for the target area, ensuring that the power generation devices can make full use of the light resources in the target area and achieve efficient power generation.
[0083] In the above embodiment, when generating the personalized power consumption plan, when the photovoltaic area composed of pixel points with illumination duration greater than the preset value cannot meet the power supply demand, potential available areas need to be further explored, and this solution is achieved by linking areas with different illumination periods. Some pixel points may have an illumination duration less than the preset value due to factors such as geographical environment and obstacles. If power generation devices are installed separately in the areas where these pixel points are located, the power generation efficiency will be greatly affected. By processing them through the following steps, the power consumption plan can be further optimized and the overall power generation efficiency can be improved, including: If it is determined that the illumination duration of the selected pixel point is less than the preset value, the corresponding pixel point is used as a pixel point to be supplemented, and the time period to be supplemented for the pixel point to be supplemented is determined.
[0084] The server first traverses the generated pixel point sequence and filters out those pixel points that are excluded from the initial photovoltaic area planning due to the illumination duration being less than the preset value. The area formed by these pixel points is the area to be filled. For example, it is found through statistics that the illumination duration of some pixel points in a certain area is only 3 hours per day, which is lower than the preset standard of 6 hours. This area is determined as the area to be filled. For the area to be filled, the server determines the time period with insufficient illumination to be filled. For example, the above area may lack illumination in the time period from 9:00 to 12:00. It should be noted that multiple connected pixel points to be filled need to form an area where photovoltaic panels can be placed, otherwise the pixel points to be filled cannot perform subsequent linkages.
[0085] Determine the pixel points corresponding to the illumination duration in the pixel point sorting that correspond to the time period to be filled as the filling pixel points.
[0086] Based on the time period to be filled, the server traverses the entire pixel point sequence again to find an area with sufficient illumination during this time period. The corresponding pixel points are the filling pixel points. Suppose in another area, the illumination duration of the pixel points reaches 3 hours in the time period from 9:00 to 12:00, meeting the illumination supplement requirement for the first area. This area then becomes the area complementary to the area to be filled.
[0087] The areas formed by the pixel points to be filled and the filling pixel points respectively are used as the second power consumption areas for linkage.
[0088] Construct the area to be filled and the complementary area as the second power consumption area for linkage. In terms of implementation, on the one hand, mobile photovoltaic devices can be used. Taking the previous Area A and Area B as an example, during the period from 9:00 to 12:00, the mobile photovoltaic device is placed in Area B to make full use of the illumination in this area for power generation; while in the time period other than 9:00 - 12:00, the mobile photovoltaic device is transferred to Area A to work. This ensures that the entire second power consumption area can achieve the best power generation effect at different time periods, effectively improving the power generation stability and efficiency, making up for the insufficient power supply capacity of the initial photovoltaic area, and improving the personalized power consumption plan.
[0089] See Figure 2 , which is a schematic structural diagram of a personalized power consumption plan configuration system provided by an embodiment of the present invention. The system includes: An acquisition module, configured to acquire the first acquisition images of the same point positions in the target area of the plan to be configured at different time sequences; An elimination module, configured to eliminate the first area where the working device is placed in the first acquisition image to obtain the second acquisition image; An identification module, configured to perform object identification and / or elevation identification on the second acquisition image, obtain the second area that does not meet the requirements, and eliminate the second area from the second acquisition image; A generation module, configured to obtain the irradiation point maps of the second acquisition images at different time sequences, and generate a personalized power consumption plan for a target area based on the minimum unit of the power generation equipment for the irradiation point maps.
[0090] The present invention also provides a storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the methods provided by the above various embodiments.
[0091] Among them, the storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, the storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC for short). In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist as discrete components in a communication device. The storage medium can 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, etc.
[0092] The present invention also provides a program product, which includes execution instructions stored in a storage medium. At least one processor of the device can read the execution instructions from the storage medium, and the execution of the execution instructions by at least one processor enables the device to implement the methods provided by the above various embodiments.
[0093] In the above embodiments of the terminal or the server, it should be understood that the processor can be a central processing unit (abbreviated as CPU in English), and can also be other general-purpose processors, digital signal processors (abbreviated as DSP in English), application specific integrated circuits (abbreviated as ASIC in English), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the present invention can be directly implemented by the execution of the hardware processor, or implemented by the combination of the hardware and software modules in the processor.
[0094] 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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and 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 power consumption plan, characterized in that: include: Acquire the first acquired images of the same point in the target area of the to-be-configured scheme 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; The irradiation point map of the second acquisition image at different time sequences is obtained, and the irradiation point map is configured based on the minimum unit of the power generation equipment to generate a personalized electricity consumption plan for the target area.
2. The method according to claim 1, characterized in that The step of obtaining 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; Based on the drone rising to a preset height at a preset collection point, images of the target area at different times are collected to obtain a first collected image.
3. The method according to claim 1, characterized in that The step of removing the first area in the first acquired image where the operating equipment is placed includes: The server generates a rejection layer corresponding to the first collected image, wherein the rejection layer is transparent and overlapped on the first collected image, and the pixels of the rejection layer are arranged in a one-to-one correspondence with the pixels of the first collected 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 step of 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 working 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 elimination 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 point 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 point whose number of selected motion trajectory pixel points is greater than a preset value is counted as a third pixel point; 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 the default pixel attribute of the corresponding pixel point 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; The corresponding pixel points corresponding to the first pixel point, the second pixel point, and the third pixel point are determined in the culling layer, the corresponding pixel points are assigned the first pixel value, and the corresponding pixel points are controlled to switch between transparency 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 the default pixel attribute of the corresponding pixel point 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 working equipment is placed based on the pixel attributes comprises: 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 region; If the pixel attribute is a point attribute, a region formed by directly or indirectly adjacent pixel points is obtained to obtain the first region.
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 there is an object target in the object recognition information, then the pixel points corresponding to the object target are determined to be removed from the second collected image; and / or, The second area that does not meet the requirements is determined based on the elevation information of each group of pixels 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 comprises: Determine the adjacent pixels based on the position of the pixel, calculate the elevation information difference between each pixel and the adjacent pixel, and count the pixels whose elevation information difference is greater than a preset value to obtain a pixel set; The pixel points corresponding to the pixel point set are removed from the second acquired image.
11. The method according to claim 1, characterized in that: The step of acquiring the 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 includes: The illumination point bitmaps of the second collected image at different time sequences are counted to obtain the illumination time of each pixel at the corresponding time sequence; 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.
12. The method according to claim 11, characterized in that The generating of a personalized electricity consumption plan for a target area based on the pixel point sequence and the minimum unit of the power generation equipment includes: Traversing all the pixels in the pixel sequence, and adding 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, taking the corresponding area as the first power consumption area; All first electricity consumption areas are counted until the specification requirements of the power generation equipment are met.
13. The method according to claim 12, characterized in that Also includes: If it is determined that the irradiation 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 filled in the pixel point sorting as the filling pixel points; The areas formed by the to-be-complemented pixels and the complemented pixels are respectively used as the linked second power consumption areas.
14. Based on the personalized electricity consumption plan configuration system, it is characterized by: include: An acquisition module, used for acquiring first acquired images of the same point in the target area of the to-be-configured scheme at different time sequences; A removal module, used for removing a first area where the operating equipment is placed in the first collected image to obtain a second collected 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; The generation module is used to obtain the irradiation point map of the second acquisition image at different time sequences, and configure 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.
Citation Information
Patent Citations
Transmission project site and line selecting method based on GIS space information
CN103984997A
Photovoltaic power generation station location method, device and system based on unmanned aerial vehicle platform
CN105608281A
Bridge construction site selection method suitable for remote mountains
CN110804953A
Early-stage refined site selection method for photovoltaic power station
CN112241833A
Transmission tower site selection optimization system and method based on satellite remote sensing recognition
CN112862210A