Energy device electronic layout generation method, device and equipment and storage medium

CN122336040APending Publication Date: 2026-07-03SHANGHAI MOOREWATT ENERGY TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI MOOREWATT ENERGY TECHNOLOGY CO LTD
Filing Date
2024-12-31
Publication Date
2026-07-03

Smart Images

  • Figure CN122336040A_ABST
    Figure CN122336040A_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, device, and storage medium for generating electronic layout diagrams of energy equipment. The method includes: scanning graphic codes in an installation drawing using a layout scanning page to obtain installation information; the layout scanning page includes a first coordinate system, and the installation drawing includes a second coordinate system, the first coordinate system and the second coordinate system corresponding to each other; the installation information is used to at least indicate the location of the energy equipment; and an electronic layout diagram of the energy equipment is generated based on the installation information. This method can improve the efficiency of generating electronic layout diagrams of energy equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information management technology for energy equipment, and in particular to a method, apparatus, device, and storage medium for generating electronic layout diagrams of energy equipment. Background Technology

[0002] With the continuous development of new energy technologies, the proportion of new energy power generation is increasing, and the construction of new energy power plants is accelerating. The construction of new energy power plants is of great significance for environmental protection, sustainable development and energy transition.

[0003] Taking solar power generation as an example, during the construction of a new energy power station, paper installation drawings are manually drawn based on the installation locations of photovoltaic equipment, micro-inverters, and other equipment installed on site.

[0004] However, paper installation drawings have many inconveniences, such as being difficult to save, carry, or modify. Therefore, there is an urgent need for a technical solution that can generate electronic layout diagrams of energy equipment. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, device, and storage medium for generating electronic layout diagrams of energy devices that can improve the generation efficiency of electronic layout diagrams of energy devices, in order to address the above-mentioned technical problems.

[0006] In a first aspect, this application provides a method for generating an electronic layout diagram of an energy device. The method for generating the electronic layout diagram of an energy device is applied to an electronic device, and the method includes:

[0007] The installation information is obtained by scanning the graphic codes in the installation drawings using the layout scanning page; the layout scanning page includes a first coordinate system, and the installation drawings include a second coordinate system, with the first and second coordinate systems corresponding to each other; the installation information is used to indicate at least the location of the energy equipment.

[0008] An electronic layout diagram of the energy equipment is generated based on the installation information.

[0009] In one embodiment, installation information is obtained by scanning the graphic code in the installation drawings through a layout scanning page, including:

[0010] Scan the graphic code in the installation drawing using the layout scanning page to obtain the energy conversion equipment identifier corresponding to the graphic code;

[0011] The installation information is obtained based on the energy conversion equipment identifier.

[0012] In one embodiment, obtaining the installation information based on the energy conversion device identifier includes at least one of the following steps:

[0013] Query the server for the installation information corresponding to the energy conversion device identifier;

[0014] Based on the second position of the graphic code corresponding to the energy conversion device identifier in the second coordinate system, determine the first position of the energy conversion device corresponding to the energy conversion device identifier in the first coordinate system;

[0015] Based on the energy conversion device identifier, obtain the installation angle information of the energy device input by the user.

[0016] In one embodiment, the installation information includes:

[0017] The energy conversion device identifier corresponds to the first position of the energy conversion device in the first coordinate system;

[0018] The installation angle information of the energy device includes at least one of the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device;

[0019] The quantity and connection relationship of the energy devices corresponding to the energy conversion equipment:

[0020] If the number of energy devices corresponding to the energy conversion device is 1, then the energy conversion device is a first type of energy conversion device, and the connection relationship between the first type of energy conversion device and the energy device is a one-to-one connection;

[0021] If the number of energy devices corresponding to the energy conversion device is greater than 1, then the energy conversion device is a second type of energy conversion device, and the connection relationship between the second type of energy conversion device and the energy devices is a one-to-many connection in a preset direction.

[0022] In one embodiment, generating an electronic layout diagram of the energy equipment based on the installation information includes:

[0023] Based on the first position of the energy conversion device in the first coordinate system, generate a first type of virtual energy device corresponding to the first type of energy conversion device in the electronic layout diagram; and / or,

[0024] Based on the first position of the energy conversion device in the first coordinate system, a second type of virtual energy device corresponding to the second type of energy conversion device is generated in the electronic layout diagram, and a third type of virtual energy device corresponding to the second type of energy conversion device is generated according to the preset direction.

[0025] In one embodiment, generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes:

[0026] Detect the number of vacant areas around the second type of virtual energy device in the electronic layout diagram;

[0027] If the number of the free areas is equal to 1, then a third type of virtual energy device in the preset direction is generated in the free areas;

[0028] If the number of free areas is greater than 1, then the third type of virtual energy device is generated in the free areas in the preset direction.

[0029] In one embodiment, generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes:

[0030] Based on the preset direction included in the installation information, the area of ​​the second type of virtual energy device in the preset direction is determined in the electronic layout diagram;

[0031] The third type of virtual energy device is generated in the area in the preset direction.

[0032] In one embodiment, generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes:

[0033] Detect the user's region selection operation in the electronic layout diagram, and generate a third type of virtual energy device in the region corresponding to the region selection operation;

[0034] The preset direction is determined according to the region selection operation, and other third-type virtual energy devices are generated in the preset direction of the third-type virtual energy devices.

[0035] In one embodiment, the method further includes:

[0036] Generate a virtual energy conversion device corresponding to the first type of energy conversion device on the first type of virtual energy device; and / or,

[0037] A virtual energy conversion device corresponding to the second type of energy conversion device is generated on the second type of virtual energy device.

[0038] In one embodiment, generating an electronic layout diagram of the energy equipment based on the installation information further includes:

[0039] Based on the installation angle information of the energy equipment, the azimuth angle, rotation angle, and / or tilt angle of the energy equipment are generated on the first type of virtual energy equipment, the second type of virtual energy equipment, and the third type of virtual energy equipment in the electronic layout diagram.

[0040] Secondly, this application also provides an electronic layout diagram generation apparatus for energy equipment. The electronic layout diagram generation apparatus for energy equipment is applied to electronic devices, and the apparatus includes:

[0041] The acquisition module is used to scan the graphic codes in the installation drawings through the layout scanning page to obtain installation information; the layout scanning page includes a first coordinate system, the installation drawings include a second coordinate system, and the first and second coordinate systems correspond to each other; the installation information is used to indicate at least the location of the energy equipment;

[0042] A generation module is used to generate an electronic layout diagram of the energy equipment based on the installation information.

[0043] Thirdly, this application also provides an electronic device. The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described in the first aspect above.

[0044] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.

[0045] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.

[0046] The aforementioned method, apparatus, device, and storage medium for generating electronic layout diagrams of energy equipment allow an electronic device to scan graphic codes in an installation drawing via a layout scanning page to obtain installation information. The layout scanning page includes a first coordinate system, and the installation drawing includes a second coordinate system, which correspond to each other. This installation information at least indicates the location of the energy equipment. The electronic device can then automatically generate an electronic layout diagram of the energy equipment based on this installation information, achieving automatic generation of the electronic layout diagram. Furthermore, the second coordinate system in the installation drawing is consistent with the first coordinate system in the layout scanning page, which reduces the positional error rate during the electronic layout diagram generation process and helps ensure accurate generation. In addition, compared to the method where the terminal photographs the installation drawing and uploads the image to a server for parsing, this method may result in server parsing failures, and the server then returns the parsing failure result to the terminal, a process that is time-consuming and slow. In this embodiment, the electronic device can locally scan graphic codes in the installation drawing to obtain installation information, without relying on parsing from a remote server. This results in a faster response time for the electronic device, improving the efficiency of electronic layout diagram generation. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 This is an implementation environment diagram of the electronic layout diagram generation method for energy devices in one embodiment;

