Research on Software Architecture-Based Component Model and Language

Author
ChenBo
Advisor
ChenHuoWang , LiZhouJun
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2007
Downloads
470
Citations
7

Request the full text

Abstract

Component and software architecture technologies, the key technologies in improving software productivity and quality as well as solving software crisis, are facing challenges for the purpose at hand. For instance, it is difficult for the component technology to provide high-quality and efficient support for software development due to low reuse degree and small reuse granularity of the component. Because of the vast gap between software architecture design and implementation, software architecture can not provide effective guidence to software development, and etc. Such problems disable component and software architecture technologies from performing appropriate functions to such an extent as to have aroused prevailing attentions.On the assumption that component model and component-oriented language are the breaches to meet the challenges which current component and software architecture technologies are facing, this dissertation targets component model and component-oriented language as the primary coverage. Based upon thorough research and analysis on the status quo of studies on component model and component-oriented language and other related technologies, aimed at solving problems up against component and software architecture technologies, guided by the principles of conceptual integrity and separation of concerns, this dissertation makes a systematic exploration into several aspects including the study of novel component model, the design and implementation of novel component-oriented programming language, the approach of mapping software architecture design to implementation and the enrichment of the component interface. The contributions of the dissertation are listed as follows:1. The study of novel component model. Component model defines the natural characteristic of the component and inter-component relationship, which should be given equally substantial support as two varied concepts and concerns in component model. Nevertheless, the existing component models offer insufficient support to inter-component relationship, especially, that of interaction and collaboration. Aiming at the problem, a novel software architecture-based component model SACM is proposed. SACM brings in the concept of connector, endows it with the equivalent position as component and utilizes this concept to explicitly describe such inter-component relationship as interaction and collaboration. Consequently, the introduction of connector makes a first-class modeling entity independent of component out of inter-component interaction and collaboration so as to afford better support to the description, analysis and verification of interaction and collaboration. Moreover, passive and active connectors are further divided into, of which the former separates computation from communications while the latter segregates computation from control and communications. Therefore, the problem of mixing control and computation in the component which occurs in existing component models is solved. Furthermore, component composition methods based on the passive and the active connector are put forward after the comparison between the two preceding connectors.2. The design and implementation of novel component-oriented programming language. To provide a better support for the component-oriented software development, the programming language should have corresponding language mechanisms to support the encapsulation, reuse and composition of the component as well as a sound type system. However, to some extent, the present programming languages lack of mechanisms to support the reuse and composition of the component. Aiming at solving the above-mentioned problem, a new component-oriented programming language SAJ is brought into being. One of the features of SAJ is that it supports the core concepts of software architecture in programming language. Compared with present programming languages, SAJ further enforces the encapsulation of components with the concept of port, supports the composition and the reuse of the component with component-independent first-class entity—the connector, and lays greater emphasis on the support for component-oriented design principles in the perspective of programming language, thereby gives a stronger support for the component-oriented software development.The syntax, semantics and type system of SAJ are presented. Moreover, in the type system of SAJ, the typing rules to ensure such properties as the validity of components connecting and that of the interaction and collaboration among components are given. Besides, the type safety of SAJ is proved, which makes the SAJ-based software development safer and more practical.3. The approach of mapping software architecture design to implementation. The mapping from software architecture to implementation must be realized to better the guidance of software architecture in software development. However, no mature solutions could be found. Aiming at this problem, a method of using Two-Phase Mapping to realize the mapping from software architecture to implementation is proposed in this dissertation. Two-Phase Mapping consists of mapping from software architecture design model to detail design model (SACM-based component model) and mapping from detail design model to implementation (SAJ code). SACM and SAJ both support the core concepts of software architecture. Therefore, compared with other solutions, the method of Two-Phase Mapping is more natural and practical and the validity of mapping can be guaranteed more easily. The realization method of the mapping from detail design model to SAJ code is given in this dissertation.4. The enrichment of the component interface. Following the principle of being simple and practical, the dissertation studies on how to enrich the component interface. An idea that there are contributing relations and dependent relations among components’ required services and provided services is put forward, and follows an approach of describing contributing relations and dependent relations explicitly in the component port, which can not only make the component more adaptable to its environment, but also increase its reuse degree. Based on the idea that the service parameter values can affect the component behavior protocol, the method of explicitly describing parameter values in behavior protocol is also discussed in the later part of the dissertation.To sum up, this dissertation proposes effective solutions to some key problems concerning the present component model and component-oriented programming language. To a great extent, it has a theoretical significance and practical value in promoting further theoretical studies on component model and component-oriented programming language, as well as in solving the challenges in component and software architecture technologies.

Table of contents

Abstract 11-13 ABSTRACT 13-16 The first chapter 16-32 1.1 Background 16-24 1.1.1 component technology and Problems 17-18 1.1.2 software architecture technology and its problems 18-23 1.1.3 breakthrough to solve the problem: component model and component-oriented language 23-24 1.2 concerns 24-26 1.3 this work and innovation 26-30 1.4 paper structure 30-32 Chapter related technologies and related research work 32-54 2.1 component model 32-39 2.1.1 Classification according to component interface 33-35 2.1.2 Components Composition according to the classification 35-38 2.1.3 discussions about component model 38-39 2.2 component-oriented language 39-41 2.3 component composition language 41-42 2.4 architecture description language 42-44 2.5 architecture design model to implement the mapping 44-48 2.5.1 model transformation and code generation techniques 45 2.5.2 component assembly technology 45-47 2.5.3 in the architecture model introduced the concept of the implementation phase 47 2.5.4 programming language introduced in the architecture of the core concepts 47 2.5.5 advantages and disadvantages of various methods 47-48 2.6 coordination model and coordination language 48-52 2.6.1 control drive coordination 48-50 2.6.2 Data-driven coordination 50-51 2.6.3 Comparison of two kinds of coordination model 51 2.6.4 coordination of technical and software architecture 51-52 2.7 Summary 52-54 The third chapter is based on software architecture component model SACM 54-74 3.1 component model existing deficiencies 54-56 3.2 software architecture based component model SACM 56-70 3.2.1 member 56-57 3.2.2 relationships between components 57-58 3.2.3 linkers introduced its role 58-60 3.2.4 describe the components used to connect the relationship between the child 60-64 3.2.5 connection-based sub-components combined method 64-70 3.3 related work relatively 70-71 3.4 Summary 71-74 Chapter IV a new component-oriented language SAJ 74-96 4.1 SAJ language designed to 74-77 4.1.1 better support for component-oriented software development 74-76 4.1.2 implementation from an architectural design model to the underlying code mapping 76-77 4.2 SAJ component-oriented software development language support provided 77-83 4.2.1 of the component encapsulation support 77-78 4.2.2 support for component composition 78-79 4.2.3-oriented component (object) design principles support 79-80 4.2.4 Support of design patterns 80 4.2.5 for linkers support reuse 80-83 4.3 architecture from a design model to the underlying code mapping method 83-85 4.4 Use SAJ language from the detailed design model to the underlying code mapping 85-90 4.4.1 interface mapping 85-86 4.4.2 Mapping component 86-87 4.4.3 linker mapping 87-89 4.4.4 Mapping composite member 89-90 4.5 SAJ language implementation 90-92 4.6 related work relatively 92-95 4.6.1 Comparison of component-oriented language related work 92-94 4.6.2 implementation from an architectural design model to the underlying code mapping related work comparing 94-95 4.7 Summary 95-96 Chapter SAJ language syntax, semantics and type system 96-134 5.1 SAJ language syntax and semantics 96-103 5.1.1 SAJ syntax 96-98 5.1.2 SAJ semantic 98-103 5.2 SAJ language types 103-112 5.2.1 Type System Introduction 103-104 5.2.2 SAJ subtype of the type system rule 104-105 5.2.3 Types of expressions and statements derivation rules 105-107 5.2.4 component class, subclass, and procedures to connect well-structured rules 107-110 5.2.5 program runtime instances, storage area and well-structured program pattern rules 110-112 5.3 SAJ type of system security proof 112-133 5.3.1 instance store σ in the extended well-formedness remain unchanged after the proof 113-118 5.3.2 instance store σ well-formed after the update remains unchanged proof 118-120 5.3.3 store λ and ρ σ update the store expansion remains unchanged after well-formedness proof 120-121 5.3.4 Types weakening environment and context replacement lemma Lemma proof 121-124 5.3.5 remain theorem, progress theorem and type safety proof 124-133 5.4 Summary 133-134 Chapter VI rich component interface information 134-142 6.1 explicitly requested services and describe the relationship between the provision of services 134-138 6.1.1 explicitly requested services and describe the relationship between the provision of services 135-136 6.1.2 Application of the component combinations 136-137 6.1.3 components can be replaced in the judgment in the application of 137-138 6.2 protocol behavior described in the service parameter values ?? 138-140 6.2.1 protocol described in behavioral parameter values ?? 139 6.2.2 Application of the component combinations 139-140 6.3 related work relatively 140-141 6.4 Summary 141-142 Chapter VII Conclusion 142-148 7.1 this work and innovation 142-145 7.2 The next step 145-148 Thanks 148-152 References 152-164 authors during the study period academic achievements 164-166 language section in Appendix A SAJ expressions and statements semantic 166-167 language section in Appendix B SAJ expressions and statements of the type inference rules 167

