{"title":"视点中REST架构的形式化和验证","authors":"Yiting Tang, Xi Wu, Huibiao Zhu, Jian Guo","doi":"10.1109/HASE.2015.37","DOIUrl":null,"url":null,"abstract":"Representational State Transfer (REST), as a promising software architecture style, has been used in large scale since proposed. However, there still exist considerable confusions about the REST architecture, which may lead to inappropriate application. We apply formal method CSP in modeling the REST architectural style to give a comprehensive explanation of it. We partition the architectural description into three separate views: process view, connector view and data view, each capturing one architectural element and related properties of the architecture. Furthermore, REST constraints can be described in our models and validated by the model checker PAT. Besides, we focus on the relation between the stateless constraint and resource state, as well as the uniform interface constraint and hypermedia-driven property. The related properties of them are also verified in this paper.","PeriodicalId":248645,"journal":{"name":"2015 IEEE 16th International Symposium on High Assurance Systems Engineering","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-01-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Formalization and Verification of REST Architecture in Viewpoints\",\"authors\":\"Yiting Tang, Xi Wu, Huibiao Zhu, Jian Guo\",\"doi\":\"10.1109/HASE.2015.37\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Representational State Transfer (REST), as a promising software architecture style, has been used in large scale since proposed. However, there still exist considerable confusions about the REST architecture, which may lead to inappropriate application. We apply formal method CSP in modeling the REST architectural style to give a comprehensive explanation of it. We partition the architectural description into three separate views: process view, connector view and data view, each capturing one architectural element and related properties of the architecture. Furthermore, REST constraints can be described in our models and validated by the model checker PAT. Besides, we focus on the relation between the stateless constraint and resource state, as well as the uniform interface constraint and hypermedia-driven property. The related properties of them are also verified in this paper.\",\"PeriodicalId\":248645,\"journal\":{\"name\":\"2015 IEEE 16th International Symposium on High Assurance Systems Engineering\",\"volume\":\"41 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-01-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 IEEE 16th International Symposium on High Assurance Systems Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/HASE.2015.37\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE 16th International Symposium on High Assurance Systems Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HASE.2015.37","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
摘要
REST (Representational State Transfer, Representational State Transfer)作为一种很有前途的软件架构风格,自提出以来已经得到了广泛的应用。然而,对于REST体系结构仍然存在相当大的混淆,这可能导致不适当的应用。本文运用形式化方法CSP对REST架构风格进行建模,对其进行全面的解释。我们将体系结构描述划分为三个独立的视图:流程视图、连接器视图和数据视图,每个视图捕获一个体系结构元素和体系结构的相关属性。此外,REST约束可以在我们的模型中描述,并由模型检查器PAT进行验证。此外,我们还重点讨论了无状态约束与资源状态之间的关系,以及统一接口约束与超媒体驱动特性之间的关系。本文还验证了它们的相关性质。
Formalization and Verification of REST Architecture in Viewpoints
Representational State Transfer (REST), as a promising software architecture style, has been used in large scale since proposed. However, there still exist considerable confusions about the REST architecture, which may lead to inappropriate application. We apply formal method CSP in modeling the REST architectural style to give a comprehensive explanation of it. We partition the architectural description into three separate views: process view, connector view and data view, each capturing one architectural element and related properties of the architecture. Furthermore, REST constraints can be described in our models and validated by the model checker PAT. Besides, we focus on the relation between the stateless constraint and resource state, as well as the uniform interface constraint and hypermedia-driven property. The related properties of them are also verified in this paper.