Please wait a minute...
Frontiers of Computer Science

ISSN 2095-2228

ISSN 2095-2236(Online)

CN 10-1014/TP

Postal Subscription Code 80-970

2018 Impact Factor: 1.129

Front Comput Sci Chin    2010, Vol. 4 Issue (2) : 162-172    https://doi.org/10.1007/s11704-010-0151-y
RESEARCH ARTICLE
A concern-based approach to generating formal requirements specifications
Ying JIN1(), Jing ZHANG1, Weiping HAO1, Pengfei MA1, Yan ZHANG1, Haiyan ZHAO2, Hong MEI2
1. College of Computer Science and Technology, Jilin University, Changchun 130012, China; 2. Institute of Software Engineering, Peking University, Beijing 100871, China
 Download: PDF(638 KB)   HTML
 Export: BibTeX | EndNote | Reference Manager | ProCite | RefWorks
Abstract

Document driven requirements analysis, as proposed by Prof. David Parnas, which has had some success in practice, focuses on creating concise and complete formal requirements documents to serve as references for formal verification, software design, implementation, testing, inspection, and so on. However, at present large number of requirements documents are still written in natural languages. Therefore, generating formal requirements specification from informal textual requirements description has become a big challenge. In this paper, a concern-based approach to generating formal requirements specification from textual requirements document is proposed, which applies separation of concerns during requirements analysis and utilizes concerns and their relationships to bridge the gap between textual requirements statements and formal requirements documentation. A tool suite has been developed for supporting our approach, and a case study has been performed to illustrate the process of our approach. Results indicate that our approach facilitates guiding the process of formal requirements documentation with concerns and their relationships.

Keywords document driven requirements analysis method      separation of concerns      concern relationship graph      4-variable model      formal requirements documentation      requirements management     
Corresponding Author(s): JIN Ying,Email:jinying@jlu.edu.cn   
Issue Date: 05 June 2010
 Cite this article:   
Weiping HAO,Pengfei MA,Yan ZHANG, et al. A concern-based approach to generating formal requirements specifications[J]. Front Comput Sci Chin, 2010, 4(2): 162-172.
 URL:  
