CN112732150B - Special auxiliary display method and system for power grid equipment - Google Patents

Special auxiliary display method and system for power grid equipment Download PDF

Info

Publication number
CN112732150B
CN112732150B CN202110022018.1A CN202110022018A CN112732150B CN 112732150 B CN112732150 B CN 112732150B CN 202110022018 A CN202110022018 A CN 202110022018A CN 112732150 B CN112732150 B CN 112732150B
Authority
CN
China
Prior art keywords
primitive
configuration
auxiliary display
configuration item
dynamic data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110022018.1A
Other languages
Chinese (zh)
Other versions
CN112732150A (en
Inventor
芦玉英
许花
周养浩
程亿强
陈�光
王一帆
周伟
杜召龙
王海洋
吕福虎
李鹏
李钟伟
袁伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nari Technology Co Ltd
Original Assignee
Nari Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN202110022018.1A priority Critical patent/CN112732150B/en
Publication of CN112732150A publication Critical patent/CN112732150A/en
Application granted granted Critical
Publication of CN112732150B publication Critical patent/CN112732150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The invention discloses a special auxiliary display method and system for power grid equipment, which comprises the following steps: generating a group of original dynamic data refresh packets according to all the primitive contents on the opened graph; analyzing the configuration file, and adding newly added configuration item dynamic data into the original dynamic data updating packet when the newly added configuration item dynamic data exists in the configuration file; generating a group of auxiliary display object chains according to configuration information in a configuration file, and recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in the auxiliary display object chains, wherein the primitive object information comprises primitive objects and configuration contents to be changed; and according to the record in the auxiliary display object chain, drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content, and drawing the primitive objects which are not recorded in the auxiliary display object chain according to an original mode.

Description

Special auxiliary display method and system for power grid equipment
Technical Field
The invention belongs to the technical field of electric power automation, and relates to a special auxiliary display method and system for power grid equipment.
Background
At present, the allocation integrated system provides a functional requirement for automatically increasing auxiliary display information for different devices for a plurality of times, for example, the display requirements for special colors and special shapes of interconnection switches are provided, for example, the devices are correspondingly protected by fault lamp prompts, such as the distinguishing display of public devices and special devices, along with the wide application of the allocation integrated system, the quantity of users in various regions is continuously increased, the display requirements for different devices are more and more increased, and a universal device auxiliary information display frame needs to be designed urgently to meet the requirements of users in different regions for device display.
At present, although a special mark function is added to an interconnection switch in the same version by default, a special mark is displayed only for one type of equipment of the interconnection switch, the mark is also fixed and unchangeable, the use habits of different users cannot be met, and the function cannot be expanded to other types of equipment or attributes.
Disclosure of Invention
The purpose of the invention is as follows: in order to fill the blank of a general method for displaying auxiliary information of equipment in the prior art, the invention provides a special auxiliary display method and system for power grid equipment.
The technical scheme is as follows: a special auxiliary display method for power grid equipment comprises the following steps:
generating a group of original dynamic data refresh packets according to all the primitive contents on the opened graph, analyzing the configuration file, and adding the newly added configuration item dynamic data into the original dynamic data refresh packets when the newly added configuration item dynamic data exists in the configuration file;
generating a group of auxiliary display object chains according to configuration information in a configuration file, and recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in the auxiliary display object chains, wherein the primitive object information comprises primitive objects and configuration contents to be changed;
and according to the record in the auxiliary display object chain, drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content, and drawing the primitive objects which are not recorded in the auxiliary display object chain according to an original mode.
Further, the configuration file is generated based on the database device table, and the configuration file includes a trigger condition configuration item, a primitive coloring mode configuration item, and a primitive display state configuration item.
Further, the trigger condition configuration item corresponds to a table number, a domain number, and a value of the device object to be displayed in the database device table. The format of the trigger condition configuration item is as follows:
table_1=*****
column_1=**
value_1=*
the table _1 indicates the table number of the device object to be displayed in the database device table, the column _1 indicates the domain number of the device object to be displayed in the database device table, and the value _1 indicates the value of the device object to be displayed in the database device table.
Further, the configuration item of the primitive coloring mode comprises the assignment of drawing color parameters of the equipment objects to be displayed, wherein different values represent different colors. The format of the primitive coloring mode configuration item is as follows:
color_num=n
table_1=*****
column_1=**
value_1=*
show_flag_1=k
table_n=*****
column_n=**
value_n=*
show_flag_n=k
wherein n represents the number of the primitive coloring mode configuration item schemes, and n is 1,2,3 … …; k represents the drawing color of the graphic element, and the values of k are different, so that the represented colors are different.
Further, the primitive display state configuration item includes performing state-layer offset assignment on a state parameter of the device object to be displayed, where 0 < state-layer offset < number of primitive states/2. The format of the primitive display state configuration item is as follows:
state_num=m
table_1=*****
column_1=**
value_1=*
show_flag_1=+t
table_m=*****
column_m=**
value_m=*
show_flag_m=+t
wherein m represents the number of primitive display state configuration item schemes, and m is 1,2,3 … …; show _ flag _ m ═ t denotes the rendering primitive state layer offset, + t denotes the offset t state, t < number of primitive states/2 and t > 0.
Further, the configuration file further comprises a prompt text configuration item, and the prompt text configuration item comprises the text content needing to be added and coordinate information of the added text content. The specific format of the prompt text configuration item is as follows:
text_num=i
table_1=*****
column_1=**
value_1=*
show_flag_1=A
move_x_1=x1
move_y_1=y1
table_i=*****
column_i=**
value_i=*
show_flag_i=A
move_x_i=xi
move_y_i=yi
wherein, i represents the number of the prompt text configuration item schemes, and i is 1,2,3 … …; show _ flag _ i ═ a indicates that text content a needs to be added, and move _ x _ i ═ xiIndicating that the added text content a is offset on the abscissa; move _ y _ i ═ yiIndicating increased text content a offset ordinate.
Further, the configuration file further comprises an additional picture configuration item, and the additional picture configuration item comprises an additional picture name and picture insertion coordinate information. The specific format of the additional picture configuration item is as follows:
png_num=j
table_1=*****
column_1=**
value_1=*
show_flag_1=record_dev.png
move_x_1=x′1
move_y_1=y′2
table_j=*****
column_j=**
value_j=*
show_flag_j=record_dev.png
move_x_j=x′j
move_y_j=y′j
wherein j represents the number of additional picture allocation item schemes, and j is 1,2,3 … …; the show _ flag _ j _ record _ dev.png represents a picture with an additional picture name of record _ dev.png; move _ x _ j ═ x'jAbscissa indicating picture insertion position, move _ y _ j ═ y'jAnd a ordinate indicating the picture insertion position.
The invention also discloses a special auxiliary display system for the power grid equipment, which comprises the following components:
the original dynamic data refresh packet generation module is used for generating a group of original dynamic data refresh packets according to all the primitive contents on the opened graph when the graph is opened;
the original dynamic data refreshing packet updating module is used for adding the newly added configuration item dynamic data into the original dynamic data refreshing packet when the newly added configuration item dynamic data exists in the configuration file;
the auxiliary display object chain generating module is used for generating a group of auxiliary display object chains according to the configuration information in the configuration file when the graph is opened; recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in an auxiliary display object chain, wherein the primitive object information comprises primitive objects and configuration contents to be changed;
and the drawing module is used for drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content according to the records in the auxiliary display object chain, and drawing the primitive objects which are not recorded in the auxiliary display object chain in an original mode.
Further, the configuration file is generated based on a database device table, and the configuration file comprises a trigger condition configuration item, a primitive coloring mode configuration item and a primitive display state configuration item; the triggering condition configuration items correspond to the table numbers, the domain numbers and the values of the equipment objects to be displayed in the database equipment table, the primitive coloring mode configuration items comprise the assignment of drawing color parameters of the equipment objects to be displayed, the colors represented by different values are different, the primitive display state configuration items comprise the assignment of state layer offset to the state parameters of the equipment objects to be displayed, wherein the state layer offset is more than 0 and less than the primitive state number/2.
The format of the trigger condition configuration item is as follows:
table_1=*****
column_1=**
value_1=*
wherein, table _1 ═ indicates the table number of the device object to be displayed in the database device table, column _1 ═ indicates the domain number of the device object to be displayed in the database device table, and value _1 ═ indicates the value of the device object to be displayed in the database device table;
the format of the primitive coloring mode configuration item is as follows:
color_num=n
table_1=*****
column_1=**
value_1=*
show_flag_1=k
table_n=*****
column_n=**
value_n=*
show_flag_n=k
wherein n represents the number of the schemes of the primitive coloring mode configuration items, and n is 1,2,3 … …; k represents the drawing color of the graphic element, and the values of k are different, and the represented colors are different;
the format of the primitive display state configuration item is as follows:
state_num=m
table_1=*****
column_1=**
value_1=*
show_flag_1=+t
table_m=*****
column_m=**
value_m=*
show_flag_m=+t
wherein, m represents the number of the schemes of the primitive display state configuration items, and m is 1,2,3 … …; show _ flag _ m ═ t denotes the rendering primitive state layer offset, + t denotes the offset t state, t < number of primitive states/2 and t > 0.
Further, the configuration file further comprises a prompt text configuration item and an additional picture configuration item; the configuration file further comprises a prompt text configuration item, and the prompt text configuration item comprises text content needing to be added and coordinate information of the added text content; the configuration file further comprises an additional picture configuration item, and the additional picture configuration item comprises an additional picture name and picture insertion coordinate information.
The specific format of the prompt text configuration item is as follows:
text_num=i
table_1=*****
column_1=**
value_1=*
show_flag_1=A
move_x_1=x1
move_y_1=y1
table_i=*****
column_i=**
value_i=*
show_flag_i=A
move_x_i=xi
move_y_i=yi
wherein, i represents the number of the prompt text configuration item schemes, and i is 1,2,3 … …; show _ flag _ i ═ a indicates that text content a needs to be added, and move _ x _ i ═ xiIndicating that the added text content a is offset on the abscissa; move _ y _ i ═ yiIndicating increased text content a offset ordinate;
the specific format of the additional picture configuration item is as follows:
png_num=j
table_1=*****
column_1=**
value_1=*
show_flag_1=record_dev.png
move_x_1=x′1
move_y_1=y′2
table_j=*****
column_j=**
value_j=*
show_flag_j=record_dev.png
move_x_j=x′j
move_y_j=y′j
wherein j represents an additional picture allocation item scheme number, j is 1,2,3 … …; window _ flag _ j _ record _ dev.png represents a picture with an additional picture name record _ dev.png; move _ x _ j ═ x'jAbscissa indicating picture insertion position, move _ y _ j ═ y'jAnd a vertical coordinate indicating the picture insertion position.
Has the advantages that: the invention classifies and summarizes various different display requirements which are provided by different fields aiming at different devices, adopts a uniform configuration mode to flexibly process special display of different devices, different tables and different domains, can configure different coloring modes aiming at different state information or display different primitive states, adds different character identifications or even displays different picture warnings. Through one-time design, the special display requirements of other subsequent fields are met, the new requirements can be met without additional development, the development time of a human-computer interface is greatly saved, more display schemes are provided for users, the use habits of the users are led, and the display effect of the equipment is optimized.
Drawings
FIG. 1 is a diagram of a process architecture;
FIG. 2 is a diagram of the effect of the method.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings and the embodiment.
The embodiment flexibly processes special display aiming at different devices, different tables and different domains through uniform configuration, can configure different coloring modes and configure and display different primitive states.
The special auxiliary display method for the power grid equipment is only suitable for the primitive equipment objects, and the primitive equipment objects are equipment with primitives with fixed length and width dimensions, such as switch type equipment, transformer type equipment, generator type equipment, capacitive reactance type equipment and the like, which can be freely drawn by users.
Before describing the presentation method, the configuration files used in the respective steps will now be described as follows.
An operating user adds a configuration file graph _ dev _ show _ config.ini based on a database device table to realize primitive additional character prompt, primitive additional picture prompt, primitive coloring mode change and primitive display state change, and configures auxiliary information, primitive colors and primitive display states required by the user; the configuration file content comprises a trigger condition configuration item, a primitive coloring mode configuration item, a primitive display state configuration item, a prompt text configuration item and an additional picture configuration item.
The triggering condition configuration items comprise table numbers, domain numbers and values in a database equipment table, equipment needing auxiliary display enters a system for real-time monitoring through the triggering condition configuration items, the colors of primitives associated with the equipment needing auxiliary display are changed through the primitive coloring mode configuration items, and the primitive colors include, but are not limited to, the following four colors: 0 is voltage color, 1 is dynamic coloring, 2 is primary color of drawing, and 3 is coloring of red and black images; the state of the primitives is changed by primitive display state configuration items, where the display state includes, but is not limited to, an offset state. The configuration item formats will now be explained:
the specific format of the trigger condition configuration item is as follows:
table _1 is 13502// table number
column _1 ═ 30// domain number
value _1 ═ 1// value
The data corresponding to the table number, the domain number and the value correspond to the equipment information in the database equipment table needing auxiliary display.
The specific format of the primitive coloring mode configuration item is as follows:
color _ num/n 1,2,3 … … represents a coloring configuration scheme number, which represents the effective number of the configuration in the actual operation, for example, color _ num 0, the following configuration is not effective. n needs to correspond to 1 in the following table _1, if the configuration color _ num is equal to 3, then three groups of configuration tables _1 … table _2 … … table _3 … follow;
table _1 is 13502// table number
column _1 ═ 30// domain number
value _1 equals 1// value
The show _ flag _1 is k// k, and k is 0, 1,2 and 3; when k is 0, the color of the displayed graphic element is represented as a voltage color, and one color is defined in each voltage level in a primary wiring diagram of the power system, and different voltage levels show that different colors are voltage colors, for example, a 220kV voltage color is red, and a 500kV voltage color is yellow. When k is 1, the color of the displayed primitive is represented by dynamic coloring, which is a predefined special color cue, for example: when the equipment runs out of limit, the purple is displayed, and when the equipment exits from running, the purple is displayed in another color. When k is 2, the displayed primitive color is the primitive original color; when k is 3, the color of the displayed primitive is the red-black image coloring, and the coloring mode is special for the red-black image of the power system.
The specific format of the primitive display state configuration item is as follows:
state _ num ═ m// m ═ 1,2,3 … …, which indicates the number of rendering state schemes, m needs to correspond to 1 in the following table _1, if the configuration state _ num ═ 3, then three groups of configuration tables _1 … table _2 … … table _3 … follow;
table_1=13502
column_1=30
value_1=1
show _ flag _1 ═ t// draw primitive state layer offset, + t denotes offset t state, where t >0 and t < number of primitive states/2.
The specific format of the prompt text configuration item is as follows: a text _ num ═ i// i ═ 1,2,3 … …, which indicates the number of drawing state schemes, i needs to correspond to 1 in the following table _1, and if the configuration text _ num ═ 3, three groups of configuration tables _1 … table _2 … … table _3 … are followed;
table_1=13502
column_1=30
value_1=1
show _ flag _1 ═ A// A indicates that text content needs to be added
move_x_1=xi//xiAn offset abscissa representing added text content;
move_y_1=yi//yian offset ordinate representing added text content;
the specific format of the additional picture configuration item is as follows:
j// i is 1,2,3 … …, which represents the number of drawing state schemes, i needs to correspond to 1 in the following table _1, and if the configuration png _ num is 3, three groups of configuration tables _1 … table _2 … … table _3 … follow;
table_1=13502
column_1=30
value_1=1
the show _ flag _1 ═ record _ dev.png// record _ dev.png denotes the picture name of the additional picture;
move_x_1=x'j//x'jan abscissa indicating a picture insertion position;
move_y_1=y'j//y'jand a vertical coordinate indicating the picture insertion position.
The demonstration method of the present invention will now be described with reference to fig. 1, comprising the steps of:
opening a graph in a graphics browser of the deployment integration system, generating a group of original dynamic data refresh packets according to the contents of all the graphic elements on the graph, analyzing a configuration file graph _ dev _ show _ config.ini configured by a user, and adding configuration item dynamic data newly added in the configuration file in the original dynamic data refresh packets to ensure that the change of the configuration item dynamic data can trigger the redrawing of the equipment graphic elements in the graph.
The deployment integration system graphic browser generates a group of new auxiliary display object chains to a cache according to configuration information in the configuration file, wherein the object chain structure is the same as the configuration content of the configuration file and is used for recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet, and the primitive object information comprises primitive objects to be changed and the configuration content; when the configuration file changes, the auxiliary display object chain automatically records;
and according to the record in the auxiliary display object chain, drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content by the graphic browser, and drawing the primitive objects which are not recorded in the auxiliary display object chain according to the original mode by the graphic browser.
The description will now be given of a special auxiliary display method for power grid equipment, taking the modification of primitive coloring mode configuration items and primitive display state configuration items as examples.
Step 1: an operation user creates and draws basic primitives according to actual requirements to form a graph;
step 2: an operation user generates a configuration file based on a database equipment table; taking a switch as an example, judging through a switch type field of a distribution network switch table, and if the switch type is a section switch (value _1 is 0), normally drawing the 1 st and 2 nd layers of a primitive to represent the opening and closing state of the switch; if the switch type is a tie switch (value _1 is 1), adding a 3 rd state layer and a 4 th state layer, wherein the 3 rd state layer and the 4 th state layer are specially used for displaying that the tie switch is a diamond, and drawing the 3 rd layer and the 4 th layer of the graphic element to represent the on-off state of the switch, and if the switch type is a section switch, drawing the voltage color of the graphic element normally, if the switch type is the tie switch, the voltage color is not drawn, the original drawing color is drawn, and the original drawing color of the tie switch is green, so that the difference between the tie switch and other section switches is distinguished. When each graphic element is created, several layers are defined, and each layer draws what content. The section switch and the interconnection switch are the same switch, and are used for different functions sometimes in the operation process, and are used for the section switch sometimes and are used for the interconnection switch sometimes, so that the states of the graphic elements need to be changed at any time in the operation process for distinguishing.
Taking a switch as an example, when the content of the configuration file is as follows, the color of the primitive is the original drawing color green, and the shape of the primitive is a diamond shape and is used as a communication switch;
color_num=1
table_1=13502
column_1=30
value_1=1
show_flag_1=2
state_num=1
table_1=13502
column_1=30
value_1=1
show_flag_1=+2
the following steps are steps of the internal processing logic of the program:
and (2) generating a group of original dynamic data refresh packets by the deployment integration system graphic browser according to all the primitive contents in the drawn graph in the step (1), simultaneously analyzing the configuration file graph _ dev _ show _ config.ini configured by the user in the step (2), and adding the newly added configuration item dynamic data in the configuration file into the original dynamic data refresh packets so as to ensure that the redrawing of the equipment primitives in the graph can be triggered by the change of the configuration item dynamic data. For example: the newly added configuration item data in the configuration file is as follows:
color_num=1
table_1=13502
column_1=30
value_1=1
show_flag_1=2
adding the newly added configuration item data into an original dynamic data updating packet;
the deployment integration system graphics browser generates a group of new auxiliary display object chains to a cache according to configuration information in the configuration file, and records primitive object information corresponding to configuration item dynamic data added in the original dynamic data updating packet in the auxiliary display object chains, wherein the primitive object information comprises primitive objects and configuration contents to be changed; and when the equipment object corresponding to the information defined in the trigger condition configuration item in the configuration file changes, the graphic browser automatically updates the auxiliary display object chain information.
For example: in addition to the above example of the steps, primitives corresponding to "table _1 ═ 13502, column _1 ═ 30, value _1 ═ 1" and the arrangement scheme "show _ flag _1 ═ 2" of the primitives are recorded in the auxiliary display object chain.
And drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content according to the records in the auxiliary display object chain, and drawing the primitive objects which are not recorded in the auxiliary display object chain according to an original mode.
As shown in fig. 2, the normal switch is shown as a rectangle, the actual color is a voltage color red, the color is white in fig. 2, the tie switch is shown as a diamond, the actual color is an original color green, and the color is gray in fig. 2.
The invention also discloses a special auxiliary display system for the power grid equipment, which comprises the following components:
the original dynamic data refreshing packet generating module is used for generating a group of original dynamic data refreshing packets according to all the primitive contents on the opened graph when the graph is opened;
the original dynamic data refreshing packet updating module is used for adding the newly added configuration item dynamic data into the original dynamic data refreshing packet when the newly added configuration item dynamic data exists in the configuration file;
the auxiliary display object chain generating module is used for generating a group of auxiliary display object chains according to the configuration information in the configuration file when the graph is opened; recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in an auxiliary display object chain, wherein the primitive object information comprises primitive objects and configuration contents to be changed;
and the drawing module is used for drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content according to the records in the auxiliary display object chain, and drawing the primitive objects which are not recorded in the auxiliary display object chain in an original mode.
Generating a configuration file based on a database equipment table, wherein the configuration file comprises a trigger condition configuration item, a primitive coloring mode configuration item and a primitive display state configuration item; the triggering condition configuration items correspond to table numbers, domain numbers and values in a database equipment table;
the format of the trigger condition configuration item is as follows:
table_1=*****
column_1=**
value_1=*
wherein, table _1 ═ indicates the table number of the device object to be displayed in the database device table, column _1 ═ indicates the domain number of the device object to be displayed in the database device table, and value _1 ═ indicates the value of the device object to be displayed in the database device table;
the format of the primitive coloring mode configuration item is as follows:
color_num=n
table_1=*****
column_1=**
value_1=*
show_flag_1=k
table_n=*****
column_n=**
value_n=*
show_flag_n=k
wherein n represents the number of the primitive coloring mode configuration item schemes, and n is 1,2,3 … …; k represents the drawing color of the graphic element, and the values of k are different, and the represented colors are different;
the format of the primitive display state configuration item is as follows:
state_num=m
table_1=*****
column_1=**
value_1=*
show_flag_1=+t
table_m=*****
column_m=**
value_m=*
show_flag_m=+t
wherein m represents the number of primitive display state configuration item schemes, and m is 1,2,3 … …; show _ flag _ m ═ t denotes the rendering primitive state layer offset, + t denotes the offset t state, t < number of primitive states/2 and t > 0.
The configuration file also comprises a prompt text configuration item and an additional picture configuration item;
the specific format of the prompt text configuration item is as follows:
text_num=i
table_1=*****
column_1=**
value_1=*
show_flag_1=A
move_x_1=x1
move_y_1=y1
table_i=*****
column_i=**
value_i=*
show_flag_i=A
move_x_i=xi
move_y_i=yi
wherein, i represents the number of the prompt text configuration item schemes, and i is 1,2,3 … …; show _ flag _ i ═ A indicates that an increase is requiredText content a, move _ x _ i ═ xiIndicating that the added text content a is offset on the abscissa; move _ y _ i ═ yiIndicating increased text content a offset ordinate;
the specific format of the additional picture configuration item is as follows:
png_num=j
table_1=*****
column_1=**
value_1=*
show_flag_1=record_dev.png
move_x_1=x′1
move_y_1=y′2
table_j=*****
column_j=**
value_j=*
show_flag_j=record_dev.png
move_x_j=x′j
move_y_j=y j
wherein j represents an additional picture allocation item scheme number, j is 1,2,3 … …; window _ flag _ j _ record _ dev.png represents a picture with an additional picture name record _ dev.png; move _ x _ j ═ x'jAbscissa indicating picture insertion position, move _ y _ j ═ y'jAnd a vertical coordinate indicating the picture insertion position.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A special auxiliary display method for power grid equipment is characterized by comprising the following steps: the method comprises the following steps:
generating a group of original dynamic data refresh packets according to all the primitive contents on the opened graph, analyzing the configuration file, and adding the newly added configuration item dynamic data into the original dynamic data refresh packets when the newly added configuration item dynamic data exists in the configuration file;
generating a group of auxiliary display object chains according to configuration information in a configuration file, and recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in the auxiliary display object chains, wherein the primitive object information comprises primitive objects and configuration contents to be changed;
drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content according to the records in the auxiliary display object chain, and drawing the primitive objects which are not recorded in the auxiliary display object chain according to an original mode;
the configuration file is generated based on a database device table, and comprises a trigger condition configuration item, a primitive coloring mode configuration item and a primitive display state configuration item.
2. The special auxiliary display method for the power grid equipment as claimed in claim 1, wherein the method comprises the following steps: the trigger condition configuration item corresponds to the table number, the domain number and the value of the equipment object required to be displayed in the database equipment table.
3. The special auxiliary display method for the power grid equipment as claimed in claim 1, wherein the method comprises the following steps: and the configuration item of the primitive coloring mode comprises the step of assigning values to drawing color parameters of the equipment objects to be displayed, wherein the colors represented by different values are different.
4. The special auxiliary display method for the power grid equipment as claimed in claim 1, wherein the method comprises the following steps: and the primitive display state configuration item comprises the step of carrying out state layer offset assignment on the state parameters of the equipment objects needing to be displayed, wherein 0 is more than the state layer offset and less than the primitive state number/2.
5. The special auxiliary display method for the power grid equipment as claimed in claim 1, wherein the method comprises the following steps: the configuration file further comprises a prompt text configuration item, and the prompt text configuration item comprises the text content needing to be added and the coordinate information of the added text content.
6. A special auxiliary display method for power grid equipment according to claim 1, characterized in that: the configuration file further comprises an additional picture configuration item, and the additional picture configuration item comprises an additional picture name and picture insertion coordinate information.
7. The utility model provides a special supplementary display system of power grid equipment which characterized in that: the method comprises the following steps:
the original dynamic data refresh packet generation module is used for generating a group of original dynamic data refresh packets according to all the primitive contents on the opened graph when the graph is opened;
the original dynamic data refreshing packet updating module is used for adding the newly added configuration item dynamic data into the original dynamic data refreshing packet when the newly added configuration item dynamic data exists in the configuration file;
the auxiliary display object chain generating module is used for generating a group of auxiliary display object chains according to the configuration information in the configuration file when the graph is opened; recording primitive object information corresponding to configuration item dynamic data added in an original dynamic data updating packet in an auxiliary display object chain, wherein the primitive object information comprises primitive objects and configuration contents to be changed;
the drawing module is used for drawing the primitive objects recorded in the auxiliary display object chain according to the configuration content and drawing the primitive objects not recorded in the auxiliary display object chain in an original mode according to the records in the auxiliary display object chain;
the configuration file is generated based on a database device table, and comprises a trigger condition configuration item, a primitive coloring mode configuration item and a primitive display state configuration item.
8. The special auxiliary display system for power grid equipment according to claim 7, wherein: the triggering condition configuration items correspond to the table numbers, the domain numbers and the values of the equipment objects to be displayed in the database equipment table, the primitive coloring mode configuration items comprise the assignment of drawing color parameters of the equipment objects to be displayed, the colors represented by different values are different, the primitive display state configuration items comprise the assignment of state layer offset to the state parameters of the equipment objects to be displayed, wherein the state layer offset is more than 0 and less than the primitive state number/2.
9. The special auxiliary display system for power grid equipment according to claim 8, wherein: the configuration file also comprises a prompt text configuration item and an additional picture configuration item;
the configuration file further comprises a prompt text configuration item, and the prompt text configuration item comprises text content needing to be added and coordinate information of the added text content;
the configuration file further comprises an additional picture configuration item, and the additional picture configuration item comprises an additional picture name and picture insertion coordinate information.
CN202110022018.1A 2021-01-08 2021-01-08 Special auxiliary display method and system for power grid equipment Active CN112732150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110022018.1A CN112732150B (en) 2021-01-08 2021-01-08 Special auxiliary display method and system for power grid equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110022018.1A CN112732150B (en) 2021-01-08 2021-01-08 Special auxiliary display method and system for power grid equipment

Publications (2)

Publication Number Publication Date
CN112732150A CN112732150A (en) 2021-04-30
CN112732150B true CN112732150B (en) 2022-07-19

Family

ID=75589752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110022018.1A Active CN112732150B (en) 2021-01-08 2021-01-08 Special auxiliary display method and system for power grid equipment

Country Status (1)

Country Link
CN (1) CN112732150B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034491A (en) * 2012-12-06 2013-04-10 国电南瑞科技股份有限公司 Implementation system and method for power system interface integration
CN103412744A (en) * 2013-07-18 2013-11-27 国电南瑞科技股份有限公司 Method for showing summarized information of power station primitives
CN103412981A (en) * 2013-07-18 2013-11-27 国电南瑞科技股份有限公司 Method for displaying comprehensive information of transformer substation graphics primitives
CN103927332A (en) * 2014-03-24 2014-07-16 河海大学 IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN105912821A (en) * 2016-05-10 2016-08-31 南京国电南自电网自动化有限公司 Design method of dynamic electrical power system primitive

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617646B (en) * 2013-10-23 2017-11-17 山东康威通信技术股份有限公司 A kind of 3 d model library method for building up of power tunnel environment
CN107146166B (en) * 2017-04-24 2020-12-01 国网江西省电力公司经济技术研究院 Distribution network planning auxiliary system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034491A (en) * 2012-12-06 2013-04-10 国电南瑞科技股份有限公司 Implementation system and method for power system interface integration
CN103412744A (en) * 2013-07-18 2013-11-27 国电南瑞科技股份有限公司 Method for showing summarized information of power station primitives
CN103412981A (en) * 2013-07-18 2013-11-27 国电南瑞科技股份有限公司 Method for displaying comprehensive information of transformer substation graphics primitives
CN103927332A (en) * 2014-03-24 2014-07-16 河海大学 IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN105912821A (en) * 2016-05-10 2016-08-31 南京国电南自电网自动化有限公司 Design method of dynamic electrical power system primitive

Also Published As

Publication number Publication date
CN112732150A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US5504853A (en) System and method for selecting symbols and displaying their graphics objects in a detail window
CN103092585A (en) Image library configuration design system for integrated supervision software
CN106557457A (en) A kind of system for automatically generating cross-platform Complicated Flow figure based on QT
CN107133032B (en) Graphical interface system of all-line station yard graph
CN112732150B (en) Special auxiliary display method and system for power grid equipment
US5442738A (en) Computer display representing structure
Benjamin Zhan et al. Object-oriented knowledge-based symbol selection for visualizing statistical information
CN105912821A (en) Design method of dynamic electrical power system primitive
CN109086515A (en) The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG
CN104915198B (en) A kind of flexibly SCADA host computer man-machine interfaces of definition and layout and content
Dähler et al. A graphical tool for the design and prototyping of distributed systems
CN108153572A (en) GIS display methods, device and system
JPH1195990A (en) Method and device for displaying program structure
CN113761304B (en) Big data intelligent display configuration method based on dynamic parameters
Daneshdoost et al. A PC based integrated software for power system education
CN107609050A (en) New page system and its works generation method based on HTML5
CN111538878A (en) QT-based data acquisition platform data display method and device
CN113900614B (en) Mobile terminal controlled visual large screen display system
Eremeev et al. A real-time decision support system prototype for management of a power block
CN110795087B (en) Primitive processing method and device for UML design drawing and computer equipment
Cahn et al. A response to the 1977 GSPC Core Graphics System
JP3554250B2 (en) Graphic display method and graphic display device
JPH09311771A (en) Method and device for network equipment management
Tanimoto Color-mapping techniques for computer-aided design and verification of VLSI systems
CN115291848A (en) Interface drawing method and device of train display, medium and rail vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant