Visual effect storage configuration method and device for power GIS system and electronic equipment

By reading PFE files and generating configuration files, the problem of insufficient flexibility in power GIS systems is solved, enabling the overlay of various visual effects to meet different power visualization needs.

CN116069309BActive Publication Date: 2025-11-25HUANENG CLEAN ENERGY RES INST +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211641170.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-11-25
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

Existing power GIS systems have fixed effects and poor flexibility, making them unable to meet the needs of data analysis and display of multiple data formats within the same power GIS system.

Method used

By reading the PFE file, the plant information row is determined, and the Chinese fields in the next row of the plant information row are matched one-to-one with the numbers starting from 0. The numbers are displayed in the drop-down box on the interface. Clicking on the Chinese field records the corresponding number, and the number sequence is saved to generate the visual effects storage configuration file of the power GIS system.

Benefits of technology

It enables the overlay of various visual effects to meet different power visualization needs and improves the display flexibility of the power GIS system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116069309B_ABST
    Figure CN116069309B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a visual special effect storage configuration method and device of a power GIS system and electronic equipment. A PFE file is read to determine a station information row; a Chinese field in the next row of the station information row is read and stored in an array, and the Chinese field is one-to-one corresponding to a number starting from 0; the read Chinese field name is displayed in a drop-down box of an interface; the Chinese field in the drop-down box is clicked, and the number corresponding to the Chinese field is recorded; and the sequence of the number is saved to generate a configuration file for visual special effect storage of the power GIS system. Thus, the superposition of various visual special effects can be realized by modifying the configuration file, different power visualization requirements are met, and the flexibility of display of the power GIS system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of wind power generation, in particular to a visual special effect storage configuration method and device of a power GIS system and electronic equipment. BACKGROUND

[0002] At present, in order to meet the requirements of the continuous development of the power operation system, a power GIS (geographic information system) system is proposed, which is an electric network geographic information system map based on the information stored in the database and the background of the electronic map.

[0003] The power GIS system in the related art has fixed effects and poor flexibility, and cannot meet the data analysis and display of various data formats in the same power GIS system. SUMMARY

[0004] In order to overcome the problems in the related art, the present disclosure provides a visual special effect storage configuration method and device of a power GIS system and electronic equipment.

[0005] According to a first aspect of an embodiment of the present disclosure, a visual special effect storage configuration method of a power GIS system is provided, including: reading a PFE file to determine a plant station information row; reading a Chinese field of a next row of the plant station information row and storing the Chinese field in an array, and one-to-one corresponding the Chinese field with a number starting from 0; displaying the read Chinese field name in a drop-down box of an interface; clicking the Chinese field in the drop-down box and recording the number corresponding to the Chinese field; saving the sequence of the number to generate a configuration file of visual special effect storage of the power GIS system.

[0006] According to a second aspect of an embodiment of the present disclosure, a visual special effect storage configuration device of a power GIS system is provided, including: a first reading module configured to read a PFE file to determine a plant station information row; a second reading module configured to read a Chinese field of a next row of the plant station information row and store the Chinese field in an array, and one-to-one corresponding the Chinese field with a number starting from 0; a display module configured to display the read Chinese field name in a drop-down box of an interface; a clicking module configured to click the Chinese field in the drop-down box and record the number corresponding to the Chinese field; and a saving module configured to save the sequence of the number to generate a configuration file of visual special effect storage of the power GIS system.

[0007] According to a third aspect of an embodiment of the present disclosure, an electronic equipment is provided, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the visual special effect storage configuration method of the power GIS system provided in the first aspect of the present disclosure.

[0008] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, which stores computer program instructions, and the computer program instructions are executed by a processor to implement the steps of the power GIS system visual effect storage configuration method provided by the first aspect of the present disclosure.

[0009] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, which is executed by a processor of an electronic device to enable the electronic device to perform the steps of the power GIS system visual effect storage configuration method provided by the first aspect of the present disclosure.

[0010] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:

[0011] By reading the PFE file, the power station information row is determined; the Chinese field in the next row of the power station information row is read and stored in an array, and the Chinese field is one-to-one corresponding to the number starting from 0; the read Chinese field name is displayed in the drop-down box of the interface; the Chinese field in the drop-down box is clicked, and the number corresponding to the Chinese field is recorded; and the sequence of the number is saved to generate a configuration file of the power GIS system visual effect storage. Therefore, the superposition of various visual effects can be realized by modifying the configuration file, different power visualization requirements can be met, and the flexibility of the power GIS system display is improved.

[0012] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0013] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.

[0014] Figure 1 is a flowchart of a power GIS system visual effect storage configuration method according to an exemplary embodiment;

[0015] Figure 2 is an interface schematic diagram corresponding to the data type chart type;

[0016] Figure 3 is an interface schematic diagram corresponding to the data type including field;

[0017] Figure 4 is an interface schematic diagram corresponding to the effect style style type;

[0018] Figure 5 is an interface schematic diagram corresponding to the effect style color;

[0019] Figure 6is an interface schematic diagram corresponding to the field of effect style;

[0020] Figure 7 is an interface schematic diagram corresponding to the marked chart type;

[0021] Figure 8 is an interface schematic diagram corresponding to the marked field;

[0022] Figure 9 is an interface schematic diagram corresponding to the trend configuration;

[0023] Figure 10 is an interface schematic diagram corresponding to the fault set configuration;

[0024] Figure 11 is a block diagram of a visual effect storage configuration device of a power GIS system according to an example embodiment;

[0025] Figure 12 is a block diagram of an electronic device for implementing the method of the present embodiment according to an example embodiment. DETAILED DESCRIPTION

[0026] The example embodiments will be described in detail herein, with examples shown in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following example embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0027] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection regulations and policies of the country where the device is located, and with the authorization given by the owner of the corresponding device.

[0028] Figure 1 is a flowchart of a visual effect storage configuration method of a power GIS system according to an example embodiment, wherein it should be noted that the visual effect storage configuration method of the power GIS system of the present embodiment is executed by a visual effect storage configuration device of the power GIS system, which can be realized by software and / or hardware, and can be configured in an electronic device. The following will be described taking the electronic device as an example.

[0029] As shown in Figure 1 , the visual effect storage configuration method of the power GIS system includes the following steps:

[0030] In step S101, the PFE file is read to determine the station information line.

[0031] Optionally, the electronic device performs the process of step 101 by reading the PFE file; looping through each line of the program in the PFE file, determining the identifier in the program, and taking the program including the identifier as the station information line.

[0032] The identifier can be <psdpfeacnode>In the PFE file, a plurality of different identifiers are included, i.e. the line <psdpfeacnode>The current station information line is determined.

[0033] In step S102, the Chinese field of the next line of the station information line is read and stored in an array, and the Chinese field is one-to-one corresponding to the number starting from 0.

[0034] As a possible implementation, the multiple Chinese fields of the next line of the station information line are determined, and the multiple Chinese fields are one-to-one corresponding to the number starting from 0 in the reading order until all the Chinese fields have corresponding numbers.

[0035] As another possible implementation, the numbers corresponding to the respective Chinese fields can also be determined in advance, and then the Chinese fields are stored in the array and the Chinese fields are corresponding to the numbers determined in advance.

[0036] In step S103, the read Chinese field name is displayed in the drop-down box of the interface.

[0037] In step S104, the Chinese field in the drop-down box is clicked, and the number corresponding to the Chinese field is recorded.

[0038] Optionally, each Chinese field corresponds to a number, and according to the visual effect of the target power GIS system, the corresponding Chinese field is selected, and the number corresponding to the Chinese field is recorded, and then the next Chinese field is clicked until the numbers corresponding to the required Chinese fields are recorded, and a sequence of numbers is generated according to the clicking order of the Chinese fields.

[0039] The visual effect of the target power GIS system can be freely selected, for example, the visual effect chart type of the target power GIS system is a single-value pie chart, the single-value pie chart of the Chinese field in the drop-down box is selected, and the number corresponding to the chart type is recorded.

[0040] In step S105, the sequence of numbers is saved to generate a configuration file for storing the visual effect of the power GIS system.

[0041] As a possible implementation, the generated sequence of numbers is saved to generate a configuration file for storing the visual effect of the power GIS system, and the Chinese field is saved in the configuration file in the form of numbers.

[0042] In the embodiments of the present disclosure, the configuration file includes: customization of map display effect, line annotation, etc., and the configuration file contains configuration information, which is saved with the suffix.EGC as the file name. The configuration file includes: data type, effect style, annotation, power flow and fault set five categories.

[0043] In summary, by reading the PFE file, the power station information row is determined; the Chinese field in the next row of the power station information row is read and stored in an array, and the Chinese field is one-to-one corresponding to the number starting from 0; the read Chinese field name is displayed in the drop-down box of the interface; the Chinese field in the drop-down box is clicked, and the number corresponding to the Chinese field is recorded; and the sequence of the number is saved to generate a configuration file for storing visual effects of the power GIS system. Therefore, the superposition of various visual effects can be realized by modifying the configuration file, different power visualization requirements are met, and the flexibility of the display of the power GIS system is improved.

[0044] The following will be described in combination with Figures 2-3 The interface schematic diagram corresponding to the data type of the embodiment of the present disclosure is described.

[0045] Figure 2 is the interface schematic diagram corresponding to the chart type of the data type, Figure 3 is the interface schematic diagram corresponding to the included field of the data type. The data type adopts the keyword "charts" to represent, the included fields of the data type are respectively the data type, whether to display, the chart type and the included field; the configuration description of the data type is:

[0046] <charts>

[0047] C ACNODE:1,0,1 : AC node

[0048] C ACLINE: " / / AC line

[0049] C DCNODE: " / / DC node

[0050] C DCLINE: " / / DC line

[0051] C TL: " / / transformer

[0052] < / charts>

[0053] As shown in Figure 2 and Figure 3 , the first field of the field of the data type represents whether to display, corresponding to whether the element on the power GIS map is displayed; the second field represents the chart type, including: no chart configuration, single-value pie chart, complex pie chart, single-value line chart, complex line chart, single-value column chart, and complex column chart; the third field represents the included field, that is, the column sequence number where the field to be counted is located, which can be multiple fields. After the column sequence number in the PFE file is selected in the drop-down box interface, the column sequence number where the field is located is saved in the configuration file, and the multiple fields are separated by ",".

[0054] The effect style configuration has 5 rows of data, and <charts>" as a starting identifier,< / charts> is used as the end identifier. Each row of data is configured by the corresponding interface. The interface displays the Chinese character prompt, and after the interface is selected, the column sequence number of the opened PFE file or the color code is actually opened.

[0055] The following will be described in combination with Figures 4-6 The interface schematic diagram corresponding to the effect style of the embodiment of the present disclosure is described.

[0056] Figure 4 is the interface schematic diagram corresponding to the style type of the effect style, Figure 5 is the interface schematic diagram corresponding to the color of the effect style, Figure 6 This is a screenshot of the interface corresponding to the fields of the effect style. Effect styles are represented by the keyword "styles," and the fields included in an effect style are: whether to display, data type, style type, color 1, color 2, and field. The configuration instructions for effect styles are as follows:

[0057] <styles>

[0058] S ACNODE:1,5,#FF8040,Blue / / Communication Node

[0059] S ACLINE:" / / Exchange Line"

[0060] S DCNODE:" / / DC node"

[0061] S DCLINE:" / / DC line"

[0062] S TL:” / / Transformer

[0063] < / styles>

[0064] The first field of the Effect Style field indicates whether to display it; 0 or empty means not to display, and 1 means to display. The second field indicates the style type, including: no effect style, fault, and heat. The third field indicates color 1, and the fourth field indicates color 2. You can select one color or two colors. Two colors represent the same gradient color. The fifth field indicates the field. The effect is displayed based on which field in the PFE takes the data value. This field is dynamically read from the PFE file.

[0065] The following is combined Figures 7-8 The interface diagrams corresponding to the annotations in the embodiments of this disclosure will be described.

[0066] Figure 7 These are screenshots of the interfaces corresponding to the labeled chart types. Figure 8 This is a screenshot of the interface corresponding to the labeled fields. Labels are represented by the keyword "marker," and each label includes fields for display (whether to display), data type, chart type, and field name. The configuration instructions for the labels are as follows:

[0067] <marker>

[0068] MACNODE:1,-1 / / AC node

[0069] MACLINE: " / / AC line

[0070] MDCNODE: " / / DC node

[0071] MDCLINE: " / / DC line

[0072] MTL: " / / transformer

[0073] < / marker>

[0074] The first field of the label field indicates whether to display the data; 0 or empty means not to display, and 1 means to display. The second field indicates the chart type, including: no configuration, single attribute configuration, multiple attribute configuration, single attribute summation, and single attribute maximum value. The third field indicates the field, that is, which column in the PFE file to retrieve data from. The drop-down box displays the Chinese name, and the configuration file stores the field sequence number.

[0075] The following is combined Figure 9 The interface diagrams corresponding to the power flow of the embodiments of this disclosure will be described.

[0076] Figure 9 This is a schematic diagram of the interface corresponding to power flow configuration. The power flow includes the following fields: display status, data type, I-side power, I-side name, J-side power, J-side name, power flow direction, and dynamic power flow. The configuration instructions for power flow are as follows:

[0077] flows:4,6,1,2,True,True,True|-1,-1,-1,-1,False,False,False

[0078] Wherein, the keyword "flows" is started, including AC line and DC line two configurations, the configuration information is separated by "|", each configuration information is separated by ","; the first field of the marked field indicates the I side power field, this field is read from the PFE file, Chinese is displayed in the drop-down box interface, and the field sequence number is recorded after selection; the second field indicates the I side name field; the third field indicates the J side power field, which is read from the PFE file, Chinese is displayed in the drop-down box interface, and the field sequence number is recorded after selection; the fourth field indicates the J side name field; the fifth field indicates whether to display, wherein "True" indicates display, otherwise not display; the sixth field indicates whether to display the power flow direction, wherein "True" indicates display, otherwise not display; the seventh field indicates whether to display dynamic display, wherein "True" indicates display, otherwise not display.

[0079] The following will be combined Figure 10 The interface schematic diagram corresponding to the fault set of the embodiment of the present disclosure is described.

[0080] Figure 10 The interface schematic diagram corresponding to the fault set configuration is shown. The fault set adopts the keyword "Relevance", and the fields included in the fault set are start identifier, end identifier, space symbol, appearance form, effect index and effect type; the configuration of the fault set is described as follows:

[0081] <relevance>

[0082] R ACNODE: "AC node

[0083] R ACLINE: "AC line

[0084] R DCNODE: "DC node

[0085] R DCLINE: "DC line

[0086] R TL: "Transformer

[0087] R FAULT: 2,6,_,1,7,8 "Fault set

[0088] < / relevance>

[0089] Wherein, the keyword "R FAULT" is started, and one information record fault set information is recorded; the first field of the fault set field indicates the column number of the start identifier in the PFE file; the second field indicates the column number of the end identifier in the PFE file; the third field indicates the space symbol; the fourth field indicates the appearance form, including: none, fault relevance, fault range; the fifth field indicates the effect index, indicating that the data is taken from the column in the PFE file, which is displayed as the dynamic Chinese field name of the PFE file, and the column sequence number is displayed after selection; the sixth field indicates the effect type, indicating that the data is taken from the column in the PFE file, which is displayed as the dynamic Chinese field name of the PFE file, and the column sequence number is displayed after selection.

[0090] Each type of data described above is configured by a corresponding drop-down box interface, the drop-down box interface displays Chinese character prompts, and after selecting the Chinese field through the respective drop-down box interface, the configuration file saves the corresponding number of the selected Chinese field.

[0091] Figure 11 The block diagram of a visual special effect storage configuration device of a power GIS system is shown according to an exemplary embodiment. Referring to Figure 11 The device 1100 comprises a first reading module 1110, a second reading module 1120, a display module 1130, a clicking module 1140 and a saving module 1150.

[0092] The first reading module 1110 is configured to read a PFE file to determine a substation information row.

[0093] The second reading module 1120 is configured to read a Chinese field in a next row of the substation information row, store the Chinese field in an array, and correspond the Chinese field with a number starting from 0.

[0094] The display module 1130 is configured to display the read Chinese field name in a drop-down box of an interface.

[0095] The clicking module 1140 is configured to click the Chinese field in the drop-down box and record the number corresponding to the Chinese field.

[0096] The saving module 1150 is configured to save a sequence of the number to generate a configuration file of visual special effects storage of a power GIS system.

[0097] As an implementation manner of the embodiment of the present disclosure, the configuration file comprises customizing map display effects, line labeling and the like, and the configuration file contains configuration information which is saved in a file manner.

[0098] As an implementation manner of the embodiment of the present disclosure, the configuration file comprises five categories of data type, effect style, labeling, power flow and fault set.

[0099] As an implementation manner of the embodiment of the present disclosure, the data type is represented by a keyword "charts", and the fields included in the data type are respectively data type, whether to display, chart type and included field; the configuration description of the data type is as follows:

[0100] <charts>

[0101] C ACNODE:1,0,1 : AC node

[0102] C ACLINE: " / / AC line

[0103] C DCNODE: " / / DC node

[0104] C DCLINE: " / / DC line

[0105] C TL: " / / transformer

[0106] < / charts>

[0107] The first field of the fields of the data type represents whether to display, corresponding to whether to display an element on a power GIS map; the second field represents the chart type, including no chart configuration, single-value pie chart, complex pie chart, single-value line chart, complex line chart, single-value column chart and complex column chart; and the third field represents the included field, i.e., a column sequence number of a field to be counted.

[0108] As an implementation manner of the embodiment of the present disclosure, the effect style is represented by a keyword "styles", and the fields included in the effect style are respectively whether to display, data type, style type, color 1, color 2 and field; and the configuration description of the effect style is as follows:

[0109] <styles>

[0110] S ACNODE:1,5,#FF8040,Blue / / Communication Node

[0111] S ACLINE:" / / Exchange Line"

[0112] S DCNODE:" / / DC node"

[0113] S DCLINE:" / / DC line"

[0114] S TL:” / / Transformer

[0115] < / styles>

[0116] The first field of the effect style field indicates whether the effect is displayed, 0 or null indicating no display, and 1 indicating display; the second field indicates the style type, including no effect style, fault, and thermal force; the third field indicates color 1, and the fourth field indicates color 2, one color being selected or two colors being selected, the two colors indicating equal main line gradient color; and the fifth field indicates the field, data values being selected according to the PFE file to perform effect display.

[0117] As an implementation manner of the embodiment of the present disclosure, the marker is indicated by a keyword "marker", and the fields included in the marker are respectively whether to display, data type, chart type, and field; and the configuration description of the marker is as follows:

[0118] <marker>

[0119] MACNODE:1,-1 / / AC node

[0120] MACLINE: " / / AC line

[0121] MDCNODE: " / / DC node

[0122] MDCLINE: " / / DC line

[0123] MTL: " / / transformer

[0124] < / marker>

[0125] The first field of the marker field indicates whether the marker is displayed, 0 or null indicating no display, and 1 indicating display; the second field indicates the chart type, including no configuration, single attribute configuration, multiple attribute configuration, single attribute summation, and single attribute maximum; and the third field indicates the field, that is, the column in the PFE file from which data is selected.

[0126] As an implementation manner of the embodiment of the present disclosure, the fields included in the power flow are respectively whether to display, data type, I-side power, I-side name, J-side power, J-side name, power flow direction, and dynamic power flow; and the configuration description of the power flow is as follows:

[0127] flows:4,6,1,2,True,True,True|-1,-1,-1,-1,False,False,False

[0128] The keyword "flows” is used, and two configurations of alternating current line and direct current line are included, the two configurations are separated by " | ", and each item of configuration information is separated by ", ”; the first field of the marker field indicates the I-side power field; the second field indicates the field in which the I-side name is located; the third field indicates the field in which the J-side power is located; the fourth field indicates the field in which the J-side name is located; the fifth field indicates whether to display, " True” indicating display and otherwise indicating no display; the sixth field indicates whether to display the power flow direction, " True” indicating display and otherwise indicating no display; and the seventh field indicates whether to display the dynamic display, " True” indicating display and otherwise indicating no display.

[0129] As an implementation manner of the embodiment of the present disclosure, the fault set is represented by a keyword "Relevance", and the fields included in the fault set are respectively a start identifier, an end identifier, a space symbol, a manifestation, an effect index and an effect type; and the configuration description of the fault set is:

[0130] <relevance>

[0131] R ACNODE: "AC node"

[0132] R ACLINE: "AC line"

[0133] R DCNODE: "DC node"

[0134] R DCLINE: "DC line"

[0135] R TL: "Transformer"

[0136] R FAULT: 2,6,_,1,7,8 "Fault set"

[0137] < / relevance>

[0138] wherein, starting with a keyword "R FAULT", one information record is used to record the fault set information; the first field of the fault set field represents the column number of the start identifier in the PFE file; the second field represents the column number of the end identifier in the PFE file; the third field represents the space symbol; the fourth field represents the manifestation, which includes: none, fault relevance and fault range; the fifth field represents the effect index, which represents the column number of the data selected from the PFE file; and the sixth field represents the effect type, which represents the column number of the data selected from the PFE file.

[0139] As an implementation manner of the embodiment of the present disclosure, the configuration file is named with a suffix.EGC.

[0140] As to the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

[0141] The visual effect storage configuration device of the power GIS system in the embodiment of the present disclosure reads the PFE file to determine the power station information row; reads the Chinese field in the next row of the power station information row and stores it in an array, and one-to-one corresponds the Chinese field with the number starting from 0; displays the read Chinese field name in the drop-down box of the interface; clicks the Chinese field in the drop-down box and records the number corresponding to the Chinese field; saves the sequence of the number to generate the configuration file of the visual effect storage of the power GIS system. Therefore, the superposition of various visual effects can be realized by modifying the configuration file, different power visualization requirements can be met, and the flexibility of the display of the power GIS system is improved.

