AU2014338988A1 - Facilitating communication between software components that use middleware - Google Patents

Facilitating communication between software components that use middleware

Info

Publication number
AU2014338988A1
AU2014338988A1 AU2014338988A AU2014338988A AU2014338988A1 AU 2014338988 A1 AU2014338988 A1 AU 2014338988A1 AU 2014338988 A AU2014338988 A AU 2014338988A AU 2014338988 A AU2014338988 A AU 2014338988A AU 2014338988 A1 AU2014338988 A1 AU 2014338988A1
Authority
AU
Australia
Prior art keywords
middleware
component
software
information model
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
AU2014338988A
Other versions
AU2014338988B2 (en
Inventor
Simon Jonathan Mettrick
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BAE Systems PLC
Original Assignee
BAE Systems PLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GBGB1318639.0A external-priority patent/GB201318639D0/en
Priority claimed from EP20130275252 external-priority patent/EP2866139A1/en
Application filed by BAE Systems PLC filed Critical BAE Systems PLC
Priority claimed from PCT/EP2014/072596 external-priority patent/WO2015059165A1/en
Publication of AU2014338988A1 publication Critical patent/AU2014338988A1/en
Application granted granted Critical
Publication of AU2014338988B2 publication Critical patent/AU2014338988B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

FACILITATING COMMUNICATION BETWEEN SOFTWARE COMPONENTS
THAT USE MIDDLEWARE
The present invention relates to facilitating communication between software components that use middleware.
Figure 1 schematically illustrates a system 100 wherein first 102A and second 102B software components exchange data/logically communicate with each other, as illustrated by arrows 104. The software components can be any program or application and may be executed on the same computing device, or on more than one device in communication over a network. In practice, communication between the software components is achieved via a first middleware component 106A associated with the first software component, and a second middleware component 106B associated with the second software component. The middleware components form an architectural layer above the operating system(s) and below the application components. Typically, the middleware components are configured to mediate between their associated software components and other software (or a network) and can provide services to the software component beyond those available from the operation system of the relevant computing devices. The two middleware components 106A, 106B can be of different types and unable to communicate directly with each other. A known solution to this situation is for a programmer to manually create a middleware bridge component 108 that can exchange data between the two middleware components. Creating such a bridge component can be time-consuming and complex.
The systems and methods described herein can address at least some of the problems discussed above. The system can provide a tool that automatically generates source code for a software program that will form a bridge between two different middleware technologies. The bridge can extend the communication of information from a set of software components that use one middleware technology to another set of software components that use a different middleware technology. The tool can automatically generate source code using a model of the information that is required to be communicated, with the model being independent of any particular middleware technology.
According to a first aspect of the present invention there is provided a computer-implemented method of facilitating communication with a software component that uses a middleware component, the method including or comprising: receiving data representing an information model of the middleware component, and using the information model data to automatically generate code for a middleware bridge component that, in use, facilitates communication between the software component that uses the middleware component and a second software component that uses a second middleware component.
The information model may comprise classes used by the middleware component stereotyped as Service Entities. The information model may further comprise other classes packaged into Services. The Service Entities can define primary atomic information that is communicated by each said Service.
The information model may be used to generate the code for the middleware bridge component for each said Service of the information model, wherein the middleware bridge component is configured to receive entities defined for the middleware component and performs format and protocol conversion on the entities to create corresponding entities suitable for use by the second middleware component.
The method may further include generating code required for entry to and exit from the firstmentioned middleware component and the second middleware component.
The method may include replacing and evaluating template placeholders and functions with information from each Service in the information model. The method may include using at least one software add-in for providing specialist functions that encapsulate particular generation logic for the code.
The method may include abstracting aspects of the middleware bridge component that are independent of the Services.
The information model may be based on UML syntax. The firstmentioned middleware component may comprise Common
Infrastructure used in Combat Management Systems and the second middleware component may comprise Data Distribution Service™. The software component that uses the firstmentioned middleware component may comprise Combat Management Systems and a second software component that uses the Data Distribution Service™ may comprise Combat System Helper Function.
According to other aspects of the present invention there are provided computer program elements comprising: computer code means to make the computer execute methods substantially as described herein. The element may comprise a computer program product.
According to other aspects of the present invention there is provided apparatus including a processor configured to execute methods substantially as described herein.
Whilst the invention has been described above, it extends to any inventive combination of features set out above or in the following description. Although illustrative embodiments of the invention are described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to these precise embodiments.
Furthermore, it is contemplated that a particular feature described either individually or as part of an embodiment can be combined with other individually described features, or parts of other embodiments, even if the other features and embodiments make no mention of the particular feature. Thus, the invention extends to such specific combinations not already described.
The invention may be performed in various ways, and, by way of example only, embodiments thereof will now be described, reference being made to the accompanying drawings in which: Figure 1 is a generic diagram of the architecture of a system wherein two software components communicate using middleware components;
Figure 2 is a development context architecture diagram including an example tool; Figure 3 is a flowchart illustrating steps performed in relation to use of the example tool;
Figure 4 is a diagram of the architecture of a specific example system wherein two software components communicate using middleware components, and Figure 5 shows an example information model class diagram used for facilitating communication in the example system of Figure 4.
Figure 2 shows a high level view of components involved in an example system for facilitating communication between software components that use middleware components. In the example embodiment, a tool 202 for generating code that can provide a middleware bridge component is implemented using the Enterprise Architect (EA) modelling tool 204 produced by Sparx Systems Pty Ltd of Victoria, Australia. However, the skilled person will recognise that any tool that supports model transformation and code generation according to Object Management Group's (OMG) model drive architecture (MDA) paradigm could also be employed.
The tool 202 can generate code configured to receive entities defined for the interface between components of one middleware component and then perform the necessary format and protocol conversion to create corresponding entities in another middleware component. The tool may also generate code required for entry to and exit from each middleware component's domain. For example, management of the middleware state machine, the declaration or registration of entities with middleware and their subsequent disposal. The tool can be aware of the entities it needs to manipulate, their internal structure and their qualities of service from a model 206 of the information that forms the interface between the software components that use the bridge. In the example, the information model is defined using the syntax of the UML standard, but independently of any terms or constructs particular to a specific middleware technology. In principle, a modelling syntax with a meta-model containing equivalent concepts to aspects of the Unified Modelling Language (UML) can be utilised by embodiments of the present invention. Thus, it is possible to use the same model to define a bridge component 210 (which corresponds to 108 in Figure 1 ) between different pairs of middleware technologies and hence such bridges enable one software component to change the middleware that it uses without having an impact on the software components with which it is interfacing. In the example implementation, the tool is implemented using the model transformation and code generation template processing capability of the Enterprise Architect modelling tool, in conjunction with additional library software 212 and one or more software add-ins 214 that extend the template processor.
Figure 3 shows steps that can be performed in relation to use of the example tool 202. At step 302, the information model 206 is defined according to a meta-model which permits a definition of classes, class attributes and class relationships for a middleware component 106. The reference UML model 206 is an input to the tool 202 for generating the code for the middleware bridge component 210 and contains a set of classes that encapsulate the logical information that is to be passed over the bridge.. The meta-model consists of classes stereotyped 'Service Entities' and other classes all of which are packaged into 'Services'. Service Entities define the primary atomic information that is communicated by each Service. The model can be created by a programmer/user with knowledge of the interface and saved as data in any format which can be read by the tool 202. It is envisaged that the interface being modelled may be based on an existing interface specification, in which case the population of the UML model may be automated.
Figure 4 is a reference architecture diagram for an example specific implementation of the tool 202 that is configured to generate a middleware bridge component 408 between a first middleware component 406A in the form of CI (Common Infrastructure, a proprietary middleware used in the CMS1 family of Combat Management Systems produced by BAE Systems PLC), and a second middleware component 406B in the form of DDS (Data Distribution Service™, the Object Management Group's (OMG) standard for publish and subscribe middleware). The example implementation is used to interface components that advise on the possible correlations between CMSI 's tactical picture 402A (the software component associated with the CI middleware component 406A) and sensor tracks Helper Functions 402B (the software component associated with the DDS middleware component 406B). It will be understood that the Figure relates to one example implementation and other embodi merits can be provided to generate an appropriate middleware bridge component for other combinations of software and/or middleware components. For instance, the tool could be configured to produce a middleware bridge component to interface components (Helper Functions) that advise on track identification and classification with CMSI 's tactical picture and, another specific embodiment can form a middleware bridge between CI and Web Services.
Figure 5 illustrates a sample class diagram of the model 206 for the example tool 202 that is configured to generate a middleware bridge component between CI 406A and DDS 406B. In the CI, middleware Service Entities correspond to Tables; in DDS they correspond to Topics. The other classes can be used to define the content of the Service Entities using UML class attributes and UML Composition relations. Service Entities may be related using the UML Association relation. Classes may also be related to each other using the UML Specialization / Generalization relation. The illustrated example related to the class performance_assessment_request_type in the information model for the interface between a Combat Management System (CMS) and a radar. It is within the capability of the skilled person to create similar models for other specific types of middleware components. Returning to Figure 3, at step 304 middleware models are generated.
This can involve the tool 202 receiving the model 206 as input and, in conjunction with the Enterprise Architect functionality, and, in some cases, the add-in(s) 214, process the model to produce a bridge component model and a middleware interface model. The bridge component model is a UML class model of the bridge software code to be generated. The middleware interface model is a UML class model of the interface between the software components as implemented by that particular middleware. In the example of DDS it is a model of the IDL (Interface Definition Language) specification for the interface. In the specific example, a test harness model is also created.
At step 306, source code files for the middleware bridge 210 are generated. This can involve the tool 202 using the models generated at step 304 as input and, in conjunction with the Enterprise Architect functionality, and, in some cases, the add-in(s) 214, process the models to generate bridge component source code, as well as middleware specific interface specifications. The tool 202 can generate the source code for a respective bridge software program 210 for each Service. The tool for this can consist of a set of templates that are instantiated with each Service package from the UML model, the Service Entities contained within it and the other supporting classes with their relationships. In the specific example the templates can contain code to: -
• define CI table row type definitions (Ada source code)
• define DDS topic type definitions (Interface Definition Language - OMG's Interface Definition Language)
• create and register the CI and DDS entities with their respective middleware
• read DDS topic instances when they become available, translate the topic type instances into the corresponding table row type instances and create a table row in the CI table • read CI table row instances when they become available, translate the table row type instances into the corresponding topic type instances and create a DDS topic instance
• disconnect the bridge from the CI and DDS middleware systems When the tool 202 is run within the Enterprise Architect modelling tool
204, the template placeholders and functions are replaced and evaluated with information from each Service in the reference model. The template capability can be extended by the at least one Add-In 214 that can provide specialist functions that encapsulate particular generation logic for the required code. The library software 212 can abstract aspects of the middleware bridge component that are independent of the definition of particular Services, thus the templates can be smaller and easier to manage. The specialist Add-In functions can extend the capability of EA's template macros to, for example:
• Support list iteration · Traverse Package and Class Hierarchies and manipulate qualified names
• Generate project files for Microsoft Visual Studio and Eclipse Integrated Development Environments
• Retrieve model information by Globally Unique Identifier (GUID) · Access environment variables
• Increment integer values
• Recursively find tag values • Traverse Class / Package dependencies
• Support regular expressions
• Manipulate the text case formatting of strings
The library software 212 can abstract from the templates functionality, such as:
• Base data-type conversion and manipulation
• Common routines for accessing data in the CI and DDS middleware systems
• Reading quality of services values from an xml configuration file · Thread shell for writing to the CI middleware
In addition to the source code for the bridge component and associated type definitions, the specific example tool 202 can also generate one or more of the following:
• Java source code 216A for a DDS test-harness with an interactive GUI
• an Ada source code interface 216B to the CI tables and Ada type definitions
• Visual Studio project files 216C for each of the bridges
• Eclipse project files for each of the test-harnesses · Configuration files 216D for the CI entities to be created and registered At step 308 executable middleware bridges and test harnesses are built. This can involve the tool 202 receiving the code generated at step 306 as input and, in conjunction with the Enterprise Architect functionality, and, in some cases, the library software 212, process the code to produce executable code, which can be done using any suitable programming language(s), data structure(s), compiler(s), etc. The code can be executed locally or remotely to enable communication between the software components.

Claims (14)

1 . A computer-implemented method of facilitating communication with a software component (102A) that uses a middleware component (106A), the method including: receiving (304) data representing an information model (206) of the middleware component (106A), and using the information model data to automatically generate (306, 308) code for a middleware bridge component (108) that, in use, facilitates communication between the software component (102A) that uses the middleware component (106A) and a second software component (102B) that uses a second middleware component (106B).
2. A method according to claim 1 , wherein the information model (206) comprises classes used by the middleware component (106A) stereotyped as Service Entities.
3. A method according to claim 2, wherein the information model (206) further comprises other classes packaged into Services.
4. A method according to claim 3, wherein a said Service Entity defines primary atomic information that is communicated by a said Service.
5. A method according to claim 4, wherein the information model (206) is used to generate (306, 308) the code for the middleware bridge component
(108) for each said Service of the information model, wherein the middleware bridge component is configured to receive entities defined for the firstmentioned middleware component (106A) and performs format and protocol conversion on the entities to create corresponding entities suitable for use by the second middleware component (106B).
6. A method according to claim 5, further including generating code (306, 308) required for entry to and exit from the firstmentioned middleware component (106A) and the second middleware component (106B).
7. A method according to claims 3 to 6, including replacing and evaluating template placeholders and functions with information from each said Service in the information model (206).
8. A method according to claims 3 to 7, including using at least one software add-in (214) for providing specialist functions that encapsulate particular generation logic for the code.
9. A method according to claims 3 to 8, including abstracting aspects of the middleware bridge component (108) that are independent of the Services.
10. A method according to any preceding claim, wherein the information model (206) is based on UML syntax.
1 1 . A method according to claim 5 or 6, wherein the firstmentioned middleware component (406A) comprises Common Infrastructure used in a Combat Management System and the second middleware component (406B) comprises Data Distribution Service™.
12. A method according to claim 1 1 , wherein the software component that uses the firstmentioned middleware component (406A) comprises a Combat Management System (402A) and a second software component that uses the second middleware component (406B) comprises a Combat System Helper Function (402B).
13. A computer program adapted to perform a method according to any one of the preceding claims.
14. Apparatus including a processor configured to execute a method according to any one of claims 1 to 12.
AU2014338988A 2013-10-22 2014-10-22 Facilitating communication between software components that use middleware Active AU2014338988B2 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
GBGB1318639.0A GB201318639D0 (en) 2013-10-22 2013-10-22 Facilitating communication between software components that use middleware
EP20130275252 EP2866139A1 (en) 2013-10-22 2013-10-22 Method facilitating the communication between two software components that use two different middleware by automatically generating a communication layer between them
GB1318639.0 2013-10-22
EP13275252.8 2013-10-22
PCT/EP2014/072596 WO2015059165A1 (en) 2013-10-22 2014-10-22 Facilitating communication between software components that use middleware

Publications (2)

Publication Number Publication Date
AU2014338988A1 true AU2014338988A1 (en) 2016-05-12
AU2014338988B2 AU2014338988B2 (en) 2019-10-24

Family

ID=51753235

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2014338988A Active AU2014338988B2 (en) 2013-10-22 2014-10-22 Facilitating communication between software components that use middleware

Country Status (5)

Country Link
US (1) US9830204B2 (en)
EP (1) EP3072043A1 (en)
AU (1) AU2014338988B2 (en)
CA (1) CA2928316C (en)
WO (1) WO2015059165A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3072043A1 (en) 2013-10-22 2016-09-28 BAE Systems PLC Facilitating communication between software components that use middleware
US9836315B1 (en) * 2014-06-25 2017-12-05 Amazon Technologies, Inc. De-referenced package execution
WO2018020448A1 (en) * 2016-07-27 2018-02-01 Russell Julie System and method for generating api development code for integrating platforms

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010609B1 (en) * 2000-12-21 2006-03-07 Borland Software Corporation System and method for adding transport protocols in distributed middleware applications
FR2877116B1 (en) * 2004-10-27 2012-04-27 Thales Sa LOCAL SERVICE CALLING SYSTEM OF AT LEAST ONE LOCAL APPLICATION WITH CLASSIC MESSAGING ARCHITECTURE FROM AT LEAST ONE REMOTE APPLICATION WITH CLASSIC MESSAGING ARCHITECTURE
DE102005050304A1 (en) * 2005-10-17 2007-04-19 Netccm Gmbh Method and program for the generation of automatically distributable clients of application servers
US7849469B1 (en) * 2006-01-04 2010-12-07 Emc Corporation Methods and apparatus providing a categorical approach to aspect-oriented programming
WO2008147567A1 (en) * 2007-05-25 2008-12-04 The Charles Stark Draper Laboratory, Inc. Integration and control of medical devices in a clinical environment
US8448132B2 (en) * 2009-05-07 2013-05-21 Sap Ag Systems and methods for modifying code generation templates
EP3072043A1 (en) 2013-10-22 2016-09-28 BAE Systems PLC Facilitating communication between software components that use middleware

Similar Documents

Publication Publication Date Title
US9465590B2 (en) Code generation framework for application program interface for model
KR101087439B1 (en) Software componentization
US7818277B2 (en) Methods and apparatus for business rules authoring and operation employing a customizable vocabulary
US20060101038A1 (en) Extensible object-modelling mechanism
US10114861B2 (en) Expandable ad hoc domain specific query for system management
Hinkel NMF: a multi-platform modeling framework
US9830204B2 (en) Facilitating communication between software components that use middleware
AU2014338988A1 (en) Facilitating communication between software components that use middleware
Hilbrich et al. A consolidated view on specification languages for data analysis workflows
Wurster et al. Tosca lightning: An integrated toolchain for transforming tosca light into production-ready deployment technologies
Kongdenfha et al. Web service adaptation: Mismatch patterns and semi-automated approach to mismatch identification and adapter development
Mu et al. Specification of modelling languages in a flexible meta-model architecture
Deng et al. Evolution in model-driven software product-line architectures
Jahed et al. On the benefits of file-level modularity for EMF models
EP2866139A1 (en) Method facilitating the communication between two software components that use two different middleware by automatically generating a communication layer between them
Rubin et al. Microsoft. NET Compact Framework: Kick Start
GB2521726A (en) Facilitating communication between software components that use middleware
Nestor Ribeiro et al. An automated model based approach to mobile UI specification and development
Gunasinghe et al. Implementing a Language Server
Puvvala et al. NET for Java Developers Migrating to C
Margaria et al. Leveraging Applications of Formal Methods, Verification and Validation: 5th International Symposium, ISoLA 2012, Heraklion, Crete, Greece, October 15-18, 2012, Proceedings, Part I
Lavieri Mastering Java 11: Develop modular and secure Java applications using concurrency and advanced JDK libraries
Liu et al. Applying FAIR4RS principles to develop an integrated modeling environment for the magnetic confinement fusion
Villela et al. About Static. NET Assembly
Abbas et al. LEARN. NET WITH PROGRAMMING (3-in-1): Covers. NET using C#, Visual Basic ASP. NET