首页|期刊导航|科技创新与应用|基于DAG的画布与表达式双向转写研究

基于DAG的画布与表达式双向转写研究OA

中文摘要英文摘要

发电设备状态监测、隐患预警等类型的机理模型构建过程中,为提升模型建模、运算过程的实时可视性,往往采用算子、画布、连线的类组态搭建工具,但其在复杂公式的逻辑呈现上存在割裂感.该研究提出一种基于有向无环图(DAG)的画布元素识别与校验方法,实现可视化机理模型到数学表达式的正向转写;在逆向转写过程中通过构建 Token-AST-DAG 的三层逻辑关系,最终在画布中还原算子及运算关系.经实验验证,该方法支持绝大多数机理模型的双向转写,且误差率低于 2%.

In the process of building mechanism models such as power generation equipment status monitoring and hidden danger warning,in order to improve the real-time visibility of the model modeling and calculation process,class configuration building tools such as operators,canvases,and connections are often used,but they are complex formulas.There is a sense of fragmentation in the logical presentation.This research proposes a method for identifying and verifying canvas elements based on directed acyclic graphs(DAG)to realize the forward transfer from the visualization mechanism model to mathematical expressions;in the reverse transfer process,the three-layer logical relationship of Token-AST-DAG is constructed.Finally,operators and operation relationships are restored in the canvas.Experimental verification shows that this method supports bidirectional transcriptions of most mechanism models,and the error rate is less than 2%.

马国亮;高静

国能数智科技开发(北京)有限公司,北京 100000国能数智科技开发(北京)有限公司,北京 100000

信息技术与安全科学

DAG有向无环图画布模型到数学表达式数学表达式到画布模型双向转写发电设备监测与预警

DAGdirected acyclic graphcanvas model to mathematical expressionmathematical expression to canvas modelbidirectional transcriptionpower generation equipment monitoring and early warning

《科技创新与应用》 2026 (12)

160-163,167,5

10.19981/j.CN23-1581/G3.2026.12.040

评论