[0142] In order to realize the above-mentioned embodiment, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.

[0143] The electronic device comprises a processor 1220 and a memory 1210 for storing instructions executable by the processor 1220; and the processor 1220 is configured to perform the visual effect storage configuration method of the power GIS system according to the first aspect of the present disclosure.

[0144] As an example, Figure 12 A block diagram of an electronic device for implementing a method according to an exemplary embodiment of the present disclosure is shown in FIG. 12, and the electronic device 1200 can include: Figure 12 As shown in FIG. 12, the electronic device 1200 can include:

[0145] The memory 1210 and the processor 1220, a bus 1230 connecting different components including the memory 1210 and the processor 1220, the memory 1210 storing a computer program, and the processor 1220 implementing the visual special effect storage configuration method of the power GIS system according to the first aspect of the present disclosure when executing the program.

[0146] The bus 1230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or local bus using any of a variety of bus architectures. By way of example, these architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0147] The electronic device 1200 typically includes a variety of computer readable media. These media can be any available media that is accessible by the electronic device 1200 and includes both volatile and non-volatile media, removable and non-removable media.

[0148] The memory 1210 can also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1240 and / or cache memory 1250. The electronic device 1200 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 1260 can be provided for reading from and writing to non-removable, non-volatile magnetic media (e.g., a "hard drive"). Figure 12 not shown in FIG. 12, a magnetic hard disk drive for reading from and writing to non-removable, non-volatile magnetic media (e.g., a "hard drive"). Although not specifically shown, such can Figure 12 include a magnetic floppy disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media). Each of these drives can be connected to the bus 1230 by one or more data media interfaces. The memory 1210 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the present disclosure.

[0149] Program / utility 1280 having a set (at least one) of program modules 1270, can be stored in memory 1210, for example ROM, RAM, etc., of the electronic device 1200, such as an operating system, one or more application programs, other program modules, and program data, and each of such examples, or some combination thereof, can implement aspects of the embodiments described herein upon execution by the processing unit 1202. The program modules 1270 generally carry out the functions and / or methodologies of embodiments of the disclosure as described herein.

[0150] The electronic device 1200 can also communicate with one or more external devices 1290 such as a keyboard or pointing device, a display 1291, etc.; one or more devices that enable a user to interact with the electronic device 1200; and / or one or more devices that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication can occur via an input / output (I / O) interface 1292. Still yet, the electronic device 1200 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet) via the network adapter 1293. As depicted, the network adapter 1293 communicates with the other components of the electronic device 1200 via the bus 1230. It should be appreciated that the network adapter 1293 and / or the bus 1230 can be implemented using one or more types of technology that are now known or later developed. Figure 12 Figure 12 It should be appreciated that the software modules described herein are merely illustrative, and that other modules can be employed in connection with the various embodiments. Additionally, the software modules can be stored in memory 1210, such as RAM, ROM, EEPROM, flash memory, or the like, which can be volatile or non-volatile memory. The software modules can also include, but are not limited to, firmware, resident software, microcode, etc. Furthermore, the modules can comprise processors, digital signal processors, integrated circuits, application-specific integrated circuits, etc., which perform specific tasks.

[0151] The processor 1220 executes the program from the memory 1210, and thereby performs various function applications and data processing.

[0152] It should be noted that the implementation process and technical principles of the electronic device of the present embodiment are described above in the explanation of the visual special effect storage configuration method of the power GIS system of the embodiments of the present disclosure, which will not be described herein.

[0153] The electronic device provided by the embodiments of the present disclosure determines the station information row by reading the PFE file, stores the Chinese field in the next row of the station information row in an array, and one-to-one correspondence between the Chinese field and the number starting from 0; displays the read Chinese field name in the drop-down box of the interface; clicks the Chinese field in the drop-down box, and records the number corresponding to the Chinese field; saves the sequence of the number to generate the configuration file of the visual special effect storage of the power GIS system. Thus, the superposition of various visual special effects can be realized by modifying the configuration file, different power visualization requirements are met, and the flexibility of the power GIS system display is improved.

[0154] ​To achieve the above-mentioned embodiments, the disclosure further provides a computer readable storage medium, wherein when instructions in the computer readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the visual special effect storage configuration method of the power GIS system as described above.

[0155] To achieve the above-mentioned embodiments, the disclosure further provides a computer program product, which when executed by a processor of an electronic device, enables the electronic device to perform the visual special effect storage configuration method of the power GIS system as described above.

[0156] In the description of the present specification, the description referring to the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any suitable manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the present specification and the features of the different embodiments or examples without contradiction.

[0157] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.

[0158] Any process or method descriptions in flow charts or described elsewhere herein can be understood as representing code modules, segments, or portions of code which include one or more executable instructions for implementing the specified logical functions or steps, and the various embodiments of the present disclosure include alternative implementations of the described processes or methods, in which the order of steps can be changed, including use of simultaneous or substantially simultaneous steps, and including the use of additional, different or alternative steps, as appropriate, to implement the described functions, which should be understood by those skilled in the art.

[0159] The logic and / or steps represented in flow diagrams or otherwise described herein, for example, can be considered as a sequence of instructions to implement logic functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this specification, a "computer-readable medium" can be any means that can contain, store, communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a machine-readable storage device (e.g., magnetic, optical or other) a machine-readable storage diskette (e.g., floppy disk, optical disk, CD- ROM, etc.), a machine- readable storage card (e.g., PCMCIA card, etc.), a machine-readable storage tape (e.g., magnetic tape, optical tape, etc.), a machine-readable storage medium (e.g., RAM, ROM, etc.), a machine-readable signal (e.g., electrical, optical, etc.), a machine-readable medium (e.g., carrier wave, etc.) or any other suitable medium or means of embodying the program. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM, a FLASH memory card, an optical fiber, and a portable compact disc read-only memory (CD-ROM). Additionally, the computer-readable medium can be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and stored in a computer memory.

[0160] It should be understood that portions of the present disclosure can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, the various steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As such, if implemented in hardware, and in another embodiment, any of the following technologies, known in the art, or their combinations can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.

[0161] Those skilled in the art can understand that all or part of the steps carried out by the above-mentioned embodiment methods can be completed by programs instructing related hardware, and the programs can be stored in a computer-readable storage medium. When the programs are executed, one or a combination of the steps of the method embodiments is included.

[0162] In addition, each of the functional units in the various embodiments of the present disclosure can be integrated in one processing module, or each unit can be physically present separately, or two or more units can be integrated in one module. The integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.

[0163] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present disclosure, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present disclosure.

[0164] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the specification and practice of the present disclosure. The present disclosure is intended to cover any variations, uses or adaptive changes to the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional techniques in the art that are not disclosed by the present disclosure. The specification and examples are only considered as exemplary, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0165] It should be understood that the present disclosure is not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.< / psdpfeacnode> < / psdpfeacnode>

Claims

1. A configuration method of visual effect storage of a power GIS system, characterized by, The method comprises the following steps: reading a PFE file, looping each line of the PFE file, determining an identifier in the line, and taking the line as a station information line if the line contains the identifier; reading Chinese fields in the next line of the station information line, and taking each Chinese field as a number in sequence from 0 until all the Chinese fields have corresponding numbers, and then storing the Chinese fields in an array; displaying the names of the read Chinese fields in a drop-down box in an interface; clicking the Chinese fields in the drop-down box and recording the numbers corresponding to the Chinese fields, and generating a sequence of numbers according to the clicking order of the Chinese fields; saving the sequence of numbers to generate a configuration file for visual effects storage of a power GIS system; the configuration file includes five categories: data type, effect style, label, power flow, and fault set; the data type includes the following fields: data type, display or not, chart type, and included fields, wherein the included fields are multiple fields, and the configuration file saves the column sequence number of the fields after the sequence number of the fields in the PFE file is selected in the drop-down box interface; the effect style includes the following fields: display or not, data type, style type, color 1, color 2, and field, the fifth field indicates the field from which data values are taken to perform effect display, and this field is dynamically read from the PFE file; the label includes the following fields: display or not, data type, chart type, and field, the chart type includes: no configuration, single attribute configuration, multiple attribute configuration, single attribute summation, and single attribute maximum, the third field indicates the column from which data is taken in the PFE file, the drop-down box interface displays Chinese character names, and the configuration file saves the sequence number of the fields; the power flow includes the following fields: display or not, data type, I-side power, I-side name, J-side power, J-side name, power flow direction, and dynamic power flow, the I-side power field and the J-side power field are read from the PFE file, and Chinese is displayed in the drop-down box interface after selection to record the sequence number of the fields; the fault set includes the following fields: start identifier, end identifier, space character, display form, effect index, and effect type, the first field indicates the column in the PFE file where the start identifier is located; the second field indicates the column in the PFE file where the end identifier is located; the display form includes: none, fault correlation, and fault range; the fifth field indicates the effect index; and the sixth field indicates the effect type, both of which indicate the column in the PFE file from which data is taken, and the display is the Chinese field name in the PFE file, and the column sequence number is displayed after selection.

2. The method of claim 1, wherein, The configuration file includes map display effect customization and line label, and contains configuration information saved in a file.

3. The method of claim 1, wherein, ​ ​ ​ 4. The method of claim 1, wherein, The first field of the effect style field represents whether to display, 0 or null for not displaying, and 1 for displaying; The second field represents the style type, including: no effect style, fault, and thermal force; The third field represents color 1, and the fourth field represents color 2, one color or two colors can be selected, and two colors represent main line gradient color; The fifth field represents the field, and data values are selected according to the PFE file to perform effect display.

5. The method of claim 1, wherein, The first field of the label field represents whether to display, 0 or null for not displaying, and 1 for displaying; The second field represents the chart type, including: no configuration, single attribute configuration, multiple attribute configuration, single attribute summation, and single attribute maximum value; The third field represents the field, that is, the column number of the data selected from the PFE file.

6. The method of claim 1, wherein, The first field of the label field represents the I-side power field; The second field represents the field where the I-side name is located; The third field represents the field where the J-side power is located; The fourth field represents the field where the J-side name is located; The fifth field represents whether to display; The sixth field represents whether to display the power flow direction; The seventh field represents whether to display dynamic display.

7. The method of claim 1, wherein, The first field of the fault set field represents the starting identifier in the PFE file; The second field represents the ending identifier in the PFE file; The third field represents the space character; The fourth field represents the form, including: none, fault association, and fault range; The fifth field represents the effect index, indicating the column number of the data selected from the PFE file; The sixth field represents the effect type, indicating the column number of the data selected from the PFE file.

8. The method of claim 2, wherein, The configuration file has a suffix.EGC as the file name.

9. An apparatus for storing visual effects configuration of a power GIS system, characterized by It includes: A first reading module for reading a PFE file, determining an identifier in each program in the PFE file, and taking the program including the identifier as a power station information line; A second reading module for reading Chinese fields in a next line of the power station information line, storing the Chinese fields in an array, and corresponding the Chinese fields with numbers starting from 0 one by one; A display module for displaying the read Chinese field names in a drop-down box of an interface, corresponding the Chinese fields with numbers starting from 0 one by one according to the reading order until all the Chinese fields have corresponding numbers, and then storing the Chinese fields in an array; A clicking module for clicking the Chinese fields in the drop-down box and recording the numbers corresponding to the Chinese fields, and generating a sequence of numbers according to the clicking order of the Chinese fields; A saving module for saving the sequence of numbers to generate a configuration file for visual special effects storage of a power GIS system; The configuration file includes five categories: data type, effect style, label, power flow, and fault set; The fields included in the data type are data type, whether to display, chart type, and including field, wherein the including field is a multiple field, and after the field sequence number in the PFE file is selected in the drop-down box interface, the column sequence number of the saved field is saved. The effect style includes the fields of whether to display, data type, style type, color 1, color 2 and field, the fifth field indicates the field, and data values are taken from the PFE according to the field, and effect display is performed, and the fifth field is dynamically read from the PFE file; The label includes the fields of whether to display, data type, chart type and field, the chart type includes no configuration, single attribute configuration, multiple attribute configuration, single attribute summation and single attribute maximum, the third field indicates the field to be taken from the PFE file, a drop-down box interface displays Chinese character names, and a configuration file saves field sequence numbers; The power flow includes the fields of whether to display, data type, I-side power, I-side name, J-side power, J-side name, power flow direction and dynamic power flow, the I-side power field and the J-side power field are respectively read from the PFE file, Chinese is displayed in a drop-down box interface, and field sequence numbers are recorded after selection; The fault set includes the fields of start identifier, end identifier, space symbol, manifestation, effect index and effect type, the first field indicates the column number of the start identifier in the PFE file; the second field indicates the column number of the end identifier in the PFE file, the manifestation includes no, fault correlation and fault range, the fifth field indicates the effect index, and the sixth field indicates the effect type, both indicate the column number to take data from the PFE file, are displayed as Chinese field names of the PFE file, and column sequence numbers are displayed after selection.

Citation Information

Patent Citations

  • Information stream display system and method based on GIS distribution network graphs

    CN103970887A

  • Implementation method for visualization application based on electric power GIS

    CN106599460A