The Research and Implementation of the Container Middleware
- Author
- ZuoZuo
- Advisor
- LiuDaYou
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 125
- Citations
- 1
Abstract
The development of software technology has promoted the progress of thedevelopment technology for the expert system, which has gone through threestages: the general programming language, the general artificial intelligencelanguage, expert system shell. they all have some limitation, at present, thedevelopment mode for the expert system in mainstream is based on integrateddevelopment environment, and adopts many kinds of knowledgerepresentations, many kinds of reasoning mechanism and control strategy,knowledge acquisition technology combining machine learning with manualwork, many experts solve a problem in coordination and reasoning abreast etc.With the development of network, the expert system was often offered take theform of web application. But the existing expert system tools have twolimitations, which have limited the application range of expert system: first,single provider’s tool can develop limited types of expert system;second, thereis only limited interoperability between the same provider’s series of products,different providers’ tools and expert systems developed often appear as separateproduct, implemented by different technology, running on different platforms,integration between them is difficult, the share of information and technologyis unable. To solve the first problem, the expert system tools’ interface can beopened to support the expansion from the third party by customized expandingpoints (Eclipse is a good example);to solve the second question, themiddleware technology can be introduced, one of the greatest advantages ofmiddleware is the interoperability which can bridge various resources.Therefore, it makes sense to develop a middleware which is open and flexible,can be applied to intellectual application, and support rapid developing andefficient running of web intellectual application. The research work of thispaper focuses on the second problem above-mentioned.The limitation of existing expert system tools and middleware productsare given, the concept of the container middleware is introduced. Research onthe container middleware is described in three aspects: Overall framework,including basic architecture, operating mechanism, component managementand component runtime services, etc;Reconfiguration architecture, includingthe design and implementation of the reconfiguration architecture in thecontainer middleware;Interoperability scheme, including the content, method,and realization for the container middleware.The basic architecture of the container middleware has been designed andrealized. The paper describes the function of each component in the containermiddleware, the operating mechanism of which is illustrated in detail with acase study. The function of the container middleware in the process ofdevelopment and runtime of an expert system is also been demonstrated.Middleware often appears as software service, which is used for solvingthe problem associate with heterogeneity and interoperability, used for helpingto structure network-centered application environment, and manage itsdistributed resource effectively. The middleware services used incommunication, coordination, control, transaction, security, naming,representation management, information management, compute and systemmanagement, used in reliability, expansibility, comprehensive performance andoffering advanced service, etc. The services offered by the containermiddleware are divided into two kinds: the component management serviceand the component runtime service. The component management service isused in the management of the management of the intellectual componentslibrary, including the components registration, classification, query,deployment, configuration, and meta data management, etc. The componentruntime service offers the basic support services for the function componentsand the operation of the container middleware, including naming and directory,security service, transaction, connection pool, thread pool, life cyclemanagement, state and session management, log service, persistent service,communication service, etc. These services belong to the infrastructure insoftware system and it is unfeasible to implement them proprietarily, so amongthem the naming and directory service and security service have beenimplemented proprietarily, other services are offered by existing commonmiddleware services.The concept of naming and directory service is clarified, the naming graphin the container middleware is defined, and the resolution of compound namesis specified. The resolution procedure is divided into two phases: first, duringthe procedure of developing an expert system, the resolution order may ascomponents provider --> theory model conformed --> more concrete theorymodel --> .NET assembly name;second, when the expert system is running,the container middleware will find the intellectual components and refer toappropriate classes, the concrete order conforms to the .NET search strategy.The container middleware is implemented based on .NET platform, andexposed its interfaces as web services interface, so the web services securitymodel under .NET platform has been adopted. Web services security can beapplied in three levels: platform/transfer level, message level, and applicationlevel. In this paper platform/transfer level security has been applied byconfiguration. The customized security has also been applied, and the securecommunication is realized by message encryption, form is used asauthentication mode, authorization mechanism is based on role. Throughanalysis the paper has concluded that the security level satisfy the requirementof the container middleware.Distributed system often needs the ability to adjust its structure in order tomeet the evolving environment and user requirement. The reconfigurationrequirement in the container middleware includes reflective, component basedand .NET platform based etc. Comparing many reconfiguration method,reflection has been showed as an effective method to realize dynamicconfiguration and reconfiguration in middleware. Reflection is the ability toinfer and act on if-self. The reflection ability in the container middleware canbe achieved through architecture information associated with operation stateand behavior of the system, and the most common used method to describesoftware architecture is the architecture description language (ADL). Amongthe software frameworks whose reflection and reconfiguration have been basedon ADL, a general reconfiguration framework is chosen as the base of thedesign and realization of the reconfiguration architecture in the containermiddleware.The reconfiguration architecture in the container middleware supportsprogrammed reconfiguration, which can deal with changes that can be foreseenat system design time. In the realization of this architecture, based onAcme/Armani ADL, a kind of expansion of which is adopted. Combining .NETassembly and the concept of component framework, .NET componentframework is put forward, and Acme/Armani is mapped to .NET componentframework. Based on the above work, the paper put forward the realizationscheme of reconfiguration architecture in the middleware, the main thought is:Based on Acme/Armani ADL and its expansion, analysis and model thecontainer middleware by AcmeStudio, and realize the configurator as aninterpreter for the architecture specification in the container middleware. Theconfigurator will configure the runtime parameter according to the architectureinformation from the specification document. A reflection meta model for thereconfiguration architecture is given in the paper.There are two methods to solve interoperability problem betweenapplications: 1) Standardizing the component which makes up the application;2) Introducing the middle layer to integrate the heterogeneous application.The container middleware has implemented the interoperability schemebased on the first method, which is called component level interoperability,whose content includes the data generalization and the communicationgeneralization. In order to realize the data generalization, a document-centeredinteroperability model has been adopted, in which the message transmissionbetween the intellectual components takes the form of message document, andthe unified message structure norm for the intellectual component has beenspecified. In the communication generalization, between the intellectualcomponents and representation components at the client end, thecommunication has been considered and a middle layer called business controllogic layer is introduced. The control flow components in the business controllogic layer act as adapters between the intellectual components andrepresentation components, and they encapsulate the interface difference, eachof which must conform to the unified interface specification. While realizing,the Data Transfer Object (DTO) pattern is used to encapsulate the messagesbetween the two kinds of components, and Pipe/Filter style is used to deal withthe transmission of DTO.The second interoperability method is called application levelinteroperability, which has three layers: communication layer, content layer andbusiness process layer. The paper has studied the state of art for theinteroperability between heterogeneous and autonomous applications and get aconclusion: Interoperability between web applications should adopt thestrategy of service-centered, apply service oriented architecture, base on webservices technology, deal with the differences on the communication protocoland data format through the bus mechanism, deal with the interoperability inbusiness layer by standardized service interface and service combination.At the end of the paper a case study in the domain background of riceproduction is given, which has demonstrated the running procedure of anexpert system operating on the basis of the container middleware, and provedthe feasibility and practical value of the container middleware based on whicha web intellectual application system can be developed.
Table of contents
Chapter 1 Introduction 7-10
1.1 Background 7-9
1.1.1 expert system development technology 7-8
1.1. 2 expert system tools classification and characteristics to 8-9 1.2 project research objectives
9
1.3 project research 9
1.4 this work 9-10
Chapter 2 middleware technology and theory 10-25
2.1 Background 10-11
2.2 middleware concept 11
2.3 distributed object computing middleware the 11-14 2.4 middleware services
the benefits 14-15
2.5 middleware 15 -16
2.6 middleware in the form of 16-17
2.7 the WEB services 17-24
2.7.1 Web services basic concepts 17-19
2.7.2 Web service architecture model 19-20
2.7.3 Service-Oriented Architecture 20-23
2.7.4 Web services and service-oriented architecture 23-24
2.8 Summary 24-25
Chapter 3 containers middleware overall framework 25-45
3.1 Background 25-27
3.1.1 existing expert systems development tools exist 25
3.1.2 existing middleware products shortcomings 25
3.1.3 container middleware concept proposed 25-26
3.1.4 container middleware project nbsp 26-27
3.2 concept, structure and operation mechanism ; nbsp 27-32
3.2.1 container middleware concept; 27
3.2.2 basic architecture nbsp 27-29
3.2.3 operating mechanism; 29-31
3.2.4 key technology 31-32
3.3 component management services the 32-34
3.3.1 functional requirements nbsp expert system development process; 32-33
3.3.2 33
3.3.3 expert system running 33-34
3.3.4 component management services critical technology 34
3.4 components run services 34-44
3.4.1 Naming Directory Services 34-38 < br /> 3.4.2 security services 38-44
3.4.3 components run services key enabling technologies 44
3.5 Summary 44-45
Chapter 4 dynamic configuration and reconfiguration 45-59
4.1 container middleware heavy configuration requirements 45
4.2 reconfiguration methods compare and select 45 -47
4.3 reconfigurable architecture design 47-49
4.3.1 design ideas 47
4.3.2 container middleware reconfigurable architecture 47-49
4.4 reconfigurable architecture to achieve the 49-56
4.4.1 Acme / Armani ADL and the expansion 49-51
4.4.2 NET program set and NET component framework 51-53
4.4.3 Acme / Armani to NET mapping component framework 53-54
4.4.4 reconfiguration achieve program 54-56
4.5 the reflector element model of the reconfigurable architecture 56-58
4.6 Summary 58-59
Chapter 5 interoperability program 59-68
the 5.1 containers middleware interoperability goals 59
5.2 component-level interoperability 59-65
5.2.1 interoperability 59-60
5.2.2 method 60-65
5.3 application-level interoperability 65-67
5.3.1 interoperable content 65
5.3.2 Research the 65-66 5.3.3 implementation strategy
66-67
5.4 Summary 67-68
Chapter 6 Application examples 68-74
Chapter 7 Conclusion to References 74-75
75-78
Summary 78-81
ABSTRACT 81-85
Acknowledgements 85-86
the tutors Author 86
Related dissertations
- Research on Applying Object-Oriented Middleware in Enterprise Application System--Research on Applying CORBA
- The Research of Integration Middleware Technology Based on XML
- Research on Reflective Information Security Middleware
- The Study of Intelligent Warehouse System Based on the Internet of Things
- Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
- Research on Web Information Extraction Middleware for Supply and Demand of Agricultural Products
- Development of Realtime Interface Device for Hit-tena’s Resources
- Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
- Research and Application of RFID Middleware Based on Warehouse Management
- The Design and Implementation of the Securities Industry Large Centralized Trading System
- Research and Design of Middleware about Data Distributing in Campaign System
- Application and Research of Digital Room Service System Based on Cluster Server
- Design and Implementation of Food Safety Traceability System for Asia Group
- Passenger Transport Enterprises for the Public and Road Passenger Transport Management System Design and Implementation
- Seamless Steel Tube Production Logistics Management System Based on Radio Frequency Technology
- Distributed Electronic Health Record System Based on Middleware
- Development of the New System Applied to the Career Technical College
- The Design and Implementation of Hotel IC Card Management System Based on the Theory of RFID
- And Realization of ERP system information integration middleware and Design Enterprises
- The Design and Implementation of Plug-in Energy Data Collection Middleware