[0049] Figure 2 This is a flowchart illustrating a method for generating an electronic layout diagram of an energy device in one embodiment;

[0050] Figure 3 This is a schematic diagram of the installation drawing in another embodiment;

[0051] Figure 4 This is a schematic diagram of the installation drawing in another embodiment;

[0052] Figure 5 This is a schematic diagram of the installation drawing in another embodiment;

[0053] Figure 6 This is a schematic diagram illustrating the layout of the scanned page in another embodiment;

[0054] Figure 7 This is a flowchart illustrating step 201 in another embodiment;

[0055] Figure 8 This is a schematic diagram of the identifiers of various energy conversion devices obtained by scanning each graphic code through layout scanning page in another embodiment;

[0056] Figure 9 This is a flowchart illustrating a method for generating an electronic layout diagram of an energy device in another embodiment;

[0057] Figure 10 This is a schematic diagram of the process for generating a third type of virtual energy device corresponding to a second type of energy conversion device according to a preset direction in another embodiment.

[0058] Figure 11 This is a schematic diagram of a virtual energy device generated in the first coordinate system in another embodiment;

[0059] Figure 12 This is a schematic diagram of the free area in another embodiment;

[0060] Figure 13 This is a schematic diagram of the free area in another embodiment;

[0061] Figure 14 This is a schematic diagram illustrating the triggering of a page in another embodiment;

[0062] Figure 15 A schematic diagram illustrating the layout of a page in another embodiment;

[0063] Figure 16 This is a schematic diagram illustrating the layout of the details page in another embodiment;

[0064] Figure 17 This is a schematic diagram of the electronic layout in another embodiment;

[0065] Figure 18 A schematic diagram of an angle setting control in another embodiment;

[0066] Figure 19 A schematic diagram illustrating the layout of a page in another embodiment;

[0067] Figure 20 A schematic diagram illustrating the layout of a page in another embodiment;

[0068] Figure 21 This is a structural block diagram of an electronic layout diagram generation device for energy equipment in one embodiment;

[0069] Figure 22 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0070] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0071] The electronic layout diagram generation method for energy equipment provided in this application embodiment can be applied to, for example... Figure 1 In the implementation environment shown, electronic device 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on another network server.

[0072] The electronic device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle systems, and projection devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. The server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0073] It should be noted that, Figure 1 The implementation environment shown does not limit the implementation environment of the electronic layout diagram generation method for energy equipment provided in this application. In actual implementation, the implementation environment used by the electronic layout diagram generation method for energy equipment provided in this application may include more than [other environments]. Figure 1 The implementation environment shown may have more or fewer devices. For example, the implementation environment in which the electronic layout diagram generation method for energy devices provided in this application embodiment is applied may only include electronic device 102, that is, electronic device 102 does not need to communicate with server 104 during the process of generating electronic layout diagram, etc.

[0074] In one exemplary embodiment, such as Figure 2 As shown, a method for generating an electronic layout diagram of an energy device is provided. Taking the application of this method to an electronic device as an example, the method includes the following steps 201 and 202:

[0075] Step 201: The electronic device scans the graphic code in the installation drawing through the layout scanning page to obtain the installation information.

[0076] Each energy device is installed on-site at the power plant. These devices can be, for example, new energy equipment (such as photovoltaic modules). After installation, graphic codes are manually affixed to the installation drawings. The energy devices can also be connected to energy conversion equipment; one energy conversion device can connect to one or more energy devices. Taking photovoltaic modules as an example, the energy conversion equipment could be a power converter such as a micro-inverter (micro-inverter). The installation drawings can also record the wiring relationships between the devices, facilitating the subsequent creation of electronic layout diagrams.

[0077] The installation drawings may include a second coordinate system, which can be a two-dimensional coordinate system or a three-dimensional spatial coordinate system. The following embodiments will all use a two-dimensional coordinate system as an example. The second coordinate system is divided into multiple location boxes, each location box corresponding to a different horizontal and / or vertical coordinate. Each location box corresponds to an installation location, which is the location in the power plant where energy equipment can be installed.

[0078] Users first receive blank installation drawings, meaning all the boxes in the installation drawings are blank. Users then paste graphic codes into some or all of the boxes in the installation drawings according to the installation location of each energy device in the power station.

[0079] In one possible implementation, the graphic code can be a graphic code for an energy conversion device, with one graphic code corresponding to one energy conversion device. When a user pastes a graphic code into a location box, it indicates that an energy device and its connected energy conversion device are installed at the corresponding installation location. As mentioned above, an energy conversion device can connect to one (i.e., a one-to-one connection) or multiple energy devices (i.e., a one-to-many connection). After pasting all the graphic codes into the installation drawing, for one-to-many connections, the user continues to write the association between the energy conversion device and its connected other energy devices into the installation drawing, thus obtaining the installation drawing.

[0080] In another possible implementation, the graphic code can also be a graphic code for an energy device. One graphic code corresponds to one energy device. When a user pastes a graphic code into a location box, it indicates that an energy device is installed at the installation location corresponding to that location box. After pasting all the graphic codes into the installation drawing, the user can continue to enter the association relationship between the energy device and the energy conversion device in the installation drawing. For the above one-to-many connection case, the user can also continue to enter the association relationship between the energy conversion device and other connected energy devices in the installation drawing. After drawing, the installation drawing is obtained.

[0081] Each graphic code corresponds to one energy conversion device; for example, see [link to example]. Figure 3 , Figure 3 This is a schematic diagram of an installation drawing.

[0082] Figure 3 In the second coordinate system, a graphic code is pasted in the A-1 position box (horizontal coordinate 1, vertical coordinate A), and the character "2" is marked in the A-2 position box. A connection relationship "—" is drawn between the graphic code and the character "2". This indicates that an energy conversion device is installed at the installation position corresponding to the A-1 position box. This energy conversion device is connected to two energy devices. The installation position of one energy device corresponds to the A-1 position box, and the installation position of the other energy device corresponds to the A-2 position box.

[0083] Figure 3 In the second coordinate system, a graphic code is pasted in the B-4 position box, and no other connection relationship is drawn for the graphic code. This indicates that an energy device and an energy conversion device are installed at the installation position corresponding to the B-4 position box, and the energy conversion device is not connected to other energy devices.

[0084] Figure 3 In the second coordinate system, a graphic code is pasted in position box C-2. Position boxes C-3, C-4, and C-5 are marked with the characters "2", "3", and "4" respectively, and a connection "—" is drawn between the graphic code and the character "2". This indicates that an energy conversion device is installed at the installation location corresponding to position box C-2. This energy conversion device is connected to four energy devices in total. The installation location of one energy device corresponds to position box C-2, and the installation locations of the other three energy devices correspond to position boxes C-3, C-4, and C-5 respectively. It should be noted that... Figure 3 The character "2" in position C-3 and the character "3" in position C-4 can be connected by either no "—" or a "—" connection. Figure 3 The connection between the character "4" in the C-4 position box and the character "5" in the C-5 position box can be either omitted or drawn. There are no specific restrictions on the representation of the connection relationship between devices in the installation drawing.

[0085] For example, see Figures 4-5 , Figures 4-5 These are schematic diagrams of other exemplary installation drawings. Figures 4-5 The meaning of the graphic code and the characters marked in the location box are the same as those in the image. Figure 3 Similarly, I will not go into details here, among which, Figure 5The box A-12 is marked with the character "1", indicating that an energy device is installed at the installation location corresponding to box A-12.

[0086] Optionally, in addition to the aforementioned second coordinate system, graphic code, and other information, the installation drawings may also include information such as drawing orientation and drawing date. There are no specific restrictions on the information included in the installation drawings.