Related dissertations

  1. Research on Component-Based Development Technology of Embedded Software
  2. The Study of a Message-Based Framework and Its Application
    LiWenZuo ·Institute of Software ·2003 ·Master's thesis
  3. Study on the Software Architecture of the New Generation Business Support System in China
  4. Research on Internetware Technologies Based on P2P Network
    ZhaoLiNa ·Zhejiang University ·2007 ·Doctoral dissertation
  5. Study on Methods for Description of Software Architecture and Software Evolution Based on Algebra Theory
    ZhangYouSheng ·Central South University ·2007 ·Doctoral dissertation
  6. Based on ontology , feature -driven product line development methods
    PengZuo ·Fudan University ·2006 ·Doctoral dissertation
  7. XML-based distributed software architecture research
  8. Software Reliability Analysis of Component-Based Software
    ZhouNaQin ·Hunan Normal University ·2008 ·Master's thesis
  9. Study on the Technique and Method for Modeling and Designing the Typical Software System
  10. Research and Design of General COM Component Oriented Voice Controlled Command Recognition
    LiYuCai ·Sichuan Normal University ·2004 ·Master's thesis
  11. E-Graduate Educational Administration System Research & Development
    ChangXiao ·Xi'an University of Technology ·2004 ·Master's thesis
  12. Software Architecture and Architecture-Based Development of System
    YangAnLe ·Anhui University ·2003 ·Master's thesis
  13. Research on the Network Control Andkey Components in the Time-Triggered Ethernet
  14. Research of Ontology-based Component Description and Intelligent Retrieval
    LiuLi ·Donghua University ·2014 ·Master's thesis
  15. Application Research on the Kernel Fisher Method and Its Component in Image Recognition
    FangWanSheng ·Jiangnan University ·2013 ·Master's thesis
  16. And the realization of software testing reuse management subsystem design
  17. Research on Architecture-Based Software Reliability Demonstration Testing Method
    QiZuo ·Donghua University ·2013 ·Master's thesis
  18. Research on Architectural Degeneration of Software System from Defect Analysis Perspective
    WuTaiWen ·Central South University ·2013 ·Master's thesis
  19. The Design and Implementation of Information Dissemination Terminal Module Component Based
    XuJiFu ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. Research on facet reusable component library based on
    MaYaFei ·Jiangxi University of Technology ·2013 ·Master's thesis