检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:杨定木 倪龙强[1] 梁晶 邱照原 张永真 齐志强 YANG Dingmu;NI Longqiang;LIANG Jing;QIU Zhaoyuan;ZHANG Yongzhen;QI Zhiqiang(Northwest Institute of Mechanical and Electrical Engineering,Xianyang Shaanxi 712099,China)
出 处:《计算机应用》2025年第4期1263-1270,共8页journal of Computer Applications
摘 要:协议转换通常用于解决不同协议之间的数据交互问题,它的本质是寻找不同协议字段之间的映射关系。传统的协议转换方法存在以下缺点:转换大多是在特定协议的基础上设计的,因而这些转换是静态的,灵活性较差,不适用于多协议转换的场景;一旦协议发生改变,就需要再次分析协议的结构和字段语义以重新构建字段之间的映射关系,从而产生指数级的工作量,降低了协议转换的效率。因此,提出基于语义相似度的通用协议转换方法,旨在通过智能的方法发掘字段间的映射关系,进而提高协议转换的效率。首先,通过BERT(Bidirectional Encoder Representations from Transformers)模型分类协议字段,并排除“不应该”存在映射关系的字段;其次,通过计算字段之间的语义相似度,推理字段之间的映射关系,进而构建字段映射表;最后,提出基于语义相似度的通用协议转换框架,并定义相关协议以进行验证。仿真实验结果表明:所提方法的字段分类精准率达到了94.44%;映射关系识别精准率达到了90.70%,相较于基于知识抽取的方法提高了13.93%。以上结果验证了所提方法的有可行性,该方法可以快速识别不同协议字段之间的映射关系,适用于无人协同中多协议转换的场景。Protocol conversion is usually used to solve the problem of data interaction between different protocols,and its nature is to find mapping relationship between different protocol fields.In the traditional methods of protocol conversion,several drawbacks are identified:traditional conversions are mainly designed on the basis of specific protocols,so that they are static and lack flexibility,and are not suitable for environments with multi-protocol conversion;whenever a protocol changes,a reanalysis of the protocol’s structure and semantic fields is required to reconstruct the mapping relationship between fields,leading to an exponential increase in workload and a decrease in protocol conversion efficiency.Therefore,a general method of protocol conversion based on semantic similarity was proposed to enhance protocol conversion efficiency by exploring the relationship between fields intelligently.Firstly,the BERT(Bidirectional Encoder Representations from Transformers)model was employed to classify the protocol fields,and eliminate the fields that“should not”have mapping relationship.Secondly,the semantic similarities between fields were computed to reason the mapping relationship between fields,resulting in the formation of a field mapping table.Finally,a general framework for protocol conversion based on semantic similarity was introduced,and related protocols were defined for validation.Simulation results show that the precision of field classification of the proposed method reaches 94.44%;and the precision of mapping relationship identification of the proposed method reaches 90.70%,which is 13.93%higher than that of the method based on knowledge extraction.The above results verify that the proposed method is feasible,can identify the mapping relationships between different protocol fields quickly,and is suitable for scenarios with multi-protocol conversion in unmanned collaboration.
关 键 词:语义相似度 字段映射 协议转换 BERT模型 Sentence-BERT模型
分 类 号:TP391.1[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222