[0087] After the installation drawings are completed, the electronic equipment automatically generates an electronic layout diagram of the energy equipment based on the installation drawings. The electronic equipment can trigger the electronic layout diagram generation process on its own, or it can respond to a detected trigger operation (which can be user input) to enter the electronic layout diagram generation process.

[0088] For example, an electronic device can obtain installation information by scanning the graphic code in the installation drawing through the layout scanning page.

[0089] The layout scan page can be displayed on the screen of an electronic device. Optionally, the layout scan page can occupy the entire screen of the electronic device, or it can occupy a portion of the screen of the electronic device.

[0090] The layout scanning page includes a first coordinate system, which corresponds to a second coordinate system. Similar to the second coordinate system, the first coordinate system can be a two-dimensional coordinate system, or of course, a three-dimensional spatial coordinate system. The following embodiments will all use a two-dimensional coordinate system as an example for introduction.

[0091] For example, taking a mobile phone as an example, where the electronic device is used to generate an electronic layout diagram and the process is triggered by a user, this generation process can be combined with user operations, see [link to relevant documentation]. Figure 6 , Figure 6 This is an exemplary diagram of a layout scan page. The layout scan page includes a first coordinate system, which is also divided into multiple position boxes, corresponding to various position boxes in a second coordinate system. The layout scan page may also include a scan trigger control (such as...). Figure 6 The blue scan trigger control shown in the image is used by the user to click on the scan trigger control. The mobile phone detects the trigger operation and then scans the graphic code in the installation drawing through the layout scan page to obtain the installation information. The installation information is used to indicate at least the location of the energy equipment.

[0092] Possible implementation methods for electronic devices to obtain installation information by scanning graphic codes in installation drawings through layout scanning pages will be described in the following embodiments.

[0093] Step 202: The electronic device generates an electronic layout diagram of the energy equipment based on the installation information.

[0094] After the electronic device obtains the installation information through the above-described implementation method, the installation information at least indicates the installation location of each energy device. The electronic device can then generate virtual energy devices at least in the corresponding positions of the blank electronic layout diagram based on the installation information, thereby obtaining the electronic layout diagram.

[0095] In the above embodiment, the electronic device scans the graphic code in the installation drawing through the layout scanning page to obtain installation information. The layout scanning page includes a first coordinate system, and the installation drawing includes a second coordinate system. The first coordinate system and the second coordinate system correspond to each other. The installation information is used to indicate the location of the energy equipment. The electronic device can then automatically generate an electronic layout diagram of the energy equipment based on the installation information, thereby realizing the automatic generation of the electronic layout diagram.

[0096] In addition, compared to the method of taking pictures of the installation drawings by the terminal and uploading the pictures to the server for parsing, which may result in the server failing to parse the images and then returning the result to the terminal, this process is time-consuming and has a slow response speed. In the embodiment of this application, the electronic device locally scans the graphic codes in the installation drawings to obtain the installation information, without relying on the parsing of the remote server. The electronic device has a fast response speed, which helps to improve the generation efficiency of the electronic layout diagram.

[0097] In this embodiment, the second coordinate system included in the installation drawing is consistent with the first coordinate system included in the layout scanning page, which can reduce the position error rate in the electronic layout diagram generation process. The installation drawing marks the installation position of energy equipment, the installation position of energy conversion equipment, and the wiring logic between equipment, which facilitates accurate description of equipment installation position and helps to ensure the accurate generation of electronic layout diagram.

[0098] In one embodiment, based on Figure 2 The embodiment shown below illustrates another implementation method for obtaining installation information by scanning graphic codes in installation drawings through a layout scanning page of an electronic device.

[0099] See Figure 7 Step 201 includes Figure 7 Steps 701 and 702 are shown below:

[0100] Step 701: The electronic device scans the graphic code in the installation drawing through the layout scanning page to obtain the energy conversion device identifier corresponding to the graphic code.

[0101] In this embodiment, the example given is that the graphic code in the installation drawing is the graphic code of the energy conversion device, and one graphic code corresponds to one energy conversion device.

[0102] For example, see Figure 8 , Figure 8This diagram illustrates how an electronic device obtains the identifiers of various energy conversion devices by scanning the graphic codes in the installation drawings using a layout scanning page. For each graphic code, after the electronic device scans it through the corresponding location box on the layout scanning page, it decodes the graphic code, which is encoded using the energy conversion device identifier of the corresponding energy conversion device, to obtain the energy conversion device identifier.

[0103] Step 702: The electronic device obtains installation information based on the energy conversion device identifier.

[0104] After the electronic device obtains the energy conversion device identifier corresponding to the graphic code, the electronic device can obtain the installation information based on the energy conversion device identifier.

[0105] For example, the electronic device can query the database for the installation information corresponding to the energy conversion device identifier. Other possible implementations of step 702 will be described in the embodiments below.

[0106] In this way, the electronic device scans the graphic code in the installation drawing through the layout scanning page. The electronic device decodes the graphic code to obtain the energy conversion device identifier. Using this energy conversion device identifier, the installation information can be easily obtained. The data processing process is simple and the amount of calculation is small, which helps to further improve the efficiency of the electronic device in generating electronic layout diagrams.

[0107] In one possible implementation of step 702, the electronic device obtaining installation information based on the energy conversion device identifier includes at least one of the following steps: A1, A2, and A3.

[0108] Step A1: The electronic device queries the server for the installation information corresponding to the energy conversion device identifier.

[0109] For example, an electronic device can send an energy conversion device identifier to a server, which then queries the installation information based on the energy conversion device identifier and returns the installation information to the electronic device.

[0110] The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0111] In the above-mentioned method of electronic devices querying installation information from the server, the electronic devices do not need to store the installation information at this time. When the installation information is needed, the electronic devices only need to send the energy conversion device identifier to the server, and the server will return the installation information corresponding to the queried energy conversion device identifier. This can save the storage space of the electronic devices, improve the performance of the electronic devices, and thus improve the efficiency of the electronic devices in generating electronic layout diagrams.

[0112] Step A2: The electronic device determines the first position of the energy conversion device corresponding to the energy conversion device identifier in the first coordinate system based on the second position of the graphic code corresponding to the energy conversion device identifier in the second coordinate system.

[0113] When the electronic device scans the graphic code in the installation drawing through the layout scanning page, it can determine the second position of the graphic code in the second coordinate system. As mentioned above, the second coordinate system included in the installation drawing corresponds to the first coordinate system included in the layout scanning page. Thus, the electronic device can determine the second position of the graphic code in the second coordinate system as the first position of the energy conversion device in the first coordinate system.

[0114] For example, please continue to see Figure 8 When the electronic device scans the graphic code in the installation drawing through the layout scanning page, it determines that the second position of graphic code 1 in the second coordinate system is A-1. Then, the electronic device determines that the energy conversion device corresponding to the graphic code (the graphic code corresponds to the energy conversion device identifier, and the energy conversion device identifier corresponds to the energy conversion device) is also located at the first position of A-1 in the first coordinate system.

[0115] In step A2 above, the electronic device can determine the first position of the energy conversion device in the first coordinate system locally based on the energy conversion device identifier. The response speed is fast and the process of obtaining the first position of the energy conversion device in the first coordinate system is short, which is beneficial to improving the efficiency of generating electronic layout diagrams by the electronic device in the embodiments of this application.

[0116] Step A3: The electronic device obtains the installation angle information of the energy device input by the user based on the energy conversion device identifier.

[0117] Optionally, the electronic device may display the identifier of the energy conversion device on the screen, and the user may input the installation angle information of the energy device connected to the energy conversion device corresponding to the energy conversion device identifier. The installation angle information includes at least one of the following: the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device after the energy device is installed in the power station.

[0118] For installation information that some electronic devices or servers cannot parse (such as the installation angle information of energy equipment), electronic devices can also detect user input to obtain the installation angle information of energy equipment. The process of obtaining installation angle information only requires the electronic device to detect user operation, which will not consume too much computing resources of the electronic device, and there is no need for the electronic device and the server to interact, saving communication resources between the electronic device and the server, and the installation angle information is obtained quickly.

[0119] The electronic device can obtain installation information through one or more of the above steps A1, A2 and A3. The methods for obtaining installation information are flexible and diverse, and can be selected as needed during implementation, which improves the implementation flexibility of the embodiments of this application.

[0120] In one embodiment, based on any of the above embodiments, this embodiment provides an exemplary description of the information content of the installation information obtained by the electronic device through scanning the graphic code in the installation drawing via a layout scanning page.

[0121] In this embodiment of the application, the installation information may include: the first position of the energy conversion device corresponding to the energy conversion device identifier in the first coordinate system, the installation angle information of the energy device, and the number and connection relationship of the energy devices corresponding to the energy conversion device.

[0122] The first position of the energy conversion device in the first coordinate system corresponds to the installation position of the energy conversion device in the power station. The first position can refer to the position box corresponding to the energy conversion device in the first coordinate system. The installation angle information includes at least one of the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device.

[0123] Regarding the number and connection relationship of energy devices corresponding to the energy conversion device, if the number of energy devices corresponding to the energy conversion device is 1, then the energy conversion device is a first type of energy conversion device. The connection relationship between the first type of energy conversion device and the energy device is one-to-one, that is, one energy conversion device is connected to only one energy device.

[0124] If the number of energy devices corresponding to the energy conversion device is greater than 1, then the energy conversion device is a second type of energy conversion device. The connection relationship between the second type of energy conversion device and the energy devices is a one-to-many connection in a preset direction.

[0125] In this embodiment, the installation information obtained by the electronic device is rich in content, providing a rich data foundation for the generation of the electronic layout diagram and ensuring the accuracy of the drawing of the electronic layout diagram.

[0126] The above embodiments describe the process by which an electronic device obtains installation information by scanning graphic codes in an installation drawing through a layout scanning page, as well as the content of the installation information. Below, the process by which an electronic device generates an electronic layout diagram of an energy device based on the installation information will be described exemplarily.

[0127] See Figure 9 Step 202 includes Figure 9 Step 901 shown:

[0128] Step 901: The electronic device generates a first-type virtual energy device corresponding to the first-type energy conversion device in the electronic layout diagram based on the first position of the energy conversion device in the first coordinate system; and / or,

[0129] The electronic device generates a second type of virtual energy device corresponding to the second type of energy conversion device in the electronic layout diagram based on the first position of the energy conversion device in the first coordinate system, and generates a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction.

[0130] For an energy conversion device, there are two scenarios:

[0131] 1) If the number of energy devices corresponding to the energy conversion device is 1, for this type of energy conversion device, namely the first type of energy conversion device, the first position mentioned above can refer to the position box corresponding to the first type of energy conversion device in the first coordinate system. The electronic device generates the first type of virtual energy device in the position box in the electronic layout diagram.

[0132] 2) If the number of energy devices corresponding to the energy conversion device is greater than 1, for this type of energy conversion device, i.e. the second type of energy conversion device, since the second type of energy conversion device is connected to multiple energy devices, the electronic device first generates the second type of virtual energy device in the position box corresponding to the first position. The energy device corresponding to the second type of virtual energy device is installed together with the second type of energy conversion device. The electronic device also needs to generate the virtual energy devices corresponding to other energy devices connected to the second type of energy conversion device, i.e. the third type of virtual energy device.

[0133] The implementation method for generating a third type of virtual energy device corresponding to a second type of energy conversion device based on a preset direction by electronic devices will be described in the following embodiments.

[0134] In this way, by generating a first-type virtual energy device corresponding to each first-type energy conversion device, a second-type virtual energy device corresponding to each second-type energy conversion device, and a third-type virtual energy device in the electronic layout diagram, the electronic equipment can obtain the electronic layout diagram of each energy device installed in the power plant, thus realizing the automatic drawing of the electronic layout diagram.

[0135] In this embodiment, for different connection relationships between energy conversion devices and energy devices, corresponding types of virtual energy devices can be generated in the electronic layout diagram. Various real-world installation scenarios are considered during the generation of the electronic layout diagram, which improves the accuracy of the electronic layout diagram. Both the installation drawings and the electronic layout diagram mark the location of energy devices and energy conversion devices as well as the wiring logic between devices, ensuring that users can accurately identify abnormal points and devices that need to be repaired when using the electronic layout diagram.

[0136] The following describes three possible implementations of step 901, in which the electronic device generates a third type of virtual energy device corresponding to the second type of energy conversion device according to a preset direction.

[0137] 1) First possible implementation:

[0138] exist Figure 9 Based on the illustrated embodiment, see also Figure 10 Electronic devices can perform Figure 10 Steps 1001 to 1003 shown illustrate the process of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to a preset direction:

[0139] Step 1001: The electronic device detects the number of free areas around the second type of virtual energy device in the electronic layout diagram.

[0140] After the electronic device generates a second-type virtual energy device in the first position (position box) corresponding to the second-type energy conversion device, there may be one or more idle areas in the preset direction of the second-type virtual energy device in the electronic layout diagram. The electronic device determines the number of these idle areas. An idle area refers to an idle position box, which means that the electronic device has not generated any type of virtual energy device in that position box.

[0141] For example, see Figure 11 If a second type of virtual energy device is generated in location box B-2, and the preset direction indicated in the installation information is to the right, then there is an empty area in the preset direction for the second type of virtual energy device: location box B-3.

[0142] Step 1002: If the number of free areas is equal to 1, the electronic device generates a third type of virtual energy device in a preset direction in the free area.

[0143] In this case, the electronic device directly generates a third type of virtual energy device in the idle area, which is located in the preset direction of the second type of virtual energy device in step 1001.

[0144] Step 1003: If the number of free areas is greater than 1, the electronic device generates a third type of virtual energy device in the free areas in the preset direction.

[0145] For the second type of energy conversion device, the electronic device has already generated a second type of virtual energy device in the electronic layout diagram. The electronic device then generates the remaining virtual energy devices, i.e., the third type of virtual energy devices, in the empty area in the preset direction according to the number of energy devices corresponding to the second type of energy conversion device indicated in the installation information.

[0146] For example, if the installation information indicates that the number of energy devices corresponding to the second type of energy conversion device is 4, and since the electronic device has already generated a second type of virtual energy device corresponding to one energy device in the electronic layout diagram, then in step 1003, the electronic device generates 3 more third type of virtual energy devices corresponding to the energy devices in the empty area in the preset direction.

[0147] Electronic devices can sequentially generate third-type virtual energy devices around each second-type virtual energy device.

[0148] 2) The second possible implementation method:

[0149] The electronic device can execute the following steps B1 and B2 to realize the process of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to a preset direction:

[0150] Step B1: Detect the user's area selection operation in the electronic layout diagram, and generate a third type of virtual energy device in the area corresponding to the area selection operation.

[0151] For a second type of virtual energy device, the electronic device can display various vacant areas around the second type of virtual energy device. For example, in... Figure 11 Based on this, see Figure 12 A second type of virtual energy device is generated in location box C-2. There are two empty areas around the second type of virtual energy device: location box C-1 and location box B-2. The electronic device can display these two empty areas.

[0152] In this way, users can input a region selection operation based on the various free areas displayed on the electronic device. The region selection operation corresponds to the free area selected by the user, and the electronic device then generates a third type of virtual energy device in the region selected by the user.

[0153] Step B2: Determine the preset direction based on the area selection operation, and generate other third-type virtual energy devices in the area within the preset direction of the generated third-type virtual energy devices.

[0154] The electronic device can determine a preset direction based on the user's area selection operation. For example, if the user selects the area to the right of the second type of virtual energy device, the electronic device will determine the preset direction as right. When generating the next third type of virtual energy device, the electronic device will directly generate the next third type of virtual energy device in the area of ​​the preset direction of the third type of virtual energy device already generated in step B1.

[0155] Please continue reading Figure 12 In step B1, the area corresponding to the area selection operation is location box B-2. After the electronic device generates the first third-type virtual energy device in location box B-2, the electronic device determines the preset direction based on the user's area selection operation. Figure 12 After clicking the "Next" control, the user no longer needs to select an area. The electronic device directly generates another third-type virtual energy device in the preset direction of the third-type virtual energy device generated in step B1. For example, please refer to [link to example]. Figure 13 When the electronic device generates a second third-type virtual energy device, it directly generates another third-type virtual energy device in the preset direction (which can be upward) according to the predetermined preset direction.

[0156] It should be noted that users can also manually adjust the third type of virtual energy device generated by electronic devices in a preset direction. For example, continuing with the example above... Figure 13 In the process, after the electronic device selects position box B-3 to generate a third type of virtual energy device in a preset direction, the user can adjust the selected position box B-3 to position box C-4 according to the actual installation position of the energy device. In this way, the electronic device will be adjusted to generate the third type of virtual energy device in position box C-4, thereby improving the accuracy of the electronic layout diagram.

[0157] In the above implementation, the user only needs to manually select the area when generating the third type of virtual energy device for the first time. After the user manually selects the area, the electronic device can determine the preset direction according to the area selection operation input by the user. When generating the third type of virtual energy device in the future, the third type of virtual energy device will be automatically generated directly in the preset direction, which reduces the frequency and complexity of user operations and improves the generation efficiency of electronic layout diagram.

[0158] 3) A third possible implementation method:

[0159] The electronic device can execute the following steps C1 and C2 to realize the process of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to a preset direction:

[0160] Step C1: Based on the preset orientation included in the installation information, determine the area in the preset orientation of the second type of virtual energy device in the electronic layout diagram.

[0161] As mentioned above, the installation information indicates the preset direction corresponding to the second type of energy conversion device, and the electronic device can determine the area in the preset direction of the second type of virtual energy device in the electronic layout diagram according to the preset direction.

[0162] For example, if the preset direction is to the right, then in the electronic layout diagram, the electronic device uses the location box of the second type of virtual energy device corresponding to the second type of energy conversion device as the origin to determine the area to the right of the origin.

[0163] The difference between this implementation and the second implementation is that the electronic device directly obtains the preset orientation from the installation information.

[0164] Step C2: Generate a third type of virtual energy device in the area of ​​the preset direction.

[0165] After the electronic device determines the preset direction, when generating the third type of virtual energy device, it directly generates the third type of virtual energy device in the area of ​​the second type of virtual energy device in the preset direction.

[0166] It should be noted that, similar to the second implementation method, users can also manually adjust the third type of virtual energy device generated by the electronic device in a preset direction to improve the accuracy of the electronic layout diagram.

[0167] In the above embodiments, the electronic device obtains the preset direction corresponding to the second type of energy conversion device from the installation information, so that the third type of virtual energy device can be directly generated in the preset direction of the second type of virtual energy device without the user having to manually select the area, thereby improving the generation efficiency of the electronic layout diagram.

[0168] In one embodiment, after the electronic device generates a first type of virtual energy device corresponding to a first type of energy conversion device in the electronic layout diagram, and / or a second type of virtual energy device corresponding to a second type of energy conversion device and a third type of virtual energy device, the electronic device may also generate a virtual energy conversion device corresponding to the first type of energy conversion device on the first type of virtual energy device; and / or, the electronic device may generate a virtual energy conversion device corresponding to the second type of energy conversion device on the second type of virtual energy device.

[0169] As one implementation method, the area of ​​the virtual energy conversion device can be smaller than that of the first type of energy conversion device or the second type of virtual energy device. For example, the electronic device can generate a small icon in the upper right corner of the first type of virtual energy device to represent the virtual energy conversion device, and generate a small icon in the upper right corner of the second type of virtual energy device to represent the virtual energy conversion device.

[0170] For a virtual energy device (either a first-type or second-type virtual energy device), generating a virtual energy conversion device on that virtual energy device can indicate that the energy device corresponding to the virtual energy device is installed together with the energy conversion device (either a first-type or second-type energy conversion device) corresponding to the virtual energy conversion device.

[0171] As one implementation method, electronic devices can also generate their corresponding SN (Serial Number) on various types of virtual energy devices.

[0172] Furthermore, users can adjust the individual serial numbers (SNs) generated by the electronic device if they are inaccurate; users can also adjust the orientation of the various types of virtual energy devices generated by the electronic device in the electronic layout diagram, for example, horizontally or vertically. For example, the electronic device can display a corresponding adjustment interface for users to make adjustments.

[0173] In this embodiment, in addition to generating various types of virtual energy devices in the electronic layout diagram, the electronic device can also generate corresponding virtual energy conversion devices and SN information, which enhances the richness of information in the electronic layout diagram. Furthermore, by generating virtual energy conversion devices, it can be shown that energy conversion devices are installed under the corresponding virtual energy devices, so that the relationship between energy conversion devices and energy devices can be richly reflected in the electronic layout diagram, which greatly facilitates the execution of tasks such as equipment maintenance and fault location in the later stage.

[0174] In one embodiment, step 202 further includes step A4 as follows:

[0175] Step A4: Based on the installation angle information of the energy equipment, the electronic device generates the azimuth angle, rotation angle, and / or tilt angle of the energy equipment on the first type of virtual energy equipment, the second type of virtual energy equipment, and the third type of virtual energy equipment in the electronic layout diagram.

[0176] When the installation information acquired by the electronic device includes the installation angle information of the energy device, as described above, the installation angle information includes at least one of the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device.

[0177] Taking photovoltaic (PV) modules as an example, the azimuth angle of a PV module refers to the angle between its vertical plane and the due south direction. A PV module is a planar device, and the vertical plane is the plane that forms a 90° angle with the module's plane. When the vertical plane of the PV module faces due south, the azimuth angle is 0°; when it faces due east, the azimuth angle is 90°; and when it faces due west, the azimuth angle is -90°.

[0178] The rotation angle of an energy device refers to the angle at which the energy device rotates around a certain axis. The tilt angle of an energy device refers to the angle between the energy device and the horizontal plane. Taking a photovoltaic module as an example, a photovoltaic module is a planar device, and the tilt angle of the photovoltaic module is the angle between the plane of the photovoltaic module and the horizontal plane.

[0179] In Example 1, the installation angle information includes the azimuth angle of the energy device. For each virtual energy device (first type, second type, or third type) in the electronic layout diagram, the electronic device generates the azimuth angle of the corresponding energy device on the virtual energy device.

[0180] In Example 2, the installation angle information also includes the rotation angle of the energy device. For each virtual energy device (first type, second type, or third type) in the electronic layout diagram, the electronic device generates the rotation angle of the corresponding energy device on the virtual energy device.

[0181] In Example 3, the installation angle information also includes the tilt angle of the energy device. For each virtual energy device (first type, second type, or third type) in the electronic layout diagram, the electronic device generates the tilt angle of the corresponding energy device on the virtual energy device.

[0182] In this embodiment, in addition to generating information such as various types of virtual energy devices, virtual energy conversion devices, and SNs in the electronic layout diagram, the installation angle of the energy devices is also generated, which enhances the richness of information in the electronic layout diagram and ensures a more accurate presentation of the power plant layout. In addition, taking photovoltaic modules as an example, setting the energy devices facing north may result in low power generation efficiency. In this embodiment, the electronic layout diagram has the installation angle setting for the energy devices. In this way, when the power generation efficiency of the energy devices is low, the installation angle of the energy devices in the electronic layout diagram can be used to determine whether there is a layout anomaly, thereby improving the accuracy and efficiency of anomaly location.

[0183] In another possible embodiment of this application, the generation process of the electronic layout diagram of the energy equipment can also be implemented in the following manner:

[0184] 1) After each energy device is installed in the power station, installation drawings are drawn manually based on information such as the installation location of each energy device in the power station.

[0185] For details on how the installation drawings are drawn and the contents included in the installation drawings, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0186] 2) The electronic device displays a page on the screen that triggers the generation of the electronic layout diagram. This page includes trigger controls.

[0187] For example, an electronic device has an application installed for generating electronic layout diagrams, and the electronic device displays a trigger page through this application.

[0188] Users can click the trigger control to initiate the electronic layout diagram generation process.

[0189] For example, taking a mobile phone as an example, see Figure 14 , Figure 14 The generated trigger page shown displays a "Create Now" prompt on the trigger control. If the user clicks the trigger control, the electronic layout diagram generation process will be initiated.

[0190] 3) If the electronic device detects a trigger operation on the trigger control, it displays the layout drawing page. This layout drawing page includes a third coordinate system, which corresponds to the second coordinate system included in the installation drawings. This third coordinate system can be a two-dimensional coordinate system, or it can be a three-dimensional spatial coordinate system. The following embodiments will use a two-dimensional coordinate system as an example.

[0191] Similar to the second coordinate system, the third coordinate system is also divided into multiple location boxes, each corresponding to a different horizontal and / or vertical coordinate. Each location box corresponds to an installation location, which is the location in the power plant where energy equipment can be installed.

[0192] For example, see Figure 15 , Figure 15 This is a schematic diagram illustrating an exemplary layout of a page. (Example:) Figure 15 As shown, in the third coordinate system, the horizontal coordinates are 1, 2, ..., and the vertical coordinates are A, B, ..., and multiple blank position boxes are divided by the horizontal and vertical coordinates: position box A-1, position box A-2, position box B-1, etc.

[0193] 4) Users click the corresponding location box in the third coordinate system according to the installation location of each energy device marked in the installation drawings.

[0194] For example, if an energy device is marked in the A-1 location box in the installation drawing, the user can click the corresponding A-1 location box in the third coordinate system on the layout drawing page.

[0195] 5) The electronic device is pre-loaded with the device identifiers (SNs) of each energy device already installed in the power station. After the electronic device detects a user's click on a location box, it displays a layout details page. This layout details page displays the various SNs, allowing the user to select the SN of the energy device corresponding to that location box from among the various SNs.

[0196] 6) In addition to displaying each SN number, the layout details page can also display energy equipment installation method selection controls. For example, electronic devices can display selection controls for horizontal installation and vertical installation, allowing users to select the installation method of the energy equipment corresponding to that location box.

[0197] 7) In addition to displaying each SN number and the energy equipment installation method, the layout details page can also display an energy conversion equipment configuration control, allowing users to select the installation location of the energy conversion equipment based on the energy conversion equipment configuration control. For example, users can select whether the currently clicked location box corresponds to the installation of an energy conversion equipment.

[0198] As mentioned above, energy devices can also be connected to energy conversion devices (one energy conversion device can be connected to one or more energy devices). Taking a photovoltaic module as an example, the energy conversion device can be a micro inverter, for example.

[0199] For example, continuing with the example of photovoltaic modules as the energy equipment and micro-inverters (micro-inverters) as the energy conversion equipment, see [link to relevant documentation]. Figure 16 , Figure 16 This is an exemplary diagram illustrating the layout of a details page. Figure 16 In the layout details page shown, STY00000000100-1, STY00000000100-2, and STY00000000100-3 are three serial numbers. The "vertical" and "horizontal" controls are for selecting the energy equipment installation method, and the micro-reverse installation position is for configuring the energy conversion equipment.

[0200] 8) The electronic device obtains the SN number of the energy device corresponding to the location box, the laying method of the energy device, and whether the location box corresponds to the installation of energy conversion equipment based on the layout details page. The electronic device generates a virtual energy device in the location box according to the obtained information.

[0201] For example, the electronic device can generate a horizontal or vertical virtual energy device in the location frame according to the way the energy device is laid out, and generate its corresponding SN number and the position coordinates of the location frame in the third coordinate system on the virtual energy device. If the location frame corresponds to the installation of an energy conversion device, the electronic device can also generate a virtual energy conversion device on the virtual energy device.

[0202] For each location box clicked by the user, the electronic device performs the above steps, thereby generating a corresponding virtual energy device, SN number, and location coordinates for each location box clicked by the user. Optionally, if an energy conversion device is installed in the location box, the electronic device can also generate a virtual energy conversion device on the virtual energy device to obtain an electronic layout diagram.

[0203] For example, see Figure 17 , Figure 17 This is a schematic diagram of an exemplary electronic layout.

[0204] 9) For each virtual energy device, the electronic device can also display an angle setting control, allowing the user to input the installation angle information of each virtual energy device. The electronic device saves the installation angle information, or the electronic device adds the installation angle information to the corresponding virtual energy device in the electronic layout diagram.

[0205] The installation angle information includes at least one of the following: the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device.

[0206] For example, the electronic device can display an angle setting control for each virtual energy device individually, allowing the user to input the installation angle information of the energy device in the angle setting control; or the electronic device can uniformly display an angle setting control for all virtual energy devices, allowing the user to input the installation angle information in the angle setting control, and the electronic device uses the installation angle information as the installation angle information of each energy device.

[0207] For example, see Figure 18 , Figure 18 This is a schematic diagram of an exemplary angle setting control, which may include a rotation angle setting control, an azimuth angle setting control, and a tilt angle setting control. Users can set the rotation angle of the energy device through the rotation angle setting control, the azimuth angle of the energy device through the azimuth angle setting control, and the tilt angle of the energy device through the tilt angle setting control.

[0208] In this way, electronic devices can easily generate electronic layout diagrams for energy equipment by displaying the diagram on the screen and interacting with the user. The second coordinate system in the installation drawings is consistent with the third coordinate system displayed by the electronic devices, reducing the positional error rate during the electronic layout diagram generation process. The installation drawings mark the installation locations of energy equipment and energy conversion equipment, as well as the wiring logic between the devices, facilitating accurate description of equipment installation positions and ensuring the accurate generation of the electronic layout diagram. Both the installation drawings and the electronic layout diagram mark the locations of energy equipment and energy conversion equipment, as well as the wiring logic between the devices, ensuring that users can accurately identify anomalies and equipment requiring repair when using the electronic layout diagram. Furthermore, the electronic layout diagram allows for setting the installation angle of energy equipment. This allows users to determine if there are layout anomalies when the power generation efficiency of energy equipment is low, improving the accuracy and efficiency of anomaly location.

[0209] In another possible embodiment of this application, the generation process of the electronic layout diagram of the energy equipment can also be implemented in the following manner:

[0210] 1) After each energy device is installed in the power station, installation drawings are drawn manually based on information such as the installation location of each energy device in the power station.

[0211] For details on how the installation drawings are drawn and the contents included in the installation drawings, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0212] 2) The electronic device obtains the device identifier (SN) of each energy conversion device and the number of energy devices connected to each energy conversion device.

[0213] For example, the database of an electronic device may store the serial number (SN) of each energy conversion device and the number of energy devices connected to each energy conversion device; or, the electronic device may obtain the SN of each energy conversion device and the number of energy devices connected to each energy conversion device from a server.

[0214] 3) The electronic device generates a device tree based on the obtained serial numbers of each energy conversion device and the number of energy devices connected to each energy conversion device.

[0215] For example, an electronic device can use the serial number (SN) of each energy conversion device as the parent node in the device tree. If there are multiple energy devices connected to the energy conversion device, the multiple energy devices are numbered according to the number of devices to obtain the branch number. The branch number of each energy device is used as the child node under its corresponding parent node, thereby obtaining the device tree.

[0216] 4) The electronic device displays the layout drawing page of the electronic layout diagram on the screen.

[0217] This layout can be used to draw web pages.

[0218] The layout drawing page includes a device tree and a fourth coordinate system, which corresponds to the second coordinate system included in the installation drawings. This fourth coordinate system can be a two-dimensional coordinate system, or it can be a three-dimensional spatial coordinate system. The following embodiments will all use a two-dimensional coordinate system as an example.

[0219] For example, an electronic device may display a device tree in a first area of ​​a layout drawing page and a fourth coordinate system in a second area of ​​the layout drawing page. For instance, the first area may be located in the left area of ​​the layout drawing page and the second area may be located in the right area of ​​the layout drawing page.

[0220] Similar to the second coordinate system, the fourth coordinate system is also divided into multiple location boxes, each corresponding to a different horizontal and / or vertical coordinate. Each location box corresponds to an installation location, which is the location in the power plant where energy equipment can be installed.

[0221] For example, see Figure 19 , Figure 19 This is a schematic diagram illustrating an exemplary layout of a page. (Example:) Figure 19 As shown, the layout drawing page displays a device tree on the left. The serial number (SN) of each energy conversion device in the device tree serves as the parent node, such as ES245001000, ES245002000, ES245003000, etc. If the energy conversion device is connected to multiple energy devices, for example, the energy conversion device corresponding to ES245001000 is connected to four energy devices, then these four energy devices are numbered to obtain branch numbers: PV-1, PV-2, PV-3, and PV-4. These four branch numbers are displayed as four child nodes under ES245001000.

[0222] Please continue reading Figure 19 , Figure 19 In the fourth coordinate system, the horizontal coordinates are 1, 2, ..., and the vertical coordinates are A, B, ..., and multiple blank position boxes are divided by the horizontal and vertical coordinates: position box A-1, position box A-2, position box B-1, etc.

[0223] 5) Users can drag the SN number or branch number from the device tree to the corresponding position box in the fourth coordinate system according to the installation location of each energy device marked in the installation drawings.

[0224] If the energy conversion device is connected to only one energy device, the user can drag the SN number of the energy conversion device to the corresponding location box, and the electronic device will generate the corresponding virtual energy device and virtual energy conversion device in that location box.

[0225] If the energy conversion device is connected to multiple energy devices, the user can drag the branch numbers under the SN number of the energy conversion device to the corresponding position boxes, and the electronic device will generate a virtual energy device in the corresponding position box. The layout drawing page can also display configuration controls for the energy conversion device (e.g., Figure 19 The "Micro-Inverter Installation Location" control allows users to select the installation location of the energy conversion device based on the energy conversion device configuration control. For example, after the user drags each branch number to the corresponding location box, the user can also enter a branch number from each branch number in the energy conversion device configuration control. This indicates that the energy conversion device is installed together with the branch number selected by the user. Then, the electronic device also generates a virtual energy conversion device in the location box corresponding to the branch number entered by the user in the energy conversion device configuration control.

[0226] 6) The layout drawing page can also display energy equipment laying method selection controls. For example, electronic devices can display selection controls for horizontal laying and vertical laying, allowing users to select the laying method of the energy equipment corresponding to the position box.

[0227] Please continue reading Figure 19 , Figure 19 The "Set Direction" control is the energy equipment installation method selection control, which allows users to select the installation direction of the energy equipment.

[0228] In this way, for each energy device, the electronic device can generate a horizontal or vertical virtual energy device in the location box according to the laying method of the energy device, and generate its corresponding branch number on the virtual energy device. If an energy conversion device is installed in the location box, the electronic device can also generate a virtual energy conversion device on the virtual energy device to obtain an electronic layout diagram.

[0229] 9) For each virtual energy device, the electronic device can also display an angle setting control on the layout drawing page, allowing the user to input the installation angle information of each virtual energy device. The electronic device saves the installation angle information, or the electronic device adds the installation angle information to the corresponding virtual energy device in the electronic layout diagram.

[0230] The installation angle information includes at least one of the following: the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device.

[0231] For example, the electronic device can display an angle setting control for each virtual energy device individually, allowing the user to input the installation angle information of the energy device in the angle setting control; or the electronic device can uniformly display an angle setting control for all virtual energy devices, allowing the user to input the installation angle information in the angle setting control, and the electronic device uses the installation angle information as the installation angle information of each energy device.

[0232] For example, see Figure 20 , Figure 20 This is an exemplary schematic diagram of a layout drawing page. The right side of the layout drawing page displays an angle setting control, which may include a rotation angle setting control, an azimuth angle setting control, and a tilt angle setting control. Users can set the rotation angle of the energy device through the rotation angle setting control, the azimuth angle of the energy device through the azimuth angle setting control, and the tilt angle of the energy device through the tilt angle setting control.

[0233] In this way, electronic devices can easily generate electronic layout diagrams for energy equipment by displaying the diagram on the screen and interacting with the user. The second coordinate system in the installation drawings is consistent with the third coordinate system displayed by the electronic devices, reducing the positional error rate during the electronic layout diagram generation process. The installation drawings mark the installation locations of energy equipment and energy conversion equipment, as well as the wiring logic between the devices, facilitating accurate description of equipment installation positions and ensuring the accurate generation of the electronic layout diagram. Both the installation drawings and the electronic layout diagram mark the locations of energy equipment and energy conversion equipment, as well as the wiring logic between the devices, ensuring that users can accurately identify anomalies and equipment requiring repair when using the electronic layout diagram. Furthermore, the electronic layout diagram allows for setting the installation angle of energy equipment. This allows users to determine if there are layout anomalies when the power generation efficiency of energy equipment is low, improving the accuracy and efficiency of anomaly location.

[0234] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0235] Based on the same inventive concept, this application also provides an electronic layout diagram generation apparatus for energy devices to implement the above-described method for generating electronic layout diagrams of energy devices. The solution provided by this apparatus is similar to the solution described in the above-described method. Therefore, the specific limitations of one or more embodiments of the electronic layout diagram generation apparatus for energy devices provided below can be found in the limitations of the electronic layout diagram generation method for energy devices described above, and will not be repeated here.

[0236] In one exemplary embodiment, such as Figure 21 As shown, an electronic layout diagram generation apparatus for energy devices is provided, applied to electronic devices, the apparatus comprising:

[0237] The acquisition module 2101 is used to scan the graphic codes in the installation drawings through the layout scanning page to obtain installation information; the layout scanning page includes a first coordinate system, the installation drawings include a second coordinate system, and the first coordinate system and the second coordinate system correspond to each other; the installation information is used to indicate at least the location of the energy equipment;

[0238] The generation module 2102 is used to generate an electronic layout diagram of the energy equipment based on the installation information.

[0239] In one embodiment, the acquisition module 2101 includes:

[0240] The scanning unit is used to scan the graphic code in the installation drawing through the layout scanning page to obtain the energy conversion equipment identifier corresponding to the graphic code;

[0241] The acquisition unit is used to acquire the installation information based on the energy conversion device identifier.

[0242] In one embodiment, the acquisition unit is specifically used to perform at least one of the following steps:

[0243] Query the server for the installation information corresponding to the energy conversion device identifier;

[0244] Based on the second position of the graphic code corresponding to the energy conversion device identifier in the second coordinate system, determine the first position of the energy conversion device corresponding to the energy conversion device identifier in the first coordinate system;

[0245] Based on the energy conversion device identifier, obtain the installation angle information of the energy device input by the user.

[0246] In one embodiment, the installation information includes:

[0247] The energy conversion device identifier corresponds to the first position of the energy conversion device in the first coordinate system;

[0248] The installation angle information of the energy device includes at least one of the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device;

[0249] The quantity and connection relationship of the energy devices corresponding to the energy conversion equipment:

[0250] If the number of energy devices corresponding to the energy conversion device is 1, then the energy conversion device is a first type of energy conversion device, and the connection relationship between the first type of energy conversion device and the energy device is a one-to-one connection;

[0251] If the number of energy devices corresponding to the energy conversion device is greater than 1, then the energy conversion device is a second type of energy conversion device, and the connection relationship between the second type of energy conversion device and the energy devices is a one-to-many connection in a preset direction.

[0252] In one embodiment, the generation module 2102 is specifically configured to generate a first type of virtual energy device corresponding to the first type of energy conversion device in the electronic layout diagram based on the first position of the energy conversion device in the first coordinate system; and / or,

[0253] Based on the first position of the energy conversion device in the first coordinate system, a second type of virtual energy device corresponding to the second type of energy conversion device is generated in the electronic layout diagram, and a third type of virtual energy device corresponding to the second type of energy conversion device is generated according to the preset direction.

[0254] In one embodiment, the generation module 2102 is specifically used to detect the number of empty areas around the second type of virtual energy device in the electronic layout diagram; if the number of empty areas is equal to 1, then a third type of virtual energy device in the preset direction is generated in the empty area; if the number of empty areas is greater than 1, then the third type of virtual energy device is generated in the empty area in the preset direction.

[0255] In one embodiment, the generation module 2102 is specifically used to determine a region in the preset direction of the second type of virtual energy device in the electronic layout diagram according to the preset direction included in the installation information; and to generate the third type of virtual energy device in the region in the preset direction.

[0256] In one embodiment, the generation module 2102 is specifically used to detect the user's region selection operation in the electronic layout diagram, and generate a third type of virtual energy device in the region corresponding to the region selection operation; determine the preset direction according to the region selection operation, and generate other third type of virtual energy devices in the preset direction of the third type of virtual energy device.

[0257] In one embodiment, the generation module 2102 is further configured to generate a virtual energy conversion device corresponding to the first type of energy conversion device on the first type of virtual energy device; and / or,

[0258] A virtual energy conversion device corresponding to the second type of energy conversion device is generated on the second type of virtual energy device.

[0259] In one embodiment, the generation module 2102 is further configured to generate the azimuth angle, the rotation angle, and / or the tilt angle of the energy device on the first type of virtual energy device, the second type of virtual energy device, and the third type of virtual energy device in the electronic layout diagram, based on the installation angle information of the energy device.

[0260] Each module in the aforementioned electronic layout diagram generation device for energy equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0261] In one exemplary embodiment, an electronic device is provided, the internal structure of which can be shown as follows: Figure 22As shown, the electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external electronic devices; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a method for generating an electronic layout diagram of an energy device. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0262] Those skilled in the art will understand that Figure 16 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0263] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the embodiments of the electronic layout diagram generation method for the various energy devices described above.

[0264] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the embodiments of the electronic layout diagram generation method for the various energy devices described above.

[0265] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0266] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0267] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0268] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for generating an electronic layout diagram of an energy device, characterized in that, Applied to electronic devices, the method includes: The installation information is obtained by scanning the graphic codes in the installation drawings using the layout scanning page; the layout scanning page includes a first coordinate system, and the installation drawings include a second coordinate system, with the first and second coordinate systems corresponding to each other; the installation information is used to indicate at least the location of the energy equipment. An electronic layout diagram of the energy equipment is generated based on the installation information.

2. The method according to claim 1, characterized in that, The installation information, including: , is obtained by scanning the graphic codes in the installation drawings using the layout scanning page. Scan the graphic code in the installation drawing using the layout scanning page to obtain the energy conversion equipment identifier corresponding to the graphic code; The installation information is obtained based on the energy conversion equipment identifier.

3. The method according to claim 2, characterized in that, Obtaining the installation information based on the energy conversion device identifier includes at least one of the following steps: Query the server for the installation information corresponding to the energy conversion device identifier; Based on the second position of the graphic code corresponding to the energy conversion device identifier in the second coordinate system, determine the first position of the energy conversion device corresponding to the energy conversion device identifier in the first coordinate system; Based on the energy conversion device identifier, obtain the installation angle information of the energy device input by the user.

4. The method according to claim 2, characterized in that, The installation information includes: The energy conversion device identifier corresponds to the first position of the energy conversion device in the first coordinate system; The installation angle information of the energy device includes at least one of the azimuth angle of the energy device, the rotation angle of the energy device, and the tilt angle of the energy device; The quantity and connection relationship of the energy devices corresponding to the energy conversion equipment: If the number of energy devices corresponding to the energy conversion device is 1, then the energy conversion device is a first type of energy conversion device, and the connection relationship between the first type of energy conversion device and the energy device is a one-to-one connection; If the number of energy devices corresponding to the energy conversion device is greater than 1, then the energy conversion device is a second type of energy conversion device, and the connection relationship between the second type of energy conversion device and the energy devices is a one-to-many connection in a preset direction.

5. The method according to claim 4, characterized in that, Generate an electronic layout diagram of the energy equipment based on the installation information, including: Based on the first position of the energy conversion device in the first coordinate system, generate a first type of virtual energy device corresponding to the first type of energy conversion device in the electronic layout diagram; and / or, Based on the first position of the energy conversion device in the first coordinate system, a second type of virtual energy device corresponding to the second type of energy conversion device is generated in the electronic layout diagram, and a third type of virtual energy device corresponding to the second type of energy conversion device is generated according to the preset direction.

6. The method according to claim 5, characterized in that, The step of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes: Detect the number of vacant areas around the second type of virtual energy device in the electronic layout diagram; If the number of the free areas is equal to 1, then a third type of virtual energy device in the preset direction is generated in the free areas; If the number of free areas is greater than 1, then the third type of virtual energy device is generated in the free area in the preset direction.

7. The method according to claim 5, characterized in that, The step of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes: Based on the preset direction included in the installation information, the area of ​​the second type of virtual energy device in the preset direction is determined in the electronic layout diagram; The third type of virtual energy device is generated in the area in the preset direction.

8. The method according to claim 5, characterized in that, The step of generating a third type of virtual energy device corresponding to the second type of energy conversion device according to the preset direction includes: Detect the user's region selection operation in the electronic layout diagram, and generate a third type of virtual energy device in the region corresponding to the region selection operation; The preset direction is determined according to the region selection operation, and other third-type virtual energy devices are generated in the preset direction of the third-type virtual energy devices.

9. The method according to claim 5, characterized in that, The method further includes: Generate a virtual energy conversion device corresponding to the first type of energy conversion device on the first type of virtual energy device; and / or, A virtual energy conversion device corresponding to the second type of energy conversion device is generated on the second type of virtual energy device.

10. The method according to claim 5, characterized in that, Generating an electronic layout diagram of the energy equipment based on the installation information also includes: Based on the installation angle information of the energy equipment, the azimuth angle, rotation angle, and / or tilt angle of the energy equipment are generated on the first type of virtual energy equipment, the second type of virtual energy equipment, and the third type of virtual energy equipment in the electronic layout diagram.

11. An electronic layout diagram generation device for energy equipment, characterized in that, Applied to electronic devices, the device includes: The acquisition module is used to scan the graphic codes in the installation drawings through the layout scanning page to obtain installation information; the layout scanning page includes a first coordinate system, the installation drawings include a second coordinate system, and the first and second coordinate systems correspond to each other; the installation information is used to indicate at least the location of the energy equipment; A generation module is used to generate an electronic layout diagram of the energy equipment based on the installation information.

12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.

14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.