| 摘要: |
| 研究的目的是在获取用户需求和领域描述的基础上规约出对软件规格的描述.提供了一种实现从用户需求到软件规约的平滑和可推理的变换方法.在深入研究问题框架方法的基础上,采用Hoare 的通信顺序进程语言CSP及Lai的最弱环境演算符实现了整个问题图的变换,且导出的软件规格是具有高抽象粒度的程序代码模型,能够被FDR模型检测工具所验证.该工作为实现嵌入式软件开发从需求到软件代码、文档的自动转化及验证等奠定了理论基础.此外,把该理论与模型检测工具FDR联合起来会有助于提高嵌入式软件开发的效率和准确性. |
| 关键词: 问题框架 通信顺序进程 领域和需求建模 最弱环境演算 软件规约 |
| DOI:10.3724/SP.J.1001.2013.04398 |
| 分类号: |
| 基金项目:国家重点基础研究发展计划(973)(2009CB320701); 国家自然科学基金(61262004); 广西自然科学基金(2012GXNSFCA-053010); “八桂学者”工程专项经费 |
|
| From User Requirements to Software Specifications:An Approach Based on Problem Transformation |
|
LI Zhi1,2, JIN Zhi2,3
|
|
1.College of Computer Science and Information Technology, Guangxi Normal University, Guilin 541004, China;2.Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education, Beijing 100871, China;3.Institute of Software, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China
|
| Abstract: |
| This paper aims at deriving software specification descriptions from elicited user requirements and domain descriptions. It provides an approach to transforming user requirements into software specifications in a smooth and logical way. Based on previous in-depth research on Problem Frames, the study adopts Hoare's Communicating Sequential Processes (CSP) and Lai's weakest-environment calculus to transform an entire problem diagram. The derived software specifications are abstract models resembling program code, whose correctness can be verified by the model checker FDR. This paper provides foundational work for embedded software development, i.e., deriving software code from requirements descriptions, automating document transformation and validation, etc. The theory presented in this paper, together with the FDR model checker tool, may help to improve the efficiency and accuracy in embedded software development. |
| Key words: problem frame communicating sequential process domain and requirement modeling weakest-environment calculus software specification |