基于SPIN的协议的形式化分析和验证-计算机应用技术专业论文.docxVIP

基于SPIN的协议的形式化分析和验证-计算机应用技术专业论文.docx

  1. 1、本文档共71页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于SPIN的协议的形式化分析和验证-计算机应用技术专业论文

摘要 WAP 事务协议(WTP)作为 WAP 协议体系结构中的一个重要部分,向会话层 提供基于请求响应的分布式事务服务。由于 WAP 论坛将 WAP 协议规范以自然 语言的形式发布,这样的好处是可读性好,便于直观上去理解。但是,要保证协 议实现的一致、完整和正确就必须使用一种形式化的工具进行描述和验证,这样 才能避免自然语言的二义性导致实现上的不一致。 本文基于模型检测工具 SPIN,对 WTP 事务层协议做形式化地分析和验证。 首先对此协议从行为属性和安全性两方面进行抽象。包括对协议主体建立状 态和状态转移描述;然后对协议采用 PROMELA 语言建立模型。协议的安全属 性描述采用 LTL 逻辑公式。 其次运用 SPIN 对协议的模型进行行为模拟,对 LTL 描述的协议属性进行正 确性及安全性验证。在验证和模拟的过程中,随时根据模型的状态数目和系统的 消耗调整抽象模型的结构和行为。对协议中不满足属性的验证结果进行分析和改 进。 最后,将分析和验证结果和其他安全协议的验证方法比较,总结现有工作和 尚需完善的工作。 关键词:协议工程; 形式化方法; 模型检测; 自动机; SPIN; PROMELA Abstracts The Transaction layer,as an important part in WAP,defines a protocol to support distributed transactions where an Initiator makes a request to a Responder,which returns therequested information.As the specification of WAP protocol was written in natural language,theadvantage of doing it in this way is well readable and easy to understand.However,to guaranteethe correctness and conformance of protocol implementation,a formal technique must be used toavoid the ambiguity of natural language. Based on the model checker SPIN ,this report presents a formal methodology of formalizing and verifying the Transaction Layer Protocol (WTP) design in the Wireless Application Protocol (WAP) architecture. ,this paper is analysis and verify the protocol First we abstract the protocol from two aspects: the behaviors and the correct properties. The protocols behavior abstraction includes the definitions of actions, states and the events the protocol takes when the states translate. Second, we use the PROMELA language to establish the verification (valid) model .We use the model to simulate the behavior of the protocol and to verify the correct properties the protocol should establishes. SPIN provides several form to specify the correct properties, such as the assert states and LTL formula. The properties or the parameter we choose may not adapt to the model, so we need to change the models behavior or the verification parameter. Finally, we compare the result with

您可能关注的文档

文档评论(0)

131****9843 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档