https://academic.hep.com.cn/fcs/EN/10.1007/s11704-010-0151-y
https://academic.hep.com.cn/fcs/EN/Y2010/V4/I2/162
Fig.1  Process of concern-based requirements engineering
Fig.1  Process of concern-based requirements engineering
Fig.2  4-variable model
Fig.2  4-variable model
Fig.3  Bidirectional requirements tracing
Fig.3  Bidirectional requirements tracing
Fig.4  Three layers of concerns
Fig.4  Three layers of concerns
Fig.5  Categories of concerns and their node shapes
Fig.5  Categories of concerns and their node shapes
NameExplanation
kindsOfRelationship between two concerns of kinds
instancesOfRelationship from one concern of kinds to one concern of instance
appliesToRelationship from one concern of kinds or instances to one concern of properties
partsOfRelationship between two instance concerns or two properties concerns
relatesToRelationship from one concern of topic to one concern of kind
dependentOnRelationship from one concern whose requirements depend on requirements of another concern
motivateToReverse relationship of dependentOn. If one C1 dependentOn C2, we have C2 motiveTo C1
Tab.1  Concern relationships and their edge colors
Fig.6  Labeled requirements statements of Hallway section in LCS
Fig.6  Labeled requirements statements of Hallway section in LCS
Fig.7  Concern relationship graph (a)
Fig.7  Concern relationship graph (a)
Fig.8  Concern relationship graph (b)
Fig.8  Concern relationship graph (b)
Fig.9  Tool architecture
Fig.9  Tool architecture
Fig.10  Snapshot of Integrated Environment
Fig.10  Snapshot of Integrated Environment
IdDesReqsCategory
HS (light system)Light system in hallway section{FM1-2,NF3-4,U13-14,FM6-7,FM4}topic
FMFrame manager{FM1-2,NF3, U14,NF4-7}kinds
USERUser related function{FM1-2,NF3, U14,NF5}kinds
CSControl system{U13-14,FM1-2, FM4,6-7,NF3-5}kinds
SIsafe illumination{U13}instances
JOJudge Occupied{FM2,FM6,U14, NF4,U13,NF3}kinds
OLSOutdoor light signal{FM1}instances
JSNJudge whether the control system normal{NF5}kinds
OLSMOutdoor light sensor malfunction{NF3,FM7}kinds
MDMMotion sensor malfunction{NF4}kinds
MALMalfunction{FM7,NF3,NF4}kinds
TIMETiming{FM2,FM4}properties
MDMotion detector{U14}instance
SIGSignal{FM1,U14}kinds
OverrideOverride control{FM6,FM7}instances
T2iManager controls timing{FM4}instances
FMCPFrame manager control panel{FM4,FM6,FM7}kinds
Tab.2  Concerns specification
Fig.11  Concern relationship graph
Fig.11  Concern relationship graph
Fig.12  Specification of some identified variables
Fig.12  Specification of some identified variables
Fig.13  Tabular expression (TE)
Fig.13  Tabular expression (TE)
Fig.14  Trace matrix
Fig.14  Trace matrix
1 Parnas D L, Madey J. Functional documentation for computer systems. Science of Computer Programming , 1995, 25(1): 41-61
doi: 10.1016/0167-6423(95)96871-J
2 Baber R L, Parnas D L, Vilkomir S A, . Disciplined methods of software specification: a case study. In: Proceedings of the International Conference on Information Technology: Coding and Computing (ITCC’05) - Volume II , 2005, 428-437
3 Heitmeyer C, Bharadwaj R. Applying the SCR requirements analysis method to the Light Control case study. Journal of Universal Computer Science , 2000, 6(7): 650-678
4 Rashid A, Sawyer P, Moreira A, Araújo J. Early aspects: a model for aspect-oriented requirements engineering. In: Proceedings of IEEE Joint International Requirements Engineering Conference , 2002, 199-202
5 Moreira A, Rashid A, Araujo J. Multi-dimensional separation of concerns in requirements engineering. In: Proceedings of International Conference on Requirements Engineering (RE). IEEE Computer Society . 2005, 285-296
6 Sutton S M, Rouvellou I. Concern modeling for aspect-oriented software development, Aspect-Oriented Software Development. Addison-Wesley , 2005, 479-505
7 Queins S, Zimmermann G, Becker M, et al. The light control case study: problem description. Journal of Universal Computer Science, Special Issue on Requirements Engineering , 2000, 6(7): 586-596
8 Stutton S M, Rouvellou I. Modeling of software concerns in Cosmos. In: Proceedings of the 1st international conference on Aspect-oriented software development. New York: ACM Press, 2002, 127-133
9 Jin Y, Parnas D L. Defining the meaning of tabular mathematical expressions. Journal Science of Computer Programming (in press)
10 Jin Y, Zhang J, Ma P F, Hao W P, Luo S T, Li Z P. Applying Pagerank algorithm in requirement concern impact analysis. In: Proceedings of 33rd Annual IEEE International Computer Software and Applications Conference, vol. 1 , 2009, 361-366
11 Zhang J, Jin Y, Hao W P, Ma P F, Zhang Y, Li Z P. Concern relationship graph based requirement traceability. Journal of Computer Science special issue , 2009, 36(9): 50-54 (in Chinese)
12 Graphviz- Graph Visualization Software. http://www. graphviz.org/
13 Jin Y, Hao W P, Ma P F, Zhang Y. Applying concern-based requirement method on Light Control System: a case study. Technical Report, Laboratory of Software Formalization, Jilin University . September, 2009
14 Jin Y, Zhang J, Hao W P, Ma P F. Concern-based approach to generating SCR requirements specification: a case study. 2009 WRI World Congress on Computer Science and Information Engineering, vol. 7 , 2009, 695-700
15 Liu S, Offutt A J, Ho-Stuart C, Sun Y, Ohba M. SOFL: a formal engineering methodology for industrial applications. IEEE Trans. Software Engineering , 1998, 24(1): 337-344
16 Warmer J, Kleppe P. The Object Constraint Language: Precise Modeling with UML. Addison-Wesley , 1998
17 Arajo J, Whittle J, Kim D. Modeling and composing scenario-based requirements with aspects. In: Proceedings of the 12th IEEE International Requirements Engineering Conference (RE2004) (Kyoto, Japan) , September2004, 58-67
18 Sidek R M, Ahmad N. Deriving formal Specification using Z Notation. In: Proceedings of International Conference on Computer Technology and Development, vol. 1 , 2009, 225-229
doi: 10.1109/ICCTD.2009.180
19 Baniassad E L A, Clements P, Araujo J, Moreira A, Rashid A, Tekinerdogan B. Discovering early aspects. IEEE Software . 2006, 23(1): 61-69
doi: 10.1109/MS.2006.8
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed