CN116450888A - One-key kr desulfurization data processing method and device based on multilayer directed graph - Google Patents
One-key kr desulfurization data processing method and device based on multilayer directed graph Download PDFInfo
- Publication number
- CN116450888A CN116450888A CN202310260151.XA CN202310260151A CN116450888A CN 116450888 A CN116450888 A CN 116450888A CN 202310260151 A CN202310260151 A CN 202310260151A CN 116450888 A CN116450888 A CN 116450888A
- Authority
- CN
- China
- Prior art keywords
- data
- layer
- node
- directed graph
- key
- 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.)
- Pending
Links
- 238000006477 desulfuration reaction Methods 0.000 title claims abstract description 83
- 230000023556 desulfurization Effects 0.000 title claims abstract description 83
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 claims abstract description 92
- 238000012545 processing Methods 0.000 claims abstract description 21
- 239000011159 matrix material Substances 0.000 claims description 99
- 230000008569 process Effects 0.000 claims description 45
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 claims description 38
- 238000003860 storage Methods 0.000 claims description 23
- 229910052742 iron Inorganic materials 0.000 claims description 19
- 238000004088 simulation Methods 0.000 claims description 9
- 238000003756 stirring Methods 0.000 claims description 8
- 238000009529 body temperature measurement Methods 0.000 claims description 7
- 239000002893 slag Substances 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 239000010410 layer Substances 0.000 description 147
- 239000002365 multiple layer Substances 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003009 desulfurizing effect Effects 0.000 description 2
- 238000007429 general method Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- FYYHWMGAXLPEAU-UHFFFAOYSA-N Magnesium Chemical compound [Mg] FYYHWMGAXLPEAU-UHFFFAOYSA-N 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- BRPQOXSCLDDYGP-UHFFFAOYSA-N calcium oxide Chemical compound [O-2].[Ca+2] BRPQOXSCLDDYGP-UHFFFAOYSA-N 0.000 description 1
- ODINCKMPIJJUCX-UHFFFAOYSA-N calcium oxide Inorganic materials [Ca]=O ODINCKMPIJJUCX-UHFFFAOYSA-N 0.000 description 1
- 239000000292 calcium oxide Substances 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 229910052749 magnesium Inorganic materials 0.000 description 1
- 239000011777 magnesium Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 239000011819 refractory material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Manufacturing & Machinery (AREA)
- Software Systems (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Image Generation (AREA)
Abstract
A one-key kr desulfurization data processing method and device based on a multi-layer directed graph, wherein the method comprises the following steps: acquiring one-key kr desulfurization procedure related information from a server database, wherein the information comprises a procedure flow and dynamic data in the flow; processing the acquired data into a multi-layer directed graph data structure according to a preset rule; and according to the user requirements and the processed multi-layer directed graph data structure, displaying the directed graph in an interface in a multi-layer superposition mode. By adopting the method, the data flexibility is better, and the applicability and the expandability are also better. The front-end server can dynamically display different one-key desulfurization steps based on the data structure, and meanwhile, the background server can reduce access pressure, improve data reading efficiency and reduce time cost of a large number of fetches. Under the same data volume condition, the data processing time is reduced, the page switching speed is improved, and the overall operation efficiency of the system is improved.
Description
Technical Field
The invention relates to the field of data processing, in particular to a one-key kr desulfurization data processing method and device based on a multi-layer directed graph.
Background
At present, for tracking and displaying data of a one-key kr desulfurization production process, generally, two methods are adopted, and a first treatment method is as follows: packaging the data of the whole process of temperature measurement, slag skimming and charging until the molten iron leaves the station into an object, and respectively taking out the data in the object one by one for displaying the data of each step in the one-key kr desulfurization production process; the second processing method comprises the following steps: and performing a plurality of fetching operations in the database according to the division of the modules, and displaying the fetched data in each corresponding module.
However, if the first approach is adopted, the following disadvantages are caused: if the method of packaging the data into one object is adopted, the problems of backstage fetch and stuck, high complexity of processing the data by front-end programmers can occur, and once one data is not normally fetched, the tracking and displaying of the data in the whole production process can not be completed, so that the embarrassing situation of empty pages can occur. If the second method of taking the data for several times according to the module division is adopted, the problem of system breakdown of the server occurs, and the problem of asynchronous data of a plurality of modules occurs in the continuous refreshing process of the page.
Disclosure of Invention
The present invention has been made in view of the above-mentioned problems, and has as its object to provide a one-key kr desulfurization data processing method and apparatus based on a multi-layer directed graph, which overcomes or at least partially solves the above-mentioned problems.
In order to solve the technical problems, the embodiment of the application discloses the following technical scheme:
a one-key kr desulfurization data processing method based on a multi-layer directed graph comprises the following steps:
s100, acquiring one-key kr desulfurization process related information from a server database, wherein the one-key kr desulfurization process related information comprises a process flow and dynamic data in the process flow;
s200, processing the acquired data into a multi-layer directed graph data structure according to a preset rule;
s300, displaying the directed graph in the interface in a multi-layer superposition mode according to the processed multi-layer directed graph data structure according to the user requirements.
Further, in S200, the method for processing the acquired data into the multi-layer directed graph data structure according to the preset rule includes:
s201, determining the number of layers of a multi-layer directed graph data structure and the data of each layer; according to the acquired one-key kr desulfurization process flow and the type of dynamic data in the flow, respectively determining whether the dynamic data in the process flow and the flow belong to a fixed flow layer or a dynamic data layer;
s202, establishing a class adjacency matrix aiming at a fixed flow layer;
s203, establishing a class adjacency matrix with the same size as the fixed flow layer aiming at the dynamic data layer;
s204, inputting data on a fixed flow layer and a dynamic flow layer, and determining the mapping relation of the data in multiple layers;
s205, outputting a class adjacent matrix data structure corresponding to the multi-layer directed graph.
Further, in S201, the fixed flow layer includes at least: the device comprises a molten iron tilting car, a molten iron temperature measurement sampling node, a ladle node, a stirring head, a charging node and a molten iron slag skimming device; the dynamic data layer comprises: the system comprises position data representing the entering and exiting of a molten iron tilting car, molten iron temperature measurement sampling data, ladle correcting and tilting angle data, height data of a stirring head, and relevant parameters of charging and slag skimming in a standby position or not.
Further, in S201, if the acquired process flow and the dynamic data in the flow have a fixed flow and a type other than the dynamic data, the number of layers of the multi-layer directed graph data structure is increased.
Further, in S202, for the fixed flow layer, a class adjacency matrix is established, and special node data is stored on the main diagonal of the class adjacency matrix, where the structure of the node data is [ name, data, z, flag ], name is the node name, data is the parameter value of the node, z is the layer number of the node in the directed graph, the flag is optional, and the state of the node is controlled, and the class adjacency matrix main diagonal is used for storing the flow node; the non-main diagonal of the class adjacency matrix stores the bool-type edge data.
Further, in S203, for the dynamic data layer, a class adjacency matrix with the same size as the fixed flow layer is built, the main diagonal of the class adjacency matrix has a storage structure of [ name, data, z, flag ], name is node name, data is parameter value of node, z is layer number of the node in the directed graph, flag is optional, the state of the node is controlled, and the main diagonal of the class adjacency matrix is used for storing dynamic data; the non-main diagonal stores the bool-type edge data.
Further, in S300, when the user requirement is to preview the one-key kr desulfurization process simulation event, the data processing method is as follows:
acquiring one-key kr desulfurization flow information, sequence information of working procedures and information dynamically displayed when the one-key kr desulfurization flow information and the sequence information are normally executed in sequence;
establishing a fixed flow layer and a dynamic data layer with corresponding relations, and respectively constructing a similar adjacent matrix in the two layers;
the main diagonal storage structure of the quasi-adjacent matrix in the fixed flow layer is [ name, data, z and flag ], the name is a flow node name, the data is a parameter value in a period of time, the data can be changed, the z is the layer number where the data is located, and the flag controls whether the node is executing or not; storing the bool type edge data on non-main diagonal lines of the quasi-adjacent matrix in the fixed flow layer;
the storage structure on the main diagonal of the similar adjacent matrix in the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and whether the storage edge on the non-main diagonal of the similar adjacent matrix in the dynamic data layer is executed or not is judged;
simulating the change of the specific data of the next key kr desulfurization in the normal procedure, changing the data in the class adjacent matrix, and restoring a plurality of different multi-layer directed graphs according to the change of the data in the class adjacent matrix;
and outputting a plurality of different multi-layer directed graphs in sequence, alternately highlighting the executing flow in the one-key kr desulfurization simulation event, and dynamically displaying the real-time data of the step.
Further, in S300, when the user requirement is to display the one-key kr desulfurization of the partial process, the data processing method is as follows:
acquiring flow information and dynamic data information of a one-key kr desulfurization part procedure;
establishing a fixed flow layer and a dynamic data layer with corresponding relations, and respectively constructing a similar adjacent matrix in the two layers;
the main diagonal storage structure of the quasi-adjacent matrix in the fixed flow layer is [ name, data, z and flag ], the name is a node name, the data is a parameter value in a period of time, the value can be changed, the z is the layer number where the node is located, and the flag controls whether the node is displayed or not; storing the side pool type data on non-main diagonal lines of the class adjacency matrix in the fixed flow layer;
the storage structure on the main diagonal of the similar adjacent matrix in the similar adjacent matrix dynamic data layer of the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and the non-main diagonal of the similar adjacent matrix in the dynamic data layer does not store the data;
combining the display of the flag field control nodes according to the two adjacent matrixes in the two steps to form a multi-layer directed graph of the example;
and outputting a multi-layer directed graph with virtual nodes, and displaying a one-key kr desulfurization part procedure.
The invention also discloses a one-key kr desulfurization data processing device based on the multilayer directed graph, which comprises the following steps: the acquisition module is used for processing and outputting data of the multi-layer directed graph data structure; wherein:
the acquisition module is used for acquiring one-key kr desulfurization process related information from the server database, wherein the one-key kr desulfurization process related information comprises a process flow and dynamic data in the process flow;
the method comprises the steps of establishing a node and class adjacency matrix module, wherein the node and class adjacency matrix module is used for serializing acquired directed graph information according to a data structure of [ name, data, z and flag ], the structure is an internal structure for storing node information in a directed graph, name is a node name, data is a parameter value of the node, z is a layer number of the node in the directed graph, the flag is optional, and the display of the node is controlled according to requirements; the node information is stored in the positions on the main diagonal of the adjacent matrix according to the node structure specified in the node module; storing side information at positions on other non-main diagonal lines of the adjacent matrix, wherein the corresponding positions have directed sides which are 1, and the positions have no directed sides which are 0;
the method comprises the steps of establishing a multi-layer type adjacent matrix module, wherein the multi-layer type adjacent matrix module is used for forming a layer of type adjacent matrix by nodes and edges of the same layer, and forming a multi-layer type adjacent matrix module by multiple layers;
the multi-layer directed graph conversion module is used for converting the similar adjacent matrixes into directed graphs, and respectively converting the similar adjacent matrixes in the fixed flow layer and the dynamic data layer into the directed graphs to form the multi-layer directed graph; if the joint display is needed, the fixed flow layer and the dynamic data layer pass through different layers, and the same directed graph node positions are combined and displayed into a directed graph;
and the output module is used for outputting the multi-layer directed graph according to the actual application requirements.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the invention discloses a one-key kr desulfurization data processing method based on a multi-layer directed graph, which comprises the following steps:
acquiring one-key kr desulfurization procedure related information from a server database, wherein the information comprises a procedure flow and dynamic data in the procedure flow; processing the acquired data into a multi-layer directed graph data structure according to a preset rule; and according to the user requirements and the processed multi-layer directed graph data structure, displaying the directed graph in an interface in a multi-layer superposition mode. By adopting the method, the data flexibility is better, and the applicability and the expandability are also better. The front-end server can dynamically display different one-key desulfurization steps based on the data structure, and meanwhile, the background server can reduce access pressure, improve data reading efficiency and reduce time cost of a large number of fetches. Under the same data volume condition, the data processing time is reduced, the page switching speed is improved, and the overall operation efficiency of the system is improved.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a one-key kr desulfurization data processing method based on a multi-layer directed graph in embodiment 1 of the present invention;
FIG. 2 is a flowchart of a method for processing acquired data into a multi-layer directed graph data structure according to a preset rule in embodiment 1 of the present invention;
FIG. 3 is a flowchart of a one-key kr desulfurization data processing method in embodiment 2 of the present invention when a user demand is to preview a simulation event of the one-key kr desulfurization process;
FIG. 4 is a flowchart of a one-key kr desulfurization data processing method in embodiment 3 of the present invention when the user demand is for displaying one-key kr desulfurization of a part of the process steps;
FIG. 5 is a block diagram of a one-key kr desulfurization data processing apparatus based on a multi-layer directed graph in embodiment 4 of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the problems in the prior art, the embodiment of the invention provides a one-key kr desulfurization data processing method and device based on a multi-layer directed graph.
Example 1
The embodiment discloses a one-key kr desulfurization data processing method based on a multi-layer directed graph, as shown in fig. 1, comprising the following steps:
s100, acquiring one-key kr desulfurization process related information from a server database, wherein the one-key kr desulfurization process related information comprises a process flow and dynamic data in the process flow;
specifically, KR (KambaraReactor) desulfurization was invented by NipponSteel in 1963 in the field of Guangdong in order to limit the amount of magnesium used. Applied to industrial production in 1965. The KR desulfurization is to immerse a cross stirring head which is used for pouring refractory materials and is baked into a ladle molten pool to a certain depth, the vortex generated by rotation of the stirring head is utilized, the weighed desulfurizing agent is added to the surface of molten iron by a feeder and is spirally wound into molten iron to enable calcium oxide-based desulfurizing powder to fully contact and react with the molten iron, and the purpose of desulfurization is achieved.
S200, processing the acquired data into a multi-layer directed graph data structure according to a preset rule; in S200 of the present embodiment, the method for processing the acquired data into the multi-layer directed graph data structure according to the preset rule includes:
s201, determining the number of layers of a multi-layer directed graph data structure and the data of each layer; according to the acquired one-key kr desulfurization process flow and the type of dynamic data in the flow, respectively determining whether the dynamic data in the process flow and the flow belong to a fixed flow layer or a dynamic data layer; specifically, the fixed procedure layer at least includes: the device comprises a molten iron tilting car, a molten iron temperature measurement sampling node, a ladle node, a stirring head, a charging node and a molten iron slag skimming device; the dynamic data layer comprises: the system comprises position data representing the entering and exiting of a molten iron tilting car, molten iron temperature measurement sampling data, ladle correcting and tilting angle data, height data of a stirring head, and relevant parameters of charging and slag skimming in a standby position or not.
If the obtained process flow and the dynamic data in the flow have the fixed flow and the types other than the dynamic data, the number of layers of the multi-layer directed graph data structure is increased.
S202, establishing a class adjacency matrix aiming at a fixed flow layer; in S202 of this embodiment, for a fixed flow layer, a class adjacency matrix is established, and special node data is stored on a main diagonal of the class adjacency matrix, where the structure of the node data is [ name, data, z, flag ], name is a node name, data is a parameter value of a node, z is a layer number of the node in a directed graph, flag is optional, and the state of the node is controlled, and the class adjacency matrix main diagonal is used for storing the flow node; the non-main diagonal of the class adjacency matrix stores the bool-type edge data.
S203, establishing a class adjacency matrix with the same size as the fixed flow layer aiming at the dynamic data layer; in S203 of the present embodiment, for the dynamic data layer, a class adjacency matrix with the same size as the fixed flow layer is established, and a main diagonal of the class adjacency matrix has a storage structure of [ name, data, z, flag ], name is a node name, data is a parameter value of the node, z is a layer number of the node in the directed graph, flag is optional, the state of the node is controlled, and the class adjacency matrix main diagonal is used for storing dynamic data; the non-main diagonal stores the bool-type edge data.
S204, inputting data on a fixed flow layer and a dynamic flow layer, and determining the mapping relation of the data in multiple layers; specifically, the data is entered and the mapping relationship of the data in multiple layers is determined, although in this embodiment, the data is classified and stored in different layers, but may need to be simultaneously displayed on the final page, so the mapping relationship of the data needs to be considered when the data is entered on the fixed flow layer and the dynamic flow layer, so as to realize two-in-one display subsequently
S205, outputting a class adjacent matrix data structure corresponding to the multi-layer directed graph.
S300, displaying the directed graph in the interface in a multi-layer superposition mode according to the processed multi-layer directed graph data structure according to the user requirements.
The embodiment discloses a one-key kr desulfurization data processing method based on a multi-layer directed graph, which comprises the following steps:
acquiring one-key kr desulfurization procedure related information from a server database, wherein the information comprises a procedure flow and dynamic data in the procedure flow; processing the acquired data into a multi-layer directed graph data structure according to a preset rule; and according to the user requirements and the processed multi-layer directed graph data structure, displaying the directed graph in an interface in a multi-layer superposition mode. By adopting the method, the data flexibility is better, and the applicability and the expandability are also better. The front-end server can dynamically display different one-key desulfurization steps based on the data structure, and meanwhile, the background server can reduce access pressure, improve data reading efficiency and reduce time cost of a large number of fetches. Under the same data volume condition, the data processing time is reduced, the page switching speed is improved, and the overall operation efficiency of the system is improved.
Example 2
Based on the one-key kr desulfurization data processing method based on the multi-layer directed graph in the embodiment 1, when the user needs to preview the simulation event of the one-key kr desulfurization process, as shown in fig. 3, the data processing method is as follows:
and acquiring one-key kr desulfurization flow information, sequence information of working procedures and information dynamically displayed when the one-key kr desulfurization flow information and the sequence information are normally executed in sequence.
Firstly, according to the general method in the example 1, a fixed flow layer and a dynamic data layer with corresponding relation are established, and a similar adjacent matrix is respectively constructed in the two layers;
the class adjacency matrix of the flow layer is fixed (flag whether the tape is executing). The main diagonal storage structure of the quasi-adjacent matrix in the fixed flow layer is [ name, data, z and flag ], the name is a flow node name, the data is a parameter value in a period of time, the data can be changed, the z is the layer number where the data is located, and the flag controls whether the node is executing or not; storing edge data (bol type) on non-main diagonal lines of the class adjacency matrix in the fixed flow layer;
class adjacency matrix of dynamic data layer (flag whether or not the tape is executing). The storage structure on the main diagonal of the similar adjacent matrix in the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and whether the storage edge on the non-main diagonal of the similar adjacent matrix in the dynamic data layer is executing (the pool type, the follow-up edge is highlighted);
simulating the change of the desulfurization specific data of the next key kr in the normal procedure, namely changing the data in the class adjacent matrix, and restoring a plurality of different multi-layer directed graphs according to the change of the data in the class adjacent matrix;
a plurality of different multi-layer directed graphs are sequentially output. The functions can be realized: alternately highlighting the executing flow in the one-key kr desulfurization simulation event, and dynamically displaying the real-time data of the step;
the embodiment is based on the general one-key kr desulfurization data processing method based on the multi-layer directed graph in the embodiment 1, and when the user needs to preview the one-key kr desulfurization process simulation event, the method in the embodiment 1 is optimized, so that the purpose of dynamically displaying real-time data of the step in the executing process in the one-key kr desulfurization simulation event is achieved.
Example 3
Based on the one-key kr desulfurization data processing method based on the multi-layer directed graph in the embodiment 1, when the user needs to display the one-key kr desulfurization of the partial process, as shown in fig. 4, the data processing method is as follows:
acquiring flow information and dynamic data information of a one-key desulfurization part procedure;
firstly, according to the general method in the example 1, a fixed flow layer and a dynamic data layer with corresponding relation are established, and a similar adjacent matrix is respectively constructed in the two layers;
the adjacency matrix (with flag or not) is fixed in the flow layer. The main diagonal storage structure is [ name, data, z and flag ], the name is a node name, the data is a parameter value in a period of time, the parameter value can be changed, the z is a layer number where the node is located, and the flag controls whether the node is displayed or not; storing edge data (bol type) on non-main diagonal lines of the class adjacency matrix in the fixed flow layer;
class adjacency matrix (with flag showing or not) of dynamic data layer. The storage structure on the main diagonal of the similar adjacent matrix in the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and the non-main diagonal of the similar adjacent matrix in the dynamic data layer does not store the data;
combined into a multi-layer directed graph with virtual nodes. And combining the display of the control nodes of the flag field according to the two adjacent matrixes in the two steps to form the multi-layer directed graph of the example. It should be noted that if the flow node is not displayed in the fixed flow layer, the corresponding dynamic data is not displayed either, and is actually replaced by a virtual node, so that the original structure of the priority graph is not destroyed.
A multi-layer directed graph with virtual nodes is output. The example may implement the functions of: realizing the display of a one-key kr desulfurization part procedure;
the embodiment is based on the general one-key kr desulfurization data processing method based on the multi-layer directed graph in the embodiment 1, and when the user needs to display one-key kr desulfurization of part of the process, the method in the embodiment 1 is optimized, so that the purpose of displaying the one-key kr desulfurization part of the process is achieved.
Example 4
Based on embodiment 1, this embodiment discloses a one-key kr desulfurization data processing apparatus based on a multi-layer directed graph, for example, 5, including:
the device comprises an acquisition module 401, a node and class adjacency matrix establishment module 402, a multi-layer class adjacency matrix establishment module 403, a multi-layer directed graph conversion module 404 and an output module 405.
An acquisition module 401; acquiring all the process flows, dynamic data and a series of information forming a complete directed graph to be transmitted;
a set up node and class adjacency matrix module 402; the method comprises the steps of establishing a node module, serializing the obtained directed graph information according to a data structure of [ name, data, z and flag ], wherein the structure is an internal structure (a node structure on a main diagonal line in the directed graph) for storing node information in the directed graph, name is a node name, data is a parameter value of the node, z is a layer number of the node in the directed graph, the flag is optional, and the display of the node is controlled according to requirements. Constructing a basic adjacency matrix only storing side information according to the number of nodes, wherein the position on a main diagonal of the adjacency matrix stores node information, and the node information is stored according to a node structure specified in a node module; storing side information at positions on other non-main diagonal lines of the adjacent matrix, wherein the corresponding positions have directed sides which are 1, and the positions have no directed sides which are 0; here the new adjacency matrix we call a class adjacency matrix.
Establishing a multi-layer class adjacency matrix module 403; the nodes and edges of the same layer form a layer of similar adjacent matrix, and the multiple layers form a multiple-layer similar adjacent matrix module;
a multi-layer directed graph conversion module 404; the class adjacency matrix in the fixed flow layer and the dynamic data layer is converted into the directed graph to form a multi-layer directed graph. If the merging display is needed, the fixed flow layer and the dynamic data layer are merged and displayed into a directed graph through different layers and the same directed graph node position.
An output module 405; according to the actual application requirement, the output format is a multi-layer directed graph.
It should be understood that the specific order or hierarchy of steps in the processes disclosed are examples of exemplary approaches. Based on design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged without departing from the scope of the present disclosure. The accompanying method claims present elements of the various steps in a sample order, and are not meant to be limited to the specific order or hierarchy presented.
In the foregoing detailed description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments of the subject matter require more features than are expressly recited in each claim. Rather, as the following claims reflect, invention lies in less than all features of a single disclosed embodiment. Thus the following claims are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate preferred embodiment of this invention.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. The processor and the storage medium may reside as discrete components in a user terminal.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. These software codes may be stored in memory units and executed by processors. The memory unit may be implemented within the processor or external to the processor, in which case it can be communicatively coupled to the processor via various means as is known in the art.
The foregoing description includes examples of one or more embodiments. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the aforementioned embodiments, but one of ordinary skill in the art may recognize that many further combinations and permutations of various embodiments are possible. Accordingly, the embodiments described herein are intended to embrace all such alterations, modifications and variations that fall within the scope of the appended claims. Furthermore, as used in the specification or claims, the term "comprising" is intended to be inclusive in a manner similar to the term "comprising," as interpreted when employed as a transitional word in a claim. Furthermore, any use of the term "or" in the specification of the claims is intended to mean "non-exclusive or".
Claims (9)
1. A one-key kr desulfurization data processing method based on a multi-layer directed graph is characterized by comprising the following steps:
s100, acquiring one-key kr desulfurization process related information from a server database, wherein the one-key kr desulfurization process related information comprises a process flow and dynamic data in the process flow;
s200, processing the acquired data into a multi-layer directed graph data structure according to a preset rule;
s300, displaying the directed graph in the interface in a multi-layer superposition mode according to the processed multi-layer directed graph data structure according to the user requirements.
2. The one-key kr desulfurization data processing method based on multi-layer directed graph as claimed in claim 1, wherein in S200, the method for processing the acquired data into the multi-layer directed graph data structure according to the preset rule comprises:
s201, determining the number of layers of a multi-layer directed graph data structure and the data of each layer; according to the acquired one-key kr desulfurization process flow and the type of dynamic data in the flow, respectively determining whether the dynamic data in the process flow and the flow belong to a fixed flow layer or a dynamic data layer;
s202, establishing a class adjacency matrix aiming at a fixed flow layer;
s203, establishing a class adjacency matrix with the same size as the fixed flow layer aiming at the dynamic data layer;
s204, inputting data on a fixed flow layer and a dynamic flow layer, and determining the mapping relation of the data in multiple layers;
s205, outputting a class adjacent matrix data structure corresponding to the multi-layer directed graph.
3. The one-key kr desulfurization data processing method according to claim 2, wherein in S201, the fixed flow layer at least comprises: the device comprises a molten iron tilting car, a molten iron temperature measurement sampling node, a ladle node, a stirring head, a charging node and a molten iron slag skimming device; the dynamic data layer comprises: the system comprises position data representing the entering and exiting of a molten iron tilting car, molten iron temperature measurement sampling data, ladle correcting and tilting angle data, height data of a stirring head, and relevant parameters of charging and slag skimming in a standby position or not.
4. The one-key kr desulfurization data processing method according to claim 2, wherein in S201, if the acquired process flow and dynamic data in the flow have types other than fixed flow and dynamic data, the number of layers of the data structure of the multilayer directed graph is increased.
5. The one-key kr desulfurization data processing method based on the multi-layer directed graph as claimed in claim 2, wherein in S202, for a fixed flow layer, a class adjacency matrix is established, special node data is stored on a main diagonal of the class adjacency matrix, the structure of the node data is [ name, data, z, flag ], name is a node name, data is a parameter value of the node, z is a layer number of the node in the directed graph, flag is optional, the state of the node is controlled, and the class adjacency matrix main diagonal is used for storing the flow node; the non-main diagonal of the class adjacency matrix stores the bool-type edge data.
6. The one-key kr desulfurization data processing method based on the multi-layer directed graph as claimed in claim 2, wherein in S203, for the dynamic data layer, a class adjacency matrix with the same size as the fixed flow layer is established, the main diagonal of the class adjacency matrix is stored with a structure of [ name, data, z, flag ], name is node name, data is the parameter value of the node, z is the layer number of the node in the directed graph, flag is optional, the state of the node is controlled, and the main diagonal of the class adjacency matrix is used for storing the dynamic data; the non-main diagonal stores the bool-type edge data.
7. The one-key kr desulfurization data processing method based on the multi-layer directed graph according to claim 1, wherein when the user demand is to preview the one-key kr desulfurization process simulation event, the data processing method is as follows:
acquiring one-key kr desulfurization flow information, sequence information of working procedures and information dynamically displayed when the one-key kr desulfurization flow information and the sequence information are normally executed in sequence;
establishing a fixed flow layer and a dynamic data layer with corresponding relations, and respectively constructing a similar adjacent matrix in the two layers;
the main diagonal storage structure of the quasi-adjacent matrix in the fixed flow layer is [ name, data, z and flag ], the name is a flow node name, the data is a parameter value in a period of time, the data can be changed, the z is the layer number where the data is located, and the flag controls whether the node is executing or not; storing the bool type edge data on non-main diagonal lines of the quasi-adjacent matrix in the fixed flow layer;
the storage structure on the main diagonal of the similar adjacent matrix in the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and whether the storage edge on the non-main diagonal of the similar adjacent matrix in the dynamic data layer is executed or not is judged;
simulating the change of the specific data of the next key kr desulfurization in the normal procedure, changing the data in the class adjacent matrix, and restoring a plurality of different multi-layer directed graphs according to the change of the data in the class adjacent matrix;
and outputting a plurality of different multi-layer directed graphs in sequence, alternately highlighting the executing flow in the one-key kr desulfurization simulation event, and dynamically displaying the real-time data of the step.
8. The one-key kr desulfurization data processing method based on the multi-layer directed graph according to claim 1, wherein when the user demand is to display one-key kr desulfurization of a part of the process, the data processing method comprises the following steps:
acquiring flow information and dynamic data information of a one-key desulfurization part procedure;
establishing a fixed flow layer and a dynamic data layer with corresponding relations, and respectively constructing a similar adjacent matrix in the two layers;
the main diagonal storage structure of the quasi-adjacent matrix in the fixed flow layer is [ name, data, z and flag ], the name is a node name, the data is a parameter value in a period of time, the value can be changed, the z is the layer number where the node is located, and the flag controls whether the node is displayed or not; storing the side pool type data on non-main diagonal lines of the class adjacency matrix in the fixed flow layer;
the storage structure on the main diagonal of the similar adjacent matrix in the similar adjacent matrix dynamic data layer of the dynamic data layer is [ name, data, z, flag ], the dynamic data is stored, and the non-main diagonal of the similar adjacent matrix in the dynamic data layer does not store the data;
combining the display of the flag field control nodes according to the two adjacent matrixes in the two steps to form a multi-layer directed graph of the example;
and outputting a multi-layer directed graph with virtual nodes, and displaying a one-key kr desulfurization part procedure.
9. A one-key kr desulfurization data processing apparatus based on a multi-layer directed graph, comprising: the acquisition module is used for processing and outputting data of the multi-layer directed graph data structure; wherein:
the acquisition module is used for acquiring one-key kr desulfurization process related information from the server database, wherein the one-key kr desulfurization process related information comprises a process flow and dynamic data in the process flow;
the method comprises the steps of establishing a node and class adjacency matrix module, wherein the node and class adjacency matrix module is used for serializing acquired directed graph information according to a data structure of [ name, data, z and flag ], the structure is an internal structure for storing node information in a directed graph, name is a node name, data is a parameter value of the node, z is a layer number of the node in the directed graph, the flag is optional, and the display of the node is controlled according to requirements; the node information is stored in the positions on the main diagonal of the adjacent matrix according to the node structure specified in the node module; storing side information at positions on other non-main diagonal lines of the adjacent matrix, wherein the corresponding positions have directed sides which are 1, and the positions have no directed sides which are 0;
the method comprises the steps of establishing a multi-layer type adjacent matrix module, wherein the multi-layer type adjacent matrix module is used for forming a layer of type adjacent matrix by nodes and edges of the same layer, and forming a multi-layer type adjacent matrix module by multiple layers;
the multi-layer directed graph conversion module is used for converting the similar adjacent matrixes into directed graphs, and respectively converting the similar adjacent matrixes in the fixed flow layer and the dynamic data layer into the directed graphs to form the multi-layer directed graph; if the joint display is needed, the fixed flow layer and the dynamic data layer pass through different layers, and the same directed graph node positions are combined and displayed into a directed graph;
and the output module is used for outputting the multi-layer directed graph according to the actual application requirements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310260151.XA CN116450888A (en) | 2023-03-17 | 2023-03-17 | One-key kr desulfurization data processing method and device based on multilayer directed graph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310260151.XA CN116450888A (en) | 2023-03-17 | 2023-03-17 | One-key kr desulfurization data processing method and device based on multilayer directed graph |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116450888A true CN116450888A (en) | 2023-07-18 |
Family
ID=87126459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310260151.XA Pending CN116450888A (en) | 2023-03-17 | 2023-03-17 | One-key kr desulfurization data processing method and device based on multilayer directed graph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116450888A (en) |
-
2023
- 2023-03-17 CN CN202310260151.XA patent/CN116450888A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS623372A (en) | Image converter | |
EP0169709A2 (en) | Real time processor for video signals | |
US6941446B2 (en) | Single instruction multiple data array cell | |
EP0248235B1 (en) | Image processing apparatus having function of enlargement and/or shrinkage of image | |
JPH0695631A (en) | Image processing method and apparatus | |
CN108346131A (en) | A kind of digital image scaling method, device and display equipment | |
JP4975651B2 (en) | Color conversion device | |
JPS609293B2 (en) | Key input control method | |
CN116450888A (en) | One-key kr desulfurization data processing method and device based on multilayer directed graph | |
EP1691334A1 (en) | Method for encoding co-ordinates of a video image moving along the display of a computing device | |
EP0536114A1 (en) | Graphics rendering systems | |
US20010028319A1 (en) | Apparatus for and method of converting sampling frequency of digital signals | |
CN112631658B (en) | Instruction sending method, chip and electronic equipment | |
CN106780291A (en) | A kind of distortion in real time image procossing accelerator | |
JP2800309B2 (en) | Hybrid control device and hybrid control method | |
EP3680827A1 (en) | Information processing apparatus and memory control method | |
JP5072558B2 (en) | Data processing device | |
US5197022A (en) | Overflow detection calculator and method of overflow determination | |
EP1251431A2 (en) | Reduction of bank switching instructions in main memory of data processing apparatus having main memory and plural memory banks | |
CN111756997B (en) | Pixel storage method and device, computer equipment and readable storage medium | |
JPS6382530A (en) | Semiconductor storage device | |
JPS62297951A (en) | Memory circuit | |
WO2006018822A1 (en) | Combined load and computation execution unit | |
JPH0566943A (en) | Method and device for fuzzy inference and fuzzy controller | |
HK40032046B (en) | Pixel storage method, apparatus, computer device and readable storage medium |
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 |