CN110737660B - Data processing method and device and computer readable storage medium - Google Patents

Data processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110737660B
CN110737660B CN201910905325.7A CN201910905325A CN110737660B CN 110737660 B CN110737660 B CN 110737660B CN 201910905325 A CN201910905325 A CN 201910905325A CN 110737660 B CN110737660 B CN 110737660B
Authority
CN
China
Prior art keywords
communication
direct current
current engineering
structure diagram
tree structure
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
CN201910905325.7A
Other languages
Chinese (zh)
Other versions
CN110737660A (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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201910905325.7A priority Critical patent/CN110737660B/en
Publication of CN110737660A publication Critical patent/CN110737660A/en
Application granted granted Critical
Publication of CN110737660B publication Critical patent/CN110737660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/088Aspects of digital computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Computer Hardware Design (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a data processing method, which comprises the following steps: acquiring a pre-stored direct current engineering tree structure diagram; acquiring at least one visual program based on the direct current engineering tree structure chart; the at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure diagram; acquiring data transmitting and receiving information among nodes in the direct current engineering tree structure chart from at least one visualization program; creating a target link diagram based on the data transceiving information and the direct current engineering tree structure diagram; and sequentially displaying a plurality of views in the target link diagram based on the hierarchy of the direct current engineering tree structure diagram. The embodiment of the invention also provides equipment and a computer storage medium.

Description

Data processing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of dc control protection technologies, and in particular, to a data processing method and apparatus, and a computer-readable storage medium.
Background
At present, the research and development of virtual circuits are mainly focused on the field of alternating-current digital substations. The direct current control protection system is widely applied at present, and the performance and the operation and maintenance convenience of the direct current control protection system directly influence the operation safety and efficiency of a direct current project. However, in the prior art, the interface, the typical loop and the link of the dc-dc protection system are not studied, and the optimization design and control of the secondary loop are less, so that the state monitoring of the dc-dc protection system is not intuitive, and a hierarchical browsing monitoring function is lacking.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention desirably provide a data processing method, a data processing apparatus, and a computer-readable storage medium, so as to solve the problem in the prior art that the optimal design and control of the secondary circuit of the dc-dc protection system are few, enrich the schemes for optimal design and control of the secondary circuit of the dc-dc protection system, and enable visual and multi-level display of the status monitoring of the dc-dc protection system.
The technical scheme of the invention is realized as follows:
in a first aspect, a method of data processing, the method comprising:
acquiring a pre-stored direct current engineering tree structure diagram;
acquiring at least one visual program based on the direct current engineering tree structure chart; the at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure diagram;
acquiring data transmitting and receiving information among nodes in the direct current engineering tree structure chart from at least one visualization program;
creating a target link diagram based on the data transceiving information and the direct current engineering tree structure diagram;
and sequentially displaying a plurality of views in the target link diagram based on the hierarchy of the direct current engineering tree structure diagram.
Optionally, the obtaining, from the at least one visualization program, data transmission and reception information between nodes in the direct current engineering tree structure diagram includes:
acquiring data receiving and transmitting symbols of nodes in the direct current engineering tree structure chart from the at least one visualization program;
and analyzing the data transceiving symbol to obtain the data transceiving information.
Optionally, the creating a target link map based on the data transceiving information and the dc engineering tree structure diagram includes:
acquiring a subtree of a first layer node in the direct current engineering tree structure diagram, and creating a logic loop index view corresponding to the subtree based on the subtree and a communication type and a communication mode corresponding to the subtree in the data transceiving information;
acquiring a communication relation between each layer of nodes in the direct current engineering tree structure diagram from the data transceiving information, and creating a communication view corresponding to each layer of nodes based on the communication relation between each layer of nodes;
acquiring nodes with front-back communication connection relation in the direct current engineering attribute structure diagram, and communication variables and communication ports between the nodes with the front-back communication connection relation from the data transceiving information;
establishing a signal transmission view corresponding to the nodes with the front-back connection relation based on the nodes with the front-back connection relation, communication variables and communication ports among the nodes with the front-back connection relation;
and sequentially setting a logic loop index view corresponding to the subtree, a communication view corresponding to each layer of nodes and a signal transmission view corresponding to the nodes with the front-back connection relation according to the hierarchical relation in the direct current engineering tree structure diagram to obtain the target link diagram.
Optionally, the sequentially displaying multiple views included in the target link map based on the hierarchy of the direct current engineering tree structure map includes:
acquiring a first communication view between first-layer nodes in the direct current engineering tree structure diagram from the communication view corresponding to each layer of nodes, and displaying the first communication view between the first-layer nodes; wherein the first communication view corresponds to the first layer of nodes;
receiving a first preset operation aiming at a first communication block in the first communication view, responding to the first preset operation, and displaying a logic loop index view corresponding to the first communication block;
receiving a second preset operation aiming at a second communication block in the first logic loop index view, responding to the second preset operation, and displaying a second communication view corresponding to the second communication block;
receiving a third preset operation aiming at a connecting line of the second communication view, and displaying a signal transmission view corresponding to the second communication view;
receiving a fourth preset operation aiming at the connecting line of the first communication view, responding to the third preset operation, and displaying a third communication view; wherein the second communication view includes an identification of a node of the sub-tree;
receiving a fifth preset operation aiming at the connecting line of the third communication view, responding to the fifth preset operation, and displaying a signal transmission view corresponding to the third communication view.
Optionally, after creating the target link map based on the data transceiving information and the dc engineering tree structure diagram, the method further includes:
acquiring a pre-stored direct current engineering physical structure diagram; the direct current engineering physical structure diagram is created by a physical model symbol corresponding to each node in the direct current engineering tree structure diagram;
mapping and associating a first sub-physical structure diagram in the direct current engineering physical structure diagram with the target link diagram; the first sub-physical structure diagram and the target link diagram have a corresponding relation;
receiving mapping association operation, responding to the mapping association operation, and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visual image; the target direct-current engineering visible graph is used for realizing cross indexing and jumping between the direct-current engineering physical structure graph and the target link graph, and the second sub-physical structure graph is a physical structure graph in the direct-current engineering physical structure graph except the first sub-physical structure graph.
Optionally, after receiving the mapping association operation and responding to the mapping association operation, performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visible view, the method further includes:
inputting a reference variable in the target direct current engineering visual image to perform fault location analysis;
and if the fault exists, outputting fault prompt information at the fault part of the target direct current engineering visual image.
Optionally, the inputting a reference variable in the target dc engineering visual image for fault location analysis includes:
receiving an input signal to obtain the reference variable;
obtaining an output result when the reference variable is transmitted in a communication channel or a communication port in the target direct current engineering visual image;
and determining whether the communication channel or the communication port is conducted or not based on the output result to perform the fault location analysis.
Alternatively to this, the first and second parts may,
each node in a first layer in the direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection host, and each control protection host manages the input/output IO device.
In a second aspect, a data processing apparatus, the data processing apparatus comprising: a processor, a memory, and a communication bus, wherein:
the memory to store executable instructions;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the data processing program stored in the memory, so as to implement the data processing method according to any one of the above descriptions.
In a third aspect, a computer readable storage medium has stored thereon a data processing program which, when executed by a processor, implements the steps of the data processing method as defined in any one of the above.
The embodiment of the invention provides a data processing method, equipment and a computer readable storage medium, wherein after a pre-stored direct current engineering tree structure diagram is obtained, at least one visual program is obtained based on the direct current engineering tree structure diagram, data receiving and transmitting information of nodes in the direct current engineering tree structure diagram is obtained from the at least one visual program, and then a target link diagram is created based on the data receiving and transmitting information and the direct current engineering tree structure diagram. Therefore, a target link diagram capable of monitoring the state of the DC control protection system in a hierarchical mode is created and obtained based on the DC engineering tree structure diagram and corresponding data transceiving information in at least one visual program, the problem that in the prior art, optimization design and control of a secondary circuit of the DC control protection system are few is solved, the scheme for optimization design and control of the secondary circuit of the DC control protection system is enriched, and the state monitoring of the DC control protection system can be visually and hierarchically displayed.
Drawings
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another data processing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a direct current engineering tree structure according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a communication symbol according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another exemplary communication symbol according to the present invention;
FIG. 6 is a schematic illustration of another exemplary communication symbol according to the present invention;
FIG. 7 is a diagram illustrating an inter-station communication view according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an indexed view of a logic circuit according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating another view of inter-station communication according to an embodiment of the present invention;
FIG. 10 is a schematic view of an inter-electrode communication view according to an embodiment of the present invention;
FIG. 11 is a diagram illustrating an inter-system communication view according to an embodiment of the present invention;
FIG. 12 is a diagram illustrating a communication view between hosts according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating a communication view between a host and an IO device according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a signal transmission view during signal transmission between hosts according to an embodiment of the present invention;
FIG. 15 is a flow chart illustrating another data processing method according to an embodiment of the present invention;
fig. 16 is a schematic diagram of an application scenario provided in the embodiment of the present invention;
fig. 17 is a schematic diagram of another application scenario provided in the embodiment of the present invention;
FIG. 18 is a diagram illustrating another application scenario provided by an embodiment of the present invention;
fig. 19 is a schematic diagram of a physical structure diagram of a dc engineering according to an embodiment of the present invention;
FIG. 20 is a flowchart illustrating a further data processing method according to an embodiment of the present invention;
fig. 21 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
An embodiment of the present invention provides a data processing method, which is applied to a data processing device and is shown in fig. 1, and the method includes the following steps:
step 101, acquiring a pre-stored direct current engineering tree structure diagram.
Each node in a first layer in a direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection IO host, and each control protection IO host manages the input/output devices.
In the embodiment of the present invention, the pre-stored dc engineering tree structure diagram may be obtained by a user through design according to a dc control protection engineering design schematic diagram, and the format of the pre-stored dc engineering tree structure diagram may be a picture format or another file storage format that can be recognized by a data processing device.
And 102, acquiring at least one visualization program based on the direct current engineering tree structure diagram.
And at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure chart.
In the embodiment of the invention, at least one visualization program is a compiling script corresponding to a visualization interface which is pre-stored by a user and is installed in a data storage device; the visualization program is mainly applied to the control protection host and the IO device, namely after the visualization program is compiled, the obtained visualization interface can check the working conditions of the corresponding control protection host and/or the IO device, including a working mode, transmitted data and the like. Each control protection host corresponds to one visualization program, or each IO device corresponds to one visualization program, or several control protection hosts correspond to one visualization program, or several IO devices correspond to one visualization program, or several control protection hosts and several IO devices correspond to one visualization program.
And 103, acquiring data transmitting and receiving information among the nodes in the direct current engineering tree structure chart from at least one visualization program.
In the embodiment of the present invention, the visualization program includes data transmission and reception information for data transmission between all nodes in the direct current engineering tree structure diagram, where the data transmission and reception information includes a communication type, a communication mode, that is, a transmission mode, a fiber channel signal/ethernet port, a host communication address, a variable packet number, a variable name, a variable type, a data length, and the like. The data transmission and reception information contents are stored in a visualization program in a format agreed in advance.
And 104, creating a target link diagram based on the data transmitting and receiving information and the direct current engineering tree structure diagram.
The target link diagram comprises a plurality of views, and the views in the target link diagram are sequentially displayed according to the hierarchy of the direct current engineering tree structure diagram.
In the embodiment of the invention, the data transceiving information comprises data interaction relation and transmission data between the devices represented by each node in the direct current engineering tree structure diagram. Therefore, based on the data interaction relationship and the transmission data between the devices in the data transceiving information, the logical loop index view, the communication view and the logical viewable view of the direct current engineering protection system can be created according to the connection relationship between each node in the direct current engineering tree structure diagram, and further, the obtained logical loop index view, the communication view and the logical viewable view are hierarchically arranged according to the hierarchical relationship in the direct current engineering tree structure diagram.
In step 105, a plurality of views in the target link diagram are sequentially displayed based on the hierarchy of the direct current engineering tree structure diagram.
In the embodiment of the invention, the target link diagram is obtained by arranging a plurality of views according to the hierarchy based on the hierarchy of the direct current engineering tree structure diagram. Therefore, when the target link diagram is displayed, the target link diagram may be displayed in a hierarchical manner, specifically, the view of the upper layer may be operated, and then the view of the lower layer corresponding to the upper layer is displayed, so that the hierarchical display of the target link diagram is realized.
The embodiment of the invention provides a data processing method, which comprises the steps of obtaining a pre-stored direct current engineering tree structure diagram, obtaining at least one visual program based on the direct current engineering tree structure diagram, obtaining data receiving and transmitting information of nodes in the direct current engineering tree structure diagram from the at least one visual program, and then creating a target link diagram based on the data receiving and transmitting information and the direct current engineering tree structure diagram. Therefore, a target link diagram capable of monitoring the state of the DC control protection system in a hierarchical mode is created and obtained based on the DC engineering tree structure diagram and corresponding data transceiving information in at least one visual program, the problem that in the prior art, optimization design and control of a secondary circuit of the DC control protection system are few is solved, the scheme for optimization design and control of the secondary circuit of the DC control protection system is enriched, and the state monitoring of the DC control protection system can be visually and hierarchically displayed.
Based on the foregoing embodiments, an embodiment of the present invention provides a data processing method, which is applied to a data processing device and is shown in fig. 2, and the method includes the following steps:
step 201, obtaining a pre-stored direct current engineering tree structure diagram.
Each node in a first layer in a direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection IO host, and each control protection IO host manages the input/output devices.
In the embodiment of the invention, a user creates a direct current engineering tree structure diagram according to a converter station, a pole, a system, a control protection host (host for short), an IO device and the like of a direct current engineering in a direct current control protection engineering design schematic diagram, wherein in the direct current engineering tree structure diagram, the converter station, the pole and the system can be represented according to the serial number in the direct current control protection engineering design schematic diagram, and the control protection host can be represented according to the host name in the direct current control protection engineering design schematic diagram. For example, the obtained preset stored direct current engineering tree structure diagram may be as shown in fig. 3, where the direct current engineering tree structure diagram corresponding to the direct current control protection engineering includes two converter stations, and is represented by a corresponding number station 1 and a corresponding station 2; the station 1 comprises two poles, indicated with the corresponding numbered poles 1 and 2; the pole 1 comprises two systems which are represented by corresponding numbering systems 1 and 2; the system 1 comprises two hosts which are represented by a host PCP1 and a host PPR1 with corresponding host numbers; the host is not set in the system 2; host PCP1 does not manage IO devices; the host PPR1 manages two IO devices, and is represented by corresponding numbers IO1 and IO 2; the station 2 comprises two poles, indicated with the corresponding numbered poles 3 and 4; the pole 3 comprises two systems which are represented by a corresponding numbering system 3 and a corresponding numbering system 4; the system 3 comprises two hosts which are represented by corresponding host numbers PCP2 and PPR 2; the host is not set in the system 4; host PCP2 does not manage IO devices; host PPR2 does not manage IO devices. It should be noted that fig. 3 is only an example, and the number of stations, poles, systems, control protection hosts, and IO devices in the direct current engineering tree structure diagram corresponding to the direct current control protection engineering is specifically determined according to an actual application scenario or a direct current control protection engineering design, and is not limited here.
Step 202, acquiring at least one visualization program based on the direct current engineering tree structure chart.
And at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure chart.
In the embodiment of the invention, at least one visualization program is acquired based on the control protection host and the IO device in the direct current engineering tree structure diagram. The control protection hosts and the IO devices can correspond to one visual program, one control protection host can also correspond to one visual program, one IO device corresponds to one visual program, the specific situation that the control protection hosts and the IO devices correspond to the visual programs can be determined according to the actual situation, and the method is not limited here.
And 203, acquiring data transceiving symbols of the nodes in the direct current engineering tree structure diagram from at least one visualization program.
In the embodiment of the present invention, the data transceiving symbol refers to a carrier for information transmission between stations, inter-poles, inter-systems, between control protection hosts, between stations and inter-poles, between poles and systems, between systems and control protection hosts, and between control protection hosts and IO devices of a visualization program. As shown in fig. 4, a is a matched communication symbol pair when inter-stations perform communication, where a1 is a signal transmission (SEND) symbol, a2 is a signal Reception (RECEIVE) symbol, B1 is a communication type, B2 is configuration information, and Com type in the configuration information B2 represents a communication object, which is station in the embodiment of the present invention. C is a corresponding front-back connection relation in the communication page program obtained after compiling the visualization program based on the communication symbol, wherein PIN is a signal input end, AC _ FAULT _ TOSTA is a variable name for receiving and transmitting, and PIN is connected with the data transmitting symbol C1; POUT is a signal output terminal, AC _ FAULT _ TOSTA is a variable name received and transmitted, POUT is connected with a data receiver C2, and the data receiver C2 further comprises an Enable terminal Enable. It should be noted that the inter-station, inter-pole, and inter-system communication transmitting/receiving symbols are the same, and may be specifically distinguished by Com type in the configuration information B2.
The communication symbol between the hosts may be as shown in fig. 5, D represents a communication link setup symbol pair between the hosts, the communication symbols D1 and D2 set one piece of logical link information between the host Tx and the host Rx, and the communication symbols D1 and D2 include information such as Group number (Group) and MAC address; e denotes an inter-host communication symbol pair, E1 denotes a host Rx data transmission symbol, E2 denotes a host Tx data reception symbol, the host Rx data transmission symbol E1 and the host Tx data reception symbol E2 may set single variable of transmission and reception information, and may set a group number (Grp) and a terminal number (ind); and F represents the corresponding front-back connection relation in the communication page program obtained by compiling the visual program based on the inter-host communication symbol.
The communication symbol between the control protection host and the IO device may be as shown in fig. 6, where PIN represents a communication port connected to the host, LOUT represents a communication port connected to the optical fiber port, and information such as an IO signal transmission name, a transmission source plug-in, a destination plug-in, and a transmission channel number may be obtained by analyzing configuration information in the G1 communication symbol IO TX and/or the G2 communication symbol IO RX.
And step 204, analyzing the data transceiving symbol to obtain data transceiving information.
In the embodiment of the present invention, the data transmission and reception information includes contents of arbitrary combinations of communication types, transmission modes, fiber channel numbers/ethernet ports, host communication addresses, variable packet numbers, variable names, variable types, data lengths, and the like according to actual situations. By analyzing the configuration information in the data transceiving symbol, communication objects including inter-station, inter-pole, inter-system, inter-control protection host, inter-station-inter-pole, inter-pole-system, inter-system-control protection host, inter-control protection host and IO device for mutual communication, and corresponding communication transmission variables can be obtained, and data transceiving information can be obtained. The data transmission and reception information may be a set of information, each of which includes at least two communication objects that communicate with each other, and may further include a communication variable, and the like.
Step 205, obtaining a sub-tree of each node in the first layer in the direct current engineering tree structure diagram, and creating a logic loop index view corresponding to the sub-tree based on the communication type and the communication mode corresponding to the sub-tree in the sub-tree and the data transceiving information.
In the embodiment of the present invention, each node in the first layer in the direct current engineering tree structure diagram refers to a node representing a converter station, as shown in fig. 3, the node in the first layer includes a node station 1 and a node station 2, and an exemplary node forming a sub-tree corresponding to the node station 1 includes: pole 1, pole 2, system 1, system 2, host PCP, host PPR, IO _1, and IO _ 2. The logical loop index view may refer to a block diagram schematic of devices connected and managed by devices represented by each node in the subtree of each node of the first level.
In other embodiments of the present invention, the step 205 of creating a logical loop index view corresponding to the subtree based on the communication type and communication mode corresponding to the subtree in the subtree and the data transceiving information may be implemented by the following steps a1 to a 3:
step a1, obtaining the communication type and communication mode between each layer node in the subtree from the data transmission and receiving information.
In the embodiment of the present invention, a node in the direct current engineering tree structure diagram represents a device in a direct current commutation control protection system, each device in the direct current engineering tree structure diagram is represented by an identifier, and the identifier may be used for identifying each device, may be identity identification information of each device, and may also be a serial number capable of identifying the device. Illustratively, based on the nodes of the subtree corresponding to the first-level node station 1 in fig. 3, the identifier of each node is obtained, and the following results are obtained: utmost point 1, utmost point 2, system 1, system 2, host computer PCP, host computer PPR, IO _1 and IO _2, the corresponding communication type that can obtain between each layer node from data receiving and dispatching information includes: inter-electrode communication, inter-system communication, inter-host communication, and host and IO device communication, wherein the communication modes include real-time communication and non-real-time communication, and the communication modes include real-time communication, non-real-time communication, wired or wireless communication, and the like, from data transmission and reception information.
Step a2, creating a first preset graph in turn based on the communication type and communication mode in the subtree.
The first preset graph is provided with a communication type and a communication mode.
In the embodiment of the present invention, the first preset pattern may be a rectangular frame, a square frame, a circular frame, or the like, and may be specifically set according to a preference of a user. A first preset pattern is created, and a communication type and a communication mode are set. Illustratively, based on the communication type between each layer of the subtree corresponding to the node station 1 in fig. 3, 4 rectangular frames are created, each rectangular frame is respectively identified with inter-electrode communication, inter-system communication, inter-host communication, and host-IO device communication, and communication modes are set in different communication blocks.
Step a3, according to the layout of the nodes in the subtree, setting a first preset graph in a second preset graph corresponding to each node in the first layer, and obtaining a logic loop index view corresponding to the subtree.
In the embodiment of the present invention, the second preset pattern may be a rectangular frame, a square frame, a circular frame, or the like, and may be specifically set according to the preference of the user, and the second preset rectangular pattern may be the same as or different from the first preset pattern. Illustratively, a rectangular frame is created based on the node of station 1, and inter-electrode communication, inter-system communication, inter-host communication, and host-to-IO device communication are laid out in the rectangular frame corresponding to station 1 according to the layout of each layer of nodes in the subtree of station 1, wherein only the communication mode in the host communication block is shown in fig. 7.
And step 206, acquiring the communication relationship between each layer of nodes in the direct current engineering tree structure diagram from the data transceiving information, and creating a communication view corresponding to each layer of nodes based on the communication relationship between each layer of nodes.
In the embodiment of the present invention, each layer of node in the direct current engineering tree structure diagram refers to a node in the same layer in the direct current engineering tree structure diagram, the communication relationship includes an information sending and receiving relationship and a communication content, and the corresponding communication content mainly refers to a communication variable in the embodiment of the present invention. Exemplarily, in fig. 3, the station 1 and the station 2 belong to the same layer in the direct current engineering tree structure diagram, and correspondingly, the communication relationship and the communication variables between the station 1 and the station 2 are obtained from the data transmission and reception information; the pole 1, the pole 2, the pole 3 and the pole 4 belong to the same layer in the direct current engineering tree structure chart, and correspondingly obtain the communication relation and the communication variable among the pole 1, the pole 2, the pole 3 and the pole 4 from data transmitting and receiving information; the system 1, the system 2, the system 3 and the system 4 belong to the same layer in a direct current engineering tree structure chart, and correspondingly acquire communication relations and communication variables among the system 1, the system 2, the system 3 and the system 4 from data receiving and transmitting information; the host PCP1, the host PPR1, the host PCP2 and the host PPR2 belong to the same layer in the direct current engineering tree structure chart, and correspondingly acquire the communication relation and the communication variable among the host PCP1, the host PPR1, the host PCP2 and the host PPR2 from the data transmitting and receiving information.
The communication view is used for showing that the devices respectively represented by the two nodes have communication relation.
In other embodiments of the present invention, the step 206 of "creating a communication view corresponding to each layer of nodes based on the communication relationship between each layer of nodes" may be implemented by the following steps b 1-b 2:
and b1, creating a third preset graph provided with the second equipment identification based on the communication relation between each layer of nodes.
Wherein the second device identification is obtained according to the nodes with the communication relationship.
In the embodiment of the present invention, the third preset pattern may be the same as or different from the first preset pattern or the second preset pattern, and is not limited herein.
Step b2, connecting the third preset graph according to the communication relation, and setting the data flow direction based on the corresponding communication relation to obtain the communication view corresponding to each layer of nodes.
In an embodiment of the present invention, at least two third preset patterns may be connected by using a connection line with arrows, and a corresponding direction of the arrows is used to indicate a data flow direction, for example, as shown in fig. 8 to 13, fig. 8 is a communication view of a station 1 and a station 2 having a communication relationship, fig. 9 is an inter-station communication view, fig. 10 is an inter-electrode communication view, fig. 11 is an inter-system communication view, fig. 12 is an inter-host communication view, and fig. 13 is a communication view between a host and an IO device.
And step 207, acquiring nodes with front-back communication connection relation in the direct current engineering attribute structure diagram, and communication variables and communication ports between the nodes with the front-back communication connection relation from the data transceiving information.
In the embodiment of the present invention, the connection relationship between front and back communication may be implemented in a wired communication manner, or may be implemented in a wireless communication manner. The nodes with the front-back communication connection relation in the direct current engineering attribute structure chart can be: between stations and poles, between poles and systems, between systems and control protection hosts, and between control protection hosts and IO devices.
And step 208, creating a signal transmission view corresponding to the nodes with the front-back connection relation based on the nodes with the front-back connection relation, the communication variables and the communication ports between the nodes with the front-back connection relation.
The target link diagram comprises signal transmission views corresponding to nodes with a front-back connection relation.
In other embodiments of the present invention, step 208 may be specifically implemented by the following steps c1 to c 3:
and c1, creating a fourth preset graph provided with the third equipment identifier.
Wherein, the third device identification is obtained according to the nodes with the front and back communication connection relation.
In the embodiment of the present invention, the fourth preset pattern may be the same as or different from the first preset pattern, the second preset pattern, and/or the third preset pattern.
And c2, connecting the fourth preset graph by using a connecting wire based on the communication port.
And c3, acquiring the communication variables transmitted by the communication port, and setting the communication variables transmitted by the communication port on a connecting line corresponding to the communication port to obtain a signal transmission view corresponding to the node with the front-back connection relation.
In the embodiment of the present invention, as shown in fig. 14, a signal transmission view during signal transmission between hosts is shown.
And 209, sequentially setting a logic loop index view corresponding to the subtree, a communication view corresponding to each layer of nodes and a signal transmission view corresponding to the nodes with the front-back connection relation according to the hierarchical relation in the direct current engineering tree structure chart to obtain a target link chart.
In other embodiments of the present invention, step 209 may be implemented by the following steps d 1-d 7:
and d1, acquiring a first communication view between the nodes of the first layer in the direct current engineering tree structure chart from the communication view corresponding to each layer of nodes, and setting and displaying the first communication view between the nodes of the first layer.
And the first communication view is obtained according to the identifier setting of the first layer node. A first communication view is shown in fig. 8.
And d2, acquiring the logic loop index view corresponding to the communication block in the communication view between the first-layer nodes from the logic loop index view corresponding to the subtree.
And d3, displaying the logic loop index view corresponding to the first communication block when the first preset operation is performed on the first communication block in the first communication view.
And d4, when a second preset operation is set to be carried out on a second communication block in the logic loop index view corresponding to the displayed communication block, displaying a second communication view corresponding to the second communication block.
And d5, displaying the signal transmission view corresponding to the second communication view when a third preset operation is performed on the connecting line of the second communication view.
Wherein the second communication view comprises an identification of a node of a sub-tree of the first level node.
And d6, acquiring a third communication view among the first-layer nodes, and displaying the third communication view when a third preset operation is performed on the connecting line in the first communication view.
And d7, when the third communication view is displayed and a fifth preset operation is performed on the connecting line of the third communication view, displaying the signal transmission view corresponding to the third communication view.
It should be noted that the first preset operation, the second preset operation, the third preset operation, the fourth preset operation, and the fifth preset operation may be the same or different, and may be determined specifically according to an actual situation.
Illustratively, for example, based on the hierarchical relationship in the direct current engineering tree structure diagram, the communication view between the nodes in the first layer in the direct current engineering tree structure diagram is set to be displayed as the communication view shown in fig. 8. And then, setting preset operation performed on the communication view between the first-layer nodes, including preset operation performed on the communication blocks or the communication connection lines in the communication view, and displaying the corresponding logical loop index view or the communication view, where the preset operation includes a single click, a double click, and the like, for example, the preset operation is performed on the station 1 communication block, the station 2 communication block, or the connection line between the station 1 and the station 2 in fig. 8. Illustratively, if the first preset operation, the second preset operation, the third preset operation, the fourth preset operation, and the fifth preset operation are all double-click operations, the station 1 communication block in fig. 8 is double-clicked to display a logic loop index view as shown in fig. 7, and if the connection line between the station 1 and the station 2 in fig. 8 is double-clicked to display an inter-station communication view as shown in fig. 9. Performing a preset operation on the displayed logical loop index view, for example, performing a preset operation on any communication block in the logical loop index view, displaying a communication view of the communication block, for example, double-clicking the inter-pole communication block in fig. 7, entering the inter-pole communication view shown in fig. 10, double-clicking the inter-system communication block in fig. 7, entering the inter-system communication view shown in fig. 11, double-clicking the inter-host communication block in fig. 7, entering the inter-host communication view shown in fig. 12, double-clicking the inter-host and IO device communication block in fig. 7, and entering the inter-host and IO device communication view shown in fig. 13. The method includes the steps of setting a preset operation on a connection line in a communication view, displaying a corresponding signal transmission view, illustratively, for example, double-clicking any connection line in the inter-host communication view shown in fig. 12, displaying a signal transmission view during signal transmission between hosts shown in fig. 14, and displaying variable names of specific signals transmitted and received between the hosts.
That is, only fig. 8 may be displayed when the target link map is displayed, and the corresponding fig. 7 and fig. 9 to 14 are hidden for display, and after the related operation is performed on fig. 8, fig. 7 and fig. 9 to 14 are sequentially displayed, so as to implement hierarchical display.
Step 210, obtaining a first communication view between nodes in a first layer in the direct current engineering tree structure diagram from the communication view corresponding to each layer of nodes, and displaying the first communication view between the nodes in the first layer.
And the first communication view corresponds to the first layer of nodes.
Step 211, receiving a first preset operation for a first communication block in the first communication view, responding to the first preset operation, and displaying a logic loop index view corresponding to the first communication block.
Step 212, receiving a second preset operation for a second communication block in the first logical loop index view, responding to the second preset operation, and displaying a second communication view corresponding to the second communication block.
Step 213, receiving a third preset operation of the connection line for the second communication view, and displaying a signal transmission view corresponding to the second communication view.
Step 214, receiving a fourth preset operation of the connection line for the first communication view, responding to the third preset operation, and displaying a third communication view.
Wherein the second communication view includes an identification of a node of the sub-tree.
Step 215, receiving a fifth preset operation of the connection line for the third communication view, responding to the fifth preset operation, and displaying a signal transmission view corresponding to the third communication view.
Based on the foregoing embodiment, as shown in fig. 15, after the data processing apparatus executes step 215, the following steps 216 to 218 may be further executed:
and step 216, acquiring a pre-stored direct current engineering physical structure diagram.
The direct current engineering physical structure diagram is created by a physical model symbol corresponding to each node in the direct current engineering tree structure diagram.
In the embodiment of the present invention, the pre-stored physical structure diagram of the dc engineering may be pre-provided by a user, and may be obtained by the user according to pre-provided physical models including a screen cabinet, a dc protection system chassis, a switch, an optical fiber, a network cable, and the like. For example, the prestored physical model may be as shown in fig. 16 to 18, where fig. 16 is a schematic diagram of a panel H1 and a back panel H2 of the dc protection system chassis, a panel H3 and a back panel H4 of the switch, fig. 17 is a schematic diagram of a screen cabinet provided with the dc protection system chassis and the switch, and fig. 18 is a schematic diagram of a plurality of screen cabinets connected by optical fibers or network cables. For example, the direct current engineering physical structure diagram obtained according to fig. 16 to 18 is shown in fig. 19.
And step 217, mapping and associating the first sub-physical structure diagram in the direct current engineering physical structure diagram with the target link diagram.
In this embodiment of the present invention, the first sub-physical structure diagram is a part of the direct current engineering physical structure diagram in which the data processing device can automatically perform mapping association according to the target link diagram in the direct current engineering physical structure diagram. Mapping association means that when a certain structure in the direct-current engineering physical structure diagram is operated, the corresponding link in a target link diagram can be jumped to. For example, in fig. 19, the direct current engineering physical structure diagram of the station 1 and the direct current engineering physical structure diagram of the station 2 may perform automatic mapping association according to the target link diagram, so as to implement a connected logical link.
And step 218, receiving the mapping association operation, responding to the mapping association operation, and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visual diagram.
The second sub-physical structure diagram is a physical link which cannot be automatically mapped and associated based on the target link diagram in the direct-current engineering physical structure diagram.
In this embodiment of the present invention, the mapping association operation may be sent by the user based on the second sub-physical structure diagram in the direct current engineering physical structure diagram, for example, a right click is made on a first link in the second physical structure diagram, and "link association" is selected, and a second link in the second physical structure diagram may be selected in the pop-up interface to obtain the mapping association operation, so that the mapping association may be performed on the second sub-physical structure diagram in the direct current engineering physical structure diagram by jumping from the first link to the second link. As shown in fig. 19, for the second sub-physical structure diagram corresponding to the station 1 and the switches 1 and 2, the mapping association between the station 2 and the switches 1 and 2 needs to be performed manually by a user.
Based on the foregoing embodiment, as shown in fig. 20, after the data processing device executes step 218, the following steps may be further executed:
and 219, inputting a reference variable in the target direct current engineering visual image to perform fault location analysis.
In other embodiments of the present invention, step 219 may be specifically realized by the following steps d 1-d 3:
and d1, receiving the input signal to obtain a reference variable.
In the embodiment of the present invention, the input signal may be obtained by connecting a target dc engineering visible view to a host in a dc conversion engineering through a network/serial port, and the reference variable may be obtained by correspondingly double-clicking a connection line in a signal transmission view or a connection line in a visible page as shown in fig. 13, and issuing a variable name.
And d2, obtaining an output result when the communication channel or the communication port in the target direct current engineering visual image is transmitted based on the reference variable.
In an embodiment of the present invention, the output result of the symbol, for example, OK or Error, is monitored according to the channel/port status in the visualization program page.
And d3, determining whether the communication channel or the communication port is conducted or not based on the output result to perform fault location analysis.
In the embodiment of the invention, if the output result is OK, the physical circuit outputting the output result can be determined to be normal; if the output result is Error, it can be determined that the physical loop outputting the output result has a fault.
And step 220, if the fault exists, outputting fault prompt information at the fault position of the target direct current engineering visual image.
In the embodiment of the present invention, when a fault exists, outputting the fault prompting information at the fault location visible in the target dc engineering may be to mark the fault location with red, and specifically, the connection line of the physical loop of the fault location may be set as a red connection line.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The embodiment of the invention provides a data processing method, which comprises the steps of obtaining a pre-stored direct current engineering tree structure diagram, obtaining at least one visual program based on the direct current engineering tree structure diagram, obtaining data receiving and transmitting information of nodes in the direct current engineering tree structure diagram from the at least one visual program, and then creating a target link diagram based on the data receiving and transmitting information and the direct current engineering tree structure diagram. Therefore, a target link diagram capable of monitoring the state of the DC control protection system in a hierarchical mode is created and obtained based on the DC engineering tree structure diagram and corresponding data transceiving information in at least one visual program, the problem that in the prior art, optimization design and control of a secondary circuit of the DC control protection system are few is solved, the scheme for optimization design and control of the secondary circuit of the DC control protection system is enriched, and the state monitoring of the DC control protection system can be visually and hierarchically displayed. Furthermore, a target direct current engineering visual image is set, can be recognized and utilized by a visualization tool, fault location analysis is realized, the problems of difficulty in fault location and incapability of visually monitoring states in the prior art are solved, and the states can be conveniently monitored based on the target direct current engineering visual image.
Based on the foregoing embodiments, an embodiment of the present invention provides a data processing apparatus, which may be applied in the data processing method provided in the embodiments corresponding to fig. 1-2, 15, and 20, and as shown in fig. 21, the data processing apparatus 3 may include: a processor 31, a memory 32, and a communication bus 33, wherein:
the communication bus 33 is used for realizing communication connection between the processor 31 and the memory 32;
the processor 31 is configured to execute a data processing program stored in the memory 32 to implement the following steps:
acquiring a pre-stored direct current engineering tree structure diagram;
acquiring at least one visual program based on the direct current engineering tree structure chart; at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure chart;
acquiring data receiving and transmitting information among nodes in the direct current engineering tree structure chart from at least one visualization program;
creating a target link diagram based on data receiving and transmitting information and the direct current engineering tree structure diagram;
and sequentially displaying a plurality of views in the target link diagram based on the hierarchy of the direct-current engineering tree structure diagram.
In other embodiments of the present invention, the processor is further configured to execute the following steps of obtaining data transceiving information between nodes in the direct current engineering tree structure diagram from at least one visualization program:
acquiring data receiving and transmitting symbols of nodes in the direct current engineering tree structure chart from at least one visualization program;
and analyzing the data transceiving symbol to obtain data transceiving information.
In other embodiments of the present invention, the processor is further configured to create a target link map based on the data transceiving information and the dc engineering tree structure map, so as to implement:
acquiring a subtree of a first layer node in a direct current engineering tree structure chart, and creating a logic loop index view corresponding to the subtree based on the communication type and the communication mode corresponding to the subtree in the subtree and data transceiving information;
acquiring a communication relation between each layer of nodes in the direct current engineering tree structure chart from data transceiving information, and creating a communication view corresponding to each layer of nodes based on the communication relation between each layer of nodes;
acquiring nodes with a front-back communication connection relation in a direct current engineering attribute structure diagram, and communication variables and communication ports between the nodes with the front-back communication connection relation from data transceiving information;
establishing a signal transmission view corresponding to the nodes with the front-back connection relation based on the nodes with the front-back connection relation, communication variables and communication ports between the nodes with the front-back connection relation;
and according to the hierarchical relationship in the direct current engineering tree structure chart, sequentially setting a logic loop index view corresponding to the subtree, a communication view corresponding to each layer of nodes and a signal transmission view corresponding to the nodes with the front-back connection relationship to obtain a target link chart.
In other embodiments of the present invention, the processor is further configured to execute a hierarchy based on the dc engineering tree structure diagram, and sequentially display a plurality of views included in the target link diagram, so as to implement the following steps:
acquiring a first communication view between first-layer nodes in the direct current engineering tree structure chart from the communication view corresponding to each layer of nodes, and displaying the first communication view between the first-layer nodes; the first communication view corresponds to the first layer of nodes;
receiving a first preset operation aiming at a first communication block in a first communication view, responding to the first preset operation, and displaying a logic loop index view corresponding to the first communication block;
receiving a second preset operation aiming at a second communication block in the first logic loop index view, responding to the second preset operation, and displaying a second communication view corresponding to the second communication block;
receiving a third preset operation of a connecting line aiming at the second communication view, and displaying a signal transmission view corresponding to the second communication view;
receiving a fourth preset operation aiming at the connecting line of the first communication view, responding to the third preset operation, and displaying a third communication view; wherein the second communication view comprises an identification of a node of the sub-tree;
and receiving a fifth preset operation of the connecting line aiming at the third communication view, responding to the fifth preset operation, and displaying a signal transmission view corresponding to the third communication view.
In other embodiments of the present invention, after the processor executes the creating of the target link map based on the data transceiving information and the dc engineering tree structure map, the processor is further configured to execute the following steps:
acquiring a pre-stored direct current engineering physical structure diagram; the direct current engineering physical structure chart is obtained by establishing a physical model symbol corresponding to each node in the direct current engineering tree structure chart;
mapping and associating a first sub-physical structure diagram in the direct-current engineering physical structure diagram with a target link diagram; the first sub-physical structure diagram and the target link diagram have a corresponding relation;
receiving mapping association operation, responding to the mapping association operation, and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visible view; the second sub-physical structure diagram is a physical structure diagram except the first sub-physical structure diagram in the direct current engineering physical structure diagram.
In other embodiments of the present invention, the processor is further configured to execute a receive mapping association operation, perform mapping association on the second sub-physical structure diagram in the direct current engineering physical structure diagram in response to the mapping association operation, and after obtaining the target direct current engineering visible view, further execute the following steps:
inputting a reference variable in a visual view of a target direct current project to perform fault location analysis;
and if the fault exists, outputting fault prompt information at the fault part of the visual target direct current project.
In other embodiments of the present invention, the processor is further configured to perform fault location analysis by inputting a reference variable in the target dc engineering visual map, so as to implement the following steps:
receiving an input signal to obtain a reference variable;
obtaining an output result when a communication channel or a communication port in the target direct current engineering visual image is transmitted based on the reference variable;
and determining whether the communication channel or the communication port is conducted or not based on the output result to perform fault location analysis.
In other embodiments of the present invention, the dc engineering tree structure stored in the memory comprises:
each node in a first layer in a direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection host, and each control protection host manages the input/output IO devices.
It should be noted that, in the embodiment, a specific implementation process of the step executed by the processor may refer to an implementation process in the data processing method provided in the embodiments corresponding to fig. 1 to 2, 15, and 20, and details are not described here.
The embodiment of the invention provides a data processing device, which is used for acquiring at least one visual program based on a DC engineering tree structure diagram after acquiring a pre-stored DC engineering tree structure diagram, acquiring data transceiving information of nodes in the DC engineering tree structure diagram from the at least one visual program, and then creating a target link diagram based on the data transceiving information and the DC engineering tree structure diagram. Therefore, a target link diagram capable of monitoring the state of the DC control protection system in a hierarchical mode is created and obtained based on the DC engineering tree structure diagram and corresponding data transceiving information in at least one visual program, the problem that in the prior art, optimization design and control of a secondary circuit of the DC control protection system are few is solved, the scheme for optimization design and control of the secondary circuit of the DC control protection system is enriched, and the state monitoring of the DC control protection system can be visually and hierarchically displayed. Furthermore, a target direct current engineering visual image is set, can be recognized and utilized by a visualization tool, fault location analysis is realized, the problems of difficulty in fault location and incapability of visually monitoring states in the prior art are solved, and the states can be conveniently monitored based on the target direct current engineering visual image.
Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium, which can be applied to the methods provided in the corresponding embodiments of fig. 1-2, 15, and 20, and which stores one or more programs, which are executable by one or more processors to implement the following steps:
acquiring a pre-stored direct current engineering tree structure diagram;
acquiring at least one visual program based on the direct current engineering tree structure chart; at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure chart;
acquiring data receiving and transmitting information among nodes in the direct current engineering tree structure chart from at least one visualization program;
establishing a target link diagram based on data receiving and transmitting information and a direct current engineering tree structure diagram;
and sequentially displaying a plurality of views in the target link diagram based on the hierarchy of the direct-current engineering tree structure diagram.
In other embodiments of the present invention, the processor is further configured to obtain data transceiving information between nodes in the direct current engineering tree structure diagram from at least one visualization program, so as to implement the following steps:
acquiring data receiving and transmitting symbols of nodes in the direct current engineering tree structure chart from at least one visualization program;
and analyzing the data transceiving symbol to obtain data transceiving information.
In other embodiments of the present invention, the processor is further configured to create a target link map based on the data transceiving information and the dc engineering tree structure map, so as to implement:
acquiring a subtree of a first layer node in a direct current engineering tree structure chart, and creating a logic loop index view corresponding to the subtree based on the communication type and the communication mode corresponding to the subtree in the subtree and data transceiving information;
acquiring a communication relation between each layer of nodes in the direct current engineering tree structure chart from data transceiving information, and creating a communication view corresponding to each layer of nodes based on the communication relation between each layer of nodes;
acquiring nodes with a front-back communication connection relation in a direct current engineering attribute structure diagram, and communication variables and communication ports between the nodes with the front-back communication connection relation from data transceiving information;
establishing a signal transmission view corresponding to the nodes with the front-back connection relation based on the nodes with the front-back connection relation, communication variables and communication ports between the nodes with the front-back connection relation;
and according to the hierarchical relationship in the direct current engineering tree structure chart, sequentially setting a logic loop index view corresponding to the subtree, a communication view corresponding to each layer of nodes and a signal transmission view corresponding to the nodes with the front-back connection relationship to obtain a target link chart.
In other embodiments of the present invention, the processor is further configured to execute a hierarchy based on the dc engineering tree structure diagram, and sequentially display a plurality of views included in the target link diagram, so as to implement the following steps:
acquiring a first communication view between first-layer nodes in the direct current engineering tree structure chart from the communication view corresponding to each layer of nodes, and displaying the first communication view between the first-layer nodes; the first communication view corresponds to the first layer of nodes;
receiving a first preset operation aiming at a first communication block in a first communication view, responding to the first preset operation, and displaying a logic loop index view corresponding to the first communication block;
receiving a second preset operation aiming at a second communication block in the first logic loop index view, responding to the second preset operation, and displaying a second communication view corresponding to the second communication block;
receiving a third preset operation of a connecting line aiming at the second communication view, and displaying a signal transmission view corresponding to the second communication view;
receiving a fourth preset operation aiming at the connecting line of the first communication view, responding to the third preset operation, and displaying a third communication view; wherein the second communication view comprises an identifier of a node of the sub-tree;
and receiving a fifth preset operation of the connecting line aiming at the third communication view, responding to the fifth preset operation, and displaying a signal transmission view corresponding to the third communication view.
In other embodiments of the present invention, the processor is further configured to, after creating the target link map based on the data transceiving information and the dc engineering tree structure map, perform the following steps:
acquiring a pre-stored direct current engineering physical structure diagram; the direct current engineering physical structure chart is obtained by establishing a physical model symbol corresponding to each node in the direct current engineering tree structure chart;
mapping and associating a first sub-physical structure diagram in the direct-current engineering physical structure diagram with a target link diagram; the first sub-physical structure diagram and the target link diagram have a corresponding relation;
receiving mapping association operation, responding to the mapping association operation, and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visible view; the second sub-physical structure diagram is a physical structure diagram except the first sub-physical structure diagram in the direct current engineering physical structure diagram.
In other embodiments of the present invention, the processor is further configured to perform a mapping association receiving operation, perform mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram in response to the mapping association operation, and after obtaining a target direct current engineering visible view, further configured to perform the following steps:
inputting a reference variable in a visual view of a target direct current project to perform fault location analysis;
and if the fault exists, outputting fault prompt information at the fault position of the target direct current engineering visual view.
In other embodiments of the present invention, the processor is further configured to perform fault location analysis by inputting a reference variable in the target dc engineering visual map, so as to implement the following steps:
receiving an input signal to obtain a reference variable;
obtaining an output result when the reference variable is transmitted in a communication channel or a communication port in the target direct current engineering visual image;
and determining whether the communication channel or the communication port is conducted or not based on the output result to perform fault location analysis.
In other embodiments of the present invention, the dc engineering tree structure stored in the memory comprises:
each node in a first layer in a direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection host, and each control protection host manages the input/output IO devices.
It should be noted that, in the embodiment of the present invention, the one or more programs may be explained by steps of the one or more processors, and refer to implementation processes in the data processing method provided in the embodiments corresponding to fig. 1 to 2, 15, and 20, which are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention 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, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 is not intended to limit the scope of the present invention.

Claims (9)

1. A method of data processing, the method comprising:
acquiring a pre-stored direct current engineering tree structure diagram;
acquiring at least one visual program based on the direct current engineering tree structure chart; the at least one visualization program corresponds to at least one target device in the direct-current engineering tree structure diagram; the at least one visualization program is used for viewing the working condition of the corresponding target equipment;
acquiring data transmitting and receiving information among nodes in the direct current engineering tree structure chart from at least one visualization program; the data receiving and sending information comprises data interaction relation and transmission data between target devices represented by each node in the direct current engineering tree structure chart;
creating a target link diagram based on the data transceiving information and the direct current engineering tree structure diagram;
sequentially displaying a plurality of views in the target link diagram based on the hierarchy of the direct current engineering tree structure diagram;
wherein the creating a target link map based on the data transceiving information and the direct current engineering tree structure diagram comprises:
according to the hierarchical relationship in the direct current engineering tree structure chart, sequentially setting a logic loop index view corresponding to a sub-tree, a communication view corresponding to each layer of nodes and a signal transmission view corresponding to nodes with a front-back connection relationship to obtain a target link chart;
the logic loop index view refers to a block diagram schematic diagram of the devices connected and managed by the devices represented by each node in the subtree of each node in the first layer; the communication view is used for showing that communication relations exist between the devices respectively represented by the two nodes on each layer; and the signal transmission view corresponding to the nodes with the front and back connection relation is obtained by acquiring the communication variables transmitted by the communication ports and setting the communication variables transmitted by the communication ports on the connection lines corresponding to the communication ports.
2. The method according to claim 1, wherein the obtaining data transceiving information between nodes in the dc engineering tree structure diagram from the at least one visualization program comprises:
acquiring data receiving and transmitting symbols of nodes in the direct current engineering tree structure chart from the at least one visualization program;
and analyzing the data transceiving symbol to obtain the data transceiving information.
3. The method according to claim 1, wherein the sequentially presenting the multiple views included in the target link map based on the hierarchy of the dc engineering tree structure map includes:
acquiring a first communication view between first-layer nodes in the direct current engineering tree structure diagram from the communication view corresponding to each layer of nodes, and displaying the first communication view between the first-layer nodes; wherein the first communication view corresponds to the first layer of nodes;
receiving a first preset operation aiming at a first communication block in the first communication view, responding to the first preset operation, and displaying a logic loop index view corresponding to the first communication block;
receiving a second preset operation aiming at a second communication block in the first logic loop index view, responding to the second preset operation, and displaying a second communication view corresponding to the second communication block;
receiving a third preset operation aiming at a connecting line of the second communication view, and displaying a signal transmission view corresponding to the second communication view;
receiving a fourth preset operation aiming at a connecting line of the first communication view, responding to the third preset operation, and displaying a third communication view; wherein the second communication view includes an identification of a node of the sub-tree;
receiving a fifth preset operation aiming at the connecting line of the third communication view, responding to the fifth preset operation, and displaying a signal transmission view corresponding to the third communication view.
4. The method according to claim 1 or 3, wherein after creating a target link map based on the data transceiving information and the DC engineering tree structure map, the method further comprises:
acquiring a pre-stored direct current engineering physical structure diagram; the direct current engineering physical structure diagram is obtained by establishing a physical model symbol corresponding to each node in the direct current engineering tree structure diagram;
mapping and associating a first sub-physical structure diagram in the direct current engineering physical structure diagram with the target link diagram; the first sub-physical structure diagram and the target link diagram have a corresponding relation;
receiving mapping association operation, responding to the mapping association operation, and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram to obtain a target direct current engineering visual diagram; the target direct-current engineering visible diagram is used for realizing cross indexing and jumping between the direct-current engineering physical structure diagram and the target link diagram, and the second sub-physical structure diagram is a physical structure diagram in the direct-current engineering physical structure diagram except the first sub-physical structure diagram.
5. The method according to claim 4, wherein the receiving a mapping association operation and performing mapping association on a second sub-physical structure diagram in the direct current engineering physical structure diagram in response to the mapping association operation to obtain a target direct current engineering visible view further comprises:
inputting a reference variable in the target direct current engineering visual image to perform fault location analysis;
and if the fault exists, outputting fault prompt information at the fault position of the target direct current engineering visual image.
6. The method according to claim 5, wherein the inputting of the reference variable in the target direct current engineering visual for fault location analysis comprises:
receiving an input signal to obtain the reference variable;
obtaining an output result when the reference variable is transmitted in a communication channel or a communication port in the target direct current engineering visual image;
and determining whether the communication channel or the communication port is conducted or not based on the output result to perform the fault location analysis.
7. The method of claim 1, 5 or 6,
each node in a first layer in the direct current engineering tree structure diagram represents one converter station in direct current engineering, each node in a second layer represents one pole in the direct current engineering, each node in a third layer represents one system in the direct current engineering, each node in a fourth layer represents one control protection host in the direct current engineering, each node in a fifth layer represents one input/output IO device in the direct current engineering, the direct current engineering comprises at least two converter stations, each converter station comprises at least two poles, each pole comprises two systems, each system comprises at least one control protection host, and each control protection host manages the input/output IO device.
8. A data processing apparatus, characterized in that the data processing apparatus comprises: a processor, a memory, and a communication bus, wherein:
the memory to store executable instructions;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor, configured to execute the data processing program stored in the memory, and implement the data processing method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the storage medium has stored thereon a data processing program which, when executed by a processor, implements the steps of the data processing method according to any one of claims 1 to 7.
CN201910905325.7A 2019-09-24 2019-09-24 Data processing method and device and computer readable storage medium Active CN110737660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910905325.7A CN110737660B (en) 2019-09-24 2019-09-24 Data processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910905325.7A CN110737660B (en) 2019-09-24 2019-09-24 Data processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110737660A CN110737660A (en) 2020-01-31
CN110737660B true CN110737660B (en) 2022-09-23

Family

ID=69269378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910905325.7A Active CN110737660B (en) 2019-09-24 2019-09-24 Data processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110737660B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112542890A (en) * 2020-12-09 2021-03-23 广东电网有限责任公司 Visual display method and device for direct-current power transmission system
CN112506976B (en) * 2020-12-14 2023-05-12 杭州趣链科技有限公司 Data flow display method and device, electronic equipment and storage medium
CN113259178A (en) * 2021-06-17 2021-08-13 南方电网科学研究院有限责任公司 Method, device, terminal and medium for generating direct current conversion engineering logic loop

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105680568A (en) * 2016-04-19 2016-06-15 南京国电南自电网自动化有限公司 Automatic mapping monitoring system and method of intelligent substation secondary virtual loop
CN106446431A (en) * 2016-09-30 2017-02-22 国网江苏省电力公司电力科学研究院 Secondary visualization method based on extra-high voltage direct current transmission control protection device
CN106532932A (en) * 2016-10-10 2017-03-22 国网上海市电力公司 Secondary virtual loop visualization system based on SCD complete model, and operation method
CN107565693A (en) * 2017-09-28 2018-01-09 国网青海省电力公司 The visualization system and method for visualizing of the optical fiber circuit of intelligent substation
AU2018202870A1 (en) * 2011-11-04 2018-05-17 BigML, Inc. Method and apparatus for visualizing and interacting with decision trees
CN108280195A (en) * 2018-01-26 2018-07-13 五八有限公司 Querying method, device, equipment based on index slip and storage medium
CN109756030A (en) * 2019-01-25 2019-05-14 国网河北省电力有限公司电力科学研究院 A kind of intelligent substation secondary circuit visualization on-line monitoring and intelligent O&M method
CN109980789A (en) * 2019-04-29 2019-07-05 南方电网科学研究院有限责任公司 State detection method, device, equipment and medium for direct current control protection system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2018202870A1 (en) * 2011-11-04 2018-05-17 BigML, Inc. Method and apparatus for visualizing and interacting with decision trees
CN105680568A (en) * 2016-04-19 2016-06-15 南京国电南自电网自动化有限公司 Automatic mapping monitoring system and method of intelligent substation secondary virtual loop
CN106446431A (en) * 2016-09-30 2017-02-22 国网江苏省电力公司电力科学研究院 Secondary visualization method based on extra-high voltage direct current transmission control protection device
CN106532932A (en) * 2016-10-10 2017-03-22 国网上海市电力公司 Secondary virtual loop visualization system based on SCD complete model, and operation method
CN107565693A (en) * 2017-09-28 2018-01-09 国网青海省电力公司 The visualization system and method for visualizing of the optical fiber circuit of intelligent substation
CN108280195A (en) * 2018-01-26 2018-07-13 五八有限公司 Querying method, device, equipment based on index slip and storage medium
CN109756030A (en) * 2019-01-25 2019-05-14 国网河北省电力有限公司电力科学研究院 A kind of intelligent substation secondary circuit visualization on-line monitoring and intelligent O&M method
CN109980789A (en) * 2019-04-29 2019-07-05 南方电网科学研究院有限责任公司 State detection method, device, equipment and medium for direct current control protection system

Also Published As

Publication number Publication date
CN110737660A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN110737660B (en) Data processing method and device and computer readable storage medium
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
US10169528B2 (en) Method and device for generating engineering topology of digital substation
CN107070724B (en) Method for monitoring end-to-end service communication state of power communication network
CN100512163C (en) Device and method for forming topological map and detecting topological structure
CN109214052B (en) Automatic single line drawing method for multiple intelligent power distribution systems
CN104579797B (en) Intelligent substation switch information flow method of automatic configuration
CN109040178B (en) Configuration information sending method and device
CN105867864A (en) Method and device for displaying of K virtual machines (KVMs)
CN113612654A (en) Vehicle-mounted gateway function testing method based on database
CN104361190B (en) The method and device of empty terminal automation connection in electrical secondary system
CN105577456A (en) Network topology configuration display method for solving single-domain and cross-domain problems
CN113722883A (en) Intelligent substation secondary circuit fault positioning method
CN102130796B (en) Power communication network detecting method based on reverse N-1 analysis and system thereof
CN105025254A (en) Multi-platform monitoring terminal system development method
CN103312765B (en) The accessibility of the node of the network of checking industrial automation and control system
CN106815420A (en) Visual auxiliary wiring method and wiring method of electric cabinet
CN204028696U (en) Testing device and system for air conditioner wire controller
CN104283978A (en) Equipment control method, system and converter and third-party control system
CN206742960U (en) Intelligent substation visualization system
CN108885435A (en) A kind of control method, host, slave, mobile terminal and control system
CN113434372B (en) Positioning indication method, device, system and storage medium
CN116260727A (en) Automatic generation method and system for network topology diagram of transformer substation
CN110890981B (en) System for configuring network equipment and method for realizing network equipment configuration
CN105227368A (en) A kind of rendering method of power communication allocation plan and device

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